lxf 1 mesiac pred
rodič
commit
55ef5b557d

+ 1 - 5
pages/tabBar/discover/discover.vue

@@ -86,7 +86,7 @@
 			<view class="discover-list">
 				<view class="list-line">
 					<view class="list-item" v-for="(item, index) in discoverData" :key="index">
-						<image class="item-img" :src="item.img" mode=""></image>
+						<image class="item-img" :src="`${config.BASIC_IMG}home/fruit.png`" mode=""></image>
 						<view class="item-desc">
 							<view class="item-text">
 								{{item.name}}
@@ -126,28 +126,24 @@
 	const discoverData = ref([
 		{
 			name: "海南妃子笑荔枝新鲜采摘新鲜采摘",
-			img: "/static/home/fruit.png",
 			text: "",
 			price: '107',
 			sold: "1250"
 		},
 		{
 			name: "海南妃子笑荔枝新鲜采摘新鲜采摘",
-			img: "/static/home/fruit.png",
 			text: "",
 			price: '107',
 			sold: "1250"
 		},
 		{
 			name: "海南妃子笑荔枝新鲜采摘新鲜采摘",
-			img: "/static/home/fruit.png",
 			text: "",
 			price: '107',
 			sold: "1250"
 		},
 		{
 			name: "海南妃子笑荔枝新鲜采摘新鲜采摘",
-			img: "/static/home/fruit.png",
 			text: "",
 			price: '107',
 			sold: "1250"

+ 5 - 9
pages/tabBar/home/subPages/gardenItem.vue

@@ -9,7 +9,7 @@
 			<view class="tips" v-show="panelHeight!==50">
 				<view class="tips-content">
 					<view class="line-l"></view>
-					<image class="down-icon" src="/static/home/down-icon.png" mode=""></image>
+					<image class="down-icon" :src="`${config.BASIC_IMG}home/down-icon.png`" mode=""></image>
 					下拉查看溯源报告
 					<view class="line-r"></view>
 				</view>
@@ -54,7 +54,7 @@
 								<view class="line-r"></view>
 							</view>
 							<view class="detail-img">
-								<up-image class="img-dom" radius="8" width="100%" src="/static/home/fruit-3.png"  mode="widthFix"></up-image>
+								<up-image class="img-dom" radius="8" width="100%" :src="`${config.BASIC_IMG}home/fruit.png`"  mode="widthFix"></up-image>
 							</view>
 						</view>
 						<view class="detial-item">
@@ -66,7 +66,7 @@
 								<view class="line-r"></view>
 							</view>
 							<view class="detail-img">
-								<up-image class="img-dom" radius="8" width="100%" src="/static/home/fruit.png"  mode="widthFix"></up-image>
+								<up-image class="img-dom" radius="8" width="100%" :src="`${config.BASIC_IMG}home/fruit.png`"  mode="widthFix"></up-image>
 							</view>
 						</view>
 						<view class="detial-item">
@@ -78,7 +78,7 @@
 								<view class="line-r"></view>
 							</view>
 							<view class="detail-img">
-								<up-image class="img-dom" radius="8" width="100%" src="/static/home/fruit-2.png"  mode="widthFix"></up-image>
+								<up-image class="img-dom" radius="8" width="100%" :src="`${config.BASIC_IMG}home/fruit.png`"  mode="widthFix"></up-image>
 							</view>
 						</view>
 					</view>
@@ -102,7 +102,7 @@
 					<view class="discover-list">
 						<view class="list-line">
 							<view class="list-item" v-for="(item, index) in discoverData" :key="index">
-								<image class="item-img" :src="item.img" mode=""></image>
+								<image class="item-img" :src="`${config.BASIC_IMG}home/fruit.png`" mode=""></image>
 								<view class="item-desc">
 									<view class="item-text">
 										{{item.name}}
@@ -185,28 +185,24 @@
 	const discoverData = ref([
 		{
 			name: "海南妃子笑荔枝新鲜采摘新鲜采摘",
-			img: "/static/home/fruit.png",
 			text: "",
 			price: '107',
 			sold: "1250"
 		},
 		{
 			name: "海南妃子笑荔枝新鲜采摘新鲜采摘",
-			img: "/static/home/fruit.png",
 			text: "",
 			price: '107',
 			sold: "1250"
 		},
 		{
 			name: "海南妃子笑荔枝新鲜采摘新鲜采摘",
-			img: "/static/home/fruit.png",
 			text: "",
 			price: '107',
 			sold: "1250"
 		},
 		{
 			name: "海南妃子笑荔枝新鲜采摘新鲜采摘",
-			img: "/static/home/fruit.png",
 			text: "",
 			price: '107',
 			sold: "1250"

+ 7 - 6
pages/tabBar/home/subPages/sourceReport.vue

@@ -15,7 +15,7 @@
 				<!-- 位置 -->
 				<view class="position-wrap">
 					<view class="address">
-						<image class="location-img" src="/static/home/adress-icon.png" mode=""></image>
+						<image class="location-img" :src="`${config.BASIC_IMG}home/adress-icon.png`" mode=""></image>
 						<span>荔枝博览园(江埔街道江埔街环市东路1280号广州市从化区)</span>
 					</view>
 				</view>
@@ -44,13 +44,13 @@
 				</swiper-item>
 				<swiper-item>
 					<view class="item-content">
-						<up-image class="img-dom" width="100%"
+						<up-image class="img-dom" width="100%" height="100vh"
 							src="https://birdseye-img-ali-cdn.sysuimars.com//farmTeamImg/1749100102865.png"
-							mode="widthFix"></up-image>
+							mode="scaleToFill"></up-image>
 					</view>
 				</swiper-item>
 				<swiper-item>
-					<view class="item-content" v-if="activeIndex === 2">
+					<view class="item-content">
 						<banner-two-vue></banner-two-vue>
 					</view>
 				</swiper-item>
@@ -75,6 +75,7 @@
 </template>
 
 <script setup>
+	import config from "@/api/config.js"
 	import bannerTwoVue from '../components/bannerTwo.vue';
 	import bannerThreeVue from '../components/bannerThree.vue';
 	import bannerFourVue from '../components/bannerFour.vue';
@@ -98,11 +99,11 @@
 	function hanldeNext() {
 		activeIndex.value++
 	}
-	
+
 	function hanldePrev() {
 		activeIndex.value--
 	}
-	
+
 	function goBack() {
 		uni.navigateBack()
 	}

+ 1 - 1
pages/tabBar/mine/subPages/exchange.vue

@@ -8,7 +8,7 @@
 			<view class="list" v-show="active === 0">
 				<view class="item" v-for="(item,index) in 3" :key="index">
 					<view class="item-info">
-						<image class="img" src="/static/home/fruit.png"></image>
+						<image class="img" :src="`${config.BASIC_IMG}home/fruit.png`"></image>
 						<view class="cont">
 							<up-text bold text="牛乳蜂蜜饼干一份"></up-text>
 							<up-text size="12" color="#999999" text="有限期:2025.06.05至2025.06.23"></up-text>

BIN
static/home/adress-icon.png


BIN
static/home/arrow.png


BIN
static/home/box-icon.png


BIN
static/home/box-name.png


BIN
static/home/down-icon.png


BIN
static/home/fruit-1.png


BIN
static/home/fruit-2.png


BIN
static/home/fruit-3.png


BIN
static/home/fruit.png


BIN
static/home/garden.png


BIN
static/home/hot-1.png


BIN
static/home/hot-2.png


BIN
static/home/name-bg.png


BIN
static/home/pie.png


BIN
static/home/report-banner-2.png


BIN
static/home/report-banner-3.png


BIN
static/home/report-banner-4.png


BIN
static/home/report-banner-5.png


BIN
static/home/type-icon-2.png


BIN
static/home/type-icon-3.png


BIN
static/home/type-icon.png