yijianjun 1 неделя назад
Родитель
Сommit
8271ef3ae8
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      mer_uniapp/pages/what_to_eat_today/index/index.vue

+ 5 - 5
mer_uniapp/pages/what_to_eat_today/index/index.vue

@@ -4,7 +4,7 @@
 			<nav-bar iconColor='#fff' backgroundColor="#FF6702" ref="navBarRef" navTitle="今日吃啥">
 			</nav-bar>
 		</view>
-		<view class="content" :style="{'background-image': `url(../static/img/背景.png)`}">
+		<view class="content" :style="{'background-image': `url(${urlDomain}crmebimage/public/product/2025/05/27/b093a9555dbf44d4a075f0dd3eebb2dcekjtc8f0qp.png)`}">
 			<view class="items">
 				<view class="item" v-for="(item,i) in items" :key="i" :class="item.checked ? 'active':'notActive'"
 					@click="handleCheck(i)">
@@ -14,16 +14,16 @@
 					</view>
 				</view>
 			</view>
-			<image class="start-btn" src="../static/img/开始按钮.png" mode="" @click="onStartBtnClick"></image>
+			<image class="start-btn" :src="`${urlDomain}crmebimage/public/product/2025/05/27/fe5f9a55c25d474c93a0f9c04fe324092cwk087wnu.png`" mode="" @click="onStartBtnClick"></image>
 		</view>
 		<!-- 评论 -->
 		<uni-popup type="center" animation ref="activate" :mask-click="false">
 			<view class="model-container">
-				<img @click="onClose" src="../static/img/关闭.png" alt="" style="height: 49rpx;width: 49rpx;"
+				<img @click="onClose" :src="`${urlDomain}crmebimage/public/product/2025/05/27/a884a9fa58b14f689a848787e1496abbl34fck2hsw.png`" alt="" style="height: 49rpx;width: 49rpx;"
 					class="m-close" />
 				<view class="goods-items">
 					<view class="g-item" v-for="ite in productList" :key="ite">
-						<img src="../static/img/甜点.png" alt="" style="height: 230rpx;width: 230rpx;" />
+						<img :src="ite.image" alt="" style="height: 230rpx;width: 230rpx;" />
 						<view class="g-title">
 							{{ite.name||'-'}}
 						</view>
@@ -52,6 +52,7 @@
 		},
 		data() {
 			return {
+					urlDomain: this.$Cache.get("imgHost"),
 				theme: app.globalData.theme,
 				navH: '',
 				statusBarHeight: app.globalData.statusBarHeight,
@@ -92,7 +93,6 @@
 			whattodayeatApi().then(res => {
 				this.items = res.data.map((ite,i) => ({
 					label:ite.tagName,
-					icon:ite.icon,
 					checked:i==0,
 					...ite
 				}))