Bladeren bron

修改结果页的判断

wangn 5 jaren geleden
bovenliggende
commit
3a38621906
1 gewijzigde bestanden met toevoegingen van 12 en 0 verwijderingen
  1. 12 0
      hdApp/src/admin/home/result.vue

+ 12 - 0
hdApp/src/admin/home/result.vue

@@ -3,6 +3,7 @@
 	<appResult :title="status == '2' ? '审核中' : '审核通过'" :icon="status == '2' ? 'icondaizhifu' : 'iconchenggong'">
 		<button class="admin-button-com blue big" v-if="status != '2'" @click="loginSys">登录后台</button>
 		<button class="admin-button-com big" @click="openInform">开启通知</button>
+    <view class="openInfo">开启通知,第一时间接受{{text}}</view>
 	</appResult>
 </template>
 
@@ -19,6 +20,11 @@ export default {
 	components: {
 		appResult
 	},
+  computed: {
+    text() {
+      return this.status == '2' ? '审核结果' : '门店动态'
+    }
+  },
   onLoad(option){
     this.status = option.status
   },
@@ -45,4 +51,10 @@ export default {
 	margin-bottom: 20px;
 	width: 100%;
 }
+.openInfo{
+  text-align: center;
+  font-size: 30upx;
+  margin-top: 20upx;
+  color: #666;
+}
 </style>