xubinxcode 2 vuotta sitten
vanhempi
commit
6ec1fb7880
8 muutettua tiedostoa jossa 12 lisäystä ja 9 poistoa
  1. +5
    -5
      addons/unishop/uniapp/uni-shop/pages/index/index.vue
  2. +3
    -0
      addons/unishop/uniapp/uni-shop/pages/public/login.vue
  3. +1
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html
  4. +1
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.0842c0f2.js
  5. +0
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-index-index.38a3a3c3.js
  6. +1
    -0
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-index-index.e3941a91.js
  7. +1
    -0
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-public-login.4b7c3d90.js
  8. +0
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-public-login.c527eebd.js

+ 5
- 5
addons/unishop/uniapp/uni-shop/pages/index/index.vue Näytä tiedosto

@@ -260,9 +260,13 @@
// this.loadCateList();
// this.loadData();
},
onShow() {
async onShow() {
let login = await this.$api.checkLogin();
if (login) {
this.loadCateList();
this.loadData();
}

},
onReachBottom() {
this.loadCateList();
@@ -287,8 +291,6 @@
*/
async loadData() {
let that = this;
let login = await this.$api.checkLogin();
if (login) {
//获取广告图
that.$api.request('/ads/index', 'GET').then((res) => {
let carouselList = res;
@@ -310,8 +312,6 @@
// this.getFlash();

// this.getProduct();
}

},
// 获取产品列表
async getProduct() {


+ 3
- 0
addons/unishop/uniapp/uni-shop/pages/public/login.vue Näytä tiedosto

@@ -85,6 +85,9 @@
uni.switchTab({
url: '/pages/index/index'
})
setTimeout(()=>{
location.reload()
})
}, 2000)

} else {


+ 1
- 1
addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html Näytä tiedosto

@@ -1,3 +1,3 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>宜家自购商城</title><script>document.addEventListener('DOMContentLoaded', function() {
document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
})</script><link rel=stylesheet href=/h5/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script>/*BAIDU_STAT*/</script><script src=/h5/static/js/chunk-vendors.ce279a02.js></script><script src=/h5/static/js/index.8189d248.js></script></body></html>
})</script><link rel=stylesheet href=/h5/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script>/*BAIDU_STAT*/</script><script src=/h5/static/js/chunk-vendors.ce279a02.js></script><script src=/h5/static/js/index.0842c0f2.js></script></body></html>

addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.0842c0f2.js
File diff suppressed because it is too large
Näytä tiedosto


+ 0
- 1
addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-index-index.38a3a3c3.js
File diff suppressed because it is too large
Näytä tiedosto


+ 1
- 0
addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-index-index.e3941a91.js
File diff suppressed because it is too large
Näytä tiedosto


+ 1
- 0
addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-public-login.4b7c3d90.js
File diff suppressed because it is too large
Näytä tiedosto


+ 0
- 1
addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-public-login.c527eebd.js
File diff suppressed because it is too large
Näytä tiedosto


Ladataan…
Peruuta
Tallenna