6
0
Fork 0
develop
panliang 2023-02-16 17:04:10 +08:00
parent 100a70b950
commit e902f14d23
5 changed files with 15 additions and 28 deletions

View File

@ -1,6 +1,6 @@
ENV = 'production'
# VUE_APP_BASE_API = 'https://jiqu-library.peidikeji.cn/api'
VUE_APP_BASE_API = 'https://jiqu-library.abcdefg.fun/api'
VUE_APP_BASE_API = 'https://jiqu-library.peidikeji.cn/api'
#VUE_APP_BASE_API = 'https://jiqu-library.abcdefg.fun/api'

View File

@ -1,19 +1,12 @@
# mall-app
# 积趣-图书馆
## Project setup
```
yarn install
```
uniapp
### Compiles and hot-reloads for development
```
yarn serve
```
## Rquire
### Compiles and minifies for production
```
yarn build
```
- nodejs
- npm
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
## TODO
- [ ] 子商品库存不足时, 禁用商品规格

View File

@ -106,6 +106,8 @@ export default {
},
onLoad(e) {
this.mid = e.mid
},
onShow() {
this.getCartList()
},
computed: {

View File

@ -124,9 +124,6 @@
<script>
let btnLoading = false;
import {
add
} from '@/utils'
export default {
data() {
return {
@ -141,9 +138,7 @@
cuId: null
};
},
onLoad({
id
}) {
onLoad({ id }) {
this.cuId = id
},
@ -231,10 +226,7 @@
this.goodsList = orderInfo.products;
this.orderInfo = orderInfo;
} catch (error) {
console.log(error, '32');
uni.switchTab({
url: '/pages/index/index'
})
this.couponId = ''
console.log(error);
} finally {
this.isFirstLoading = false

View File

@ -549,7 +549,7 @@
{
"path": "select_product/cart",
"style": {
"navigationBarTitleText": "搜索商品",
"navigationBarTitleText": "购物车",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}