微信小程序学习用推荐:审批流:表单控件,内容伸缩[小鱼微信小程序]

微信小程序学习用推荐:审批流:表单控件,内容伸缩由小鱼微信小程序精心整理,并分享给大家。喜欢该资源的小伙伴请下载使用,注册、回复、每日签到、点赞送大量积分,满足您免费下载的愿望

点评:主要展示了表单控件的使用,其中实现了一个比较实用的功能:内容伸缩; 微信小程序学习用推荐:审批流:表单控件,内容伸缩
微信小程序学习用推荐:审批流:表单控件,内容伸缩 微信小程序学习用推荐:审批流:表单控件,内容伸缩 微信小程序学习用推荐:审批流:表单控件,内容伸缩 微信小程序学习用推荐:审批流:表单控件,内容伸缩

代码示例:

<view class="taskrow">             <text>任务详情</text>             <image src="{{resourceAdr}}/newicon/{{taskdisplay[0].display == 1? 'u4.png':'u156.png'}}" class="rowicon" bindtap="tasktap" id='0tap'></image>         </view>         <view class="taskdetailcontanier" style="display:{{taskdisplay[0].display == 1? 'block':'none'}}">             <block wx:if="{{pageType == 'Edit' || pageType == 'View_OAWF'}}">                 <view class="taskdetailrow">                     <view class="taskdetailrowname">任务描述</view>                     <view class="taskdetailrowvalue">{{taskInfo.taskInstInfo[0].taskdesc}}</view>                 </view>                 <view class="taskdetailrow">                     <view class="taskdetailrowname">任务开始时间</view>                     <view class="taskdetailrowvalue">{{taskInfo.taskInstInfo[0].startdt}}</view>                 </view>                 <view class="taskdetailrow">                     <view class="taskdetailrowname">流程开始时间</view>                     <view class="taskdetailrowvalue">{{taskInfo.taskInstInfo[0].pistartdt}}</view>                 </view>                 <view class="taskdetailrow">                     <view class="taskdetailrowname">发起人</view>                     <view class="taskdetailrowvalue">{{taskInfo.taskInstInfo[0].initiator}}</view>                 </view>             </block>             <block wx:elif="pageType == 'View'">                 <view class="taskdetailrow">                     <view class="taskdetailrowname">任务描述</view>                     <view class="taskdetailrowvalue">{{taskInfo.flowInfo[0].keyword}}</view>                 </view>                 <view class="taskdetailrow">                     <view class="taskdetailrowname">任务开始时间</view>                     <view class="taskdetailrowvalue">{{taskInfo.flowInfo[0].startdt}}</view>                 </view>                 <view class="taskdetailrow">                     <view class="taskdetailrowname">流程结束时间</view>                     <view class="taskdetailrowvalue">{{taskInfo.flowInfo[0].enddt}}</view>                 </view>                 <view class="taskdetailrow">                     <view class="taskdetailrowname">发起人</view>                     <view class="taskdetailrowvalue">{{taskInfo.flowInfo[0].initiator}}</view>                 </view>             </block>         </view>         <view class="intervalrow"></view>         <view class="taskrow">             <text>流转历史</text>             <image src="{{resourceAdr}}/newicon/{{taskdisplay[1].display == 1? 'u4.png':'u156.png'}}" class="rowicon" bindtap="tasktap" id='1tap'></image>         </view>         <view class="historycontanier" style="display: {{taskdisplay[1].display == 1? 'block':'none'}}">             <block wx:for='{{taskInfo.flowHistory}}'>                 <view class="historyrow">                 <view class="histortext3">{{item.remark}}</view>                 <view class="historytext">{{item.actualactor}}</view>                 <view class="historytext">{{item.action}}</view>                 <view class="historytext2">{{item.actdt}}</view>             </view>             </block>         </view>         <!--如果是已办或我发起的任务则一下模块不显示-->         <view style="display: {{pageType == 'Edit' ? 'block' : 'none'}}">              <view class="intervalrow"></view>             <view class="advicecontanier">                 <view class="advicecontanier0">                     <textarea class="adivcecontent" placeholder="审批意见" placeholder-class="placeholder" bindblur="commentsChange" value="{{comments}}"></textarea>                     <view>                         <image src="{{resourceAdr}}/newicon/u167.png" class="tagicon" bindtouchstart="startrecord" bindtouchend="endrecord"></image>                         <image src="{{signimg? signimg : resourceAdr + '/newicon/u169.png'}}" class="tagicon" style="margin-top: 20rpx" bindtap="signtap"></image>                     </view>                 </view>                 <block wx:if="{{temprecordpath}}">                 <view class="radiocontainer">                     <image class="radioimg" src="{{resourceAdr}}/newicon/u131.png" bindtap="playrecord">Content</image>                     <view class="radiodelete" bindtap="deleterecord">删除</view>                 </view>                 </block>                 <view class="advicecontanier1">                     <block wx:for="{{taskInfo.commonWord}}">                     <button class="advicebutton" id="{{index}}" bindtap="advicebtntap">{{item.text}}</button>                     </block>                 </view>             </view>              <view style="display: {{nodedisplay.nextnode}}">                 <view class="intervalrow"></view>                 <view class="taskrow">                     <text>下一个节点</text>                     <image src="{{resourceAdr}}/newicon/{{taskdisplay[2].display == 1? 'u4.png':'u156.png'}}" class="rowicon" bindtap="tasktap" id='2tap'></image>                 </view>                 <block wx:for="{{taskInfo.nextNodes}}">                     <view class="nextpoint" style="display: {{taskdisplay[2].display == 1? 'block':'none'}}">                         <image src="{{resourceAdr}}/{{item.checkbox==2?'checkbox2.png':'checkbox0.png'}}"                              class="nextpointimage" id="{{index}}" bindtap="tasknodetap"></image>                         <text>{{item.nodetext}}</text>                     </view>                 </block>             </view>              <view style="display: {{nodedisplay.handlepeople}}">                 <view class="intervalrow"></view>                 <view class="taskrow">                     <text>指派下级节点办理人</text>                     <image src="{{resourceAdr}}/newicon/{{taskdisplay[3].display == 1? 'u4.png':'u156.png'}}" class="rowicon" bindtap="tasktap" id='3tap'></image>                 </view>                 <view class="handlepeople" style="display: {{taskdisplay[3].display == 1? 'block':'none'}}">                     <block wx:for="{{currentnodeids}}"  wx:for-item="currentnodeid">                         <view class="tasknode">任务节点</view>                         <view class="nodecontanier">                             <block wx:for="{{taskInfo.nextNodeDesignateActor}}">                                 <block wx:if="{{currentnodeid == item.nodeid}}">  <!-- 只显示当前节点对应的办理人 -->                                     <view class="nodeitem">                                         <image src="{{resourceAdr}}/{{item.checkbox==2?'checkbox2.png':'checkbox0.png'}}"                                              class="nextpointimage" id="{{index}}" bindtap="handlenodetap"></image>                                         <text>{{item.username}}</text>                                     </view>                                 </block>                             </block>                         </view>                         <view>                             <button class="morebutton" id="{{currentnodeid}}" bindtap="morebtntap">更多</button>                         </view>                     </block>                 </view>             </view>          </view>

项目地址及下载:
https://github.com/lizhengchao/appflow
文件 下载: 微信小程序学习用推荐:审批流:表单控件,内容伸缩 appflow-master.zip (217.44 KB, 下载次数: 113)

小鱼源码网www.51xyyx.com

轻松一刻:

大清早,一哥们对我说:“看新闻了吗?出六级试卷那砖家被劫匪绑架了,劫匪让拿一千万赎人,要不然就用汽油烧死。现在正募捐着呢,咱也捐点吧。”我说:“好,大家伙儿一般都捐多少?”那哥们说:“看情况吧,有捐2升的,也有捐10升的。。
 下载地址
登录  查看下载地址。

提示:注册,评论,每日签到,点赞可获得积分。

为您推荐

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

联系我们

联系我们

在线咨询: QQ交谈

邮箱: 2805477110@qq.com

周一至周六,8:00-21:00,节假日休息
关注微信
微信扫一扫关注我们

微信扫一扫关注我们

关注微博
返回顶部
切换注册

登录

忘记密码 ?

切换登录

注册