Commit 09693de1 by 前端

Merge branch 'SAAS+V4.50' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V4.50

2 parents a05a354b f216b981
......@@ -49,9 +49,9 @@
<view class="coupon-list">
<template v-for="item in list">
<view :class="['coupon-bg', `${TYPE_LIST[item.couponState]}-bg`]">
<img v-if="item.couponState == 2" class="claimed-left" src="../../../../assets/images/point/claimed-left.png" alt="">
<image v-if="item.couponState == 2" class="claimed-left" :src="require('@/assets/images/point/claimed-left.png')" alt="" />
<view class="coupon-img">
<img class="img" :src="item.couUrl" alt="">
<image class="img" :src="item.couUrl" alt="" />
</view>
<view class="coupon-info">
<view :class="['coupon-name', { 'gray-name': item.couponState == 3 }]">{{ item.couponName}}
......@@ -85,7 +85,7 @@
<view class="coupon-card">
<view :class="['coupon-header', couponDetailInfo.couponState == 2 ? 'detail-header' : '']">
<view class="header-img">
<img :src="couponDetailInfo.couUrl" alt="">
<image :src="couponDetailInfo.couUrl" alt="" />
</view>
<view class="coupon-base-info">
<h3>{{couponDetailInfo.couponName}}</h3>
......@@ -101,16 +101,19 @@
<view>请截屏发送至手机或手机拍摄保存,按「使用须知」使用卡券</view>
</view>
<view class="coupon-qrcode">
<template v-if="couponDetailInfo.cardType == 1">
<img class="qr-1-img" :src="couponDetailInfo.barCodeUrl" alt="">
<template v-if="couponDetailInfo.cardType == 0 || couponDetailInfo.cardType == 1 || couponDetailInfo.cardType == 2">
<image class="qr-img" :src="couponDetailInfo.qrCodeUrl" alt="" />
</template>
<!-- <template v-if="couponDetailInfo.cardType == 1">
<image class="qr-1-img" :src="couponDetailInfo.barCodeUrl" alt="" />
</template>
<template v-else-if="couponDetailInfo.cardType == 2">
<view class="qr-2-box">
<img class="qr-img" :src="couponDetailInfo.qrCodeUrl" alt="">
<image class="qr-img" :src="couponDetailInfo.qrCodeUrl" alt="" />
<view class="qr-line"></view>
<img class="qr-2-img" :src="couponDetailInfo.barCodeUrl" alt="">
<image class="qr-2-img" :src="couponDetailInfo.barCodeUrl" alt="" />
</view>
</template>
</template> -->
<template v-else-if="couponDetailInfo.cardType == 3">
<view class="redeem-code">
<view class="redeem-item">
......@@ -130,8 +133,8 @@
<template v-else-if="couponDetailInfo.cardType == 5">
<view class="redeem-code">
<view class="redeem-item">
<view class="redeem-name">兑换码:</view>
<view class="redeem-value">{{couponDetailInfo.redemptionCode}}</view>
<view class="redeem-name">卡号:</view>
<view class="redeem-value">{{couponDetailInfo.cardNo}}</view>
</view>
<view class="redeem-item">
<view class="redeem-name">密码:</view>
......@@ -139,9 +142,9 @@
</view>
</view>
</template>
<template v-else>
<img class="qr-img" :src="couponDetailInfo.qrCodeUrl" alt="">
</template>
<!-- <template v-else>
<image class="qr-img" :src="couponDetailInfo.qrCodeUrl" alt="" />
</template> -->
</view>
</view>
<view class="store-info">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!