|
@@ -1,54 +1,58 @@
|
|
|
<template>
|
|
|
- <block v-if="hasPermission === 1">
|
|
|
- <view class="container internal-detials" v-if="haveData">
|
|
|
- <view class="report-content-title">{{ reportDetail.Title }}</view>
|
|
|
- <view class="author-time">
|
|
|
- <text>{{ reportDetail.Department }}</text>
|
|
|
- <text>{{ reportDetail.PublishTime }}</text>
|
|
|
- </view>
|
|
|
- <view class="content-statement">
|
|
|
- <text>注:请务必阅读</text>
|
|
|
- <text class="statement" @click="isShowStatement = true">免责声明 </text>
|
|
|
- </view>
|
|
|
- <view class="content-abstract"> 摘要:{{ reportDetail.Abstract }}</view>
|
|
|
- <statement :show="isShowStatement" />
|
|
|
- <view>
|
|
|
- <view
|
|
|
- v-for="(item, index) in reportDetail.BodySlice"
|
|
|
- :key="index"
|
|
|
- @click="goIsTypeDetails(item)"
|
|
|
- :style="{ color: item.Type > 1 && '#3385FF', 'word-wrap': 'break-word' }"
|
|
|
- >
|
|
|
- <mp-html :content="strFontSize(item.Body)" />
|
|
|
+ <block v-if="isUserBindingPhoneNumber">
|
|
|
+ <block v-if="hasPermission === 1">
|
|
|
+ <view class="container internal-detials" v-if="haveData">
|
|
|
+ <view class="report-content-title">{{ reportDetail.Title }}</view>
|
|
|
+ <view class="author-time">
|
|
|
+ <text>{{ reportDetail.Department }}</text>
|
|
|
+ <text>{{ reportDetail.PublishTime }}</text>
|
|
|
+ </view>
|
|
|
+ <view class="content-statement">
|
|
|
+ <text>注:请务必阅读</text>
|
|
|
+ <text class="statement" @click="isShowStatement = true">免责声明 </text>
|
|
|
+ </view>
|
|
|
+ <view class="content-abstract"> 摘要:{{ reportDetail.Abstract }}</view>
|
|
|
+ <statement :show="isShowStatement" />
|
|
|
+ <view>
|
|
|
+ <view
|
|
|
+ v-for="(item, index) in reportDetail.BodySlice"
|
|
|
+ :key="index"
|
|
|
+ @click="goIsTypeDetails(item)"
|
|
|
+ :style="{ color: item.Type > 1 && '#3385FF', 'word-wrap': 'break-word' }"
|
|
|
+ >
|
|
|
+ <mp-html :content="strFontSize(item.Body)" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="nodata" v-else>
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/report_loading_icon.png" class="nodata_img"></image>
|
|
|
- <view class="nodata-tip">正在努力编辑中,请耐心等待...</view>
|
|
|
+ <view class="nodata" v-else>
|
|
|
+ <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/report_loading_icon.png" class="nodata_img"></image>
|
|
|
+ <view class="nodata-tip">正在努力编辑中,请耐心等待...</view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ <view class="noauth-cont" v-else-if="hasPermission == 3 || hasPermission == 4">
|
|
|
+ <block v-if="!isShowAlert">
|
|
|
+ <image src="https://hzstatic.hzinsights.com/cygx/czbk/noauth.png" class="noauth-ico"></image>
|
|
|
+ <block>
|
|
|
+ <view class="tip">您暂无权限查看此文章内容,若想查看可以申请开通哦</view>
|
|
|
+ <view class="btn-cont" @click="applyAuth"> 立即申请 </view>
|
|
|
+ </block>
|
|
|
+ <view class="btn-cont back-btn" @click="backIndex"> 返回首页 </view>
|
|
|
+ </block>
|
|
|
+ <block v-else>
|
|
|
+ <text class="moneh-text"> 上传名片并填写简单信息,24小时内我们会为您开通一个月的免费月卡 </text>
|
|
|
+ <img src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/month_card.png" class="month_card" alt="" />
|
|
|
+ <view class="btn-cont btn-dl" @click="applyAuth"> 立即上传 </view>
|
|
|
+ <view class="btn-cont month-back" @click="backIndex"> 返回</view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
</block>
|
|
|
- <view class="noauth-cont" v-else-if="hasPermission == 3 || hasPermission == 4">
|
|
|
- <block v-if="!isShowAlert">
|
|
|
- <image src="https://hzstatic.hzinsights.com/cygx/czbk/noauth.png" class="noauth-ico"></image>
|
|
|
- <block>
|
|
|
- <view class="tip">您暂无权限查看此文章内容,若想查看可以申请开通哦</view>
|
|
|
- <view class="btn-cont" @click="applyAuth"> 立即申请 </view>
|
|
|
- </block>
|
|
|
- <view class="btn-cont back-btn" @click="backIndex"> 返回首页 </view>
|
|
|
- </block>
|
|
|
- <block v-else>
|
|
|
- <text class="moneh-text"> 上传名片并填写简单信息,24小时内我们会为您开通一个月的免费月卡 </text>
|
|
|
- <img src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/month_card.png" class="month_card" alt="" />
|
|
|
- <view class="btn-cont btn-dl" @click="applyAuth"> 立即上传 </view>
|
|
|
- <view class="btn-cont month-back" @click="backIndex"> 返回</view>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
+ <not-have-login v-else />
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import { Reports } from "@/config/api.js";
|
|
|
import statement from "@/reportPages/components/statement.vue";
|
|
|
+import NotHaveLogin from "@/components/notHaveLogin.vue";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -60,7 +64,7 @@ export default {
|
|
|
titleTxT: "",
|
|
|
};
|
|
|
},
|
|
|
- components: { statement },
|
|
|
+ components: { statement, NotHaveLogin },
|
|
|
methods: {
|
|
|
async reportSelectionDetail() {
|
|
|
const res = await Reports.getProductInteriorDetail({
|
|
@@ -70,7 +74,7 @@ export default {
|
|
|
this.hasPermission = res.Data.HasPermission;
|
|
|
this.reportDetail = res.Data.Detail;
|
|
|
this.haveData = this.reportDetail ? true : false;
|
|
|
- this.titleTxT = this.reportDetail.Title;
|
|
|
+ this.titleTxT = this.reportDetail.ColumnName;
|
|
|
uni.setNavigationBarTitle({
|
|
|
title: this.titleTxT,
|
|
|
});
|