公用模块放common

This commit is contained in:
微微一笑
2025-07-07 09:21:39 +08:00
parent 60ad9ac123
commit 2e6ee192c5
14 changed files with 1004 additions and 776 deletions

View File

@ -109,7 +109,7 @@
methods: {
scan() {
uni.navigateTo({
url: '/pages/scan/scan'
url: '/pages/common/scan/scan'
})
},
//
@ -147,7 +147,7 @@
//
handleSend() {
uni.navigateTo({
url: '/pages/send/index'
url: '/pages/common/send/index'
})
},
handleFile() {

View File

@ -136,7 +136,7 @@
// duration: 1000
// })
uni.switchTab({
url: '/pages/index/index'
url: '/pages/common/index/index'
})
},

View File

@ -1,7 +1,7 @@
<template>
<view class="device-page">
<view class="deviceTitle">欢迎你使用我们的产品和服务!本用户协议(以下简称协议)由你(以下简称用户)[公司名称](以下简称我们本公司)就使用[产品名称]的相关事宜共同订立
欢迎你使用我们的产品和服务!本用户协议(以下简称协议)由你(以下简称用户)[公司名称](以下简称我们本公司)就使用[产品名称]的相关事宜共同订立</view>
<view class="deviceTitle">欢迎你使用我们的产品和服务!本用户协议(以下简称"协议")由你(以下简称"用户")[公司名称](以下简称"我们""本公司")就使用[产品名称]的相关事宜共同订立
欢迎你使用我们的产品和服务!本用户协议(以下简称"协议")由你(以下简称"用户")[公司名称](以下简称"我们""本公司")就使用[产品名称]的相关事宜共同订立</view>
</view>
</template>

View File

@ -22,7 +22,7 @@
console.log('条码内容:' + res.result);
//
uni.navigateTo({
url: `/pages/qrcode/qrcode?deviceId=${encodeURIComponent(res.result)}`
url: `/pages/common/qrcode/qrcode?deviceId=${encodeURIComponent(res.result)}`
});
},
fail: (err) => {

View File

@ -70,7 +70,7 @@
handleAgree() {
this.showAgreement = false
uni.navigateTo({
url: '/pages/login/index'
url: '/pages/common/login/index'
})
uni.showTabBar()
},
@ -82,19 +82,19 @@
//
userAgree(){
uni.navigateTo({
url: '/pages/userAgreement/index'
url: '/pages/common/userAgreement/index'
})
},
//
privacyAgree(){
uni.navigateTo({
url: '/pages/privacyAgreement/index'
url: '/pages/common/privacyAgreement/index'
})
},
//
aboutUs(){
uni.navigateTo({
url: '/pages/aboutUs/index'
url: '/pages/common/aboutUs/index'
})
}
},

View File

@ -1,7 +1,7 @@
<template>
<view class="device-page">
<view class="deviceTitle">欢迎你使用我们的产品和服务!本用户协议(以下简称协议)由你(以下简称用户)[公司名称](以下简称我们本公司)就使用[产品名称]的相关事宜共同订立
欢迎你使用我们的产品和服务!本用户协议(以下简称协议)由你(以下简称用户)[公司名称](以下简称我们本公司)就使用[产品名称]的相关事宜共同订立</view>
<view class="deviceTitle">欢迎你使用我们的产品和服务!本用户协议(以下简称"协议")由你(以下简称"用户")[公司名称](以下简称"我们""本公司")就使用[产品名称]的相关事宜共同订立
欢迎你使用我们的产品和服务!本用户协议(以下简称"协议")由你(以下简称"用户")[公司名称](以下简称"我们""本公司")就使用[产品名称]的相关事宜共同订立</view>
</view>
</template>