From 9417c0cbada6d5e20c052872362a84c941805c5b Mon Sep 17 00:00:00 2001 From: 346149741 <346149741@qq.com> Date: 星期六, 22 六月 2024 19:31:44 +0800 Subject: [PATCH] Merge branch 'master' of http://218.28.192.34:9999/r/sqys/sqys_xcx --- policy/scodePage/scodePage.vue | 30 ++++++++++++++++++------------ 1 files changed, 18 insertions(+), 12 deletions(-) diff --git a/policy/scodePage/scodePage.vue b/policy/scodePage/scodePage.vue index 4c861d8..c71c691 100644 --- a/policy/scodePage/scodePage.vue +++ b/policy/scodePage/scodePage.vue @@ -11,18 +11,24 @@ <image src="/static/policy/back.png" mode="widthFix" class="back-image"></image> <view class="page-box"> <view class="code-hint"> - <view> - <image src="/static/policy/success.png" mode="widthFix"></image> - <!-- <image src="/static/policy/error.png" mode="widthFix"></image> --> - <text>鎴愬姛-缁跨爜</text> - <!-- <text>澶辫触-绾㈢爜</text> --> - </view> - <view class="hint"> - 鍙姝や紒涓氳繘琛屾牳鏌� - </view> - <view class="hint"> - 璇锋牳鏌ヤ紒涓氫俊鎭� - </view> + <template v-if="color == 'green'"> + <view> + <image src="/static/policy/success.png" mode="widthFix"></image> + <text>鎴愬姛-缁跨爜</text> + </view> + <view class="hint"> + 鍙姝や紒涓氳繘琛屾牳鏌� + </view> + </template> + <template v-if="color == 'red'"> + <view > + <image src="/static/policy/error.png" mode="widthFix"></image> + <text>澶辫触-绾㈢爜</text> + </view> + <view class="hint"> + 璇锋牳鏌ヤ紒涓氫俊鎭� + </view> + </template> </view> <!-- 浜岀淮鐮� --> <view class="qrcode"> -- Gitblit v1.9.1