ArticleDetails.wxml
1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--pages/personalCenter/personalCenter.wxml-->
<import src="../../../wxParse/wxParse.wxml" />
<view class='go_index' bindtap="goIndex" wx:if="{{GoId!=''}}">回到首页</view>
<view class='content_box'>
<view class='list_title'>{{articleDetail.title}}</view>
<view class='list_info_box'>
<text>{{articleDetail.writer}}</text>
<text class='line'></text>
<text> {{articleDetail.source}}</text>
<text class='line'></text>
<text> {{articleDetail.create_time}}</text>
</view>
<!-- &&UserType!=3&&GoId!=UserId&&UserType!=4 -->
<view class='banner_box' wx:if="{{GoId!=''}}">
<view class='head_img'>
<image src='{{articleDetail.user.picurl}}'></image>
</view>
<view class='head_info_box'>
<view class='user_name'>{{articleDetail.user.name}}</view>
<view>{{articleDetail.user.mobile}}</view>
<view>{{articleDetail.user.work}}</view>
<view>{{articleDetail.user.work_post}}</view>
</view>
<view class='edit_box' bindtap='goDetail'>
<view>查看详情</view>
</view>
<view class='banner_info' wx:if='{{UserType!=3}}' bindtap='goRegister'>我要开通名片功能</view>
</view>
<view class='list_content'>
<template is="wxParse" data="{{wxParseData:content.nodes}}" />
</view>
<view class='bottom_box'>
<button data-status="{{articleDetail.status}}" data-title='{{articleDetail.title}}' open-type='share'></button>
<text class='iconfont icon-zhuanfa'></text>
<text>转发</text>
</view>
</view>