日照项目的居民端小程序
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.
 
 
 

45 lines
2.2 KiB

<view class="container">
<view class="info">
<textarea bindinput="getbindinput" value="{{operationDesc}}" placeholder="请拍摄活动图片打卡签到500字以内" maxlength="500"></textarea>
<view class="info-tips">
<view wx:for="{{phraseList}}" wx:key="{{index}}" class="tips" bindtap="toOperationDesc" data-phrase="{{item.phrase}}" data-id="{{item.id}}">
<view class="spot"></view>
<view class="content display-inline">{{item.phrase}}</view>
</view>
</view>
<view class="async" wx:if="{{act=='sign'}}">
<checkbox-group bindchange="checkboxChange">
<checkbox value="async" class="live" checked="checked" />
同步更新实况
</checkbox-group>
</view>
<view class="info-line"></view>
<view class="photo">
<wux-upload listType="picture-card" defaultFileList="{{ fileList }}" max="3" count="3" url="{{BASEURL}}oss/file/uploadimg" bind:change="onChange" bind:success="onSuccess" bind:fail="onFail" bind:complete="onComplete" bind:preview="onPreview">
<image src="../../images/uploadImg3.png" mode="aspectFill"></image>
</wux-upload>
</view>
</view>
<view class="location">
<view class="info-box">
<text>签到地点</text>
<button wx:if="{{ldata === true}}" open-type="openSetting" bindopensetting='handler' class="refresh" hover-class="hover-btn">
<image src="../../images/ic_chongxindingwei.png"></image>
<view class="refresh-name">点击授权并获取位置信息</view>
</button>
<button wx:else bindtap="getPosition" class="refresh" style="width:100rpx; background:#ff3300;" hover-class="hover-btn">
<image src="../../images/ic_chongxindingwei.png"></image>
<view class="refresh-name">重新选定</view>
</button>
</view>
<view class="info-box-last-require">{{operationAddress}}</view>
<view class="clear"></view>
</view>
<view wx:if="{{act=='sign'}}">
<view class="button" wx:if="{{inRange}}" bindtap="submission">打卡签到</view>
<view class="button gray" wx:else>打卡签到</view>
</view>
<view wx:if="{{act=='live'}}">
<view class="button" bindtap="newlive">添加实况</view>
</view>
</view>