<template> <<<<<<< HEAD <view class="flex-col page"> <view class="flex-col"> <view class="flex-row items-center section"> <text class="text">商品</text> <view class="flex-row section_2 ml-15"> <image class="image" src="https://ide.code.fun/api/image?token=670c83a81511d900114a6d7e&name=348b14e68c9ce02a3b9fe870f131c4c7.png" /> <input class="text-wrapper ml-2" placeholder="请输入想要搜索的商品" /> </view> </view> <view class="flex-col justify-start items-center image-wrapper mt-3"> <image class="shrink-0 image_2" src="https://ide.code.fun/api/image?token=670c83a81511d900114a6d7e&name=bf3dfe8c3d572943e00870d83c40b20c.png" /> ======= <view class="flex-row relative page"> <view class="flex-row items-center section pos_8"> <text class="text">商品</text> <view class="flex-row items-center section_2 ml-15"> <image class="image" src="https://ide.code.fun/api/image?token=671134c30a3d780012a6a0cb&name=9be8d37ecdad5a4ae97f3017b8b13575.png" /> <input class="text-wrapper ml-3" placeholder="请输入内容" /> >>>>>>> d61915696c41b2c7ea2ed249616fab862ccfe43a </view> </view> <<<<<<< HEAD <view class="flex-row relative group"> <view class="shrink-0 section_3"></view> <view class="flex-col shrink-0 group_1 pos_5"> <view class="flex-col items-center section_6 list-item_1 mt-4" v-for="(item, index) in sort" :key="index"> <image class="image_3" :src="item.imgurl" /> <text class="font_3 text_5 mt-3">{{ item.name }}</text> ======= <view class="flex-col justify-start items-center image-wrapper pos_1"> <image class="shrink-0 image_2" src="" /> </view> <view class="flex-col justify-start section_3 pos_9"> <view class="flex-col group"> <view class="flex-col items-center list-item mt-5" v-for="(item, index) in sort" :key="index"> <image class="image_3" :src="item.imgurl" /> <text class="font_4 mt-3">{{ item.name }}</text> >>>>>>> d61915696c41b2c7ea2ed249616fab862ccfe43a </view> </view> <<<<<<< HEAD <view class="flex-col justify-start flex-1 relative section_4"> <view class="flex-col items-start section_5"> <text class="font_2 text_3">材料包</text> <text class="font text_4 mt-6">提供材料自行DIY</text> </view> <view class="flex-col shrink-0 pos"> <!-- <scroll-view style="height: 1000rpx;" scroll-y="true"> --> <view class="flex-row list-item mt-5" v-for="(item, index) in product_list" :key="index"> <navigator url="../../booking/ContactInformation"> <image class="self-center image_4" :src="item.imgurl" /> <view class="flex-col items-start self-center group_5"> <text class="font_2">{{ item.product_name }}</text> <text class="font mt-13">{{ item.detail }}</text> <text class="font_4 text_7 mt-13">¥{{ item.value }}</text> </view> <image class="self-start image_5" src="https://ide.code.fun/api/image?token=670c83a81511d900114a6d7e&name=806f54ff88b61d172a611e704c80a85c.png" /> </navigator> </view> <!-- </scroll-view> --> </view> ======= </view> <view class="flex-col justify-start section_4 pos_4"> <view class="flex-col items-start section_5"> <text class="font_2">材料包</text> <text class="font_3 text_3 mt-6">提供材料自行DIY</text> >>>>>>> d61915696c41b2c7ea2ed249616fab862ccfe43a </view> </view> <view class="flex-col pos_5"> <scroll-view scroll-y class="scrollable-content"> <view class="flex-row section_9 list-item_2 mt-5" v-for="(item, index) in product_list" :key="index" @click="tap"> <image class="self-center image_4" :src="item.imgurl" /> <view class="flex-col items-start self-center group_3"> <text class="font_2 text_5">{{ item.product_name }}</text> <text class="font_3 mt-13">{{ item.detail }}</text> <text class="font mt-13">¥{{ item.value }}</text> </view> <<<<<<< HEAD <!-- </scroll-view> --> </view> </view> <!-- <view class="flex-col shrink-0 pos"> <scroll-view style="height: 1000rpx;" scroll-y="true"> <view class="flex-row list-item mt-5" v-for="(item, index) in product_list" :key="index"> <image class="self-center image_4" :src="item.imgurl" /> <view class="flex-col items-start self-center group_5"> <text class="font_2">{{ item.product_name }}</text> <text class="font mt-13">{{ item.detail }}</text> <text class="font_4 text_7 mt-13">¥{{ item.value }}</text> </view> <image class="self-start image_5" src="https://ide.code.fun/api/image?token=670c83a81511d900114a6d7e&name=806f54ff88b61d172a611e704c80a85c.png" /> </view> </scroll-view> </view> --> <!-- </view> --> <!-- </view> --> ======= <image class="self-start image_5" :src="add_img" /> </view> </scroll-view> </view> </view> >>>>>>> d61915696c41b2c7ea2ed249616fab862ccfe43a </template> <script setup> import { ref } from 'vue'; <<<<<<< HEAD ======= >>>>>>> d61915696c41b2c7ea2ed249616fab862ccfe43a import img1 from '@/pages/store-home/main/img/cailiaobao.png'; import img2 from '@/pages/store-home/main/img/shouchiwu.png'; import img3 from '@/pages/store-home/main/img/toushi.png'; import img4 from '@/pages/store-home/main/img/dingzhi.png'; import img5 from '@/pages/store-home/main/img/jifenduihuan.png'; import product_img from '@/pages/store-home/main/img/shangpingtupian.png'; import add_img from '@/pages/store-home/main/img/tianjia.png'; const sort = ref([{ name: "材料包", imgurl: img1 }, { name: "手持物", imgurl: img2 }, { name: "头饰", imgurl: img3 }, { name: "定制", imgurl: img4 }, { name: "积分商城", imgurl: img5 } ]) const product_list = ref([{ product_name: "琉璃发簪体验包", detail: "非遗材料包,匠心独运", value: "750", imgurl: product_img }, { product_name: "琉璃发簪体验包", detail: "非遗材料包,匠心独运", value: "750", imgurl: product_img }, { product_name: "琉璃发簪体验包", detail: "非遗材料包,匠心独运", value: "750", imgurl: product_img }, { product_name: "琉璃发簪体验包", detail: "非遗材料包,匠心独运", value: "750", imgurl: product_img }, { product_name: "琉璃发簪体验包", detail: "非遗材料包,匠心独运", value: "750", imgurl: product_img }, { product_name: "琉璃发簪体验包", detail: "非遗材料包,匠心独运", value: "750", imgurl: product_img }, { product_name: "琉璃发簪体验包", detail: "非遗材料包,匠心独运", value: "750", imgurl: product_img }, { product_name: "琉璃发簪体验包", detail: "非遗材料包,匠心独运", value: "750", imgurl: product_img } ]) const product_type = [{ type: "材料包", detail: "提供材料自行DIY" }] const tap =()=> { uni.navigateTo({ url: '../../../pages/order/product-close/product-close' }) } </script> <style lang="scss" scoped> .scrollable-content { height: 56vh; /* 100px 是头部和底部的高度之和 */ } .ml-15 { margin-left: 28.13rpx; } .ml-3 { margin-left: 5.63rpx; } .mt-3 { margin-top: 5.63rpx; } .mt-13 { margin-top: 24.38rpx; } .mt-5 { margin-top: 9.38rpx; } .page { background-color: #f5f5dc; // height: 1413.75rpx; width: 100%; overflow-y: auto; overflow-x: hidden; height: 100vh; overflow: hidden; } .section { padding: 22.5rpx 39.28rpx 16.88rpx; background-color: #f7de98; } .pos_8 { position: absolute; left: 0; right: 0; top: 0; } .text { color: #c1651a; font-size: 37.5rpx; font-family: STFangsong; line-height: 36.19rpx; } .section_2 { padding: 5.63rpx 15rpx 8.44rpx; background-color: #ffffff; border-radius: 28.13rpx; height: 63.75rpx; width: 500.69rpx; } .image { width: 50.63rpx; height: 50.63rpx; } .text-wrapper { margin-right: 17.42rpx; } .font { font-size: 26.25rpx; font-family: STFangsong; line-height: 18rpx; color: #ff0000; } .image-wrapper { background-color: #ffffff; border-radius: 28.13rpx; overflow: hidden; border: solid 9.38rpx #ffffff; } .pos_1 { position: absolute; left: 22.5rpx; right: 24.38rpx; top: 118.13rpx; } .image_2 { width: 91.25vw; height: 37.5vw; } <<<<<<< HEAD .group { position: relative; border: 3px solid brown; margin-top: 22.5rpx; // height: 1000rpx; } ======= >>>>>>> d61915696c41b2c7ea2ed249616fab862ccfe43a .section_3 { padding: 8.44rpx 5.63rpx 750rpx; background-color: #f7de98; width: 151.88rpx; } .pos_9 { position: absolute; left: 0; top: 440.63rpx; } .group { margin: auto; width: 137.81rpx; } .list-item { padding: 11.25rpx 0 9.94rpx; background-color: #fffef8; border-radius: 9.38rpx; } .list-item:first-child { margin-top: 0; } .image_3 { border-radius: 0rpx 9.38rpx 9.38rpx 0rpx; width: 48.75rpx; height: 48.75rpx; } .font_4 { font-size: 30rpx; font-family: STFangsong; line-height: 28.26rpx; color: #c1651a; } .section_4 { padding-bottom: 879.38rpx; background-color: #f8e8c1; border-radius: 0rpx 18.75rpx 0rpx 0rpx; width: 600.13rpx; } .pos_4 { position: absolute; right: 0; top: 440.63rpx; } .section_5 { padding: 18.06rpx 16.24rpx 14.94rpx; <<<<<<< HEAD background-color: #C1651A; ======= background-color: #fffef8; >>>>>>> d61915696c41b2c7ea2ed249616fab862ccfe43a border-radius: 0rpx 18.75rpx 0rpx 0rpx; width: 598.13rpx; } .font_2 { font-size: 30rpx; font-family: STFangsong; line-height: 28.26rpx; color: #000000; } .font_3 { font-size: 22.5rpx; font-family: STFangsong; line-height: 21.56rpx; color: #727272; } .text_3 { line-height: 21.15rpx; } .pos_5 { position: absolute; right: 15rpx; top: 543.75rpx; } .section_9 { padding: 20.63rpx 22.88rpx 22.5rpx; background-color: #fffef8; border-radius: 9.38rpx; right: 13.13rpx; } .list-item_2:first-child { margin-top: 0; } .image_4 { border-radius: 9.38rpx; width: 131.25rpx; height: 131.25rpx; } .group_3 { margin-left: 24.84rpx; } .text_5 { line-height: 28.65rpx; } .image_5 { margin: 75rpx 5.63rpx 0 107.96rpx; border-radius: 9.38rpx; width: 56.25rpx; height: 56.25rpx; } @import url(../../../common/css/global.css); </style>