Commit 7d2044df authored by zhangjianguo's avatar zhangjianguo

1

parent 45d3dcaf
...@@ -319,7 +319,7 @@ ...@@ -319,7 +319,7 @@
}, },
goshoping(){ goshoping(){
uni.redirectTo({ url: "/pages/index/index" }); uni.reLaunch({ url: "/pages/index/index" });
}, },
clickHandler(GoodsId) { clickHandler(GoodsId) {
uni.navigateTo({ uni.navigateTo({
......
...@@ -12,6 +12,13 @@ ...@@ -12,6 +12,13 @@
@click="previewImage" @click="previewImage"
></u-swiper> ></u-swiper>
<!-- TODO 分销价格未做 is_share_price --> <!-- 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>
<view class="g-info"> <view class="g-info">
<view class="g-name u-skeleton-rect">{{ g.name }}</view> <view class="g-name u-skeleton-rect">{{ g.name }}</view>
...@@ -618,4 +625,18 @@ export default { ...@@ -618,4 +625,18 @@ export default {
.goods .detals * { .goods .detals * {
max-width: 100%; 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> </style>
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
this.show=false this.show=false
}, },
getapply(){ getapply(){
// TODO 接口暂无
if(this.msg.AppliedMoney==''){ if(this.msg.AppliedMoney==''){
uni.showToast({ uni.showToast({
......
...@@ -96,6 +96,7 @@ ...@@ -96,6 +96,7 @@
> >
{{ item.name }} {{ item.name }}
</Text> </Text>
<button open-type="contact" v-if="item.link_url=='contact'&& item.name=='客服' ">0</button>
</view> </view>
</view> </view>
<view class="copyright"> <view class="copyright">
...@@ -192,6 +193,7 @@ console.log(wx.getStorageSync('basedata')) ...@@ -192,6 +193,7 @@ console.log(wx.getStorageSync('basedata'))
); );
}, },
goUrl(url) { goUrl(url) {
if(url =='/pages/order/refund/index'){ if(url =='/pages/order/refund/index'){
uni.navigateTo({ uni.navigateTo({
url: '/pages/order/after-sale/refunds-list' url: '/pages/order/after-sale/refunds-list'
...@@ -354,6 +356,16 @@ console.log(wx.getStorageSync('basedata')) ...@@ -354,6 +356,16 @@ console.log(wx.getStorageSync('basedata'))
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: space-between; 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 { .userStyle .menus2 .menus_item2 {
width: 100%; width: 100%;
...@@ -362,6 +374,7 @@ console.log(wx.getStorageSync('basedata')) ...@@ -362,6 +374,7 @@ console.log(wx.getStorageSync('basedata'))
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
margin-left: 30rpx; margin-left: 30rpx;
position: relative;
} }
.userStyle .copyright { .userStyle .copyright {
padding: 70rpx 0; 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