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.

75 lines
2.8 KiB

<view class="content">
<view class="remark">
<view class="remark_image_view">
<image style="height: 100%;width: 100%;border-radius: 16rpx;" src="{{example_thumb}}" bind:tap="exampleHandle"></image>
</view>
<view class="remark_text">
<view class="remark_text_title">{{ model_name }}
</view>
<view class="remark_text_lookout">
<image src="/static/images/lookout.png" style="width: 16px;height: 16px;margin-right: 10rpx;"></image>注意事项
</view>
<block wx:for="{{memoList}}" wx:key="index">
<view style="margin-bottom: 6rpx;">{{item}}</view>
</block>
</view>
<view class="jindou_view">
消耗 {{ jd_count }}
<image src="/static/images/jd.png" style="width: 16px;height: 16px;margin-right: 10rpx;"></image>
</view>
</view>
<view class="image_upload">
<view class="image_upload_title">
<view class="vb"></view>
<view class="text">上传照片</view>
</view>
<view class="image_upload_img" wx:if="{{uploadStatus}}">
<t-upload class="upload_custom_style" gridConfig="{{gridConfig}}" mediaType="{{['image']}}" max="{{1}}" files="{{fileList}}" bind:add="uploadAddHandle" bind:remove="handleRemove">
</t-upload>
</view>
<view class="image_show" wx:if="{{imageStatus}}" style="display: flex;">
<view style="position: relative;" wx:for="{{thumb_list}}" wx:key="index">
<t-image t-class="image_radius" src="{{item}}" width="150" height="150" shape="round" mode="aspectFill" />
<t-icon id="{{index}}" t-class="close_icon" name="close" size="50rpx" bind:click="closeIconTap" />
</view>
</view>
</view>
<view class="image_history" wx:if="{{historyImgList.length > 0}}">
<view class="image_upload_title">
<view class="vb"></view>
<view class="text">历史相册</view>
</view>
<view class="history_image_list">
<block wx:for="{{historyImgList}}" wx:for-item="item" wx:key="index">
<view class="history_image_item_view {{historyImgSelectIndex == index ? 'history_image_item_view_active' : ''}}" bind:tap="historyImgHandle" data-index="{{index}}">
<t-image t-class="history_image_item" src="{{item.source_img_url}}" width="100" height="100" shape="round" mode="aspectFill" />
</view>
</block>
</view>
</view>
<view class="generate-bottom">
<view class="make_button" bind:tap="generateHandle">
<text wx:if="{{gText}}">立即制作</text>
<t-loading wx:if="{{gLoading}}" theme="dots" size="72rpx" />
</view>
</view>
<canvas class="canvas" canvas-id="attendCanvasId" style="width:{{cWidth}}px;height:{{cHeight}}px;"></canvas>
</view>
<t-toast id="t-toast" bind:close="toast_close" />