瀏覽代碼

拉取最新代码

maotao 1 年之前
父節點
當前提交
9cbeb49082
共有 2 個文件被更改,包括 5 次插入12 次删除
  1. 1 7
      pages/repository/repository.vue
  2. 4 5
      pages/repositoryDetails/repositoryDetails.vue

+ 1 - 7
pages/repository/repository.vue

@@ -23,7 +23,7 @@
23
     <view class="zanwu" v-else>
23
     <view class="zanwu" v-else>
24
       <text class="newicon newicon-zanwu"></text>
24
       <text class="newicon newicon-zanwu"></text>
25
     </view>
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
 			<button @click="goBack" type="default" class="primaryButton btn">返回</button>
27
 			<button @click="goBack" type="default" class="primaryButton btn">返回</button>
28
 		</view>
28
 		</view>
29
   </view>
29
   </view>
@@ -221,12 +221,6 @@
221
     bottom: 0;
221
     bottom: 0;
222
     background-color: #fff;
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
 	.back-style{
224
 	.back-style{
231
 		background: #D6D6D6;
225
 		background: #D6D6D6;
232
 		width: 100rpx;
226
 		width: 100rpx;

+ 4 - 5
pages/repositoryDetails/repositoryDetails.vue

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