diff --git a/apis/modules/goods.js b/apis/modules/goods.js
index 21ef90c..db4a013 100644
--- a/apis/modules/goods.js
+++ b/apis/modules/goods.js
@@ -19,6 +19,15 @@ export const save = (data) => {
export const update = (data) => {
return post('nakadai/prod/update', data)
}
-export const categoryList = (data) => {
- return get('nakadai/category/list', data)
+export const categoryInfo = (data) => {
+ return get('nakadai/category/categoryInfo', data)
+}
+export const list = (data) => {
+ return get('nakadai/prod/list', data)
+}
+export const confirm = (data) => {
+ return get('nakadai/order/order/confirm', data)
+}
+export const orderSubmit = (data) => {
+ return get('nakadai/order/order/submit', data)
}
\ No newline at end of file
diff --git a/components/order/order.vue b/components/order/order.vue
index 54831ff..adacb35 100644
--- a/components/order/order.vue
+++ b/components/order/order.vue
@@ -24,15 +24,15 @@
-
+
- 个人采购
- 组织采购
+ 个人采购
+ 组织采购
返回
@@ -41,17 +41,17 @@
@@ -142,14 +150,16 @@
justify-content: space-between;
margin-top: 30rpx;
.btn {
- padding: 12rpx 40rpx;
+ width: 35%;
+ padding: 15rpx 0;
font-size: 28rpx;
color: #fff;
+ text-align: center;
background-color: $uni-primary;
border-radius: 20px;
}
.back {
- padding: 12rpx 26rpx;
+ width: 20%;
color: #333;
background-color: #fff;
border: 1px solid #ccc;
diff --git a/config/goods.js b/config/goods.js
new file mode 100644
index 0000000..36ed75b
--- /dev/null
+++ b/config/goods.js
@@ -0,0 +1,27 @@
+/**
+/**
+ * 商品配置
+ * @author yujialong
+ */
+
+export default {
+ // 商品状态
+ goodsStatus: [
+ {
+ id: 0,
+ name: '上架中'
+ },
+ {
+ id: 2,
+ name: '已下架'
+ },
+ {
+ id: 3,
+ name: '草稿'
+ },
+ {
+ id: 4,
+ name: '审核中'
+ },
+ ],
+}
diff --git a/config/request.js b/config/request.js
index d57d2ba..0d7b444 100644
--- a/config/request.js
+++ b/config/request.js
@@ -5,8 +5,8 @@
*/
export default {
- // baseURL: 'http://192.168.31.51:10010/',
- baseURL: 'http://124.71.79.122/',
+ baseURL: 'http://192.168.31.51:10010/',
+ // baseURL: 'http://124.71.79.122/',
headers: {
'Content-Type': 'application/json;charset=UTF-8'
},
diff --git a/other/addGoods/addGoods.vue b/other/addGoods/addGoods.vue
index 7d8ca3a..f93aed6 100644
--- a/other/addGoods/addGoods.vue
+++ b/other/addGoods/addGoods.vue
@@ -9,11 +9,11 @@
产品分类
-
+
-
+
@@ -25,7 +25,7 @@
-
+
@@ -39,11 +39,11 @@
价格
- 请选择
+ {{ item.price || '请选择' }}
库存
-
+
@@ -51,23 +51,21 @@
-
存草稿
发布
-
售价:
-
+
- 优惠价:
-
+ 市场价:
+
@@ -77,94 +75,98 @@
+
+
diff --git a/pages.json b/pages.json
index e3fd1b3..602d8f7 100644
--- a/pages.json
+++ b/pages.json
@@ -84,6 +84,14 @@
"navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
+ },
+ {
+ "path" : "vouchers/vouchers",
+ "style" :
+ {
+ "navigationBarTitleText" : "电子券",
+ "enablePullDownRefresh" : true
+ }
}
]
},
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 7368a57..92e33cb 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -66,8 +66,8 @@
功能升级中,敬请期待...
-
+
+ -->
diff --git a/pages/person/person.vue b/pages/person/person.vue
index 3c09b78..a67c3bf 100644
--- a/pages/person/person.vue
+++ b/pages/person/person.vue
@@ -32,7 +32,7 @@
基础功能
- -
+
-
我的电子券
diff --git a/pages/supplier/supplier.vue b/pages/supplier/supplier.vue
index 26f7335..a560723 100644
--- a/pages/supplier/supplier.vue
+++ b/pages/supplier/supplier.vue
@@ -48,6 +48,7 @@