From 4808846ce12663cfcb46d2ffe5a5561eefde61a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Sat, 23 Nov 2024 18:13:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A7=92=E6=9D=80=E7=9A=84?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 +-- components/diy/goods-list.vue | 4 +-- .../modules/data-magic/product-list-show.vue | 2 +- components/diy/seckill.vue | 29 +++++++++++-------- 4 files changed, 22 insertions(+), 17 deletions(-) diff --git a/App.vue b/App.vue index 7fef10f5..d5dea266 100644 --- a/App.vue +++ b/App.vue @@ -7,10 +7,10 @@ data: { // 基础配置 // 数据接口请求地址 - request_url:'http://shopxo.com/', + request_url:'http://new.shopxo.vip/', // 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/) - static_url:'http://shopxo.com/', + static_url:'http://new.shopxo.vip/', // 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立) system_type: 'default', diff --git a/components/diy/goods-list.vue b/components/diy/goods-list.vue index 88a08d36..38a0d592 100644 --- a/components/diy/goods-list.vue +++ b/components/diy/goods-list.vue @@ -359,8 +359,8 @@ score_style: this.trends_config(new_style, 'score'), button_style: this.trends_config(new_style, 'button', 'buy_button') + button_gradient, simple_desc: this.trends_config(new_style, 'simple_desc', 'desc'), - price_symbol: this.trends_config(new_style, 'price_symbol'), - price_unit: this.trends_config(new_style, 'price_unit'), + price_symbol: !isEmpty(new_style.shop_price_symbol_color) ? this.trends_config(new_style, 'price_symbol') : 'font-size: 18rpx;color: #EA3323;' , + price_unit: !isEmpty(new_style.shop_price_unit_color) ? this.trends_config(new_style, 'price_unit') : 'font-size: 18rpx;color: #EA3323;', original_price: this.trends_config(new_style, 'original_price'), shop_content_list: this.get_shop_content_list(new_list, new_form, new_style), slides_per_group: new_style.rolling_fashion == 'translation' ? new_form.carousel_col : 1, diff --git a/components/diy/modules/data-magic/product-list-show.vue b/components/diy/modules/data-magic/product-list-show.vue index 0e5fe89e..dc408b99 100644 --- a/components/diy/modules/data-magic/product-list-show.vue +++ b/components/diy/modules/data-magic/product-list-show.vue @@ -158,7 +158,7 @@ isEmpty, init() { if (!isEmpty(this.propGoodStyle)) { - const { goods_color_list = [], goods_direction = '180deg', goods_radius = old_radius, goods_background_img = [], goods_background_img_style = '2', goods_chunk_padding = old_padding, goods_price_color_list = [], goods_price_direction = '180deg', goods_price_radius = old_radius, goods_price_padding = old_padding, goods_price_margin = old_margin, goods_price_location = 'center'} = this.propGoodStyle; + const { goods_color_list = [], goods_direction = '180deg', goods_radius = this.old_radius, goods_background_img = [], goods_background_img_style = '2', goods_chunk_padding = this.old_padding, goods_price_color_list = [], goods_price_direction = '180deg', goods_price_radius = this.old_radius, goods_price_padding = this.old_padding, goods_price_margin = this.old_margin, goods_price_location = 'center'} = this.propGoodStyle; const style_data = { color_list: goods_color_list, direction: goods_direction, diff --git a/components/diy/seckill.vue b/components/diy/seckill.vue index 90bf9edb..4e784957 100644 --- a/components/diy/seckill.vue +++ b/components/diy/seckill.vue @@ -73,12 +73,12 @@ - 秒杀价 - {{ item.show_price_symbol }} + {{ form.seckill_pirce_title ? form.seckill_pirce_title : ''}} + {{ item.show_price_symbol }} {{ item.min_price }} - {{ item.show_price_unit }} + {{ item.show_price_unit }} - + {{ item.show_original_price_symbol }}{{ item.min_original_price }}