master
xiaozhiyong 1 year ago
parent 83d0c894b2
commit e416e23f09
  1. 2
      components/stationItem/stationItem.vue
  2. 8
      pages/index/index.vue
  3. 5
      pages/startPage/index.vue
  4. BIN
      static/Scan.png
  5. BIN
      static/logo.png
  6. BIN
      static/select-ChargingStation.png
  7. BIN
      static/select-Personal.png
  8. BIN
      static/select-home.png
  9. BIN
      static/select-order.png
  10. 7
      utils/tool.js

@ -57,7 +57,7 @@
};
},
created() {
console.log(this.data.tags, 'data.tags')
// console.log(this.data.tags, 'data.tags')
},
methods: {
goDetails() {

@ -64,7 +64,10 @@
this.showInit()
},
methods: {
readyScanCode({success,fail}){
readyScanCode({
success,
fail
}) {
if (!this.user) {
uni.showModal({
title: '提示',
@ -89,9 +92,8 @@
}
},
async scanCode() {
let res = await this.tool.scanCode().catch(err => {
console.log('取消');
// console.log('');
this.tabBarIndex = 0
});
if (res?.result) {

@ -16,12 +16,12 @@
this.init(e)
},
created() {
this.imgURL = `${this.baseImgURL}/start.png`
this.imgURL = `${this.baseImgURL}/start-color.png`
},
methods: {
Interceptor(id) {
let taht = this
console.log(`%c 检测到参数拦截器启动`, 'color:red;font-size:50px');
// console.log(`%c `, 'color:red;font-size:50px');
wxCode.getQrCodeType({
qrCode: id
}).then(res => {
@ -46,6 +46,7 @@
uni.redirectTo({
url:'/pages/index/index'
})
// uni.redirectTo({
// url:'/pages/login/index'
// })

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 899 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 855 B

After

Width:  |  Height:  |  Size: 2.1 KiB

@ -220,7 +220,8 @@ export default {
return new Promise((re, rj) => {
wx.getSetting({
success(res) {
if (typeof(res.authSetting['scope.userLocation']) != 'undefined' && !res.authSetting[
if (typeof(res.authSetting['scope.userLocation']) != 'undefined' && !res
.authSetting[
'scope.userLocation']) {
// 用户没有授权
uni.showModal({
@ -333,8 +334,8 @@ export default {
let splitItem = item.split('=')
obj[splitItem[0]] = splitItem[1]
} else {
console.warn("error");
console.log(item)
console.warn("routingParameterGeneration error", item);
// console.log(item)
}
})
return obj

Loading…
Cancel
Save