|
|
|
@ -1,71 +1,31 @@ |
|
|
|
|
<template> |
|
|
|
|
<view class=""> |
|
|
|
|
|
|
|
|
|
<swiper :autoplay="autoplay" class="lh-swiper" :duration="duration" :indicator-dots="indicatorDots" :interval="interval" > |
|
|
|
|
<swiper :autoplay="autoplay" class="lh-swiper" :duration="duration" :indicator-dots="indicatorDots" |
|
|
|
|
:interval="interval"> |
|
|
|
|
<swiper-item v-for="(item,index) in info.imagelist" :key="index" style="position: relative;"> |
|
|
|
|
<image class="slide-image" height="187" :src="rootPaht+item" width="375"></image> |
|
|
|
|
<view bindtap="callPhone" class="arc_origin" :data-mobile="info.sendtime"> |
|
|
|
|
<text class="arc_gl_time">{{info.sendtime | dateformat('YYYY-MM-DD HH:mm:ss')}}</text><!-- <text class="arc_gl_user">{{info.muser}}</text> --></view> |
|
|
|
|
|
|
|
|
|
<text |
|
|
|
|
class="arc_gl_time">{{info.sendtime | dateformat('YYYY-MM-DD HH:mm:ss')}}</text><!-- <text class="arc_gl_user">{{info.muser}}</text> --> |
|
|
|
|
</view> |
|
|
|
|
</swiper-item> |
|
|
|
|
|
|
|
|
|
</swiper> |
|
|
|
|
|
|
|
|
|
<view class=""> |
|
|
|
|
|
|
|
|
|
<view class="fod_det_cont" style="box-shadow: none;"> |
|
|
|
|
<view class="mode_com"> |
|
|
|
|
|
|
|
|
|
<view class="fod_det_bt">{{info.title}}</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="fod_det_inf"> |
|
|
|
|
<mp-html :content="info.content" @preview="preview" @navigate="navigate" /> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<!--<view class="info-box"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="info-list"> |
|
|
|
|
<view class="pic"> |
|
|
|
|
<image src="../../../static/images/list-icon6.png" style="width:30rpx;height:37rpx;"></image> |
|
|
|
|
</view> |
|
|
|
|
<view> |
|
|
|
|
<text class="address">作者:</text> |
|
|
|
|
<text class="txt">{{info.muser}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view>--> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<!--<view class="swiper-tab-wrap"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="swiper-tab-wrap"> |
|
|
|
|
<view class="line-show-wrap"> |
|
|
|
|
<view class="mode_com mdd_jj"> |
|
|
|
|
<view class="item-title">攻略内容</view> |
|
|
|
|
<view class="nr_cot"> |
|
|
|
|
|
|
|
|
|
<mp-html :content="info.mcontent" @preview="preview" @navigate="navigate" /> |
|
|
|
|
|
|
|
|
|
<text class="tit_com">{{info.title}}</text> |
|
|
|
|
<view class="nr_cot mt_1"> |
|
|
|
|
<mp-html :content="info.content" @preview="preview" @navigate="navigate" /> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view>--> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
@ -78,48 +38,49 @@ |
|
|
|
|
pic_list: [], |
|
|
|
|
info: {}, |
|
|
|
|
rootPaht: this.$config.ROOTPATH, |
|
|
|
|
netType:true |
|
|
|
|
netType: true |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
onLoad: function(options) { |
|
|
|
|
var that = this; |
|
|
|
|
this.$util.getNetworkType( |
|
|
|
|
function(res){ |
|
|
|
|
if(res.networkType === 'none'){ |
|
|
|
|
function(res) { |
|
|
|
|
if (res.networkType === 'none') { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title:that.$param.netMsg, |
|
|
|
|
icon:"none", |
|
|
|
|
duration:2000 |
|
|
|
|
title: that.$param.netMsg, |
|
|
|
|
icon: "none", |
|
|
|
|
duration: 2000 |
|
|
|
|
}) |
|
|
|
|
that.netType = false; |
|
|
|
|
} |
|
|
|
|
},function(){ |
|
|
|
|
}, |
|
|
|
|
function() { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title:that.$param.netMsg, |
|
|
|
|
icon:"none", |
|
|
|
|
duration:2000 |
|
|
|
|
title: that.$param.netMsg, |
|
|
|
|
icon: "none", |
|
|
|
|
duration: 2000 |
|
|
|
|
}) |
|
|
|
|
that.netType = false; |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
if(!that.netType){ |
|
|
|
|
if (!that.netType) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
this.$util.hideLoadingByTime(); |
|
|
|
|
this.detailInfo(options.guid); |
|
|
|
|
that.$util.saveOperatorLog(that,"METHOD",options.guid); |
|
|
|
|
that.$util.saveOperatorLog(that, "METHOD", options.guid); |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
detailInfo: function(guid) { |
|
|
|
|
var that = this; |
|
|
|
|
var data = { |
|
|
|
|
"userkey":this.$param.userkey, |
|
|
|
|
"type":this.$param.methodType, |
|
|
|
|
"guid":guid |
|
|
|
|
"userkey": this.$param.userkey, |
|
|
|
|
"type": this.$param.methodType, |
|
|
|
|
"guid": guid |
|
|
|
|
} |
|
|
|
|
this.$Request.post(this.$config.getMessgeInfoDetailFormId, data).then(res => { |
|
|
|
|
if(!that.$util.isSuccess(res)){ |
|
|
|
|
if (!that.$util.isSuccess(res)) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
this.info = res.data; |
|
|
|
@ -132,8 +93,17 @@ |
|
|
|
|
<style> |
|
|
|
|
@import url("../../../static/css/common.css"); |
|
|
|
|
@import url("methoddetail.css"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* .fod_det_bt:after{ display: block; content: ''; width: 524rpx; margin: 0 auto; margin-top:30rpx;height: 16rpx; background:url(../../../static/images/bg_ms.png) no-repeat center; } */ |
|
|
|
|
.mssj_jul:before{ content: '';display: inline-block; width: 38rpx; height: 38rpx; background:url(../../../static/images/icn_mi.png) no-repeat; background-size: 100%; margin-right: 5rpx; position: relative; top:6rpx} |
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
|
.mssj_jul:before { |
|
|
|
|
content: ''; |
|
|
|
|
display: inline-block; |
|
|
|
|
width: 38rpx; |
|
|
|
|
height: 38rpx; |
|
|
|
|
background: url(../../../static/images/icn_mi.png) no-repeat; |
|
|
|
|
background-size: 100%; |
|
|
|
|
margin-right: 5rpx; |
|
|
|
|
position: relative; |
|
|
|
|
top: 6rpx |
|
|
|
|
} |
|
|
|
|
</style> |