You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.6 KiB
39 lines
1.6 KiB
<!--pages/article/index.wxml-->
|
|
<import src="../../components/wxParse/wxParse.wxml"/>
|
|
<view class="container">
|
|
<view class="page_hd">
|
|
<view class="artice_title">{{title}}</view>
|
|
<view class="artice_info">
|
|
<text class="artice_origin">{{origin || ''}}</text>
|
|
<text class="artice_time">{{date || ''}}</text>
|
|
<image class="artice_collect" src="{{isStar ? star : unStar}}" bindtap="onClickCollect"></image>
|
|
</view>
|
|
<view class="artice_image" wx:if="{{image.length > 0}}">
|
|
<image class="title_image" src="{{image}}"></image>
|
|
</view>
|
|
</view>
|
|
<!-- 打算赋能中心用这个,不过下面要删掉,用block试试?-->
|
|
<view class="page_bd {{showBtn ? 'page_bd_short':''}}">
|
|
<!-- <rich-text nodes="{{nodes}}"></rich-text> -->
|
|
<template is="wxParse" data="{{wxParseData:article.nodes}}"/>
|
|
<view class="read_collectNum">
|
|
<view class="read_num">阅读:{{readNum}}</view>
|
|
<view class="collect_num">收藏:{{collectNum}}</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="page_footer">
|
|
<block wx:if="{{ flag == 0 }}">
|
|
<e-ibutton title="在线报名" bind:onTap="onlineSubmit" disable="{{disable}}"/>
|
|
</block>
|
|
<block wx:if="{{ flag == 1 }}">
|
|
<e-ibutton title="取消报名" bind:onTap="cancelSignApi" disable="{{disable}}"/>
|
|
</block>
|
|
<block wx:if="{{ flag == 2 }}">
|
|
<e-ibutton title="已报名" bind:onTap="onlineSubmit" disable="true"/>
|
|
</block>
|
|
<block wx:if="{{ flag == 3 }}">
|
|
<e-ibutton title="在线报名" bind:onTap="onlineSubmit" disable="true"/>
|
|
</block>
|
|
</view> -->
|
|
|
|
</view>
|
|
|