Browse Source

2023-11-18

hwq 2 năm trước cách đây
mục cha
commit
f37bdc6e7d
3 tập tin đã thay đổi với 14 bổ sung8 xóa
  1. 2 2
      manifest.json
  2. 8 5
      pages/hall/hallinfo.vue
  3. 4 1
      pages/user/myproduct.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "易趣CBB",
     "appid" : "__UNI__9A7699F",
     "description" : "",
-    "versionName" : "1.4.9",
-    "versionCode" : 149,
+    "versionName" : "1.5.1",
+    "versionCode" : 151,
     "transformPx" : false,
     "app-plus" : {
         /* 5+App特有相关 */

+ 8 - 5
pages/hall/hallinfo.vue

@@ -104,9 +104,10 @@
 			...mapState(['isbuy1'])
 		},
 		onShow() {
-			if (!this.isbuy1) {
-				this.isDjs();
-			}
+			// if (!this.isbuy1) {
+			// 	this.isDjs();
+			// }
+			this.isDjs();
 			this.loadData();
 			this.loadDataNext();
 		},
@@ -142,6 +143,8 @@
 				}) => {
 					uni.hideLoading();
 					this.canbuy = data.time;
+					// this.canbuy = 1699492500;
+					
 					let day = getTime(this.canbuy * 1000).split(' ');
 					this.time = day[1];
 					this.counTime();
@@ -178,11 +181,11 @@
 					//显示动态时间效果
 					if (s < 10) {
 						return (this.countdown_time = `${m}:0${s}`);
-						this.timers = setTimeout(this.counTime, 1000);
+						// this.timers = setTimeout(this.counTime, 1000);
 					}
 					if (m < 10) {
 						return (this.countdown_time = `0${m}:${s}`);
-						this.timers = setTimeout(this.counTime, 1000);
+						// this.timers = setTimeout(this.counTime, 1000);
 					}
 				}
 			},

+ 4 - 1
pages/user/myproduct.vue

@@ -31,13 +31,16 @@ export default {
 		return {
 			list: [],
 			page: 1,
-			limit: 10,
+			limit: 20,
 			loadingType: 'more'
 		};
 	},
 	onLoad() {
 		this.loadData();
 	},
+	onReachBottom(){
+		this.loadData();
+	},
 	methods: {
 		loadData() {
 			const obj = this;