From c79f4fea5045445c40cd417c3bdcf78c843f87ae Mon Sep 17 00:00:00 2001 From: liuwh <liuwh@hugeinfo.com.cn> Date: Thu, 05 Mar 2020 17:38:01 +0800 Subject: [PATCH] 1 --- SunshineLnsMinApp/pages/zhwj/zhwj.wxml | 146 +++++++++++++++++++++--------------------------- 1 files changed, 65 insertions(+), 81 deletions(-) diff --git a/SunshineLnsMinApp/pages/zhwj/zhwj.wxml b/SunshineLnsMinApp/pages/zhwj/zhwj.wxml index 6be7e25..997f9ee 100644 --- a/SunshineLnsMinApp/pages/zhwj/zhwj.wxml +++ b/SunshineLnsMinApp/pages/zhwj/zhwj.wxml @@ -4,47 +4,47 @@ </view> <view class="zhwj-list"> - <view class="zhwj-list-flex"> - <view class="zhwj-list-flex-l" data-str="zhgk" bindtap='linkFunction'> - <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj1.png');"></view> - <view class="zhwj-list-flex-l-text"> - <view class="text-black text-bold text-lg">未检概况</view> - <view class="text-gray">未检简介</view> - </view> - </view> - <view class="zhwj-list-flex-r" data-str="zhdt" bindtap='linkFunction'> - <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj2.png');"></view> - <view class="zhwj-list-flex-l-text"> - <view class="text-black text-bold text-lg">未检动态</view> - <view class="text-gray">最美未检剪影</view> - </view> - </view> - </view> - <view class="zhwj-list-flex"> - <view class="zhwj-list-flex-l" data-str="zhghLogin" bindtap='linkFunction'> - <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj3.png');"></view> - <view class="zhwj-list-flex-l-text"> - <view class="text-black text-bold text-lg">社会关护</view> - <view class="text-gray">社会支持与配合</view> - </view> - </view> - <view class="zhwj-list-flex-r" data-str="wjjb" bindtap='linkFunction'> - <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj4.png');"></view> - <view class="zhwj-list-flex-l-text"> - <view class="text-black text-bold text-lg">举报平台</view> - <view class="text-gray">未成年人侵害案件</view> - </view> - </view> - </view> - <view class="zhwj-list-flex"> - <view class="zhwj-list-flex-l" data-str="weiwc" bindtap='linkFunction'> - <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj5.png');"></view> - <view class="zhwj-list-flex-l-text"> - <view class="text-black text-bold text-lg">入职查询</view> - <view class="text-gray">未检职工入职查询</view> - </view> - </view> - <!-- <view class="zhwj-list-flex-r" data-str="weiwc" bindtap='linkFunction'> + <view class="zhwj-list-flex"> + <view class="zhwj-list-flex-l" data-str="zhgk" bindtap='linkFunction'> + <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj1.png');"></view> + <view class="zhwj-list-flex-l-text"> + <view class="text-black text-bold text-lg">未检概况</view> + <view class="text-gray">未检简介</view> + </view> + </view> + <view class="zhwj-list-flex-r" data-str="zhdt" bindtap='linkFunction'> + <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj2.png');"></view> + <view class="zhwj-list-flex-l-text"> + <view class="text-black text-bold text-lg">未检动态</view> + <view class="text-gray">最美未检剪影</view> + </view> + </view> + </view> + <view class="zhwj-list-flex"> + <view class="zhwj-list-flex-l" data-str="zhghLogin" bindtap='linkFunction'> + <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj3.png');"></view> + <view class="zhwj-list-flex-l-text"> + <view class="text-black text-bold text-lg">社会关护</view> + <view class="text-gray">社会支持与配合</view> + </view> + </view> + <view class="zhwj-list-flex-r" data-str="wjjb" bindtap='linkFunction'> + <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj4.png');"></view> + <view class="zhwj-list-flex-l-text"> + <view class="text-black text-bold text-lg">举报平台</view> + <view class="text-gray">未成年人侵害案件</view> + </view> + </view> + </view> + <view class="zhwj-list-flex"> + <view class="zhwj-list-flex-l" data-str="weiwc" bindtap='linkFunction'> + <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj5.png');"></view> + <view class="zhwj-list-flex-l-text"> + <view class="text-black text-bold text-lg">入职查询</view> + <view class="text-gray">未检职工入职查询</view> + </view> + </view> + <!-- <view class="zhwj-list-flex-r" data-str="weiwc" bindtap='linkFunction'> <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj6.png');"></view> <view class="zhwj-list-flex-l-text"> <view class="text-black text-bold text-lg">普法预约</view> @@ -52,51 +52,35 @@ </view> </view> --> - <view class="zhwj-list-flex-r" data-str="fzjdvisitList" bindtap='linkFunction'> - <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj6.png');"></view> - <view class="zhwj-list-flex-l-text"> - <view class="text-black text-bold text-lg">法治基地参观</view> - <view class="text-gray">预约参观法治基地</view> - </view> - </view> - - </view> + <view class="zhwj-list-flex-r" data-str="fzjdvisitList" bindtap='linkFunction'> + <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj6.png');"></view> + <view class="zhwj-list-flex-l-text"> + <view class="text-black text-bold text-lg">法治基地参观</view> + <view class="text-gray">预约参观法治基地</view> + </view> + </view> + + </view> </view> <view class="index-gray "></view> <view class="zhwj-b"> - <view class="zhwj-b-head"> - <span></span> - <view class="zhwj-b-head-title text-black">未检动态</view> - </view> + <view class="zhwj-b-head"> + <span></span> + <view class="zhwj-b-head-title text-black">未检动态</view> + </view> - <view class="zhwj-b-main" data-str="zhdtInfo" data-id="1" bindtap='linkFunction'> - <view class="zhwj-b-head-l"> - <view class="zhwj-b-head-l-title text-black">南沙区院召开2019“沙鸥”法治宣讲团年度总结暨课件评选会</view> - <view class="text-grey">检察宣传部 60阅读</view> - </view> - <view class="zhwj-b-head-r"> - <image mode='widthFix' src="{{dongtai1_1}}"></image> - </view> - </view> - <view class="zhwj-b-main" data-str="zhdtInfo" data-id="2" bindtap='linkFunction'> - <view class="zhwj-b-head-l"> - <view class="zhwj-b-head-l-title text-black">“沙鸥”法治宣讲团进校园开展假前安全教育</view> - <view class="text-grey">检察宣传部 56阅读</view> - </view> - <view class="zhwj-b-head-r"> - <image src="{{dongtai2_1}}" mode='widthFix'></image> - </view> - </view> - <view class="zhwj-b-main" data-str="zhdtInfo" data-id="3" bindtap='linkFunction'> - <view class="zhwj-b-head-l"> - <view class="zhwj-b-head-l-title text-black">我院与华尔心理咨询中心开展反家暴普法宣传</view> - <view class="text-grey">检察宣传部 245阅读</view> - </view> - <view class="zhwj-b-head-r"> - <image src="{{dongtai3_1}}" mode='widthFix'></image> - </view> - </view> + <view class="zhwj-b"> + <view class="zhwj-b-main" wx:for="{{ dataSet }}" data-str="zhdtInfo" data-Id="{{item.id}}" bindtap='linkFunction'> + <view class="zhwj-b-head-l"> + <view class="zhwj-b-head-l-title text-black">{{item.title}}</view> + <view class="text-grey">{{item.createTime}}<text decode="{{true}}" space="{{true}}"> </text>{{item.readCount}}阅读</view> + </view> + <view class="zhwj-b-head-r"> + <image mode='widthFix' src="{{item.attList[0].path}}"></image> + </view> + </view> + </view> </view> \ No newline at end of file -- Gitblit v1.8.0