diff --git a/common/config.js b/common/config.js
index 625f57d..bd2d42c 100644
--- a/common/config.js
+++ b/common/config.js
@@ -6,10 +6,10 @@
* loginTimeoutPage = "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面
*/
module.exports = {
- // baseUrl: 'http://9jb9ws.natappfree.cc', // 本地
+ // baseUrl: 'http://192.168.2.117:7211', // 本地
// baseUrl: 'https://lpk.yyundong.com/lpkapi', // 测试服务器
- baseUrl: 'https://lpk.yyundong.com/mallapi', // 测试服务器
- // baseUrl: 'https://supervise.yxtsoft.com/lpkapi', // 正式服务器
+ // baseUrl: 'https://lpk.yyundong.com/mallapi', // 测试服务器
+ baseUrl: 'https://supervise.yxtsoft.com/lpkapi', // 正式服务器
tokenName: "Authorization", // 请求头中token的名字,与服务器端对应
loginTimeoutCode: "5001", // 登录超时或失效的情况下,服务器端返回的错误码
loginTimeoutPage: "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面
diff --git a/pages/home/cloudCard2.vue b/pages/home/cloudCard2.vue
index d98ea9e..4757800 100644
--- a/pages/home/cloudCard2.vue
+++ b/pages/home/cloudCard2.vue
@@ -316,12 +316,12 @@
style="display: flex;flex-direction: column;align-items: center;justify-content: center;width: 100%;margin-top: 20px;">
- (云菜窖)
+ 云菜窖
- 小程序需要获取您的手机号,方便与您联系。
+ 为确保您能正常体验小程序功能,云菜窖需要获取您的手机号。
diff --git a/pages/home/myCellar.vue b/pages/home/myCellar.vue
index d43249c..15bed17 100644
--- a/pages/home/myCellar.vue
+++ b/pages/home/myCellar.vue
@@ -56,10 +56,20 @@
-
+
+
+
+
+ 已失效
+
+
+
-
-
+ {{item.weight}}{{item.specificationUnit}}/{{item.unitName}}
企业菜!
-
+ 提货截止日:{{item.periodValidity}}
+ 抱歉,商品已超过提货截止日
+
+
存量:
+
{{item.goodsNumber}}{{item.unitName}}
+
+ :class="item.state=='0'?'oragin':'gray'">
@@ -322,12 +340,13 @@
style="display: flex;flex-direction: column;align-items: center;justify-content: center;width: 100%;margin-top: 20px;">
- (云菜窖)
+ 云菜窖
- 小程序需要获取您的手机号,方便与您联系。
+ 为确保您能正常体验小程序功能,云菜窖需要获取您的手机号。
@@ -344,6 +363,28 @@
+
+
+
+
+
+
+
+
+ 温馨提示
+ 您好,云菜窖预约提货服务现已恢复正常,您可在“我的菜窖”页面进行预约提菜。
+
+ {{confirmText}}
+
+
+
+
+
+
+
+
@@ -359,6 +400,9 @@
transferNotData: true,
notData: false,
showModal1: false,
+ showModal2: true,
+ confirmText: "我知道了(5s)",
+ countdown: 5,
showModal3: false,
showModal4: false,
scrollHeight: "",
@@ -446,7 +490,8 @@
this.page.endHeight = info.windowWidth * 0.8
this.shareGift()
-
+ this.showPop()
+
},
filters: {
/**
@@ -482,6 +527,25 @@
},
},
methods: {
+
+ showPop() {
+
+ let timeOut = setInterval(() => {
+
+ if (this.countdown == 1) {
+ this.showModal2 = false
+ this.confirmText = "确定"
+ this.countdown = 5
+ clearInterval(timeOut)
+
+ } else {
+ this.countdown = this.countdown - 1;
+ this.confirmText = "我知道了" + "(" + this.countdown + "s)"
+ }
+ }, 1000)
+ },
+
+
getNotice() {
let _this = this
this.$api.getNotices().then((resp) => {
@@ -678,6 +742,10 @@
colseDialog1() {
this.showModal1 = false
},
+ colseDialog2() {
+ this.showModal2 = false
+ clearInterval()
+ },
colseDialog3() {
this.showModal3 = false
},
@@ -773,18 +841,17 @@
\ No newline at end of file
diff --git a/static/notices.png b/static/notices.png
new file mode 100644
index 0000000..3a8aee3
Binary files /dev/null and b/static/notices.png differ