取消订单
This commit is contained in:
1542
pages/aiChact/index.vue
Normal file
1542
pages/aiChact/index.vue
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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 => {
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<view class="containerBg" style="font-size: 28upx">
|
||||
<!-- <view class="customer-service-button" @click="goKefu()">
|
||||
客服
|
||||
</view> -->
|
||||
<view class="home_bg">
|
||||
<view class="" style="">
|
||||
<view style="height: 60rpx"></view>
|
||||
@@ -532,6 +535,7 @@
|
||||
<script>
|
||||
export default {
|
||||
methods: {
|
||||
|
||||
getWebViewMessage(e) {
|
||||
uni.showModal({
|
||||
content: JSON.stringify(e.detail),
|
||||
@@ -725,6 +729,11 @@ export default {
|
||||
//方法
|
||||
methods: {
|
||||
...mapMutations(["setUserInfo"]),
|
||||
goKefu(){
|
||||
uni.navigateTo({
|
||||
url: `/pages/aiChact/index`,
|
||||
});
|
||||
},
|
||||
//提示去评分
|
||||
async editScoreRemind() {
|
||||
await $http
|
||||
@@ -2238,4 +2247,18 @@ export default {
|
||||
.multi-line-text{
|
||||
white-space: pre-line; /* 保留换行符并自动换行 */
|
||||
}
|
||||
.customer-service-button {
|
||||
position: fixed;
|
||||
top: 80px;
|
||||
z-index: 9999;
|
||||
right: 20px;
|
||||
border-radius: 80rpx;
|
||||
background: rgb(255, 255, 255);
|
||||
text-align: center;
|
||||
line-height:80rpx;
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
color: #3983ff;
|
||||
/* 其他样式 */
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user