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

@@ -43,6 +43,12 @@
</block>
</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()

View File

@@ -74,7 +74,6 @@
</view>
<view class="flex-btn">去查看</view>
</view>
<view class="flex-item" @click="onNav('AccountWork')">
<image class="flex-icon" src="/static/icons/work_icon_30.png" mode="aspectFill"></image>
<view class="flex-title">