hwq 3 vuotta sitten
vanhempi
commit
f1918d5142
3 muutettua tiedostoa jossa 11 lisäystä ja 4 poistoa
  1. 2 2
      manifest.json
  2. 8 1
      pages/index/appointmentD.vue
  3. 1 1
      pages/index/index.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "Lala NFT",
     "appid" : "__UNI__3CDE968",
     "description" : "",
-    "versionName" : "1.2.9",
-    "versionCode" : 129,
+    "versionName" : "1.3.1",
+    "versionCode" : 131,
     "transformPx" : false,
     "app-plus" : {
         /* 5+App特有相关 */

+ 8 - 1
pages/index/appointmentD.vue

@@ -7,7 +7,13 @@
 						<view class="avtor"><image class="portrait" :src="userInfo.avatar || '/static/img/missing-face.png'"></image></view>
 						<view class="name-box">
 							<view class="name clamp">{{ userInfo.phone || userInfo.email || '游客' }}</view>
-							<view class="tip" style="margin-top: 10rpx;" v-if="list.my">距离到期还有{{ list.js }}天</view>
+							<template v-if="list.my">
+								<view class="tip" style="margin-top: 10rpx;" v-if="list.my.is_forever==1">永久开通</view>
+								<template v-else>
+									<view class="tip" style="margin-top: 10rpx;" v-if="list.js > 0">距离到期还有{{ list.js }}天</view>
+									<view class="tip" style="margin-top: 10rpx;" v-if="list.js <= 0">已过期</view>
+								</template>
+							</template>
 							<view class="tip" style="margin-top: 10rpx;" v-else>尚未开通</view>
 						</view>
 					</view>
@@ -85,6 +91,7 @@ export default {
 				mask: true
 			});
 			autoDetails({}, this.id).then(({ data }) => {
+				console.log(data,'11111')
 				obj.list = data;
 				obj.list.lalaname = '';
 				if (data.my) {

+ 1 - 1
pages/index/index.vue

@@ -175,7 +175,7 @@ export default {
 			swiperLength: 0,
 			swiperCurrent: 0,
 			showList: [],
-			start: '' ,//团开始时间
+			start: '' ,//团开始时间
 			moneyType:['usdt','usdc'],//兑出币种类型
 		};
 	},