更新
@@ -57,7 +57,7 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
console.log(this.data.tags, 'data.tags')
|
// console.log(this.data.tags, 'data.tags')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
goDetails() {
|
goDetails() {
|
||||||
|
|||||||
@@ -64,7 +64,10 @@
|
|||||||
this.showInit()
|
this.showInit()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
readyScanCode({success,fail}){
|
readyScanCode({
|
||||||
|
success,
|
||||||
|
fail
|
||||||
|
}) {
|
||||||
if (!this.user) {
|
if (!this.user) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
@@ -89,9 +92,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async scanCode() {
|
async scanCode() {
|
||||||
|
|
||||||
let res = await this.tool.scanCode().catch(err => {
|
let res = await this.tool.scanCode().catch(err => {
|
||||||
console.log('取消');
|
// console.log('取消');
|
||||||
this.tabBarIndex = 0
|
this.tabBarIndex = 0
|
||||||
});
|
});
|
||||||
if (res?.result) {
|
if (res?.result) {
|
||||||
|
|||||||
@@ -16,12 +16,12 @@
|
|||||||
this.init(e)
|
this.init(e)
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.imgURL = `${this.baseImgURL}/start.png`
|
this.imgURL = `${this.baseImgURL}/start-color.png`
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
Interceptor(id) {
|
Interceptor(id) {
|
||||||
let taht = this
|
let taht = this
|
||||||
console.log(`%c 检测到参数拦截器启动`, 'color:red;font-size:50px');
|
// console.log(`%c 检测到参数拦截器启动`, 'color:red;font-size:50px');
|
||||||
wxCode.getQrCodeType({
|
wxCode.getQrCodeType({
|
||||||
qrCode: id
|
qrCode: id
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -46,6 +46,7 @@
|
|||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url:'/pages/index/index'
|
url:'/pages/index/index'
|
||||||
})
|
})
|
||||||
|
|
||||||
// uni.redirectTo({
|
// uni.redirectTo({
|
||||||
// url:'/pages/login/index'
|
// url:'/pages/login/index'
|
||||||
// })
|
// })
|
||||||
|
|||||||
BIN
static/Scan.png
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.5 KiB |
BIN
static/logo.png
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 9.9 KiB |
|
Before Width: | Height: | Size: 899 B After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 855 B After Width: | Height: | Size: 2.1 KiB |
@@ -220,7 +220,8 @@ export default {
|
|||||||
return new Promise((re, rj) => {
|
return new Promise((re, rj) => {
|
||||||
wx.getSetting({
|
wx.getSetting({
|
||||||
success(res) {
|
success(res) {
|
||||||
if (typeof(res.authSetting['scope.userLocation']) != 'undefined' && !res.authSetting[
|
if (typeof(res.authSetting['scope.userLocation']) != 'undefined' && !res
|
||||||
|
.authSetting[
|
||||||
'scope.userLocation']) {
|
'scope.userLocation']) {
|
||||||
// 用户没有授权
|
// 用户没有授权
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
@@ -333,8 +334,8 @@ export default {
|
|||||||
let splitItem = item.split('=')
|
let splitItem = item.split('=')
|
||||||
obj[splitItem[0]] = splitItem[1]
|
obj[splitItem[0]] = splitItem[1]
|
||||||
} else {
|
} else {
|
||||||
console.warn("error");
|
console.warn("routingParameterGeneration error", item);
|
||||||
console.log(item)
|
// console.log(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return obj
|
return obj
|
||||||
|
|||||||