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.

1 line
12 KiB

<view class="page1"><view data-ref="top" class="top vue-ref"><view data-event-opts="{{[['tap',[['backPage',['$event']]]]]}}" style="width:80rpx;height:80rpx;margin:98rpx 0 0 30rpx;" bindtap="__e"><uni-icons vue-id="9f787f5e-1" type="left" color="#fff" size="27" bind:__l="__l"></uni-icons></view><view class="top1"><text style="display:block;margin-top:107rpx;color:#fff;">Ai入库</text></view></view><view class="content"><view class="prompt"><view class="prompt-title"><view class="hello-right"></view><view class="ai-bot"></view><view class="hello-left"><text style="font-size:40rpx;font-weight:800;line-height:56rpx;color:#fff;">Hi</text></view></view><view class="prompt-title-text"><text>欢迎使用Ai助手,为了提高图片识别准确率,建议您按照以下要求上传图片:</text><text>1.每张图片建议您裁剪到20个规格或以下</text><text>2.确保最后一款商品规格截取完整</text><text>3.每张图片输入对应的规格数量</text><text>4.图片越清晰角度越正识别准确率越高,建议使用原相机拍照并在相册内截图后上传</text><text>5.如果拍照后找不到所拍照片,打开微信的设置-通用-照片、视频里面的照片,点击开启后重启微信即可</text><text>6.点击可查看<text data-event-opts="{{[['tap',[['goTutorial',['$event']]]]]}}" style="color:blue;" bindtap="__e">使用教程</text></text></view><view class="prompt-title-img"><block wx:for="{{imgList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="img"><image show-menu-by-longpress="{{true}}" src="{{item}}" data-event-opts="{{[['tap',[['showImage',['$0'],[[['imgList','',index]]]]]]]}}" bindtap="__e"></image></view></block></view></view><view data-event-opts="{{[['tap',[['toggle',['$event']]]]]}}" style="height:98rpx;line-height:98rpx;font-size:34rpx;font-weight:bold;padding-left:30rpx;position:relative;" bindtap="__e"> 上传图片 <view class="title-line"></view><view class="icon-upload"><uni-icons vue-id="9f787f5e-2" type="cloud-upload" color="#00BFFF" size="30" bind:__l="__l"></uni-icons><text style="font-size:24rpx;float:left;font-weight:normal;">(←点击此处添加主图)</text></view></view><block wx:for="{{purchaseOcrPictureList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="display:flex;width:100%;overflow:scroll;"><view class="content-list-img"><view data-event-opts="{{[['tap',[['delImage',[index]]]]]}}" class="del-icon" bindtap="__e"><uni-icons vue-id="{{'9f787f5e-3-'+index}}" type="trash" color="#00BFFF" size="20" bind:__l="__l"></uni-icons></view><image show-menu-by-longpress="{{true}}" src="{{item.ocrPicture}}" data-event-opts="{{[['load',[['loadImg',['$event']]]],['tap',[['showImage',['$0'],[[['purchaseOcrPictureList','',index,'ocrPicture']]]]]]]}}" bindload="__e" bindtap="__e"></image><uni-easyinput vue-id="{{'9f787f5e-4-'+index}}" type="number" prefixIcon="compose" placeholder="请输入规格数量" value="{{item.count}}" data-event-opts="{{[['^blur',[['numChange',['zhu','$0',index],[[['purchaseOcrPictureList','',index]]]]]],['^input',[['__set_model',['$0','count','$event',[]],[[['purchaseOcrPictureList','',index]]]]]]]}}" bind:blur="__e" bind:input="__e" bind:__l="__l"></uni-easyinput></view><block wx:for="{{item.children}}" wx:for-item="items" wx:for-index="indexs" wx:key="indexs"><view style="width:200rpx;height:280rpx;position:relative;background:#fff;margin-left:20rpx;border-radius:10px;"><view data-event-opts="{{[['tap',[['delSonImage',[index,indexs]]]]]}}" class="del-icon" bindtap="__e"><uni-icons vue-id="{{'9f787f5e-5-'+index+'-'+indexs}}" type="trash" color="#00BFFF" size="20" bind:__l="__l"></uni-icons></view><image style="width:200rpx;height:200rpx;padding:5px;" show-menu-by-longpress="{{true}}" src="{{items.ocrPicture}}" data-event-opts="{{[['load',[['loadImg',['$event']]]],['tap',[['showImage',['$0'],[[['purchaseOcrPictureList','',index],['children','',indexs,'ocrPicture']]]]]]]}}" bindload="__e" bindtap="__e"></image><uni-easyinput vue-id="{{'9f787f5e-6-'+index+'-'+indexs}}" type="number" placeholder