|
@@ -7,7 +7,10 @@
|
|
<view class="vin-img" v-if="vinImg">
|
|
<view class="vin-img" v-if="vinImg">
|
|
<u-image :src="vinImg" width="100%" height="165"></u-image>
|
|
<u-image :src="vinImg" width="100%" height="165"></u-image>
|
|
</view>
|
|
</view>
|
|
- <xt-verify-code v-model="verifyCode" inputType='text' size="17" @confirm="confirm"></xt-verify-code>
|
|
|
|
|
|
+ <!-- <xt-verify-code v-model="verifyCode" inputType='text' size="17" @confirm="confirm"></xt-verify-code> -->
|
|
|
|
+ <view style="padding: 30rpx 60rpx;margin-top: 20rpx;">
|
|
|
|
+ <u-input v-model="verifyCode" :custom-style="{fontSize:'40rpx'}" type="text" height="90" :maxlength='17' input-align="center" placeholder="请输入VIN" :border="true" />
|
|
|
|
+ </view>
|
|
<view class="confirm-button">
|
|
<view class="confirm-button">
|
|
<u-button @click="ok" :custom-style="{background:'#1283d4'}" type="primary" shape="circle">确认</u-button>
|
|
<u-button @click="ok" :custom-style="{background:'#1283d4'}" type="primary" shape="circle">确认</u-button>
|
|
</view>
|
|
</view>
|
|
@@ -42,6 +45,7 @@
|
|
this.verifyCode = opts.verifyCode
|
|
this.verifyCode = opts.verifyCode
|
|
this.vinImg = opts.filePath || ''
|
|
this.vinImg = opts.filePath || ''
|
|
},
|
|
},
|
|
|
|
+ // 分享
|
|
onShareAppMessage(e){
|
|
onShareAppMessage(e){
|
|
console.log(e)
|
|
console.log(e)
|
|
return {
|
|
return {
|
|
@@ -58,11 +62,13 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 重新扫描
|
|
toScan(){
|
|
toScan(){
|
|
- uni.navigateTo({
|
|
|
|
|
|
+ uni.redirectTo({
|
|
url: "/pages/scan-frame/scan-frame"
|
|
url: "/pages/scan-frame/scan-frame"
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ // 复制
|
|
toCopy(){
|
|
toCopy(){
|
|
uni.setClipboardData({
|
|
uni.setClipboardData({
|
|
data: this.verifyCode,
|
|
data: this.verifyCode,
|