This commit is contained in:
唐明明
2024-01-02 11:40:00 +08:00
parent 46d29ae6b6
commit 06e95df676
2 changed files with 24 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view>
<view>
<view class="user-info">
<block v-if="isAuth">
<view class="user-info-left">
@@ -42,7 +42,13 @@
</view>
</block>
</view>
<view class="border-solid-empty"></view>
<view class="border-solid-empty"></view>
<view class="nav-flex" @click="onPhone">
<view class="nav-icon">
<image class="nav-icon-src" src="@/static/icons/user_nav_00.png"></image>识别demo
</view>
<u-icon name="arrow-right" color="#cacaca" size="34rpx" bold></u-icon>
</view>
<view class="nav-flex" @click="onNav('AccountIntegral')">
<view class="nav-icon">
<image class="nav-icon-src" src="@/static/icons/user_nav_00.png"></image>火力值
@@ -325,6 +331,22 @@
]
}
},
// 识别产品
onPhone(e){
uni.chooseImage({
crop : {
quality : 100,
width : 300,
height : 300,
},
success: res => {
console.log(res)
},
fail : err => {
console.log(err)
}
})
},
// 生成海报地址
qrcodePath(path){
uni.hideLoading()