Commit ec6869e1 authored by 罗超's avatar 罗超

1

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