|
@@ -40,6 +40,27 @@
|
|
|
<view class="tabBarLineHeight"></view>
|
|
<view class="tabBarLineHeight"></view>
|
|
|
|
|
|
|
|
<view class="bottomView ">
|
|
<view class="bottomView ">
|
|
|
|
|
+
|
|
|
|
|
+ <view class="flex-row justify-center" @click="goUseRights">
|
|
|
|
|
+ <view class="block_3 ">
|
|
|
|
|
+ <text lines="1" class="text_15">权益卡</text>
|
|
|
|
|
+ <view>
|
|
|
|
|
+ <view class="flex-row justify-between" v-if="coupons.length>0">
|
|
|
|
|
+ <view class="flex-row">
|
|
|
|
|
+ <text class="text-group_5" v-for="(iter,i) in coupons" :key="i">{{iter.name}}:-¥{{iter.discountsPrice}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <u-icon name="arrow-right" color="#666" size="18"></u-icon>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view v-else class="image-text_4 ">
|
|
|
|
|
+ <text class="text-group_4">未选择</text>
|
|
|
|
|
+ <u-icon name="arrow-right" color="#666" size="18"></u-icon>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<view class="flex-row justify-center" @click="goUseCoupons">
|
|
<view class="flex-row justify-center" @click="goUseCoupons">
|
|
|
<view class="block_3 ">
|
|
<view class="block_3 ">
|
|
|
<text lines="1" class="text_15">优惠券</text>
|
|
<text lines="1" class="text_15">优惠券</text>
|
|
@@ -96,6 +117,12 @@ export default {
|
|
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|
|
|
|
|
+ goUseRights(){
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url:'/storePages/useRights/index'
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
getUseCoupons(e){
|
|
getUseCoupons(e){
|
|
|
console.log('++++++++getUseCoupons+++++++++++++++',e)
|
|
console.log('++++++++getUseCoupons+++++++++++++++',e)
|
|
|
this.coupons= e
|
|
this.coupons= e
|