From ade1aa658df84e8b52f5d1dfa9d2971da5cdad55 Mon Sep 17 00:00:00 2001 From: 346149741 <346149741@qq.com> Date: 星期六, 22 六月 2024 20:38:03 +0800 Subject: [PATCH] 投诉详情 --- policy/scodePage/scodePage.vue | 33 ++++++++++++++++++--------------- 1 files changed, 18 insertions(+), 15 deletions(-) diff --git a/policy/scodePage/scodePage.vue b/policy/scodePage/scodePage.vue index 813ed64..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"> @@ -102,9 +108,6 @@ this.getScanList(options.code) this.getInfo() - }, - onShow() { - }, methods: { getScanList(companyCode){ -- Gitblit v1.9.1