diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index b413b8f..03ec227 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -3336,10 +3336,15 @@ Page({ context.lineTo(520 * unit, 710 * unit) context.stroke(); //---文字--- - context.setFontSize(22 * unit) context.setFillStyle("black") - context.fillText("优惠乐翻天,精彩就在你身边", 40 * unit, 776 * unit); - context.fillText("长按识别二维码,立即开始抢购", 40 * unit, 826 * unit); + context.setFontSize(22 * unit) + // 原来start ---> + context.fillText("优惠乐翻天,精彩就在你身边", 40 * unit, 776 * unit); + context.fillText("长按识别二维码,立即开始抢购", 40 * unit, 826 * unit); + // <--- 原来end + // context.fillText("优惠乐翻天,精彩就在你身边", 40 * unit, 816 * unit); + // context.setFontSize(18 * unit) + // context.fillText("长按识别二维码,立即开始抢购", 40 * unit, 850 * unit); //---二维吗图--- context.drawImage(vpath, 380 * unit, 736 * unit, 120 * unit, 120 * unit); break; @@ -3353,7 +3358,7 @@ Page({ //画秒杀的图片 var miaos_path = '../../../images/share/miao_share.png'; context.drawImage(miaos_path, 43 * unit, 700 * unit, 222 * unit, 40 * unit); - + //---文字--- context.setFontSize(22 * unit) context.setFillStyle("black") diff --git a/pages/goods/goodsList/goodsList.wxml b/pages/goods/goodsList/goodsList.wxml index 36b4f38..f2ba733 100644 --- a/pages/goods/goodsList/goodsList.wxml +++ b/pages/goods/goodsList/goodsList.wxml @@ -67,9 +67,9 @@ - + ¥{{item[card_field]}} - + {{card_name}} @@ -94,9 +94,9 @@ ¥{{item.market_price}} - + ¥{{g_filter.get_card_price(item,card_list,0)}} - + {{g_filter.get_card_price(item,card_list,1)}} diff --git a/pages/goods/goodsList/goodsList.wxss b/pages/goods/goodsList/goodsList.wxss index fa28dd1..61e005c 100644 --- a/pages/goods/goodsList/goodsList.wxss +++ b/pages/goods/goodsList/goodsList.wxss @@ -157,7 +157,7 @@ } .card_bg { - display: flex; + /* display: flex; max-width: 110rpx; height: 25rpx; align-items: center; @@ -170,7 +170,20 @@ margin-top: 7rpx; line-height: 25rpx; padding: 2rpx 10rpx; - width: auto; + width: auto; */ + + + box-sizing: border-box; + padding: 2rpx 10rpx; + height: 25rpx; + border-radius: 26rpx; + font-size: 19rpx; + line-height: 1em; + max-width: 220rpx; + background: #333; + color: #fff; + margin-left: 8rpx; + } .card_bg .card_name {