新增图片地址
parent
fc767693f0
commit
58f713299e
Binary file not shown.
|
Before Width: | Height: | Size: 380 B |
|
|
@ -97,7 +97,7 @@ export const icon_com_data = {
|
|||
icon_weight: 'normal',
|
||||
icon_size: 12,
|
||||
icon_option: 'none',
|
||||
icon_location: 'left',
|
||||
icon_location: 'center',
|
||||
icon_padding: {
|
||||
padding: 0,
|
||||
padding_top: 0,
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@
|
|||
<span v-if="is_show('price_unit')" class="identifying">{{ item.show_price_unit }}</span>
|
||||
</div>
|
||||
<div v-if="show_content && is_show('original_price') && !isEmpty(item.min_original_price)" class="size-10 flex">
|
||||
<span class="original-price-left"></span
|
||||
><span :class="['original-price text-line-1', { 'flex-1': form.is_price_solo == '1' }]"
|
||||
<img class="original-price-left" :src="form.static_img[0].url" />
|
||||
<span :class="['original-price text-line-1', { 'flex-1': form.is_price_solo == '1' }]"
|
||||
>{{ item.show_original_price_symbol }}{{ item.min_original_price }}
|
||||
<template v-if="is_show('original_price_unit')">
|
||||
{{ item.show_original_price_unit }}
|
||||
|
|
@ -72,8 +72,8 @@
|
|||
<span v-if="is_show('price_unit')" class="identifying">{{ item.show_price_unit }}</span>
|
||||
</div>
|
||||
<div v-if="show_content && is_show('original_price') && !isEmpty(item.min_original_price)" class="size-10 flex">
|
||||
<span class="original-price-left"></span
|
||||
><span :class="['original-price text-line-1', { 'flex-1': form.is_price_solo == '1' }]"
|
||||
<img class="original-price-left" :src="form.static_img[0].url" />
|
||||
<span :class="['original-price text-line-1', { 'flex-1': form.is_price_solo == '1' }]"
|
||||
>{{ item.show_original_price_symbol }}{{ item.min_original_price }}
|
||||
<template v-if="is_show('original_price_unit')">
|
||||
{{ item.show_original_price_unit }}
|
||||
|
|
@ -121,8 +121,8 @@
|
|||
<span v-if="is_show('price_unit')" class="identifying">{{ item.show_price_unit }}</span>
|
||||
</div>
|
||||
<div v-if="show_content && is_show('original_price') && !isEmpty(item.min_original_price)" class="size-10 flex">
|
||||
<span class="original-price-left"></span
|
||||
><span :class="['original-price text-line-1', { 'flex-1': form.is_price_solo == '1' }]"
|
||||
<img class="original-price-left" :src="form.static_img[0].url" />
|
||||
<span :class="['original-price text-line-1', { 'flex-1': form.is_price_solo == '1' }]"
|
||||
>{{ item.show_original_price_symbol }}{{ item.min_original_price }}
|
||||
<template v-if="is_show('original_price_unit')">
|
||||
{{ item.show_original_price_unit }}
|
||||
|
|
@ -491,9 +491,6 @@ watchEffect(() => {
|
|||
}
|
||||
.original-price-left {
|
||||
width: 1rem;
|
||||
background-image: url('/src/assets/images/components/model-goods-list/price.png');
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.original-price {
|
||||
background-color: #ede2c5;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
import defaultCommon from './index';
|
||||
import { online_url } from '@/utils';
|
||||
const new_url = await online_url('/static/app/common/').then((res) => res);
|
||||
interface DefaultProductList {
|
||||
content: {
|
||||
theme: string;
|
||||
|
|
@ -15,6 +17,7 @@ interface DefaultProductList {
|
|||
order_by_type: string;
|
||||
order_by_rule: string;
|
||||
is_show: string[];
|
||||
static_img: uploadList[];
|
||||
is_shop_show: string;
|
||||
shop_type: string;
|
||||
shop_button_text: string;
|
||||
|
|
@ -68,6 +71,7 @@ const defaultProductList: DefaultProductList = {
|
|||
order_by_type: '0',
|
||||
order_by_rule: '0',
|
||||
is_show: ['title', 'plugins_view_icon', 'price', 'sales_count', 'original_price'],
|
||||
static_img: [{ id: 2, url: new_url + 'price.png', original: '角标', title: '角标', ext: '.png', type: 'img' }],
|
||||
is_shop_show: '1',
|
||||
shop_type: 'text',
|
||||
shop_button_text: '购买',
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
import defaultCommon from './index';
|
||||
import { online_url } from '@/utils';
|
||||
const new_url = await online_url('/static/app/common/').then((res) => res);
|
||||
interface articleTabsList {
|
||||
id: string;
|
||||
title: string;
|
||||
|
|
@ -22,6 +24,7 @@ interface DefaultProductList {
|
|||
carousel_col: number;
|
||||
tabs_list: articleTabsList[];
|
||||
tabs_active_index: number;
|
||||
static_img: uploadList[];
|
||||
is_show: string[];
|
||||
is_shop_show: string;
|
||||
is_price_solo: string;
|
||||
|
|
@ -83,6 +86,7 @@ const defaultProductList: DefaultProductList = {
|
|||
{ id: '4', title: '测试三', img: [], desc: '简介', data_type: '0', category_ids: [], brand_ids: [], data_ids: [], number: 4, order_by_type: '0', order_by_rule: '0', data_list: [], data_auto_list: [] },
|
||||
],
|
||||
tabs_active_index: 0,
|
||||
static_img: [{ id: 2, url: new_url + 'price.png', original: '角标', title: '角标', ext: '.png', type: 'img' }],
|
||||
is_show: ['title', 'plugins_view_icon', 'price', 'sales_count', 'original_price'],
|
||||
is_shop_show: '1',
|
||||
is_price_solo: '1',
|
||||
|
|
|
|||
Loading…
Reference in New Issue