dengjie :解决点赞、收藏、客服电话等问题

This commit is contained in:
邓洁
2023-02-04 19:03:41 +08:00
parent 4db15d21cf
commit 08ebc6574d
10 changed files with 128 additions and 102 deletions

View File

@@ -76,32 +76,12 @@
}
},
onLoad() {
// this.login()
this.getCategories()
this.getBanner()
this.getImgUrl()
this.imgUrl = uni.getStorageSync('img_url')
},
methods: {
// login() {
// var that = this
// uni.login({
// "provider": "weixin",
// "onlyAuthorize": true, // 微信登录仅请求授权认证
// success: function(event) {
// const {
// code
// } = event
// that.$apiServe.login({
// code: code
// }).then(res => {
// var data = res.data.data
// // console.log('登录code换取的信息', data);
// uni.setStorageSync('token', data.token);
// })
// },
// })
// },
//获取按上架时间排列的产品列表length
getTimeLength(e) {
this.reachBottomLength = e