取消订单

This commit is contained in:
liuyuan
2025-10-15 15:50:45 +08:00
parent ff0863c0b6
commit 39e5105cb2
26 changed files with 13902 additions and 10441 deletions

View File

@@ -65,7 +65,8 @@
<u-divider v-show="MyCourseList.status == 1" text="加载中..."></u-divider>
</view>
<!-- 在学习 -->
<view class="LearningCourseBox" v-show="this.curTagId == 1">
<view class="LearningCourseBox" v-show="this.curTagId == 1">
<!-- <view class="containerBg"> -->
<view class="newBox">
<view :class="['item','flexbox', userMsg.vip != '0' && item.isBuy != 1 ? 'blueBorder':'']" v-for="(item, index) in LearningCourseList.list" :key="index"
@@ -219,10 +220,13 @@
oldValue : '',
cartList:[],
addLearnFlag:false,
userInfo:{}
};
},
//第一次加载
onLoad(e) {
this.userInfo=uni.getStorageSync("userInfo")||{}
// 隐藏原生的tabbar
uni.hideTabBar();
this.windowWidth = uni.getSystemInfoSync().windowWidth;
@@ -250,7 +254,7 @@
uni.stopPullDownRefresh()
},
computed: {
...mapState(['userInfo'])
// ...mapState(['userInfo'])
},
//页面显示
onShow() {
@@ -629,6 +633,7 @@
getUserInfo() {
// 用户详情
// if (this.userInfo.id != undefined) {
console.log(uni.getStorageSync("userInfo"),'this.userInfo.idthis.userInfo.idthis.userInfo.idthis.userInfo.idthis.userInfo.id')
this.$http
.post('book/user/info/' + this.userInfo.id)
.then(res => {