Bladeren bron

no message

WIN-2CJ8FMUT9OF\Administrator 8 maanden geleden
bovenliggende
commit
20ee696ced
2 gewijzigde bestanden met toevoegingen van 8 en 4 verwijderingen
  1. 2 1
      manifest.json
  2. 6 3
      pages/index/index.vue

+ 2 - 1
manifest.json

@@ -75,7 +75,8 @@
             "https" : false,
             "proxy" : {
                 "/api" : {
-                    "target" : "https://wap.jhcs888.com",
+                    // "target" : "https://testwap.jhcs888.com",
+					"target" : "https://wap.jhcs888.com",
                     "changeOrigin" : true,
                     "secure" : true
                 }

+ 6 - 3
pages/index/index.vue

@@ -9,10 +9,13 @@
 			</view>
 		</view>
 		<view class="align-items-center flex-justify-center cg-box">
-			<uni-icons v-if="orderInfo.status === 1" class="mr-10" type="checkbox-filled" size="25" color="#547BFA"></uni-icons>
+			<uni-icons v-if="orderInfo.status === 2 || orderInfo.status === 6" class="mr-10" type="checkbox-filled" size="25" color="#547BFA"></uni-icons>
 			<uni-icons v-else class="mr-10" type="clear" size="25" color="#FF0000"></uni-icons>
-			<view class="">
-				{{orderInfo.status === 1?'支付成功':'支付失败'}}
+			<view class="" v-if="orderInfo.status === 2 || orderInfo.status === 6">
+				支付成功
+			</view>
+			<view class="" v-else>
+				支付失败
 			</view>
 		</view>
 		<view class="align-items-center flex-justify-space mb-20">