Commit c482af98 by 赵雅纹

图片自适应

parent 7614b325
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</view> </view>
</view> </view>
<view class="diy-banner"> <view class="diy-banner">
<image src="{{bannerUrl ? bannerUrl : '/assets/imgs/7_1_0/coming-soon.jpg'}}" /> <image src="{{bannerUrl ? bannerUrl : '/assets/imgs/7_1_0/coming-soon.jpg'}}" mode="widthFix" />
</view> </view>
<button <button
wx:if="{{!currentHasUserInfo}}" wx:if="{{!currentHasUserInfo}}"
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
width: 712rpx; width: 712rpx;
/* height: 200rpx; */ /* height: 200rpx; */
border-radius: 17rpx; border-radius: 17rpx;
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
margin: 10rpx auto; margin: 10rpx auto;
text-align: center; text-align: center;
/* line-height: 200rpx; */ /* line-height: 200rpx; */
...@@ -25,6 +24,7 @@ ...@@ -25,6 +24,7 @@
width: 712rpx; width: 712rpx;
/* height: 200rpx; */ /* height: 200rpx; */
border-radius: 17rpx; border-radius: 17rpx;
box-shadow: 0px 0px 10rpx 0px rgba(0, 0, 0, 0.1);
} }
.num { .num {
color: rgba(51, 51, 51, 1); color: rgba(51, 51, 51, 1);
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
bindtap="switchPoster" bindtap="switchPoster"
> >
<image class="poster-img" src="{{navItem}}" mode="aspectFit"></image> <image class="poster-img" src="{{navItem}}"></image>
<view class="select-plus" wx:if="{{idx == currentTab}}"> <view class="select-plus" wx:if="{{idx == currentTab}}">
<view class="circle-radio theme-color"> <view class="circle-radio theme-color">
<image class="tick-success" src="/assets/imgs/7_1_0/tick-success.png" mode="widthFix"></image> <image class="tick-success" src="/assets/imgs/7_1_0/tick-success.png" mode="widthFix"></image>
......
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