pages/index/index.vue
@@ -26,6 +26,14 @@ } } /** * 扫码取水相关 */ function toScan(){ uni.navigateTo({ url:'/pages/scanWater/index' }) } /** * 功能列表相关 */ const functionList = ref([ @@ -117,7 +125,7 @@ 充值 </view> </view> <view class="box1-bg box1-three"> <view class="box1-bg box1-three" @click="toScan()"> <image src="../../static/images/index/icon23.png" alt=""></image> <view>扫码取水</view> </view>