Commit 6375846e authored by Mac's avatar Mac

1

parent 8f0d503f
...@@ -299,6 +299,11 @@ ...@@ -299,6 +299,11 @@
color: #666666; color: #666666;
} }
.share-icon{
width: 20px;
height: 20px;
}
</style> </style>
<template> <template>
...@@ -323,10 +328,15 @@ ...@@ -323,10 +328,15 @@
<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!=''"/>{{details.ActivityTitle}}</view> <view style="display: flex;align-items: flex-start;justify-content: space-between;">
<view class="details-title"><u-tag :text="details.Label" mode="dark" :bg-color="mainColor" size="mini" v-if="details.Label!=null&& details.Label!=''" style='margin-right:5px ;'/>{{details.ActivityTitle}}</view> <view style="width: 30px;" @click="fxshow=true">
<image src="@/static/images/icon/icon-share.png" class="share-icon" @click="fxshow=true"/>
</view>
</view>
<!-- <text v-if="details.Label!=null&& details.Label!='' " :style="{color:mainColor}">【{{details.Label}}</text> --> <!-- <text v-if="details.Label!=null&& details.Label!='' " :style="{color:mainColor}">【{{details.Label}}</text> -->
<view @click="fxshow=true">分享</view>
<view class="details-info"> <view class="details-info">
<view class="details-info-l"> <view class="details-info-l">
<view style="width: 35px;height: 35px;border-radius: 50%;position: relative;" @click.native.stop="goUserinfo(details)"> <view style="width: 35px;height: 35px;border-radius: 50%;position: relative;" @click.native.stop="goUserinfo(details)">
...@@ -695,10 +705,10 @@ ...@@ -695,10 +705,10 @@
this.UserId = UserId this.UserId = UserId
}, },
onShareTimeline() { onShareTimeline() {
setTimeout(() => { // setTimeout(() => {
console.log("分享朋友圈调用"); // console.log("分享朋友圈调用");
this.getReceive(); // this.getReceive();
}, 2500); // }, 2500);
let uid = uni.getStorageSync("mall_UserInfo") let uid = uni.getStorageSync("mall_UserInfo")
? uni.getStorageSync("mall_UserInfo").UserId ? uni.getStorageSync("mall_UserInfo").UserId
: 0; : 0;
...@@ -723,10 +733,10 @@ ...@@ -723,10 +733,10 @@
}; };
}, },
onShareAppMessage(res) { onShareAppMessage(res) {
setTimeout(() => { // setTimeout(() => {
console.log("分享好友调用"); // console.log("分享好友调用");
this.getReceive(); // this.getReceive();
}, 2500); // }, 2500);
let u = uni.getStorageSync("mall_UserInfo"); let u = uni.getStorageSync("mall_UserInfo");
let uid = u.UserId ? u.UserId : 0; let uid = u.UserId ? u.UserId : 0;
if(uid==0){ if(uid==0){
...@@ -948,7 +958,6 @@ ...@@ -948,7 +958,6 @@
this.sendMsg.Content =''; this.sendMsg.Content ='';
this.sendMsg.ParentId =0; this.sendMsg.ParentId =0;
this.sendMsg.ImageList =[]; this.sendMsg.ImageList =[];
this.sendMsg.ImageList =0;
this.ParentName=''; this.ParentName='';
this.showreply = false this.showreply = false
this.showreply2 = false this.showreply2 = false
......
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
</view> </view>
<view class="ftBox-right"> <view class="ftBox-right">
<view class="text" style="font-size: 14px;font-weight: bold;margin-bottom: 5px;">{{detial.createEmName}}</view> <view class="text" style="font-size: 14px;font-weight: bold;margin-bottom: 5px;">{{detial.createEmName}}</view>
<view class="text2" style="font-size: 14px;margin-bottom: 5px;">{{detial.content}}</view> <view class="text2" style="font-size: 14px;margin-bottom: 5px;"><text @click="gohuati(x)" :style="{'font-weight': '600','margin-right': '2px',color:mainColor}" v-if="detial.TalkContent!=null && detial.TalkContent!=''">#{{detial.TalkContent}}#</text>{{detial.content}}</view>
<!-- 图片模式 --> <!-- 图片模式 -->
<view class="imgmode" v-if="detial.fileType==1"> <view class="imgmode" v-if="detial.fileType==1">
<view v-if="detial.files.length==1" style="width: 150px;height:200px;margin-bottom: 6px;" @click.stop="previewImage(0,detial.files)"> <view v-if="detial.files.length==1" style="width: 150px;height:200px;margin-bottom: 6px;" @click.stop="previewImage(0,detial.files)">
...@@ -621,7 +621,13 @@ ...@@ -621,7 +621,13 @@
this.videoContext.play() this.videoContext.play()
this.controls=true this.controls=true
} }
} },
gohuati(){//跳入话题列表
uni.navigateTo({
url: '/pages/friendcircle/friendcircle?TalkId='+this.detial.TalkId+'&TalkContent='+this.detial.TalkContent+'&barshow=1'
})
innerAudioContext.stop();
},
} }
} }
......
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