develop
parent
100a70b950
commit
e902f14d23
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
23
README.md
23
README.md
|
|
@ -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
|
||||
|
||||
- [ ] 子商品库存不足时, 禁用商品规格
|
||||
|
|
|
|||
|
|
@ -106,6 +106,8 @@ export default {
|
|||
},
|
||||
onLoad(e) {
|
||||
this.mid = e.mid
|
||||
},
|
||||
onShow() {
|
||||
this.getCartList()
|
||||
},
|
||||
computed: {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@
|
|||
{
|
||||
"path": "select_product/cart",
|
||||
"style": {
|
||||
"navigationBarTitleText": "搜索商品",
|
||||
"navigationBarTitleText": "购物车",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue