|
@@ -6,7 +6,7 @@
|
|
import Card from '@/components/card.vue'
|
|
import Card from '@/components/card.vue'
|
|
import SectionHeading from '@/components/section-heading.vue'
|
|
import SectionHeading from '@/components/section-heading.vue'
|
|
import { abc, calculator } from '../../core/libs/pngs'
|
|
import { abc, calculator } from '../../core/libs/pngs'
|
|
-import { getAppMaterials, getByDictType, getMaterials } from '../../core/libs/requests'
|
|
|
|
|
|
+import { getAppMaterials, getByDictType } from '../../core/libs/requests'
|
|
import { materialDealers, close, phone } from '../../core/libs/svgs'
|
|
import { materialDealers, close, phone } from '../../core/libs/svgs'
|
|
import { DictType, MaterialDealer, MaterialsList } from '../../core/models/moment'
|
|
import { DictType, MaterialDealer, MaterialsList } from '../../core/models/moment'
|
|
import router from '@designer-hub/assets/src/assets/svgs/router'
|
|
import router from '@designer-hub/assets/src/assets/svgs/router'
|
|
@@ -74,7 +74,11 @@ onMounted(async () => {
|
|
<template>
|
|
<template>
|
|
<view class="">
|
|
<view class="">
|
|
<view class="bg-black w-full pos-relative aspect-[1.26/1]">
|
|
<view class="bg-black w-full pos-relative aspect-[1.26/1]">
|
|
- <wd-img custom-class="w-[375px] h-[297px]" src="https://via.placeholder.com/375x297" />
|
|
|
|
|
|
+ <wd-img
|
|
|
|
+ width="100%"
|
|
|
|
+ height="100%"
|
|
|
|
+ src="https://image.zhuchaohui.com/zhucaohui/f866f4f72392e8f4627d8f5d6628739ad7f0907d3703139e7cdbcb999b803dfe.jpg"
|
|
|
|
+ />
|
|
<!-- <div
|
|
<!-- <div
|
|
class="w-[375px] h-[90px] bg-gradient-to-t from-black to-black/0 absolute left-0 bottom-0 w-full flex items-center"
|
|
class="w-[375px] h-[90px] bg-gradient-to-t from-black to-black/0 absolute left-0 bottom-0 w-full flex items-center"
|
|
>
|
|
>
|
|
@@ -86,10 +90,10 @@ onMounted(async () => {
|
|
</div> -->
|
|
</div> -->
|
|
</view>
|
|
</view>
|
|
<view class="bg-[#f6f6f6] relative bottom-4 rounded-t-2xl py-1">
|
|
<view class="bg-[#f6f6f6] relative bottom-4 rounded-t-2xl py-1">
|
|
- <div class="my-6 grid grid-cols-2 grid-gap-2.5 mx-3.5">
|
|
|
|
|
|
+ <div class="my-6 grid grid-cols-2 grid-gap-3.5 mx-3.5">
|
|
<template v-for="it of pieces" :key="it.title">
|
|
<template v-for="it of pieces" :key="it.title">
|
|
<div :class="it.gridItemClass" @click="handleMenuItemClick(it)">
|
|
<div :class="it.gridItemClass" @click="handleMenuItemClick(it)">
|
|
- <card custom-class="flex justify-between items-center">
|
|
|
|
|
|
+ <card custom-class="flex justify-between items-center gap-2">
|
|
<view class="flex items-end justify-end">
|
|
<view class="flex items-end justify-end">
|
|
<wd-img :src="it.icon" :width="42" :height="42"></wd-img>
|
|
<wd-img :src="it.icon" :width="42" :height="42"></wd-img>
|
|
</view>
|
|
</view>
|
|
@@ -128,7 +132,7 @@ onMounted(async () => {
|
|
<wd-img
|
|
<wd-img
|
|
width="78"
|
|
width="78"
|
|
height="78"
|
|
height="78"
|
|
- custom-class="border border-[#f2f2f2] rounded-full overflow-hidden"
|
|
|
|
|
|
+ custom-class="border border-[#f2f2f2] border-solid rounded-full overflow-hidden"
|
|
:src="it.logoUrl"
|
|
:src="it.logoUrl"
|
|
></wd-img>
|
|
></wd-img>
|
|
<div
|
|
<div
|