Style:图标更换
This commit is contained in:
@@ -55,15 +55,27 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="isTravelGroup">
|
||||
<view class="btn-wrap">
|
||||
<view class="btn-wrap" v-if="card.isOverReceive === 0 && card.isUserReceive === 0">
|
||||
<button class="share-btn v12-white-text v12-primary" @click="setShowAddressForm(true)">
|
||||
填写地址并收下
|
||||
</button>
|
||||
<button open-type="share" class="share-btn v12-white v12-primary-text v12-d-flex" >
|
||||
<button v-if="card.canTransfer !== 0" open-type="share" class="share-btn v12-white v12-primary-text v12-d-flex" >
|
||||
点击转赠给好友
|
||||
<u-icon :name="webUrl + '/icon/share.png'" ></u-icon>
|
||||
</button>
|
||||
</view>
|
||||
<view v-if="card.isUserReceive === 1" @click="toHome" style="z-index: 10; display: flex;flex-direction: column;align-items: center;">
|
||||
<view class="address-btn v12-white-text v12-primary">
|
||||
礼包已被领取
|
||||
</view>
|
||||
<view class="info-btn v12-text-center v12-font-32 v12-mt-3" style="z-index: 10">去商城看看>></view>
|
||||
</view>
|
||||
<view v-if="card.isUserReceive === 1" style="z-index: 10; display: flex;flex-direction: column;align-items: center;">
|
||||
<view style="width: fit-content;" class="address-btn v12-white-text v12-primary" @click="toOrder">
|
||||
您已领取礼包,去看看>>
|
||||
</view>
|
||||
<view class="info-btn v12-text-center v12-font-32 v12-mt-3" @click.stop="searchGift">我也要送礼</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tips">
|
||||
<view class="tip-text v12-mr-1" @click="showTips">
|
||||
@@ -165,6 +177,16 @@ export default {
|
||||
// 分享到微信好友
|
||||
},
|
||||
toOrder() {
|
||||
if (this.isTravelGroup) {
|
||||
this.$yrouter.push({
|
||||
path: '/pkg_product/views/sojoumOrderDetails',
|
||||
query: {
|
||||
id: this.order,
|
||||
isView: 1
|
||||
}
|
||||
})
|
||||
return
|
||||
}
|
||||
this.$yrouter.push({
|
||||
path: "/pages/order/OrderDetails/index",
|
||||
query: {
|
||||
@@ -231,7 +253,7 @@ export default {
|
||||
title: '领取成功',
|
||||
icon: 'success'
|
||||
});
|
||||
uni.redirectTo({ url: '/pkg_user/views/gift/receiveDone' })
|
||||
uni.navigateTo({ url: '/pkg_user/views/gift/receiveDone?obj=' + JSON.stringify(res.data) })
|
||||
}).catch(() => {
|
||||
uni.showToast({
|
||||
title: '领取失败,请重试',
|
||||
|
||||
Reference in New Issue
Block a user