[商品详情的购物车跳转]
This commit is contained in:
@@ -285,8 +285,17 @@ Page({
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
console.log(this.data.storyData.cover)
|
||||
this.setData({
|
||||
shareShow: false
|
||||
})
|
||||
return({
|
||||
title : "#" + this.data.storyData.title,
|
||||
path : '/pages/mall/mall_details/mall_details?id=' + this.data.storyData.id + '&nameList=share',
|
||||
imageUrl: this.data.storyData.cover
|
||||
})
|
||||
|
||||
// + '&share_user_id=' + app.globalData.userInfo.user_id || 0
|
||||
},
|
||||
|
||||
})
|
||||
@@ -27,7 +27,9 @@
|
||||
<view class="goods-title-name">{{storyData.title}}</view>
|
||||
<view class="nowrap-multi goods-title-text">{{storyData.description}}</view>
|
||||
</view>
|
||||
<view class="goodsMember">
|
||||
|
||||
<!-- 暂时隐藏 -->
|
||||
<view class="goodsMember" style="display: none">
|
||||
<view class="goodsMember-name">
|
||||
<image class="goods-tips-gold" src="/static/mall_icon/mallDetails_member_grey.png"></image>开通会员,尊享会员价
|
||||
</view>
|
||||
@@ -35,7 +37,8 @@
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="goods-tips">
|
||||
<!-- 暂时隐藏 -->
|
||||
<view class="goods-tips" style="display: none">
|
||||
<image class="goods-tips-gold" src="/static/mall_icon/mallDetails_gold.png"></image>
|
||||
分享奖 <text>¥{{changeSku.prices.bonus1}}</text>
|
||||
</view>
|
||||
@@ -135,10 +138,10 @@
|
||||
<image src="/static/mall_icon/mallDetails_service.png"></image>
|
||||
客服
|
||||
</navigator>
|
||||
<navigator hover-class="none" url="/pages/mall_cart/mall_cart" class="footer-img-tool">
|
||||
<navigator hover-class="none" url="/pages/mall/mall_cart/mall_cart" class="footer-img-tool">
|
||||
<image src="/static/mall_icon/mallDetails_car.png"></image>
|
||||
购物车
|
||||
<text>1</text>
|
||||
<!-- <text>1</text> -->
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="footer-btn" bindtap="specsTap" wx:if="{{changeSku.prices.stock > 0}}">
|
||||
@@ -270,12 +273,12 @@
|
||||
</view>
|
||||
<view class="share-list-text">微信好友</view>
|
||||
</button>
|
||||
<button class="share-list" hover-class="none" bindtap="canvasCode">
|
||||
<!-- <button class="share-list" hover-class="none" bindtap="canvasCode">
|
||||
<view class="share-list-img">
|
||||
<image src="/static/mall_icon/share_pyq.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="share-list-text">海报分享</view>
|
||||
</button>
|
||||
</button> -->
|
||||
</view>
|
||||
<view class="share-tips">好物推荐,和大家一起分享你发现的好物</view>
|
||||
</view>
|
||||
@@ -476,6 +476,11 @@ view.footer-btn-buy {
|
||||
transition: .2s;
|
||||
}
|
||||
|
||||
.couponEject {
|
||||
max-height: 70%;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.couponEject.active,
|
||||
.specsEject.active {
|
||||
bottom: 0;
|
||||
|
||||
@@ -129,14 +129,14 @@ Page({
|
||||
icon : 'success'
|
||||
})
|
||||
setTimeout(()=>{
|
||||
wx.reLaunch({
|
||||
wx.redirectTo({
|
||||
url: '/pages/mall/mall_order/mall_order'
|
||||
})
|
||||
},2000)
|
||||
}
|
||||
},
|
||||
fail : res=>{
|
||||
wx.reLaunch({
|
||||
wx.redirectTo({
|
||||
url: '/pages/mall/mall_order/mall_order?stateType=unpaid'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user