更新
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log('mounted')
|
||||
// console.log('mounted')
|
||||
},
|
||||
onLoad(option) {
|
||||
this.option = option;
|
||||
@@ -62,7 +62,7 @@
|
||||
onReady(option) {},
|
||||
methods: {
|
||||
versionUpdate() {
|
||||
console.log('versionUpdate')
|
||||
// console.log('versionUpdate')
|
||||
let that = this
|
||||
const updateManager = uni.getUpdateManager();
|
||||
updateManager.onCheckForUpdate(function(res) {
|
||||
@@ -94,8 +94,8 @@
|
||||
});
|
||||
},
|
||||
initFn(option) {
|
||||
console.log(option, '启动页');
|
||||
console.log(`%c 二维码进入 ${option.scene}`, 'color:red;font-size:50px')
|
||||
// console.log(option, '启动页');
|
||||
// console.log(`%c 二维码进入 ${option.scene}`, 'color:red;font-size:50px')
|
||||
const token = uni.getStorageSync('Authorization')
|
||||
const openid = uni.getStorageSync('openid')
|
||||
this.key = ''
|
||||
|
||||
@@ -358,8 +358,8 @@
|
||||
onLoad(e) {
|
||||
let _that = this
|
||||
let IsOtherUser = _that.isOther
|
||||
console.log(IsOtherUser, '这里是判断是否为卡力')
|
||||
console.log('这里是onLoad', IsOtherUser, '++++++')
|
||||
// console.log(IsOtherUser, '这里是判断是否为卡力')
|
||||
// console.log('这里是onLoad', IsOtherUser, '++++++')
|
||||
if (IsOtherUser) {
|
||||
console.log('首页 卡力 进入')
|
||||
uni.showToast({
|
||||
@@ -371,7 +371,7 @@
|
||||
})
|
||||
return
|
||||
}
|
||||
console.log('首页 非卡力 进入测试++')
|
||||
// console.log('首页 非卡力 进入测试++')
|
||||
this.reverseGeocoder(this.location);
|
||||
setTimeout(()=>{
|
||||
let startParamsData = uni.getStorageSync('isJump')||null;
|
||||
@@ -527,8 +527,8 @@
|
||||
if (res.code === 20000) {
|
||||
let _that = this
|
||||
let IsOtherUser = _that.isOther
|
||||
console.log(IsOtherUser, '这里是判断是否为卡力')
|
||||
console.log('这里是getUserAuthInfo', IsOtherUser, '++++++')
|
||||
// console.log(IsOtherUser, '这里是判断是否为卡力')
|
||||
// console.log('这里是getUserAuthInfo', IsOtherUser, '++++++')
|
||||
if (IsOtherUser) {
|
||||
uni.showToast({
|
||||
title: '卡力用户只支持跳转登录',
|
||||
@@ -785,9 +785,7 @@
|
||||
}
|
||||
},
|
||||
toDetail(item) {
|
||||
console.log(item)
|
||||
let itemS = JSON.stringify(item)
|
||||
console.log('进入油站详情items', itemS)
|
||||
if (uni.getStorageSync('user')) {
|
||||
if (item.channelCode === 'TY') {
|
||||
uni.setStorageSync('OtherSiteInfo', item)
|
||||
|
||||
@@ -245,9 +245,9 @@
|
||||
onLoad() {
|
||||
if (!uni.getStorageSync('filterDatas')) {
|
||||
this.getFilterData()
|
||||
console.log('dhgiuhihqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq')
|
||||
// console.log('dhgiuhihqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq')
|
||||
} else{
|
||||
console.log('dhgiuhihiiiiiiiiiiiiiiiiiiiiiiiiiiiii')
|
||||
// console.log('dhgiuhihiiiiiiiiiiiiiiiiiiiiiiiiiiiii')
|
||||
}
|
||||
this.findPriceDetails()
|
||||
if (uni.getStorageSync('productCodeList')) {
|
||||
@@ -343,6 +343,7 @@
|
||||
}
|
||||
},
|
||||
ureaToDetail(list){
|
||||
|
||||
let itemS = JSON.stringify(list)
|
||||
if (uni.getStorageSync('user')) {
|
||||
uni.navigateTo({
|
||||
@@ -606,9 +607,10 @@
|
||||
|
||||
// },
|
||||
toDetail(item) {
|
||||
console.log(item)
|
||||
console.log('这里是进入前')
|
||||
// console.log(item)
|
||||
// console.log('这里是进入前')
|
||||
let itemS = JSON.stringify(item)
|
||||
|
||||
if (uni.getStorageSync('user')) {
|
||||
if(item.channelCode==='TY'){
|
||||
uni.setStorageSync('OtherSiteInfo',item)
|
||||
|
||||
Reference in New Issue
Block a user