Commit ec6869e1 authored by 罗超's avatar 罗超

1

parent 2e956a5e
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
<input type="text" v-model="addMsg.ActivityTitle" :min='0' placeholder="活动标题" style="font-size: 12px;text-align: right;"> <input type="text" v-model="addMsg.ActivityTitle" :min='0' placeholder="活动标题" style="font-size: 12px;text-align: right;">
</view> </view>
</view> </view>
<view class="box-item" style="justify-content: space-between;height: 70px;" > <!-- <view class="box-item" style="justify-content: space-between;height: 70px;" >
<text style="font-size:12px;color: #666666;">标签</text> <text style="font-size:12px;color: #666666;">标签</text>
<div> <div>
<view class="flex-row" style="justify-content: flex-end;margin-bottom: 5px;"> <view class="flex-row" style="justify-content: flex-end;margin-bottom: 5px;">
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</view> </view>
</div> </div>
</view> </view> -->
<view class="box-item" style="justify-content: space-between;" > <view class="box-item" style="justify-content: space-between;" >
<text style="font-size:12px;color: #666666;">是否开启报名</text> <text style="font-size:12px;color: #666666;">是否开启报名</text>
<view class="flex-row"> <view class="flex-row">
......
...@@ -26,8 +26,13 @@ ...@@ -26,8 +26,13 @@
style="height: 100%" style="height: 100%"
> >
<view class="details"> <view class="details">
<view class="item" v-for="(x, i) in g" :key="i"> <view
<view class="maxbox" @click="gopostdetails(x)"> class="item"
v-for="(x, i) in g"
:key="i"
@click="gopostdetails(x)"
>
<view class="maxbox">
<image <image
:src="x.ImageList[0]" :src="x.ImageList[0]"
mode="aspectFill" mode="aspectFill"
...@@ -53,7 +58,7 @@ ...@@ -53,7 +58,7 @@
{{ x.ActivityTitle }} {{ x.ActivityTitle }}
</view> </view>
<view class="max-b"> <view class="max-b">
<view class="tagBox" v-if="x.LabelList.length > 0"> <!-- <view class="tagBox" v-if="x.LabelList.length > 0">
<u-tag <u-tag
:text="item" :text="item"
mode="dark" mode="dark"
...@@ -63,8 +68,13 @@ ...@@ -63,8 +68,13 @@
v-for="(item, index) in x.LabelList" v-for="(item, index) in x.LabelList"
:key="index" :key="index"
/> />
</view> -->
<view>
<view class="timeAndAddr"
>{{ x.StartTime }}-{{ x.EndTime }}</view
>
<view class="timeAndAddr">{{ x.LocationName }}</view>
</view> </view>
<view class="infoBox"> <view class="infoBox">
<!-- 头像 --> <!-- 头像 -->
<view <view
...@@ -130,8 +140,7 @@ ...@@ -130,8 +140,7 @@
<view style="width: 100%; height: 50px"></view> <view style="width: 100%; height: 50px"></view>
</scroll-view> </scroll-view>
</view> </view>
<view class="release" v-if="isFaTie == 1" @click.stop="gopublishing()"> <view class="release" @click.stop="gopublishing()">
<!-- <image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/pp-fabu.png" style="width: 100%;height: 100%;"></image> -->
<!-- 发布动态按钮 --> <!-- 发布动态按钮 -->
<view class="fbanniu"> <view class="fbanniu">
<image <image
...@@ -312,6 +321,10 @@ export default { ...@@ -312,6 +321,10 @@ export default {
}, },
gopublishing() { gopublishing() {
//发帖 //发帖
uni.navigateTo({
url: "/pages/blindDate/postPublishing?ForumId=" + this.msg.ForumId,
});
return;
this.u = uni.getStorageSync("mall_UserInfo"); this.u = uni.getStorageSync("mall_UserInfo");
if (!this.u) { if (!this.u) {
this.u = { this.u = {
...@@ -614,4 +627,13 @@ export default { ...@@ -614,4 +627,13 @@ export default {
} }
} }
} }
.timeAndAddr {
font-size: 20rpx;
color: #858687;
width: 380rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin: 4rpx 0;
}
</style> </style>
\ No newline at end of file
...@@ -316,7 +316,7 @@ export default { ...@@ -316,7 +316,7 @@ export default {
nav: 0, nav: 0,
mainColor: "", mainColor: "",
is_icon_members_grade: 0, is_icon_members_grade: 0,
isAttestation: 0, //是否认证 isAttestation: -1, //是否认证
}; };
}, },
created() { created() {
...@@ -337,8 +337,14 @@ export default { ...@@ -337,8 +337,14 @@ export default {
this.is_icon_members_grade = uni.getStorageSync("basedata") this.is_icon_members_grade = uni.getStorageSync("basedata")
? uni.getStorageSync("basedata").mall.setting.is_icon_members_grade ? uni.getStorageSync("basedata").mall.setting.is_icon_members_grade
: 0; : 0;
let user = uni.getStorageSync("mall_UserInfo");
if (user) {
let AppletID = this.GetMiniAppId().TenantId;
if (AppletID === 24) {
let basedata = wx.getStorageSync("basedata"); let basedata = wx.getStorageSync("basedata");
this.isAttestation = basedata?.user_info?.isAttestation ?? 0; this.isAttestation = basedata?.user_info?.isAttestation ?? 0;
}
}
}, },
methods: { methods: {
goUrl(url) { goUrl(url) {
......
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