diff --git a/common/config.js b/common/config.js
index ba87c1f..625f57d 100644
--- a/common/config.js
+++ b/common/config.js
@@ -6,9 +6,9 @@
* loginTimeoutPage = "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面
*/
module.exports = {
- baseUrl: 'http://192.168.2.106:7211', // 本地
+ // baseUrl: 'http://9jb9ws.natappfree.cc', // 本地
// baseUrl: 'https://lpk.yyundong.com/lpkapi', // 测试服务器
- // baseUrl: 'https://lpk.yyundong.com/mallapi', // 测试服务器
+ baseUrl: 'https://lpk.yyundong.com/mallapi', // 测试服务器
// baseUrl: 'https://supervise.yxtsoft.com/lpkapi', // 正式服务器
tokenName: "Authorization", // 请求头中token的名字,与服务器端对应
loginTimeoutCode: "5001", // 登录超时或失效的情况下,服务器端返回的错误码
diff --git a/pages/home/myCellar.vue b/pages/home/myCellar.vue
index 7cb26e6..336fcc9 100644
--- a/pages/home/myCellar.vue
+++ b/pages/home/myCellar.vue
@@ -1,83 +1,85 @@
-
-
+
+
+
+
-
-
-
-
-
+
+
+
-
-
+
-
-
+
+ mode="aspectFill" @click="itemClick(item.goodsSid)">
- {{item.name}}
+ {{item.name}}
{{item.remark}}
- {{item.weight}}{{item.specificationUnit}}/{{item.unitName}}
+ {{item.weight}}{{item.specificationUnit}}/{{item.unitName}}
百姓菜!
精品菜!
企业菜!
-
-
-
存量:
{{item.goodsNumber}}{{item.unitName}}
-
-
-
@@ -112,47 +113,58 @@
-
+
+
-
+
+
+
+
+
+ 转赠亲友
+
+
+
+ 选中
+ {{page.count}}
+ 份蔬菜
+
+ 预约提菜
+
-
-
-
-
-
- 转赠亲友
-
-
-
- 选中
- {{page.count}}
- 份蔬菜
- 预约提菜
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -202,63 +214,68 @@
+ padding: 10px 20px;">
转赠蔬菜列表
-
-
+ style="font-size: 16px;color: #000;font-weight: 600;font-family: sans-serif;margin-top: 10px;margin-bottom:10px ;">转赠蔬菜列表
-
+
+
-
+
-
+
-
+
- {{item.name}}
+
- {{item.remark}}
+ {{item.name}}
-
- {{item.weight}}{{item.specificationUnit}}/{{item.unitName}}
+ {{item.remark}}
- 百姓菜!
- 精品菜!
- 企业菜!
-
+
+ {{item.weight}}{{item.specificationUnit}}/{{item.unitName}}
-
-
- 剩余:
{{item.goodsNumber}}{{item.unitName}}
+ style="border: 1px #EE752F solid; background: #FF9900;margin-left: 10px; color: #fff; font-size: 10px;border-radius: 5px; padding: 0px 8px;"
+ v-if="item.type=='0'">百姓菜!
+ 精品菜!
+ 企业菜!
-
+
+
+ 剩余:
+ {{item.goodsNumber}}{{item.unitName}}
+
-
+
- {{item.count}}
-
+
+ {{item.count}}
+
+
+
+
@@ -267,7 +284,8 @@
-
+
+
@@ -291,9 +309,6 @@
-
-
-
@@ -306,6 +321,9 @@
showModal: false,
showModal2: false,
showModal3: false,
+ scrollHeight: "",
+ scrollLeftTop: "0",
+ scrollRightTop: "0",
brandType: "0",
styleObject: {
// 'position': 'fixed',
@@ -369,8 +387,8 @@
this.request()
this.page.count = 0
},
+ onLoad(options) {
- onLoad() {
this.shareSid = options.shareSid
console.log("shareSid>>>>", this.shareSid);
@@ -393,9 +411,10 @@
}
},
+
labelClick(index, item) {
this.selectIndex = index
- this.brandType = item.sid
+ this.brandType = item.id
this.pickingUpGoods = []
this.page.count = 0
this.getgoods()
@@ -412,6 +431,7 @@
_this.baseDataSuccess = true
_this.getgoods()
+ _this.selectIndex = 0
}).catch(e => {
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(1)
@@ -512,9 +532,6 @@
}
},
- colseDialog() {
- this.showModal = false
- },
showGift() {
let _this = this
@@ -584,19 +601,31 @@
}).catch(e => {})
}
+
+
}
}
\ No newline at end of file