diff --git a/src/assets/img/home/swiper03.png b/src/assets/img/home/swiper03.png new file mode 100644 index 0000000..ab3b612 Binary files /dev/null and b/src/assets/img/home/swiper03.png differ diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 77e8adc..7116a88 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -11,6 +11,7 @@ import userClass from '../../hooks/userClass' import imgSrc from '../../assets/img/home/nw.png' import swiper_1 from '../../assets/img/home/swiper01.png' import swiper_2 from '../../assets/img/home/swiper02.png' +import swiper_3 from '../../assets/img/home/swiper03.png' import swiper_4 from '../../assets/img/home/swiper04.png' import swiper_5 from '../../assets/img/home/swiper05.png' @@ -26,14 +27,15 @@ const classList: any = ref([]) const selectOptions = ref(false) // 分类 const selectOptionsValue = ref('分类筛选') -const loopList = ref([swiper_2, swiper_4]) +const loopList = ref([swiper_2, swiper_4, swiper_3]) -if (userStore.companyList.length === 0) { - getCompanyList() - companyList.value = userStore.companyList -} else { - companyList.value = userStore.companyList -} +getCompanyList() +// if (userStore.companyList.length === 0) { +// getCompanyList() +// companyList.value = userStore.companyList +// } else { +// companyList.value = userStore.companyList +// } if (userStore.goodsClassList.length === 0) { getGoodsClassList().then(() => { classList.value = userStore.goodsClassList @@ -264,6 +266,11 @@ const onSelectItem = (type: number) => { style="width: 100%; height: 100%" :src="item" fit="cover" + @click=" + () => { + router.push({ name: 'equipList' }) + } + " /> diff --git a/src/views/parity/index.vue b/src/views/parity/index.vue index 05254f7..07e25b5 100644 --- a/src/views/parity/index.vue +++ b/src/views/parity/index.vue @@ -183,6 +183,7 @@ -->
-
+
{ label="详情页展示图:" prop="detailsFileList" > -
+
{