diff --git a/fuintUniapp/config.js b/fuintUniapp/config.js index 31b0454..60a029e 100644 --- a/fuintUniapp/config.js +++ b/fuintUniapp/config.js @@ -1,8 +1,9 @@ module.exports = { - // 系统名称 - name: "会员系统", - // 必填: 后端api地址, 斜杠/结尾 - apiUrl: "http://127.0.0.1:8080/", - // 必填: 默认商户号,从后台商户列表获取 - merchantNo: "10001" + // 系统名称 + name: '会员系统', + // 必填: 后端api地址, 斜杠/结尾 + // apiUrl: 'http://192.168.1.103:8999/', + apiUrl: 'http://192.168.10.31:8999/',//服务器 + // 必填: 默认商户号,从后台商户列表获取 + merchantNo: '10001', } diff --git a/fuintUniapp/jsconfig.json b/fuintUniapp/jsconfig.json new file mode 100644 index 0000000..b1968ee --- /dev/null +++ b/fuintUniapp/jsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "jsx": "preserve", + "baseUrl": ".", + "paths": { + "@/*": ["./*"] + } + } +} diff --git a/fuintUniapp/pages/goods/detail.scss b/fuintUniapp/pages/goods/detail.scss index 947491b..afcb993 100644 --- a/fuintUniapp/pages/goods/detail.scss +++ b/fuintUniapp/pages/goods/detail.scss @@ -156,7 +156,8 @@ } &--home { - margin-right: 30rpx; + margin-right: 15rpx; + text-align: center; } &--cart { diff --git a/fuintUniapp/pages/goods/detail.vue b/fuintUniapp/pages/goods/detail.vue index 0b7bdc1..c01abe4 100644 --- a/fuintUniapp/pages/goods/detail.vue +++ b/fuintUniapp/pages/goods/detail.vue @@ -56,7 +56,7 @@ - + @@ -85,9 +85,35 @@ 首页 + + + + + + + + 客服 + + + + + + {{ storeList.name }} + 营业时间:{{ storeList.hours }} + {{ storeList.address }} + + 联系电话:{{ storeList.phone }} + + + {{ parseFloat(storeList.distance).toFixed(1) }}公里 + + + + - {{ cartTotal > 99 ? '99+' : cartTotal }} + {{ cartTotal > 99 ? '99+' : cartTotal }} + @@ -117,161 +143,229 @@ diff --git a/fuintUniapp/pages/index/index.vue b/fuintUniapp/pages/index/index.vue index 68bc1b8..cf3615a 100644 --- a/fuintUniapp/pages/index/index.vue +++ b/fuintUniapp/pages/index/index.vue @@ -13,9 +13,17 @@ + + - + 咨讯 + + + + diff --git a/fuintUniapp/pages/location/index.vue b/fuintUniapp/pages/location/index.vue index 22123dd..4ea765c 100644 --- a/fuintUniapp/pages/location/index.vue +++ b/fuintUniapp/pages/location/index.vue @@ -196,7 +196,7 @@ } .loc-info { color: #666666; - dispaly:flex; + // dispaly:flex; line-height: 240rpx; float: left; overflow: hidden;