submitClock.wxml
3.3 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><picker mode="date" value="{{date}}" start="{{startDate}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e"><view class="clock_single layer_nostar">{{"打卡时间:"+date}}</view></picker><view class="clock_single layer_nostar">打卡感悟:<view class="flex_star"><textarea value="{{content}}" placeholder="请输入您的打卡感悟" data-event-opts="{{[['input',[['__set_model',['','content','$event',[]]],['entertext',['$event']]]]]}}" bindinput="__e"></textarea><image class="add_img" src="{{image==''?'../../static/tianjia_img@2x.png':image}}" mode="widthFix" data-event-opts="{{[['tap',[['chooseImage',['$event']]]]]}}" bindtap="__e"></image></view></view><view class="self_mark"><view class="mark_title">自我打分:</view><view class="layer_star no_icon_single">完成事件打分:<picker mode="selector" range="{{completeList}}" data-event-opts="{{[['change',[['changeComplete',['$event']]]]]}}" bindchange="__e"><view class="score_picker layer_between"><view>{{completeList[complete]?completeList[complete]:'请打分'}}</view><image src="../../static/start_01.png" mode="widthFix"></image></view></picker></view><view class="layer_star no_icon_single">情绪状态打分:<picker mode="selector" range="{{feeling}}" data-event-opts="{{[['change',[['changefeel',['$event']]]]]}}" bindchange="__e"><view class="score_picker layer_between"><view>{{completeList[feelindex]?completeList[feelindex]:'请打分'}}</view><image src="../../static/start_01.png" mode="widthFix"></image></view></picker></view></view><view data-event-opts="{{[['tap',[['submitClock']]]]}}" class="submit_btn" bindtap="__e">打卡</view><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="canvas_dialog"><canvas style="width:100%;height:690;backgroundColor:#FFFFFF;" canvas-id="myCanvas"></canvas><view class="layer_around share_group_btn"><view class="layer_around share_btn"><image src="../../static/baocun_icon@2x.png" mode="widthFix"></image>保存图片</view><view class="layer_around share_btn"><image src="../../static/fenxiang_icon@2x.png" mode="widthFix"></image>立即分享<button open-type="share"></button></view></view></view></block></view>