Commit 128923f4 authored by Mac's avatar Mac

首页的兼容

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