Browse Source

rebuild 1.1.8 format

master
赵明涛 6 months ago
parent
commit
7293deb7e1
  1. 2
      app/src/main/assets/apps/__UNI__3B4D40B/www/app-service.js
  2. 2
      uniapp_project_code/src/components/index/keyboard/input_box_QR.vue
  3. 7
      uniapp_project_code/src/pages/index/index.vue
  4. 7
      uniapp_project_code/src/pages/index/standby.vue

2
app/src/main/assets/apps/__UNI__3B4D40B/www/app-service.js
File diff suppressed because it is too large
View File

2
uniapp_project_code/src/components/index/keyboard/input_box_QR.vue

@ -99,7 +99,7 @@
let {brand_id,stadium_id,token} = util.getPostParams()
let urlParams = {
brand_id,token,
brand_id,token,stadium_id,
"sku": sku,
}
console.log("searchGoodBySku urlParams:", urlParams)

7
uniapp_project_code/src/pages/index/index.vue

@ -140,6 +140,7 @@
// // console.log("skulist:", this.shopList)
// })
this.setFooterHeight()
// this.setTestSku() //sku
}, 1000)
},
methods: {
@ -147,7 +148,7 @@
util.showLoad()
let {brand_id,stadium_id,token} = util.getPostParams()
let urlParams = {
brand_id,token,
brand_id,token,stadium_id,
"sku": sku,
}
console.log("searchGoodBySku urlParams:", urlParams)
@ -190,7 +191,7 @@
},
async setTestSku() {
console.log("Test set SKU 10000012")
let skulist = await this.searchGoodBySku("10000012")
let skulist = await this.searchGoodBySku("6934024512123")
this.shopList = this.shopList.concat(skulist)
},
async clickToPay() {
@ -386,7 +387,7 @@
return res
}).catch(err => {
console.log("searchGoodBySku err: ", err)
util.showNone("未找到商品")
util.showNone(err.res.data?.message||"未找到商品-i")
})
//skulistshopList
if(skulist&&skulist.length>0)this.shopList = this.combinedList(this.shopList, skulist)

7
uniapp_project_code/src/pages/index/standby.vue

@ -83,7 +83,7 @@ export default {
},
async onReady() {
// this.screenHeight = await util.getPageHeight()
console.log(`the index page onReady----` + this.screenHeight)
console.log(`the index page onReady----` + this.screenHeight,uni.getStorage("stadiumInfo"))
app = getApp();
setTimeout(async () => {
// await this.updateGoodsList().then(async () => {
@ -100,7 +100,7 @@ export default {
searchGoodBySku: async (sku) => {
let {brand_id,stadium_id,token} = util.getPostParams()
let urlParams = {
brand_id,token,
brand_id,token,stadium_id,
"sku": sku,
}
console.log("searchGoodBySku urlParams:", urlParams)
@ -174,7 +174,8 @@ export default {
// return skulist
}).catch(err => {
console.log("searchGoodBySku err: ", err)
util.showNone("未找到商品")
// util.showNone("")
util.showNone(err.res.data?.message||"未找到商品-s")
})
//skulistshopList
// this.shopList = this.combinedList(this.shopList, skulist)

Loading…
Cancel
Save