diff --git a/assets/css/base.less b/assets/css/base.less
index 78111a7..d917846 100644
--- a/assets/css/base.less
+++ b/assets/css/base.less
@@ -290,4 +290,9 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
.ai-center {
align-items: center;
+}
+.ql-editor.ql-blank::before {
+ font-style: normal;
+ font-size: 28rpx;
+ color: #C2C5CC;
}
\ No newline at end of file
diff --git a/assets/css/style.less b/assets/css/style.less
index 79d1604..c093901 100644
--- a/assets/css/style.less
+++ b/assets/css/style.less
@@ -2463,6 +2463,7 @@ page {
}
.user .wrapper .myOrder .orderState .item .pictrue {
+ position: relative;
width: 52rpx;
height: 52rpx;
margin: 0 auto 0.18*100rpx auto;
diff --git a/config/index.js b/config/index.js
index d928392..6084326 100644
--- a/config/index.js
+++ b/config/index.js
@@ -1,11 +1,3 @@
-// export const VUE_APP_API_URL = "https://shop.xdd618.com/api";
-// export const VUE_APP_API_URL = "https://www.xdd618.com/api";
-
-// export const SERVICE_API_URL = "https://service-test.xdd618.com/api";
-// export const SERVICE_API_URL = "https://service.xdd618.com/api";
-
-// export const SOCKET_URL = "wss://service-test.xdd618.com/ws";
-// export const SOCKET_URL = "wss://service.xdd618.com/ws";
const NODE_ENV = process.env.VUE_APP_ENV || 'development'
let BASE_URL = ''
let SERVICE_URL = ''
@@ -16,7 +8,7 @@ if (NODE_ENV === 'development' || NODE_ENV === 'test') {
SERVICE_WS_URL = 'wss://service-test.xdd618.com/ws'
}
if (NODE_ENV === 'prod') {
- BASE_URL = 'https://www.xdd618.com/api'
+ BASE_URL = 'https://wxapp.xdd618.com/api'
SERVICE_URL = 'https://service.xdd618.com/api'
SERVICE_WS_URL = 'wss://service.xdd618.com/ws'
}
@@ -26,7 +18,7 @@ export const SERVICE_API_URL = SERVICE_URL
export const SOCKET_URL = SERVICE_WS_URL
-export const VUE_APP_RESOURCES_URL = "https://www.xdd618.com/api/file/pic";
+export const VUE_APP_RESOURCES_URL = "https://wxapp.xdd618.com/api/file/pic"
export const STATIC_RESOURCE_URL = "https://resource.xdd618.com/image"
export const WX_LIVE_APPID = "wx2b03c6e691cd7370";
diff --git a/pages.json b/pages.json
index 1b1d2c9..c62bafb 100644
--- a/pages.json
+++ b/pages.json
@@ -856,14 +856,6 @@
"navigationBarTitleText": "文玩"
}
},
- {
- "path": "views/store",
- "style": {
- "navigationBarTitleText": "文玩店铺详情",
- "navigationStyle": "custom",
- "navigationBarTextStyle": "white"
- }
- },
{
"path": "views/storeList",
"style": {
@@ -883,7 +875,7 @@
},
"globalStyle": {
"navigationBarTextStyle": "black",
- "navigationBarTitleText": "uni-app",
+ "navigationBarTitleText": "地标文化特产",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
diff --git a/pages/chose-city/chose-city.vue b/pages/chose-city/chose-city.vue
index 3e292bd..5a01372 100644
--- a/pages/chose-city/chose-city.vue
+++ b/pages/chose-city/chose-city.vue
@@ -126,13 +126,13 @@
+
diff --git a/pages/cloud/haveFun.vue b/pages/cloud/haveFun.vue
index 359503d..cc86761 100644
--- a/pages/cloud/haveFun.vue
+++ b/pages/cloud/haveFun.vue
@@ -1,117 +1,36 @@
-
-
-
-
-
-
-
+
+
-
-
+
{{ item.name }}
-
@@ -119,41 +38,150 @@ export default {
{{ cityName }}
-
-
-
-
-
-
-
-
- {{ item.cityName }}
+
+
+
+
+
+
- {{ item.content }}
-
-
-
- {{ item.name }}
+
+
+
+
-
-
-
-
-
- 暂无数据
+
+
+
+ 暂无数据
+
+
-
+
diff --git a/pages/home/index.vue b/pages/home/index.vue
index 405b075..69e42e6 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -211,7 +211,9 @@
{{ unReadMessageInfo.noticeTitle }}
-
+
+
+
我知道了
diff --git a/pages/shop/GoodSearch/index.vue b/pages/shop/GoodSearch/index.vue
index 9c09b0c..70af129 100644
--- a/pages/shop/GoodSearch/index.vue
+++ b/pages/shop/GoodSearch/index.vue
@@ -2,36 +2,41 @@
-
-
+
历史搜索
{{ item.word }}
+ v-for="item of historyKey"
+ :key="item.id"
+ class="item"
+ @click="toSearch(item.word)"
+ >
+ {{ item.word }}
-
热门搜索
{{ keywordsKey }}
+ v-for="keywordsKey of keywords"
+ :key="keywordsKey"
+ class="item"
+ @click="toSearch(keywordsKey)"
+ >
+ {{ keywordsKey }}
@@ -40,19 +45,18 @@
-
-
diff --git a/pages/user/User/index.vue b/pages/user/User/index.vue
index f9e4966..faaed09 100644
--- a/pages/user/User/index.vue
+++ b/pages/user/User/index.vue
@@ -84,12 +84,12 @@
-
+
我的订单
-
+
@@ -206,6 +206,7 @@
:src="bannerBgUrl"
mode="widthFix"
class="bg"
+ @click="bannerClickHandle"
/>
@@ -316,9 +317,10 @@ export default {
},
{
text: '帮助中心',
- url: '/pages/user/Message/Message',
+ url: '',
icon: '/icon/icon-help.png',
- allowEnter: true
+ allowEnter: true,
+ showTip: true
},
{
text: '设置中心',
@@ -327,7 +329,8 @@ export default {
allowEnter: true
}
],
- bannerBgUrl: ''
+ bannerBgUrl: '',
+ userCenterBannerUrl: ''
}
},
computed: mapGetters(['userInfo']),
@@ -435,6 +438,7 @@ export default {
if (success) {
if (data.userCenterBanner) {
this.bannerBgUrl = data.userCenterBanner
+ this.userCenterBannerUrl = data.userCenterBannerUrl || ''
}
}
})
@@ -468,6 +472,12 @@ export default {
},
toolItemClickHandle(item) {
const url = item.url
+ if (item.showTip) {
+ this.$dialog.toast({
+ mes: '暂未开放'
+ })
+ return
+ }
if (!url || !item.allowEnter) {
return
}
@@ -478,6 +488,12 @@ export default {
return
}
uni.navigateTo({ url })
+ },
+ bannerClickHandle() {
+ if (!this.userCenterBannerUrl) {
+ return
+ }
+ this.linkTo(this.userCenterBannerUrl)
}
}
}
@@ -627,6 +643,7 @@ export default {
.qrcode {
display: flex;
align-items: center;
+ width: 160rpx;
padding: 10rpx 16rpx;
border: 1rpx solid #FFFBD3;
border-radius: 8rpx;
diff --git a/pagesInn/components/jin-edit/jin-edit.vue b/pagesInn/components/jin-edit/jin-edit.vue
index c435769..a3bcc47 100644
--- a/pagesInn/components/jin-edit/jin-edit.vue
+++ b/pagesInn/components/jin-edit/jin-edit.vue
@@ -1,17 +1,19 @@
@@ -36,7 +38,7 @@
-
+
@@ -49,8 +51,15 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pkg_user/views/myCoupons.vue b/pkg_user/views/myCoupons.vue
index 6413c58..b871308 100644
--- a/pkg_user/views/myCoupons.vue
+++ b/pkg_user/views/myCoupons.vue
@@ -5,23 +5,13 @@
-
-
-
-
-
diff --git a/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue b/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue
index 0f019e9..7b634d7 100644
--- a/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue
+++ b/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue
@@ -1,8 +1,29 @@
-
-
-
+
+
+
@@ -15,8 +36,22 @@
-
-
+
+
@@ -156,6 +191,7 @@
this.msg++;
}
this.$nextTick(() => {
+ console.log(this.data.list)
this.initValue(this.curIndex, 'refresh==>');
})
}, 1)
diff --git a/utils/dialog.js b/utils/dialog.js
index 732c0bc..0906f31 100644
--- a/utils/dialog.js
+++ b/utils/dialog.js
@@ -49,7 +49,7 @@ dialog.message = (mes = "操作失败", obj = {}) => {
uni.showToast({
title: mes,
icon: "none",
- duration: 2000,
+ duration: 3000,
complete: () => {
resolve();
}
@@ -61,7 +61,7 @@ dialog.toast = (options) => {
uni.showToast({
title: options.mes,
icon: "none",
- duration: 2000,
+ duration: 3000,
complete: () => {
options.callback ? options.callback() : null
}
@@ -72,7 +72,7 @@ dialog.error = (mes) => {
uni.showToast({
title: mes,
icon: "none",
- duration: 2000
+ duration: 3000
});
};
@@ -84,7 +84,7 @@ export function validatorDefaultCatch(err, type = "message") {
uni.showToast({
title: err.errors[0].message,
icon: 'none',
- duration: 2000
+ duration: 3000
})
return false
}
diff --git a/utils/request.js b/utils/request.js
index b46aeb5..2428f46 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -64,6 +64,7 @@ function baseRequest(options) {
uni.showToast({
title: res.data.msg,
icon: 'none',
+ duration: 3000,
success() {
}
})
diff --git a/wenwan/views/store.vue b/wenwan/views/store.vue
deleted file mode 100644
index f17e651..0000000
--- a/wenwan/views/store.vue
+++ /dev/null
@@ -1,1048 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ inn.name }}
-
-
-
- {{ inn.cityName }}
-
-
-
-
-
-
- {{ inn.ownerName }}/店主
-
-
-
-
-
-
- 保证金:{{ inn.guaranteeValue }}元
-
-
-
- {{ inn.zan }}
-
-
-
- {{ inn.zan }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ inn.content }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ inn.address }}
-
-
-
-
- 联系客服
-
-
-
-
- 进入地图
-
-
-
-
-
-
- 企业文化
-
-
-
-
- 最新资讯
-
-
-
-
- 商家资质
-
-
-
-
- 商品
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ info.monthDay }}
- {{ info.year }}
-
-
-
-
-
-
-
-
-
- {{ info.name }}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ info.pv }}
-
-
-
- {{ info.zan }}
-
-
- {{ info.time }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.storeName }}
-
- 产地:{{ item.origin }}
- 单位:{{ item.unitName }}
-
- 规格:{{ item.storeInfo }}
- ¥{{ item.price }}
-
-
-
- 全部商品列表
-
-
- 发布动态
- 修改资料
-
-
-
-
-
-
-
-
-
-
-
diff --git a/wenwan/views/storeList.vue b/wenwan/views/storeList.vue
index ba1d85d..62cd5da 100644
--- a/wenwan/views/storeList.vue
+++ b/wenwan/views/storeList.vue
@@ -82,9 +82,9 @@ export default {
})
},
goStore: function (item) {
- //跳转到客栈详情
+ // 跳转到客栈详情
uni.navigateTo({
- url: `/wenwan/views/store?id=${item.id}`,
+ url: `/pagesInn/inn/innHome?id=${item.id}`,
})
},
search() {