Commit cd08c4a4 authored by 彭佳妮(贵阳日报)'s avatar 彭佳妮(贵阳日报)
parents 2d203b31 fb6c8846
...@@ -304,7 +304,7 @@ ...@@ -304,7 +304,7 @@
/> />
<br /> <br />
</template> </template>
<span v-html="v.activityDescribes"></span> <span class="desc" v-html="v.activityDescribes"></span>
</div> </div>
<p> <p>
<img class="icon" src="/static/assistingAgriculture/routeDetails/clock.png" /> <img class="icon" src="/static/assistingAgriculture/routeDetails/clock.png" />
...@@ -1059,6 +1059,21 @@ uni-page-body { ...@@ -1059,6 +1059,21 @@ uni-page-body {
font-weight: normal; font-weight: normal;
line-height: normal; line-height: normal;
color: #3d3d3d; color: #3d3d3d;
.desc {
img {
max-width: 100%;
object-fit: cover;
height: auto;
margin-top: 20rpx;
}
p {
font-size: 24rpx;
}
li {
font-size: 24rpx;
margin-top: 8rpx;
}
}
} }
.icon { .icon {
height: 32rpx; height: 32rpx;
......
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
style="width: 32rpx; height: 32rpx" style="width: 32rpx; height: 32rpx"
/> />
<video <video
v-if="videoList.length !== 0"
:class="{ 'no-progress-bar': !isFullScreen }" :class="{ 'no-progress-bar': !isFullScreen }"
:show-fullscreen-btn="true" :show-fullscreen-btn="true"
:show-play-btn="true" :show-play-btn="true"
...@@ -66,11 +67,12 @@ ...@@ -66,11 +67,12 @@
@play="play" @play="play"
@fullscreenchange="handleFullscreenChange" @fullscreenchange="handleFullscreenChange"
></video> ></video>
<!-- <img--> <img
<!-- class="spe-img"--> v-else
<!-- src="/static/assistingAgriculture/rural/img5.png"--> class="spe-img"
<!-- style="width: 306rpx; height: 204rpx"--> src="/static/assistingAgriculture/rural/img5.png"
<!-- />--> style="width: 306rpx; height: 204rpx"
/>
</view> </view>
</view> </view>
<view class="hot-way"> <view class="hot-way">
......
...@@ -497,8 +497,19 @@ page { ...@@ -497,8 +497,19 @@ page {
padding: 20rpx; padding: 20rpx;
.desc { .desc {
padding-bottom: 20rpx; padding-bottom: 20rpx;
img { img {
width: 100%; max-width: 100%;
object-fit: cover;
height: auto;
margin-top: 20rpx;
}
p {
font-size: 24rpx;
}
li {
font-size: 24rpx;
margin-top: 8rpx;
} }
} }
} }
......
...@@ -290,6 +290,9 @@ function toCart() { ...@@ -290,6 +290,9 @@ function toCart() {
page { page {
background: #f3f3f3; background: #f3f3f3;
} }
.container {
padding-bottom: 20rpx;
}
.top { .top {
width: 750rpx; width: 750rpx;
height: 128rpx; height: 128rpx;
...@@ -386,15 +389,14 @@ page { ...@@ -386,15 +389,14 @@ page {
} }
} }
.tabs-list { .tabs-list {
margin-left: 10px; margin-left: 20rpx;
width: 712rpx; width: 712rpx;
height: 1172rpx; border-radius: 16rpx;
border-radius: 8px;
background: #ffffff; background: #ffffff;
} }
.fruit-img { .fruit-img {
margin-left: 10px; margin-left: 20rpx;
margin-top: 10px; margin-top: 20rpx;
} }
.son-img { .son-img {
display: flex; display: flex;
...@@ -526,4 +528,7 @@ page { ...@@ -526,4 +528,7 @@ page {
font-size: 24rpx; font-size: 24rpx;
} }
} }
.whh {
padding-bottom: 10rpx;
}
</style> </style>
...@@ -112,7 +112,7 @@ onMounted(async () => { ...@@ -112,7 +112,7 @@ onMounted(async () => {
const getList = () => { const getList = () => {
getSortList().then((res) => { getSortList().then((res) => {
res.data.forEach((item) => { res.data.forEach((item) => {
item.icon = import.meta.env.VITE_APP_IMG_URL + item.pic; item.icon = import.meta.env.VITE_APP_IMG_URL + item.icon;
}); });
sortList.value = res.data; sortList.value = res.data;
}); });
...@@ -334,12 +334,15 @@ page { ...@@ -334,12 +334,15 @@ page {
} }
.env { .env {
width: 750rpx; width: 750rpx;
height: 48rpx; //height: 48rpx;
background: linear-gradient(94deg, #82ce8b 0%, rgba(255, 255, 255, 0) 97%); background: rgba(255, 255, 255, 0.005);
backdrop-filter: blur(20rpx);
position: absolute; position: absolute;
margin-top: -60rpx; margin-top: -60rpx;
z-index: 999; z-index: 999;
.env-info { .env-info {
height: 48rpx;
line-height: 48rpx;
font-size: 28rpx; font-size: 28rpx;
color: #ffffff; color: #ffffff;
margin-left: 20rpx; margin-left: 20rpx;
......
...@@ -64,10 +64,13 @@ ...@@ -64,10 +64,13 @@
:src="item.img" :src="item.img"
style="width: 670rpx; height: 670rpx; border-radius: 16rpx" style="width: 670rpx; height: 670rpx; border-radius: 16rpx"
/> />
<view> <view class="bac">
<text class="retail-price">零售价:¥{{ item.price }}/盒</text> <text class="retail-price">零售价:¥{{ item.price }}/盒</text>
<text class="presale-price">预售价:¥{{ item.oriPrice }}/盒</text> <text class="presale-price">
</view> 预售价:¥
<text class="highlight-price">{{ item.oriPrice }}</text>
/盒
</text>
<view> <view>
<img <img
class="buy-img" class="buy-img"
...@@ -77,12 +80,12 @@ ...@@ -77,12 +80,12 @@
width: 284rpx; width: 284rpx;
height: 128rpx; height: 128rpx;
float: right; float: right;
margin-top: -80rpx; margin-top: -114rpx;
margin-right: 16rpx;
" "
/> />
</view> </view>
</view> </view>
</view>
<wd-status-tip image="content" tip="暂无数据" v-if="buyList.length === 0" /> <wd-status-tip image="content" tip="暂无数据" v-if="buyList.length === 0" />
</view> </view>
<view class="waterfall"> <view class="waterfall">
...@@ -393,6 +396,7 @@ page { ...@@ -393,6 +396,7 @@ page {
font-variation-settings: 'opsz' auto; font-variation-settings: 'opsz' auto;
font-feature-settings: 'kern' on; font-feature-settings: 'kern' on;
color: #b3b3b3; color: #b3b3b3;
padding-top: 60rpx;
} }
.presale-price { .presale-price {
display: block; display: block;
...@@ -531,4 +535,17 @@ page { ...@@ -531,4 +535,17 @@ page {
color: #ffffff; color: #ffffff;
} }
} }
.bac {
width: 670rpx;
height: 160rpx;
border-radius: 16rpx;
background: rgba(0, 0, 0, 0.4);
position: relative;
margin-left: 20rpx;
top: -44rpx;
}
.highlight-price {
color: red;
font-size: 44rpx;
}
</style> </style>
...@@ -998,10 +998,10 @@ page { ...@@ -998,10 +998,10 @@ page {
margin-top: 20rpx; margin-top: 20rpx;
} }
p { p {
font-size: 22rpx; font-size: 24rpx;
} }
li { li {
font-size: 22rpx; font-size: 24rpx;
margin-top: 8rpx; margin-top: 8rpx;
} }
.rich-more-btn { .rich-more-btn {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment