完善余额功能
This commit is contained in:
@ -24,10 +24,12 @@
|
||||
</view>
|
||||
|
||||
<view class="u-absolute right-0">
|
||||
<view class="excharge row-center text-default">
|
||||
<text class="xs">兑换商品</text>
|
||||
<u-icon name="arrow-right" size="22" :color="themeColor" class="u-m-l-10"></u-icon>
|
||||
</view>
|
||||
<navigator url="/bundle/pages/points/points_store" hover-class="none">
|
||||
<view class="excharge row-center text-default">
|
||||
<text class="xs">兑换商品</text>
|
||||
<u-icon name="arrow-right" size="22" :color="themeColor" class="u-m-l-10"></u-icon>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
<text class="text-7c">元</text>
|
||||
</view>
|
||||
<view>
|
||||
<u-button @click="mpLogin" hover-class="none" :customStyle="{width: '145rpx', height: '61rpx', backgroundColor: themeColor, color: '#fff', border: 'none', borderRadius: '31rpx'}" :hair-line="false">兑换</u-button>
|
||||
<u-button @click="toExchange" hover-class="none" :customStyle="{width: '145rpx', height: '61rpx', backgroundColor: themeColor, color: '#fff', border: 'none', borderRadius: '31rpx'}" :hair-line="false">兑换</u-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -59,6 +59,12 @@
|
||||
methods: {
|
||||
change(index) {
|
||||
this.current = index;
|
||||
},
|
||||
|
||||
toExchange() {
|
||||
uni.navigateTo({
|
||||
url: `/bundle/pages/points/points_shop`
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user