Commit 7d2044df authored by zhangjianguo's avatar zhangjianguo

1

parent 45d3dcaf
......@@ -319,7 +319,7 @@
},
goshoping(){
uni.redirectTo({ url: "/pages/index/index" });
uni.reLaunch({ url: "/pages/index/index" });
},
clickHandler(GoodsId) {
uni.navigateTo({
......
......@@ -12,6 +12,13 @@
@click="previewImage"
></u-swiper>
<!-- TODO 分销价格未做 is_share_price -->
<view class="is_share" v-if='g.share>0'>
<image src="@/static/images/icon/WechatIMG424.png" style="width: 20px;margin-left: 12px;opacity: 1;" mode="widthFix"/>
<view style="display: flex;flex-direction: column;margin-left: 8px;font-size: 11px;color: #fff;opacity: 1;">
<Text>分销最高可赚</Text>
<Text>{{g.share}}</Text>
</view>
</view>
</view>
<view class="g-info">
<view class="g-name u-skeleton-rect">{{ g.name }}</view>
......@@ -618,4 +625,18 @@ export default {
.goods .detals * {
max-width: 100%;
}
.goods .is_share{
width: 120px;
height: 45px;
border-top-left-radius: 22.5px;
border-bottom-left-radius: 22.5px;
background: #111;
opacity: 0.8;
display: flex;
flex-direction: row;
align-items: center;
position: absolute;
top: 300px;
right: 0;
}
</style>
......@@ -203,7 +203,7 @@
this.show=false
},
getapply(){
// TODO 接口暂无
if(this.msg.AppliedMoney==''){
uni.showToast({
......
......@@ -96,6 +96,7 @@
>
{{ item.name }}
</Text>
<button open-type="contact" v-if="item.link_url=='contact'&& item.name=='客服' ">0</button>
</view>
</view>
<view class="copyright">
......@@ -192,6 +193,7 @@ console.log(wx.getStorageSync('basedata'))
);
},
goUrl(url) {
if(url =='/pages/order/refund/index'){
uni.navigateTo({
url: '/pages/order/after-sale/refunds-list'
......@@ -354,6 +356,16 @@ console.log(wx.getStorageSync('basedata'))
flex-direction: column;
align-items: center;
justify-content: space-between;
position: relative;
}
.menus_item2,.menus_item button{
width: 100%;
height: 100%;
position: absolute;
left: 0;
top:0;
opacity: 0;
}
.userStyle .menus2 .menus_item2 {
width: 100%;
......@@ -362,6 +374,7 @@ console.log(wx.getStorageSync('basedata'))
flex-direction: row;
align-items: center;
margin-left: 30rpx;
position: relative;
}
.userStyle .copyright {
padding: 70rpx 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment