Ver código fonte

拉取最新代码

maotao 10 meses atrás
pai
commit
9cbeb49082

+ 1 - 7
pages/repository/repository.vue

@@ -23,7 +23,7 @@
23 23
     <view class="zanwu" v-else>
24 24
       <text class="newicon newicon-zanwu"></text>
25 25
     </view>
26
-		<view v-if="dataInfo.list.length==0" class="btn-view">
26
+		<view v-if="dataInfo.list.length==0" class="foot_common_btns">
27 27
 			<button @click="goBack" type="default" class="primaryButton btn">返回</button>
28 28
 		</view>
29 29
   </view>
@@ -221,12 +221,6 @@
221 221
     bottom: 0;
222 222
     background-color: #fff;
223 223
   }
224
-	.btn-view{
225
-		position: fixed;
226
-		bottom: 40rpx;
227
-		width: 93.5%; 
228
-		padding: 24rpx 0 0 24rpx;
229
-	}
230 224
 	.back-style{
231 225
 		background: #D6D6D6;
232 226
 		width: 100rpx;

+ 4 - 5
pages/repositoryDetails/repositoryDetails.vue

@@ -14,9 +14,9 @@
14 14
 		</view>
15 15
 		<view class="foot_common_btns btn-style">
16 16
 			<button @click="goBack" type="default" class="cancelButton btn">返回</button>
17
-			<button @click="importData" type="default" class="primaryButton btn ">引入</button>
17
+			<button @click="importData" type="default" class="primaryButton btn">引入</button>
18 18
 		</view>
19
-		<uni-popup ref="popup" type="center" >
19
+		<uni-popup ref="popup" type="center">
20 20
 			<img :src="fileUrl" alt="" class="view-img">
21 21
 		</uni-popup>
22 22
   </view>
@@ -195,9 +195,8 @@
195 195
   }
196 196
 	.btn-style{
197 197
 		position: fixed;
198
-		bottom: 24rpx;
199
-		width: 93.5%; 
200
-		padding: 0;
198
+		left:0;
199
+		bottom: 0;
201 200
 	}
202 201
 	.view-img{
203 202
 		width: 100%;