diff --git a/config.js b/config.js
index 76bbd47..2968860 100644
--- a/config.js
+++ b/config.js
@@ -3,11 +3,11 @@ export const appConfig = {
//appId:"wx3dc65ce9b588727a",//孕育咨询
//baseUrl: 'http://yunyubang.localhost.com',
- baseUrl:'https://yunyubang.ali251.langye.net',// 'https://yunyubang2021.langye.net', //孕育邦
- // baseUrl: 'https://yybtest.ali251.langye.net',
+ // baseUrl:'https://yunyubang.ali251.langye.net',// 'https://yunyubang2021.langye.net', //孕育邦
+ baseUrl: 'https://yybtest.ali251.langye.net',
- newBaseUrl: 'https://yunyubang.ali251.langye.net',
- // newBaseUrl: 'http://yybtest.ali251.langye.net',
+ // newBaseUrl: 'https://yunyubang.ali251.langye.net',
+ newBaseUrl: 'http://yybtest.ali251.langye.net',
//baseUrl:'https://yybtest2021.langye.net',//孕育咨询
openidInfoKey: 'openid_info_yunyubang'
diff --git a/packages/packageBuy/pages/shopDetail/shopDetail.vue b/packages/packageBuy/pages/shopDetail/shopDetail.vue
index 95c95f3..5714566 100644
--- a/packages/packageBuy/pages/shopDetail/shopDetail.vue
+++ b/packages/packageBuy/pages/shopDetail/shopDetail.vue
@@ -1,7 +1,7 @@
-
+
{{info.name}}
@@ -46,12 +46,12 @@
{{info.merchant.username}}
周一至周日 09:00-18:00
- {{info.merchant.address}}
-
+
电话:{{tel}}
-
+
+ {{info.merchant.address}}
@@ -1390,7 +1390,9 @@
margin-left: 24rpx;
display: inline-block;
vertical-align: top;
-
+ view{
+ margin-bottom:10rpx
+ }
.name {
font-size: 32rpx;
font-weight: 500;
@@ -1404,12 +1406,13 @@
line-height: 20rpx;
.iconfont {
- color: #FF578A;
- font-size: 20rpx;
+ color: #333;
+ font-size: 22rpx;
display: inline-block;
margin-right: 7rpx;
height: 100%;
- line-height: 20rpx;
+ line-height: 20rpx;
+ vertical-align: middle;
}
}
diff --git a/packages/packageBuy/pages/shopList/shopList.vue b/packages/packageBuy/pages/shopList/shopList.vue
index d73236d..2c9c451 100644
--- a/packages/packageBuy/pages/shopList/shopList.vue
+++ b/packages/packageBuy/pages/shopList/shopList.vue
@@ -32,7 +32,7 @@
-
+
{{item.product_type.name}}
diff --git a/packages/packageCarecenter/pages/careCenter/careCenter.vue b/packages/packageCarecenter/pages/careCenter/careCenter.vue
index 7a558a8..1045f06 100644
--- a/packages/packageCarecenter/pages/careCenter/careCenter.vue
+++ b/packages/packageCarecenter/pages/careCenter/careCenter.vue
@@ -383,8 +383,14 @@
distanceComputed() {
return function(dis) {
if (dis) {
- if (dis.indexOf('km') !== -1) {
- return Number(dis.split('km')[0]).toFixed(1) + 'km'
+ if (dis.indexOf('km') !== -1) {
+ let dism = dis.split('km')[0]*1000
+ if(dism<1000){
+ return Number(dism).toFixed(1) + 'm'
+ }else{
+ return Number(dis.split('km')[0]).toFixed(1) + 'km'
+ }
+
}
if (dis.indexOf('m') !== -1) {
return Number(dis.split('m')[0]).toFixed(1) + 'm'
@@ -404,7 +410,6 @@
this.init()
})
-
this.getStrategy();
this.getParameter("area");
},
diff --git a/packages/packageCarecenter/pages/commonService/commonCenter.vue b/packages/packageCarecenter/pages/commonService/commonCenter.vue
index 4bbe28a..3b71b22 100644
--- a/packages/packageCarecenter/pages/commonService/commonCenter.vue
+++ b/packages/packageCarecenter/pages/commonService/commonCenter.vue
@@ -389,7 +389,12 @@
return function(dis) {
if (dis) {
if (dis.indexOf('km') !== -1) {
- return Number(dis.split('km')[0]).toFixed(1) + 'km'
+ let dism = dis.split('km')[0]*1000
+ if(dism<1000){
+ return Number(dism).toFixed(1) + 'm'
+ }else{
+ return Number(dis.split('km')[0]).toFixed(1) + 'km'
+ }
}
if (dis.indexOf('m') !== -1) {
return Number(dis.split('m')[0]).toFixed(1) + 'm'
diff --git a/pages.json b/pages.json
index 198f044..6ab3cfd 100644
--- a/pages.json
+++ b/pages.json
@@ -13,11 +13,11 @@
},
{
"path": "pages/active/active",
- "style": {
- "navigationBarTitleText": "孕育邦",
- "navigationBarBackgroundColor": "#FF578A",
- "navigationBarTextStyle": "white"
-
+ "style": {
+ "navigationBarTitleText": "活动列表",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "navigationBarTextStyle": "black",
+ "navigationStyle": "custom"
}
},
{
diff --git a/pages/active/active copy.vue b/pages/active/active copy.vue
new file mode 100644
index 0000000..1061ad6
--- /dev/null
+++ b/pages/active/active copy.vue
@@ -0,0 +1,475 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 为您精选
+
+
+
+
+ {{item.end_at}}
+
+ {{item.active_name}}
+ {{item.address}}
+
+ {{ Number(item.money) > 0 ? `¥${item.money}` : '免费' }}
+ {{`${item.total+item.start_member_sum}人参与`}}
+
+
+
+
+
+
+ 综合排序
+ 距离最近
+ 优质商户
+ 筛选
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/active/active.vue b/pages/active/active.vue
index 1061ad6..8512752 100644
--- a/pages/active/active.vue
+++ b/pages/active/active.vue
@@ -1,475 +1,527 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 为您精选
-
-
-
-
- {{item.end_at}}
-
- {{item.active_name}}
- {{item.address}}
-
- {{ Number(item.money) > 0 ? `¥${item.money}` : '免费' }}
- {{`${item.total+item.start_member_sum}人参与`}}
+
+
+
+
+
+
+
+
+
+
-
-
-
- 综合排序
- 距离最近
- 优质商户
- 筛选
+
+
-
-
-
-
+
+
-
+
+ .discuss {
+ display: flex;
+ justify-content: flex-start;
+ margin: 25rpx 0;
+ position: relative;
+ align-items: center;
+ align-content: center;
+
+ .dis_l {
+ font-size: 28rpx;
+ color: #333;
+ font-weight: 500;
+ padding-top: 5rpx;
+ margin-right: 32rpx;
+ }
+
+ .starBox {
+ display: flex;
+ justify-content: flex-start;
+
+ image {
+ display: block;
+ width: 26rpx;
+ height: 26rpx;
+ margin-right: 8rpx;
+ }
+ }
+ }
+
diff --git a/pages/active/detail.vue b/pages/active/detail.vue
index e0df07e..8ee7365 100644
--- a/pages/active/detail.vue
+++ b/pages/active/detail.vue
@@ -106,7 +106,7 @@
- 参与人数:
+ 活动人数: