hookehuyr

fix 暂时屏蔽加载中

1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-12-27 15:37:50 4 + * @LastEditTime: 2023-12-27 19:44:33
5 * @FilePath: /meihuaApp/src/pages/book/index.vue 5 * @FilePath: /meihuaApp/src/pages/book/index.vue
6 * @Description: 订房页面 6 * @Description: 订房页面
7 --> 7 -->
...@@ -129,14 +129,14 @@ export default { ...@@ -129,14 +129,14 @@ export default {
129 name: "bookPage", 129 name: "bookPage",
130 mixins: [mixin.init], 130 mixins: [mixin.init],
131 async onShow () { 131 async onShow () {
132 - Taro.showLoading({ mask: true, title: "加载中..." }); 132 + // Taro.showLoading({ mask: true, title: "加载中..." });
133 // 获取活动和轮播信息 133 // 获取活动和轮播信息
134 const { code, data } = await getListAPI({ page: this.page, limit: this.limit }); 134 const { code, data } = await getListAPI({ page: this.page, limit: this.limit });
135 if (code) { 135 if (code) {
136 this.bookList = data; 136 this.bookList = data;
137 this.page = this.page + 1; 137 this.page = this.page + 1;
138 - Taro.hideLoading(); 138 + // Taro.hideLoading();
139 - console.warn('onShow'); 139 + // console.warn('onShow');
140 } 140 }
141 }, 141 },
142 onHide () { // 离开当前页面 142 onHide () { // 离开当前页面
...@@ -153,9 +153,9 @@ export default { ...@@ -153,9 +153,9 @@ export default {
153 }, 153 },
154 }, 154 },
155 mounted () { 155 mounted () {
156 - Taro.showLoading({ 156 + // Taro.showLoading({
157 - title: '加载中', 157 + // title: '加载中',
158 - }); 158 + // });
159 // 设置首页封面高度 159 // 设置首页封面高度
160 const windowHeight = wx.getSystemInfoSync().windowHeight; 160 const windowHeight = wx.getSystemInfoSync().windowHeight;
161 // 处理切换显示白屏问题 161 // 处理切换显示白屏问题
...@@ -167,8 +167,7 @@ export default { ...@@ -167,8 +167,7 @@ export default {
167 const calHeight = await $('#book-cal').height(); 167 const calHeight = await $('#book-cal').height();
168 this.indexCoverHeight = windowHeight - navHeight - calHeight; 168 this.indexCoverHeight = windowHeight - navHeight - calHeight;
169 if (this.$refs.refScrollView) { 169 if (this.$refs.refScrollView) {
170 - Taro.hideLoading(); 170 + // Taro.hideLoading();
171 - console.warn('加载完成');
172 } 171 }
173 }); 172 });
174 }, 173 },
......
1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-12-26 16:11:45 4 + * @LastEditTime: 2023-12-27 19:44:09
5 * @FilePath: /meihuaApp/src/pages/index/index.vue 5 * @FilePath: /meihuaApp/src/pages/index/index.vue
6 * @Description: 首页 6 * @Description: 首页
7 --> 7 -->
...@@ -96,13 +96,13 @@ export default { ...@@ -96,13 +96,13 @@ export default {
96 }); 96 });
97 }, 97 },
98 async onShow () { 98 async onShow () {
99 - Taro.showLoading({ mask: true, title: "加载中..." }) 99 + // Taro.showLoading({ mask: true, title: "加载中..." })
100 // 获取活动和轮播信息 100 // 获取活动和轮播信息
101 const { code, data } = await getListAPI({ page: this.page, limit: this.limit }); 101 const { code, data } = await getListAPI({ page: this.page, limit: this.limit });
102 if (code) { 102 if (code) {
103 this.room_list = data; 103 this.room_list = data;
104 this.page = this.page + 1; 104 this.page = this.page + 1;
105 - Taro.hideLoading() 105 + // Taro.hideLoading()
106 } 106 }
107 }, 107 },
108 onHide () { // 离开当前页面 108 onHide () { // 离开当前页面
......
1 <!-- 1 <!--
2 * @Date: 2023-12-13 11:13:13 2 * @Date: 2023-12-13 11:13:13
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-12-27 19:30:49 4 + * @LastEditTime: 2023-12-27 19:45:07
5 * @FilePath: /meihuaApp/src/pages/my/index.vue 5 * @FilePath: /meihuaApp/src/pages/my/index.vue
6 * @Description: 我的页面 6 * @Description: 我的页面
7 --> 7 -->
...@@ -118,13 +118,13 @@ export default { ...@@ -118,13 +118,13 @@ export default {
118 }, 118 },
119 }, 119 },
120 async onShow () { 120 async onShow () {
121 - Taro.showLoading({ mask: true, title: "加载中..." }) 121 + // Taro.showLoading({ mask: true, title: "加载中..." })
122 // 获取活动和轮播信息 122 // 获取活动和轮播信息
123 const { code, data } = await myOrderAPI({ page: this.page, limit: this.limit, pay_type: this.tab_index }); 123 const { code, data } = await myOrderAPI({ page: this.page, limit: this.limit, pay_type: this.tab_index });
124 if (code) { 124 if (code) {
125 this.order_list = data; 125 this.order_list = data;
126 this.page = this.page + 1; 126 this.page = this.page + 1;
127 - Taro.hideLoading() 127 + // Taro.hideLoading()
128 } 128 }
129 // 获取系统参数 129 // 获取系统参数
130 const sysData = await sysParamAPI(); 130 const sysData = await sysParamAPI();
......