Explorar o código

没有需要缴费订单时隐藏全部缴费按钮

gcz %!s(int64=3) %!d(string=hai) anos
pai
achega
e81242da73
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 3 0
      README.md
  2. 1 1
      pages/payLists/payLists.vue

+ 3 - 0
README.md

@@ -1,4 +1,7 @@
 ## 城市智慧停车
+### 打包需要修改
+- `common/http.interceptor.js` 中登录链接
+- `common/config.js` 配置信息
 #### iconfont
 - [iconfont 自定义图标](https://www.uviewui.com/guide/customIcon.html)
 - [字体默认不再生成 .eot、.svg 和 Base64](https://github.com/thx/iconfont-plus/issues/1948)

+ 1 - 1
pages/payLists/payLists.vue

@@ -26,7 +26,7 @@
 				</view>
 			</scroll-view>
 		</mescroll-body>
-		<view class="button-wrap">
+		<view class="button-wrap" v-if="payList.length&&payList.length>=1">
 			<button class="button" type="primary" @click="all()">全部缴费</button>
 		</view>
 		<u-toast ref="uToast" />