| | |
| | | success: async function(res) { |
| | | console.log('条码内容:' + res.result); |
| | | if (!res.result) { |
| | | that.$message.showToast('未识别出信息,如果是微信小程序二维码,请微信扫码打开') |
| | | that.$message.showToast('未识别出信息,请用微信扫码打开') |
| | | return |
| | | } |
| | | var dto = undefined |
| | |
| | | success: async function(res) {
|
| | | console.log('条码内容:' + res.result);
|
| | | if (!res.result) {
|
| | | that.$message.showToast('未识别出合伙人信息,如果是微信小程序二维码,请微信扫码打开')
|
| | | that.$message.showToast('未识别出合伙人信息,请微信扫码打开')
|
| | | return
|
| | | }
|
| | | var dto = undefined
|
| | |
| | | </view> |
| | | <view class=""> |
| | | <no-data v-if="!list||list.length==0" style="width: 100%;"></no-data> |
| | | |
| | | |
| | | <view v-for="(item,index) of list" :key="index" class="coupont-item" :class="[query.status]"> |
| | | <view class="flex container img100"> |
| | | <view class="info-price"> |
| | |
| | | {{item.couponName||'-'}} |
| | | </view> |
| | | <view class="time"> |
| | | 有效期至{{item.usageEndDate||'-'}} |
| | | {{item.usageEndDate&&('有效期至:'+item.usageEndDate) || '长久有效'}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="tip"> |
| | | <span class="t-red">*</span>此券每人限领1张。仅限用于花满芜鲜花交易平台鲜切花花款满额使用,不可与其他优惠同享、不可叠加使用 |
| | | <span |
| | | class="t-red">*</span>{{item.couponDescription || '此券每人限领1张。仅限用于花满芜鲜花交易平台鲜切花花款满额使用,不可与其他优惠同享、不可叠加使用'}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | @import './coupon.scss'; |
| | | @import './coupon.scss'; |
| | | |
| | | .coupon-container { |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | .bottom-button { |
| | | width: 690rpx; |
| | | height: 90rpx; |
| | |
| | | color: #20613D; |
| | | text-align: center; |
| | | line-height: 90rpx; |
| | | z-index: 99; |
| | | background-color: #fbfbfb; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | }, |
| | | changeScore(item){ |
| | | this.query.pointLower = item.min || 0 |
| | | this.query.pointUpper = item.max || 10000000000 |
| | | this.query.pointUpper = item.max || 990000 |
| | | this.refreshList() |
| | | } |
| | | }, |
| | |
| | | }, |
| | | ], |
| | | query: { |
| | | pointLower: 1001, |
| | | pointUpper: 3000 |
| | | pointLower: 0, |
| | | pointUpper: 1000 |
| | | }, |
| | | scores: [{ |
| | | min: 0, |
| | |
| | | font-size: 24rpx; |
| | | color: #44775A; |
| | | text-align: center; |
| | | line-height: 46rpx; |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | .query-scores { |
| | | overflow-x: scroll; |
| | | width: max-content; |
| | | // width: max-content; |
| | | .item { |
| | | min-width: fit-content; |
| | | padding-left: 16rpx; |
| | | padding-right: 16rpx; |
| | | text-align: center; |