diff --git a/.local.config.js b/.local.config.js index cdc5e52..af9a195 100644 --- a/.local.config.js +++ b/.local.config.js @@ -41,7 +41,11 @@ const localDevConfig = ({ 'local-2': { // 测试平台 uniacid: 2, domain: 'http://localhost:8050/', - }, -})['1']; // 选择要使用的环境配置 + }, + '2847': { // 家居装饰品 + uniacid: 2847, + domain: 'https://xcx6.aigc-quickapp.com/', + }, +})['2847']; // 选择要使用的环境配置 export default localDevConfig; \ No newline at end of file diff --git a/pages_goods/list.vue b/pages_goods/list.vue index 76c8fe0..4226006 100644 --- a/pages_goods/list.vue +++ b/pages_goods/list.vue @@ -78,65 +78,18 @@ {{ langstatus ? $lang('Make') : '询底价' }} - - - - - - - - - - {{ $lang('common.currencySymbol') }} - {{ showMarketPrice(item) }} - - 已售{{ item.sale_num }}{{ item.unit + 已售{{ item.sale_num }}{{ item.unit ? item.unit : '件' }} - - + 购买 - - - - - - - - - {{ config.text }} - - - - - - - - @@ -171,63 +124,18 @@ {{ langstatus ? $lang('Make') : '询底价' }} - - - - - - - - {{ $lang('common.currencySymbol') }} - {{ showMarketPrice(item) }} - - 已售{{ item.sale_num }}{{ item.unit + 已售{{ item.sale_num }}{{ item.unit ? item.unit : '件' }} - - + 购买 - - - - - - - - - {{ config.text }} - - - - - - - - diff --git a/pages_goods/public/css/list.scss b/pages_goods/public/css/list.scss index 15aa9ca..ffb41c4 100644 --- a/pages_goods/public/css/list.scss +++ b/pages_goods/public/css/list.scss @@ -295,7 +295,8 @@ .lineheight-clear { display: flex; - justify-content: flex-end; + justify-content: space-between; + align-items: center; } // 商品列表单列样式 @@ -386,46 +387,30 @@ display: inline-block; font-weight: bold; line-height: 1; - margin-top: 16rpx; - - background-color: var(--main-color); - border-radius: 35rpx; - padding: 12rpx 24rpx; - box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1); + margin-top: 0; .unit { margin-right: 6rpx; - color: var(--price-color); + color: #ff4444; } .price { - color: var(--price-color); - color: #fff !important; - font-size: 27rpx !important; + color: #ff4444; + font-size: 32rpx !important; font-weight: bold !important; } } .pro-info { + margin-top: 10rpx; display: flex; - margin-top: auto; + justify-content: space-between; align-items: center; - position: relative; - .delete-price { - text-decoration: line-through; - font-size: $font-size-tag !important; - flex: 1; - - .unit { - margin-right: 0; - } - } .block-wrap { - flex: 1; line-height: 1; - margin-right: 20rpx; .sale { font-size: $font-size-tag !important; + color: #999; } } } @@ -543,6 +528,9 @@ .lineheight-clear { margin-top: 16rpx; + display: flex; + justify-content: space-between; + align-items: center; } .discount-price { @@ -552,24 +540,26 @@ .unit { margin-right: 6rpx; - color: var(--price-color); + color: #ff4444; } .price { - color: var(--price-color); + color: #ff4444; + font-size: 32rpx !important; + font-weight: bold !important; } } .pro-info { + margin-top: 10rpx; display: flex; - margin-top: auto; + justify-content: space-between; align-items: center; .block-wrap { - flex: 1; line-height: 1; - margin-right: 20rpx; .sale { font-size: $font-size-tag !important; + color: #999; } } } @@ -644,9 +634,9 @@ } .buy-btn { - background-color: $base-color; - color: var(--btn-text-color); - border-radius: 50rpx; + background-color: #ff4444; + color: #fff; + border-radius: 30rpx; font-size: $font-size-tag; padding: 12rpx 30rpx; line-height: 1; diff --git a/site.js b/site.js index f6e98ae..2bc229c 100644 --- a/site.js +++ b/site.js @@ -1,4 +1,4 @@ module.exports = { - baseUrl: "https://dev.aigc-quickapp.com/",//修改域名 - uniacid: 1,//后台对应uniacid + baseUrl: "https://xcx6.aigc-quickapp.com/",//修改域名 + uniacid: 2847,//后台对应uniacid }; \ No newline at end of file