1007395918@qq.com 5 лет назад
Родитель
Сommit
208a114087

+ 1
- 1
src/onlineSelling/pages/detail/index.js Просмотреть файл

@@ -148,7 +148,7 @@ export default class Index extends Component {
148 148
         <View className='detail'>
149 149
           <View className='detail-top'>
150 150
             {buildingImgList.length ?
151
-              <Image className="cover-img" mode="aspectFill" onClick={() => buildingImgList[0].type == '1' ? this.handlePanoramaClick(buildingImgList[0].panoramaLink) : ''} src={transferImage(buildingImgList[0].url)} />
151
+              <Image className="cover-img" mode="widthFix" onClick={() => buildingImgList[0].type == '1' ? this.handlePanoramaClick(buildingImgList[0].panoramaLink) : ''} src={transferImage(buildingImgList[0].url)} />
152 152
               : <Blank tips="暂无户型信息"></Blank>
153 153
             }
154 154
           </View>

+ 1
- 0
src/onlineSelling/pages/detail/index.scss Просмотреть файл

@@ -61,6 +61,7 @@
61 61
     .cover-img{
62 62
       width:100%;
63 63
       height:100%;
64
+      min-height: 300px;
64 65
     }
65 66
     
66 67
     .norecord-img{

+ 1
- 1
src/styles/reset.scss Просмотреть файл

@@ -6,7 +6,7 @@
6 6
 
7 7
 /* weapp */
8 8
 page {
9
-  height: 100%;
9
+  // height: 100%;
10 10
   font-size:28px;
11 11
   color:#313131;
12 12
 }