diff --git a/pages/bookShop/orderList.vue b/pages/bookShop/orderList.vue
index 49f8a5a..8b5fc5c 100644
--- a/pages/bookShop/orderList.vue
+++ b/pages/bookShop/orderList.vue
@@ -3,20 +3,7 @@
-
-
-
-
-
@@ -333,22 +320,6 @@
-
@@ -409,7 +380,6 @@
-
@@ -511,41 +481,23 @@
};
},
onPullDownRefresh() {
- console.log("下拉刷新了");
uni.stopPullDownRefresh();
this.newestpage = 1;
- // this.hotestpage = 1
- // this.booksetpage = 1
this.newList = [];
- // this.hotList = []
- // this.bookList = []
this.getBookList(this.ordersListTab, false);
},
onReachBottom() {
this.newestpage++;
- // this.hotestpage++
- // this.booksetpage++
this.getBookList(this.ordersListTab, false);
},
onLoad(e) {
this.windowWidth = uni.getSystemInfoSync().windowWidth;
- console.log(e, "onload111");
- // this.bookid = e.bookid
this.options = e;
- // this.newList = [];
- // this.pagination = {
- // page: 1, //页码
- // limit: 20, //每页显示
- // total: 0, //总条数
- // };
- // this.$nextTick(() => {
- // this.ordersTabCLi(this.ordersTabs[0],0);
- // // this.getBookList(null, false);
- // });
+ // 隐藏原生的tabbar
+ uni.hideTabBar();
},
async onShow() {
- uni.hideTabBar();
this.newList = [];
this.pagination = {
page: 1, //页码
@@ -563,9 +515,6 @@
limit: 20, //每页显示
total: 0, //总条数
};
- // this.$nextTick(async () => {
- // await this.ordersTabCLi(this.ordersTabs[0], 0);
- // });
},
onReady() {},
computed: {
@@ -1434,6 +1383,7 @@
.commonDetailPage {
background-color: $themeBgColor;
+ height: calc(100vh);
}
.order_box {
diff --git a/pages/course/courseDetail.vue b/pages/course/courseDetail.vue
index cf6b90a..cc11a0b 100644
--- a/pages/course/courseDetail.vue
+++ b/pages/course/courseDetail.vue
@@ -17,6 +17,7 @@
+
@@ -248,7 +249,7 @@
+ name="lock" color="#258feb" size="26">
@@ -564,15 +565,13 @@
// 隐藏原生的tabbar
uni.hideTabBar();
this.windowWidth = uni.getSystemInfoSync().windowWidth;
- // this.pageTitle = e.title
- console.log(e, "传入分类id");
this.getUserInfo();
this.courseId = e.id;
//是否是vip
this.getCourseByVip();
this.getSayList();
- this.getOS()
+ this.getOS();
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
@@ -1099,7 +1098,6 @@
},
})
.then(async (res) => {
- console.log("res at line 493:", res);
if (res.code == 0) {
this.getCourseDescriptionData(v);
}
@@ -3071,7 +3069,7 @@
.describe_block button{
display: inline-block;
text-align: center;
- width: 150rpx;
+ width: 125rpx;
font-size: 24rpx;
color: #fff;
border-radius: 10rpx;
diff --git a/pages/goods/order/index.vue b/pages/goods/order/index.vue
index 56c3caf..492b190 100644
--- a/pages/goods/order/index.vue
+++ b/pages/goods/order/index.vue
@@ -1330,7 +1330,7 @@ export default {
that.submitorder(data);
}
},
-
+ //支付操作
async submitorder(data) {
uni.showLoading({
title: "正在请求订单",
diff --git a/pages/mine/vip/index.vue b/pages/mine/vip/index.vue
index aaa88e5..169209b 100644
--- a/pages/mine/vip/index.vue
+++ b/pages/mine/vip/index.vue
@@ -93,6 +93,9 @@ export default{
methods: {
//获取数据
getData(){
+ uni.showLoading({
+ title: '加载中'
+ })
$http.request({
url: "common/userVip/getVipBuyConfigList",
method: "POST",
@@ -102,6 +105,7 @@ export default{
},
})
.then(res => {
+ uni.hideLoading();
if (res.code == 0) {
this.list = res.res;
}