|
|
@ -3,7 +3,7 @@ |
|
|
|
<div class="blueBg"></div> |
|
|
|
<div class="content"> |
|
|
|
<div class="flex flex-end"> |
|
|
|
<div class="flex flex-center2 white" @click="$router.push('/selectAgency')"> |
|
|
|
<div class="flex flex-center2 white" > |
|
|
|
<img src="@/assets/images/icons/home.png" class="img_17 m-right10" alt=""> |
|
|
|
<span>{{ this.$store.state.app.userInfo.agencyName || '--' }}</span> |
|
|
|
</div> |
|
|
@ -104,7 +104,7 @@ |
|
|
|
<van-tabs v-model="tagActive" style="width: 100%;" @change="handelChangeTags"> |
|
|
|
<van-tab v-for="item in tagList" :key="item.id" :title="item.tagName"> |
|
|
|
<div class="flex flex-y flex1 flex-end" v-if="PublicityList.length !== 0" > |
|
|
|
<div class="activity_content flex flex-y" v-for="(item, index) in PublicityList" :key="index" @click="$router.push({name:'communityPublicityDetail',query:{item:JSON.stringify(item)}})"> |
|
|
|
<div class="activity_content flex flex-y" v-for="(item, index) in PublicityList" :key="index" @click="$router.push({name:'communityPublicityDetail',query:{id:item.id}})"> |
|
|
|
<div class="flex flex1 "> |
|
|
|
<span class="van-multi-ellipsis--l2 flex1" style="line-height: 28px;" > |
|
|
|
{{ item.title }} |
|
|
@ -130,7 +130,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<register-dialog v-if="showRegister" @close="showRegister = false"></register-dialog> |
|
|
|
<register-dialog v-if="showRegister" @close="showRegister = false" :registerFlag="registerFlag" :content="tipContent"></register-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@ -179,7 +179,9 @@ export default { |
|
|
|
PublicityList:[], |
|
|
|
PublicityListImg:[], |
|
|
|
messageText:'没有新的消息!', |
|
|
|
day:null |
|
|
|
day:null, |
|
|
|
tipContent:null, |
|
|
|
registerFlag:null |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { |
|
|
@ -328,11 +330,22 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
handelClickJump(path,item) { |
|
|
|
if (path === 'event') { |
|
|
|
if (this.$store.state.app.userInfo.mobile) { |
|
|
|
this.$router.push({ path: `/${path}` }); |
|
|
|
} else { |
|
|
|
this.showRegister = true; |
|
|
|
if (path === 'event' || path === 'Enjoyableservices') { |
|
|
|
if(path === 'event'){ |
|
|
|
if (this.$store.state.app.userInfo.mobile) { |
|
|
|
this.$router.push({ path: `/${path}` }); |
|
|
|
} else { |
|
|
|
this.showRegister = true; |
|
|
|
} |
|
|
|
} |
|
|
|
if(path === 'Enjoyableservices'){ |
|
|
|
if (this.$store.state.app.userInfo.idNum) { |
|
|
|
this.$router.push({ path: `/${path}` }); |
|
|
|
} else { |
|
|
|
this.tipContent = '请您先进行实名认证。' |
|
|
|
this.registerFlag = 'real'; |
|
|
|
this.showRegister = true; |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.$router.push({ path: `/${path}`,query:{id:item.id} }) |
|
|
|