Commit 128923f4 authored by Mac's avatar Mac

首页的兼容

parent ee9e4190
<style scoped>
/deep/.u-size-mini{
vertical-align: middle;
}
<style>
.postDetails{
width: 100%;
height: 100vh;
......@@ -323,9 +320,7 @@
<image style="width: 100%;height: 100%;" :src="details.ImageList[0]" mode="aspectFill"></image>
</view>
<view class="details">
<view class="details-title"><u-tag :text="details.Label" mode="dark" :bg-color="mainColor" size="mini" v-if="details.Label!=null&& details.Label!=''"/>
{{details.ActivityTitle}}</view>
<view class="details-title"><text v-if="details.Label!=null&& details.Label!='' " :style="{color:mainColor}">【{{details.Label}}</text>{{details.ActivityTitle}}</view>
<view @click="fxshow=true">分享</view>
<view class="details-info">
<view class="details-info-l">
......@@ -1150,7 +1145,7 @@
},
goposter(){
uni.navigateTo({
url: '/pages/blindDate/xqposter?cover='+this.details.ImageList[0]+'&title='+this.details.ActivityTitle
url: '/pages/blindDate/xqposter?cover='+this.details.ImageList[0]+'&title='+this.details.ActivityTitle +'&id='+this.msg.ActivityId
});
}
}
......
......@@ -21,6 +21,8 @@
UserInfo: '',
tempPic: '',
cover: '',
id:0,
}
},
created() {
......@@ -34,6 +36,7 @@
if (options ) {
this.cover = options.cover
this.title = options.title
this.id = options.id
this.init()
}
uni.setNavigationBarTitle({
......@@ -74,7 +77,7 @@
that.request2({
url: '/api/AppletUser/GetWeiXinQRCodeForApplet',
data: {
Path: '/pages/index/index?user_id=' + that.UserInfo.UserId + '&SmallShopId=' + SmallShopId,
Path: '/pages/index/index?user_id=' + that.UserInfo.UserId + '&SmallShopId=' + SmallShopId +'&id='+this.id+'&JumpType=10',
With: that.qrcode.QrCodeSize,
}
},
......
......@@ -725,7 +725,9 @@
console.log(e)
}
uni.navigateTo({ url: "/pages/reserve/goodsDetails?GoodsId=" + that.GoodsId });
} else if(that.JumpType == 11){
} else if(that.JumpType == 10){//拼拼push活动详情
uni.navigateTo({ url: "/pages/blindDate/postDetails?Id=" + that.GoodsId });
}else if(that.JumpType == 11){//用户详情
uni.navigateTo({ url: "/pages/blindDate/persondetails?UserId=" + that.GoodsId });
}
......
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