develop
parent
100a70b950
commit
e902f14d23
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
|
|
||||||
# VUE_APP_BASE_API = 'https://jiqu-library.peidikeji.cn/api'
|
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.abcdefg.fun/api'
|
||||||
|
|
||||||
|
|
|
||||||
23
README.md
23
README.md
|
|
@ -1,19 +1,12 @@
|
||||||
# mall-app
|
# 积趣-图书馆
|
||||||
|
|
||||||
## Project setup
|
uniapp
|
||||||
```
|
|
||||||
yarn install
|
|
||||||
```
|
|
||||||
|
|
||||||
### Compiles and hot-reloads for development
|
## Rquire
|
||||||
```
|
|
||||||
yarn serve
|
|
||||||
```
|
|
||||||
|
|
||||||
### Compiles and minifies for production
|
- nodejs
|
||||||
```
|
- npm
|
||||||
yarn build
|
|
||||||
```
|
|
||||||
|
|
||||||
### Customize configuration
|
## TODO
|
||||||
See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
||||||
|
- [ ] 子商品库存不足时, 禁用商品规格
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,8 @@ export default {
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
this.mid = e.mid
|
this.mid = e.mid
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
this.getCartList()
|
this.getCartList()
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
||||||
|
|
@ -124,9 +124,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
let btnLoading = false;
|
let btnLoading = false;
|
||||||
import {
|
|
||||||
add
|
|
||||||
} from '@/utils'
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -141,9 +138,7 @@
|
||||||
cuId: null
|
cuId: null
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad({
|
onLoad({ id }) {
|
||||||
id
|
|
||||||
}) {
|
|
||||||
this.cuId = id
|
this.cuId = id
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -231,10 +226,7 @@
|
||||||
this.goodsList = orderInfo.products;
|
this.goodsList = orderInfo.products;
|
||||||
this.orderInfo = orderInfo;
|
this.orderInfo = orderInfo;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error, '32');
|
this.couponId = ''
|
||||||
uni.switchTab({
|
|
||||||
url: '/pages/index/index'
|
|
||||||
})
|
|
||||||
console.log(error);
|
console.log(error);
|
||||||
} finally {
|
} finally {
|
||||||
this.isFirstLoading = false
|
this.isFirstLoading = false
|
||||||
|
|
|
||||||
|
|
@ -549,7 +549,7 @@
|
||||||
{
|
{
|
||||||
"path": "select_product/cart",
|
"path": "select_product/cart",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "搜索商品",
|
"navigationBarTitleText": "购物车",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue