1234567891011121314151617181920212223 |
- <view class="work-detail">
- <!-- 是否批改 -->
- <view class="work-header">
- <text>{{className}}-{{studentName}}</text>
- <text>{{module.getTime(workData.createTime)}}</text>
- <text>{{workData.homeworkName}}</text>
- </view>
- <view class="work-body" bindtap="onClickShow">
- <van-image width="100%" height="100%" src="{{workData.homeworkPath}}" />
- </view>
- <van-overlay show="{{ show }}" bind:click="onClickHide">
- <view class="over">
- <canvas type="2d" id="myCanvas" catchtap style="height: {{optionsSize.height}}px;width:{{optionsSize.width}}px" bindtouchstart="touchStart" bindtouchmove="touchMove" />
- <view class="btn-attr">
- <van-button type="info" catchtap="saveCanvasImage">上传批改</van-button>
- <van-button catchtap="onClickHide">关闭批改</van-button>
- </view>
- </view>
- </van-overlay>
- </view>
- <van-toast id="van-toast" />
- <van-notify id="van-notify" />
- <wxs src="../../../utils/getTime.wxs" module="module" />
|