登录修改,增加登录协议等,修复拼团客服等
This commit is contained in:
@ -1,12 +1,15 @@
|
||||
<template>
|
||||
<view class="newsDetail">
|
||||
<view class="title">{{ articleInfo.title }}</view>
|
||||
<view class="list acea-row row-middle">
|
||||
<view class="label cart-color line1">新闻专区</view>
|
||||
<view class="item"> <text class="iconfont icon-shenhezhong"></text>{{ articleInfo.addTime }} </view>
|
||||
<view class="item"> <text class="iconfont icon-liulan"></text>{{ articleInfo.visit }} </view>
|
||||
</view>
|
||||
<view class="conter" v-html="articleInfo.content"></view>
|
||||
<template>
|
||||
<view class="newsDetail" v-if="isShow">
|
||||
<view class="conter" v-html="articleInfo.content"></view>
|
||||
</view>
|
||||
<view class="newsDetail" v-else>
|
||||
<view class="title">{{ articleInfo.title }}</view>
|
||||
<view class="list acea-row row-middle">
|
||||
<view class="label cart-color line1">新闻专区</view>
|
||||
<view class="item"> <text class="iconfont icon-shenhezhong"></text>{{ articleInfo.addTime }} </view>
|
||||
<view class="item"> <text class="iconfont icon-liulan"></text>{{ articleInfo.visit }} </view>
|
||||
</view>
|
||||
<view class="conter" v-html="articleInfo.content"></view>
|
||||
</view>
|
||||
</template>
|
||||
<style scoped lang="less">
|
||||
@ -95,8 +98,17 @@ export default {
|
||||
props: {},
|
||||
data: function() {
|
||||
return {
|
||||
articleInfo: {},
|
||||
articleInfo: {},
|
||||
isShow: false
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
if (option.name) {
|
||||
this.isShow = true
|
||||
uni.setNavigationBarTitle({
|
||||
title:option.name
|
||||
});
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
$yroute(to) {
|
||||
|
Reference in New Issue
Block a user