submitClock.wxml
3.6 KB
<view class="submit_clock"><view class="layer_between clock_title"><view class="layer_star"><image src="../../static/theme.png" mode="widthFix"></image><view class="title_l">提交内容</view></view><block wx:if="{{is_privacy==2}}"><view data-event-opts="{{[['tap',[['setpricy',['$event']]]]]}}" class="layer_star flexone" bindtap="__e"><view class="clockimg"><image src="../../static/colco.png" mode="widthFix"></image></view><view class="title_r">设为隐私</view></view></block><block wx:else><view data-event-opts="{{[['tap',[['cancelpricy',['$event']]]]]}}" class="layer_star flexone" bindtap="__e"><view class="clockimg"><image src="../../static/jucolock.png" mode="widthFix"></image></view><view class="title_r juse">取消隐私</view></view></block></view><view class="clock_single layer_nostar"><text class="dakaganwu">打卡感悟:</text><view class="flex_star"><textarea value="{{gantext}}" placeholder="请输入您的打卡感悟" maxlength="2000" data-event-opts="{{[['input',[['__set_model',['','gantext','$event',[]]],['entertext',['$event']]]]]}}" bindinput="__e"></textarea><view class="flexone imagebox"><block wx:for="{{image}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="addimg"><image class="add_img" src="{{item}}" mode></image><view class="closeimg" data-url="{{item}}" data-event-opts="{{[['tap',[['deleteimg',['$event']]]]]}}" bindtap="__e"><image src="../../static/close.png"></image></view></view></block><view class="imgadd"><image class="add_img" src="../../static/addpic.png" mode="widthFix" data-event-opts="{{[['tap',[['chooseImage',['$event']]]]]}}" bindtap="__e"></image></view></view></view></view><view class="self_mark"><view class="mark_title">自我打分:</view><block wx:for="{{scorelist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="layer_star no_icon_single">{{''+item.title+':'}}<picker mode="selector" range="{{item.score}}" value="{{item.indexk}}" data-index="{{index}}" data-event-opts="{{[['change',[['changeComplete',['$event']]]]]}}" bindchange="__e"><view class="score_picker layer_between"><view>{{item.name}}</view><image src="../../static/start_01.png" mode="widthFix"></image></view></picker></view></block></view><block wx:if="{{item==''}}"><view><block wx:if="{{daka==false}}"><view data-event-opts="{{[['tap',[['submitClock']]]]}}" class="submit_btn" bindtap="__e">打卡</view></block><block wx:else><view class="submit_btn">打卡</view></block></view></block><block wx:else><view><block wx:if="{{dakak==false}}"><view data-event-opts="{{[['tap',[['editClock']]]]}}" class="submit_btn" bindtap="__e">修改</view></block><block wx:else><view class="submit_btn">修改</view></block></view></block><block wx:if="{{isDialog}}"><view data-event-opts="{{[['tap',[['closeDialog',['$event']]]]]}}" class="tx_mask" bindtap="__e"></view></block><block wx:if="{{isContent}}"><view class="mask_content"><view class="content_tips">打卡内容不能为空,请重新编辑</view><view data-event-opts="{{[['tap',[['closeDialog',['$event']]]]]}}" class="content_btn" bindtap="__e">确定</view></view></block><block wx:if="{{isCanvas}}"><view class="register"><view class="canvas_dialog"><view class="topimg"><image src="{{posterimg}}"></image></view><view class="layer_around share_group_btn"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="layer_around share_btn" bindtap="__e"><image src="../../static/baocun_icon@2x.png" mode="widthFix"></image>取消</view><view data-event-opts="{{[['tap',[['baocun',['$event']]]]]}}" class="layer_around share_btn" bindtap="__e"><image src="../../static/baocun_icon@2x.png" mode="widthFix"></image>保存图片</view></view></view></view></block></view>