From 2be2423c3e15a6b78eab6878c533e26accb6989f Mon Sep 17 00:00:00 2001 From: "lenovo008\\lenovo" Date: Fri, 26 Jul 2024 17:43:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BA=97=E9=93=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuintUniapp/config.js | 13 +- fuintUniapp/jsconfig.json | 9 + fuintUniapp/pages/goods/detail.scss | 3 +- fuintUniapp/pages/goods/detail.vue | 376 +++++++++++++++++---------- fuintUniapp/pages/index/index.vue | 10 +- fuintUniapp/pages/location/index.vue | 2 +- 6 files changed, 263 insertions(+), 150 deletions(-) create mode 100644 fuintUniapp/jsconfig.json 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;