Commit 0e39c6a7 authored by ly's avatar ly

解决首页图片不展示

parent c2805ef0
No preview for this file type
.a-page{ .a-page{
width: 100%; width: 100%;
height: calc(100vh-120px); height: calc(100vh-120px);
min-height: 3811rpx; // min-height: 3811rpx;
background: #F7FAFF; background: #F7FAFF;
padding-bottom:280rpx; padding-bottom:280rpx;
.a-main{ .a-main{
padding-top:29rpx; padding-top:29rpx;
.box-at-home{ .box-at-home{
height: 1100rpx; height: 1200rpx;
.main-item{ .main-item{
margin:0 30rpx 24rpx; margin:0 30rpx 24rpx;
width: 690rpx; width: 690rpx;
......
.i-page{ .i-page{
width: 100%; width: 100%;
height: 100vh; height: calc(100vh-120rpx);
min-height: 1624rpx; // min-height: 1624rpx;
background: #F7FAFF; background: #F7FAFF;
.i-header{ .i-header{
position: sticky; position: sticky;
...@@ -75,7 +75,6 @@ ...@@ -75,7 +75,6 @@
.hot-header-text{ .hot-header-text{
width: 160rpx; width: 160rpx;
display: flex; display: flex;
// flex:1;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
color: #999999; color: #999999;
text-align: center; text-align: center;
...@@ -102,7 +101,7 @@ ...@@ -102,7 +101,7 @@
margin-left: 10rpx; margin-left: 10rpx;
width: 20rpx; width: 20rpx;
height: 20rpx; height: 20rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active-show.png') 0 0 no-repeat; background: url('../../static/img/hot-active-show.png') 0 0 no-repeat;
background-size: 100%; background-size: 100%;
} }
.hot-icon-show-down{ .hot-icon-show-down{
...@@ -110,7 +109,7 @@ ...@@ -110,7 +109,7 @@
margin-left: 10rpx; margin-left: 10rpx;
width: 20rpx; width: 20rpx;
height: 20rpx; height: 20rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active-show-down.png') 0 0 no-repeat; background: url('../../static/img/hot-active-show-down.png') 0 0 no-repeat;
background-size: 100%; background-size: 100%;
} }
} }
...@@ -119,7 +118,7 @@ ...@@ -119,7 +118,7 @@
margin-left: 10rpx; margin-left: 10rpx;
width: 20rpx; width: 20rpx;
height: 20rpx; height: 20rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active.png') 0 0 no-repeat; background: url('../../static/img/hot-active.png') 0 0 no-repeat;
background-size: 100%; background-size: 100%;
} }
.hot-show{ .hot-show{
...@@ -235,7 +234,8 @@ ...@@ -235,7 +234,8 @@
} }
} }
.box-at-home{ .box-at-home{
// height: 880rpx; // height: 1200rpx;
background:#F7FAFF ;
.main-box{ .main-box{
display:flex; display:flex;
flex-wrap: wrap; flex-wrap: wrap;
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</view> </view>
<view class="i-malll"> <view class="i-malll">
<view v-if='isFixed!=true' class="hot-tab"> <view v-if='isFixed!=true' class="hot-tab">
<view :class="hotIndex==item.id ?'hot-header-text':'hot-show'" v-for="item in hotList" :key='item.id'> <view :class="hotIndex==item.id ?'hot-header-text':'hot-show'" v-for="item in hotList" :key='item.id' >
<view class='hot-ative' @click="hotShow(item)">{{item.title}}</view> <view class='hot-ative' @click="hotShow(item)">{{item.title}}</view>
<view v-show="hotIndex!=item.id" class='hot-icon'></view> <view v-show="hotIndex!=item.id" class='hot-icon'></view>
<view v-show='hotIndex==item.id' :class="showUP==false ?'hot-icon-show-down':'hot-icon-show'" @click="goUP(item.id)"></view> <view v-show='hotIndex==item.id' :class="showUP==false ?'hot-icon-show-down':'hot-icon-show'" @click="goUP(item.id)"></view>
......
No preview for this file type
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
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