From 4e25eaee3b486671178b39776009cff13d5ee589 Mon Sep 17 00:00:00 2001 From: "DESKTOP-A1SENDA\\HUzy" <472860318@qq.com> Date: Tue, 11 May 2021 10:40:29 +0800 Subject: [PATCH] =?UTF-8?q?--=E5=8D=96=E5=BA=9F=E7=BA=B8=E6=97=A0=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E6=98=BE=E7=A4=BA=E4=BB=B7=E6=A0=BC=E9=9D=A2=E8=AE=AE?= =?UTF-8?q?=EF=BC=8C=E8=BF=9B=E5=85=A5=E6=8F=90=E7=A4=BA=E7=94=B5=E8=AF=9D?= =?UTF-8?q?=E5=92=A8=E8=AF=A2=E3=80=82=E5=9B=BE=E7=89=87=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=B7=A6=E4=B8=8A=E4=B8=BA=E6=88=AA=E5=8F=96=E5=9F=BA=E7=82=B9?= =?UTF-8?q?--?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/article/newInfo/index.wxml | 2 +- pages/article/newInfo/index.wxss | 1 + pages/mall/detail/index.js | 14 ++- pages/mall/detail/index.wxml | 145 ++++++++++++++++++----------- pages/mall/product-item/index.wxml | 5 +- 5 files changed, 108 insertions(+), 59 deletions(-) diff --git a/pages/article/newInfo/index.wxml b/pages/article/newInfo/index.wxml index f9cc2b4..13187ab 100644 --- a/pages/article/newInfo/index.wxml +++ b/pages/article/newInfo/index.wxml @@ -146,7 +146,7 @@ - + diff --git a/pages/article/newInfo/index.wxss b/pages/article/newInfo/index.wxss index f0263ff..e4cd6d9 100644 --- a/pages/article/newInfo/index.wxss +++ b/pages/article/newInfo/index.wxss @@ -188,6 +188,7 @@ page { width: 240rpx; height: 180rpx; float: right; + overflow: hidden; } .tableStyle { diff --git a/pages/mall/detail/index.js b/pages/mall/detail/index.js index 7455f8f..93655e5 100644 --- a/pages/mall/detail/index.js +++ b/pages/mall/detail/index.js @@ -373,5 +373,17 @@ Page({ wx.hideLoading() util.showToast(err) }) - } + }, + phoneShopInfo: function () { + if (!app.globalData.userInfo) { + wx.navigateTo({ + url: '/pages/login/index' + }) + return + } + wx.makePhoneCall({ + phoneNumber: this.data.orderInfo.ownerPhone|| '0000' + }) + + }, }) \ No newline at end of file diff --git a/pages/mall/detail/index.wxml b/pages/mall/detail/index.wxml index 81d2eeb..a014aad 100644 --- a/pages/mall/detail/index.wxml +++ b/pages/mall/detail/index.wxml @@ -6,56 +6,71 @@ - - - - - - - - - - - + + + + + + + + + + + - 活动倒计时:{{expiredTime || ''}} - - 正在进行 + + 活动倒计时:{{expiredTime || ''}} + + 正在进行 {{current}}/{{imgList.length}} - + - - - ¥{{ formate.formatePrice(orderInfo.unitPrice, kg) }} - {{ kg? '元/KG' : '元/吨' }} - - {{orderInfo.secondCategoryName}} + + + + + ¥{{ formate.formatePrice(orderInfo.unitPrice, kg) }} + {{ kg? '元/KG' : '元/吨' }} + 价格面议 + + {{orderInfo.secondCategoryName}} - - - 发货地址 - {{orderInfo.locProvinceName}}{{orderInfo.locCityName}}{{orderInfo.locDistrictName}} + + 发货地址 + {{orderInfo.locProvinceName}}{{orderInfo.locCityName}}{{orderInfo.locDistrictName}} + - 平台保障 - 平台担保交易、维护买卖双方权益 + 平台保障 + 平台担保交易、维护买卖双方权益 - - + + 竞价记录 @@ -63,12 +78,15 @@ - + + - + - + {{item.mobile || ''}} @@ -77,26 +95,28 @@ ¥{{formate.formatePrice2(item.biddingUnitPrice, kg)}} - 当前我的报价:{{formate.formatePrice2(offered, kg)}} + 当前我的报价:{{formate.formatePrice2(offered, kg)}} - 库存 - {{formate.formateWeight(orderInfo.stock, kg)}} - - - 起订重量 - {{formate.formateWeight(orderInfo.lowestNum, kg)}} - - + 库存 + {{formate.formateWeight(orderInfo.stock, kg)}} + + + 起订重量 + {{formate.formateWeight(orderInfo.lowestNum, kg)}} + + 含杂比例 - {{orderInfo.dopantRateName}} - - + {{orderInfo.dopantRateName}} + + 湿水比例 - {{orderInfo.waterRateName}} - - + {{orderInfo.waterRateName}} + + 商品描述 @@ -106,7 +126,9 @@ - + 店铺 @@ -117,13 +139,26 @@ 立即购买 - {{offered?'修改':'立即'}}报价 - + {{offered?'修改':'立即'}}报价 + + + + + + + 店铺 + + + + + 电话咨询 - \ No newline at end of file diff --git a/pages/mall/product-item/index.wxml b/pages/mall/product-item/index.wxml index aaa4632..44967de 100644 --- a/pages/mall/product-item/index.wxml +++ b/pages/mall/product-item/index.wxml @@ -16,9 +16,10 @@ 起拍单价 - ¥{{formate.formatePrice(item.unitPrice, kg)}} - {{ kg? '元/KG' : '元/吨' }} + ¥{{formate.formatePrice(item.unitPrice, kg)}} + {{ kg? '元/KG' : '元/吨' }} + 价格面议 {{item.description || ''}}