Commit 7626514e authored by 张娇(东信)'s avatar 张娇(东信)

Merge remote-tracking branch 'origin/master'

parents 58c42087 7832a1d9
...@@ -159,6 +159,7 @@ const topFoodDetails = (id) => { ...@@ -159,6 +159,7 @@ const topFoodDetails = (id) => {
margin-top: 10rpx; margin-top: 10rpx;
display: flex; display: flex;
align-items: center; align-items: center;
flex-wrap: wrap;
view { view {
margin-right: 8rpx; margin-right: 8rpx;
display: inline-block; display: inline-block;
...@@ -168,6 +169,8 @@ const topFoodDetails = (id) => { ...@@ -168,6 +169,8 @@ const topFoodDetails = (id) => {
font-size: 18rpx; font-size: 18rpx;
color: #767676; color: #767676;
background: linear-gradient(90deg, #fcdbdb 0%, rgba(255, 255, 255, 0) 98%); background: linear-gradient(90deg, #fcdbdb 0%, rgba(255, 255, 255, 0) 98%);
margin-bottom: 5rpx;
flex-shrink: 0;
} }
} }
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:title="title" :title="title"
:showTitle="true" :showTitle="true"
></search> ></search>
<view class="head"> <!-- <view class="head"> -->
<view class="top" :style="{ backgroundImage: topBg }"></view> <view class="top" :style="{ backgroundImage: topBg }"></view>
<view class="bootom" :style="{ top }"> <view class="bootom" :style="{ top }">
<view class="bootom-top"> <view class="bootom-top">
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<!-- 排序筛选 --> <!-- 排序筛选 -->
<Sort v-show="rotate3" @sortParams="sortParams" /> <Sort v-show="rotate3" @sortParams="sortParams" />
</view> </view>
</view> <!-- </view> -->
<FoodDetails :cardData="cardData" /> <FoodDetails :cardData="cardData" />
<wd-status-tip image="content" tip="暂无内容" v-if="cardData.length === 0" /> <wd-status-tip image="content" tip="暂无内容" v-if="cardData.length === 0" />
<view <view
...@@ -282,11 +282,11 @@ onPullDownRefresh(() => { ...@@ -282,11 +282,11 @@ onPullDownRefresh(() => {
page { page {
background: #f3f3f3; background: #f3f3f3;
} }
.head { // .head {
width: 100%; // width: 100%;
margin-bottom: 10rpx; // margin-bottom: 10rpx;
// height: 480rpx; // height: 480rpx;
.top { .top {
height: 356rpx; height: 356rpx;
// background: url('../../static/index/taste.png'); // background: url('../../static/index/taste.png');
background-size: 100% 100%; background-size: 100% 100%;
...@@ -296,8 +296,8 @@ page { ...@@ -296,8 +296,8 @@ page {
margin-left: 40rpx; margin-left: 40rpx;
color: white; color: white;
} }
} }
.bootom { .bootom {
// height: 124rpx; // height: 124rpx;
height: 80rpx; height: 80rpx;
display: flex; display: flex;
...@@ -306,6 +306,9 @@ page { ...@@ -306,6 +306,9 @@ page {
border-radius: 6rpx; border-radius: 6rpx;
background: #ffffff; background: #ffffff;
position: sticky; position: sticky;
margin-bottom: 10rpx;
z-index: 9999;
// top: 100px;
.bootom-top { .bootom-top {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -351,6 +354,6 @@ page { ...@@ -351,6 +354,6 @@ page {
background: #ffdcbb; background: #ffdcbb;
} }
} }
}
} }
// }
</style> </style>
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