Merge branch 'dev-sws' into dev-yxl
|
After Width: | Height: | Size: 964 B |
|
After Width: | Height: | Size: 633 B |
|
After Width: | Height: | Size: 877 B |
|
After Width: | Height: | Size: 468 B |
|
After Width: | Height: | Size: 734 B |
|
After Width: | Height: | Size: 604 B |
|
After Width: | Height: | Size: 767 B |
|
After Width: | Height: | Size: 593 B |
|
|
@ -48,7 +48,6 @@
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { FormInstance } from 'element-plus';
|
import type { FormInstance } from 'element-plus';
|
||||||
import { pageLinkList } from '@/store';
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
status: {
|
status: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ const three_item_text = ref('');
|
||||||
const goods_item_click = (item: pageLinkList, level: number, index: number) => {
|
const goods_item_click = (item: pageLinkList, level: number, index: number) => {
|
||||||
if (level === 1) {
|
if (level === 1) {
|
||||||
one_item_index.value = index + 1;
|
one_item_index.value = index + 1;
|
||||||
one_item_text.value = item.name;
|
one_item_text.value = item.name || '';
|
||||||
two_item_index.value = 0;
|
two_item_index.value = 0;
|
||||||
two_item_text.value = '';
|
two_item_text.value = '';
|
||||||
three_item_index.value = 0;
|
three_item_index.value = 0;
|
||||||
|
|
@ -146,13 +146,13 @@ const goods_item_click = (item: pageLinkList, level: number, index: number) => {
|
||||||
three_item_data.value = [];
|
three_item_data.value = [];
|
||||||
} else if (level === 2) {
|
} else if (level === 2) {
|
||||||
two_item_index.value = index + 1;
|
two_item_index.value = index + 1;
|
||||||
two_item_text.value = item.name;
|
two_item_text.value = item.name || '';
|
||||||
three_item_index.value = 0;
|
three_item_index.value = 0;
|
||||||
three_item_text.value = '';
|
three_item_text.value = '';
|
||||||
three_item_data.value = [];
|
three_item_data.value = [];
|
||||||
} else {
|
} else {
|
||||||
three_item_index.value = index + 1;
|
three_item_index.value = index + 1;
|
||||||
three_item_text.value = item.name;
|
three_item_text.value = item.name || '';
|
||||||
}
|
}
|
||||||
if (item.items && item.items.length > 0) {
|
if (item.items && item.items.length > 0) {
|
||||||
if (level === 1) {
|
if (level === 1) {
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import UrlValueAPI from '@/api/url-value';
|
import UrlValueAPI from '@/api/url-value';
|
||||||
import { pageLinkList } from '@/store';
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
type: {
|
type: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|
|
||||||
|
|
@ -16,16 +16,16 @@ const defaultFooterNav: DefaultFooterNav = {
|
||||||
nav_style: '0',
|
nav_style: '0',
|
||||||
nav_type: '0',
|
nav_type: '0',
|
||||||
nav_content: [
|
nav_content: [
|
||||||
{ id: '1', name: '首页', src: [{ id: 1, url: '/src/assets/images/layout/main/phone.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], src_checked: [{ id: 1, url: '/src/assets/images/layout/main/phone.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], href: {} },
|
{ id: '1', name: '首页', src: [{ id: 1, url: '/src/assets/images/layout/main/foot/home.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], src_checked: [{ id: 1, url: '/src/assets/images/layout/main/foot/home-checked.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], href: {} },
|
||||||
{ id: '2', name: '分类', src: [{ id: 1, url: '/src/assets/images/layout/main/phone.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], src_checked: [{ id: 1, url: '/src/assets/images/layout/main/phone.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], href: {} },
|
{ id: '2', name: '分类', src: [{ id: 1, url: '/src/assets/images/layout/main/foot/category.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], src_checked: [{ id: 1, url: '/src/assets/images/layout/main/foot/category-checked.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], href: {} },
|
||||||
{ id: '3', name: '购物车', src: [{ id: 1, url: '/src/assets/images/layout/main/phone.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], src_checked: [{ id: 1, url: '/src/assets/images/layout/main/phone.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], href: {} },
|
{ id: '3', name: '购物车', src: [{ id: 1, url: '/src/assets/images/layout/main/foot/cart.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], src_checked: [{ id: 1, url: '/src/assets/images/layout/main/foot/cart-checked.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], href: {} },
|
||||||
{ id: '4', name: '我的', src: [{ id: 1, url: '/src/assets/images/layout/main/phone.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], src_checked: [{ id: 1, url: '/src/assets/images/layout/main/phone.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], href: {} },
|
{ id: '4', name: '我的', src: [{ id: 1, url: '/src/assets/images/layout/main/foot/user.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], src_checked: [{ id: 1, url: '/src/assets/images/layout/main/foot/user-checked.png', original: '头像1', title: '头像1', ext: '.png', type: 'img' }], href: {} },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
style: {
|
style: {
|
||||||
text_color_checked: 'rgba(204, 204, 204, 1)',
|
text_color_checked: 'rgba(255, 0, 0, 1)',
|
||||||
default_text_color: 'rgba(0, 0, 0, 1)',
|
default_text_color: 'rgba(0, 0, 0, 1)',
|
||||||
common_style: { ...defaultCommon, color_list: [{ color: 'rgba(255,255,255,1)', color_percentage: '' }]},
|
common_style: { ...defaultCommon, color_list: [{ color: 'rgba(255,255,255,1)', color_percentage: '' }] },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||