accountRecharge.vue 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. <template>
  2. <view>
  3. <u-navbar title="账户充值" title-color="#101010" ></u-navbar>
  4. <view class="main">
  5. <view class="headline">
  6. <view class="title-left">
  7. <view class="icon">
  8. <image class="icon1" src="../../assets/img/PEokWS2@1x.png" mode=""></image>
  9. </view>
  10. <view class="text">
  11. 账户充值
  12. </view>
  13. </view>
  14. <view class="title-right">
  15. <view class="icon">
  16. <image class="icon2" src="../../assets/img/riLine-file-text-line Copy l9stN6v.svg" mode=""></image>
  17. </view>
  18. <view class="text">
  19. 历史账单
  20. </view>
  21. </view>
  22. </view>
  23. <view class="content">
  24. <!-- 可用余额 -->
  25. <view class="balance">
  26. <view class="balance-left">
  27. 可用余额(元)
  28. </view>
  29. <view class="balance-right">
  30. 88.88
  31. </view>
  32. </view>
  33. <!-- 提示 有余额-->
  34. <view class="hint">
  35. 有余额,可提前充值
  36. </view>
  37. <!-- 提示 无余额 已欠费 -->
  38. <view class="hint hint2">
  39. 已扣完,请尽快缴费
  40. </view>
  41. <!-- 租户信息 -->
  42. <view class="infos">
  43. <view class="item">
  44. <view class="item-title">
  45. 租户信息
  46. </view>
  47. <view class="item-value">
  48. 3~6楼联通公司
  49. </view>
  50. </view>
  51. <view class="item">
  52. <view class="item-title">
  53. 户号
  54. </view>
  55. <view class="item-value">
  56. 00880088
  57. </view>
  58. </view>
  59. <view class="item">
  60. <view class="item-title">
  61. 联系人
  62. </view>
  63. <view class="item-value">
  64. 周琼
  65. </view>
  66. </view>
  67. <view class="item">
  68. <view class="item-title">
  69. 缴费单位
  70. </view>
  71. <view class="item-value">
  72. 湖北荆鹏集团有限公司
  73. </view>
  74. </view>
  75. </view>
  76. <!-- 缴费金额 -->
  77. <view class="payment-amount">
  78. <view class="title">
  79. 缴费金额
  80. </view>
  81. <view class="amount-options">
  82. <view class="options-item chosen">
  83. 100元
  84. </view>
  85. <view class="options-item">
  86. 200元
  87. </view>
  88. <view class="options-item">
  89. 500元
  90. </view>
  91. <view class="options-item">
  92. 1000元
  93. </view>
  94. <view class="options-item">
  95. 2000元
  96. </view>
  97. <view class="options-item">
  98. 5000元
  99. </view>
  100. </view>
  101. </view>
  102. <!-- 输入金额 -->
  103. <view class="input-amount">
  104. <view class="symbol">
  105. </view>
  106. <input class="input" type="text" placeholder="点击输入缴费金额">
  107. </view>
  108. <!-- 支付方式 -->
  109. <view class="payment-way">
  110. <view class="title">
  111. 支付方式
  112. </view>
  113. <view class="way">
  114. <view class="way-item">
  115. <view class="way-name">
  116. <view class="icon">
  117. <image class="img" src="../../assets/img/riFill-wechat-pay-fill fTAsMwS.svg" mode=""></image>
  118. </view>
  119. <view class="text">
  120. 微信支付
  121. </view>
  122. </view>
  123. <view class="way-radio">
  124. <label class="radio">
  125. <radio value="" /><text></text>
  126. </label>
  127. </view>
  128. </view>
  129. <view class="way-item">
  130. <view class="way-name">
  131. <view class="icon">
  132. <image class="img" src="../../assets/img/antOutline-alipay-circle bQiHn7m.svg" mode=""></image>
  133. </view>
  134. <view class="text">
  135. 支付宝
  136. </view>
  137. </view>
  138. <view class="way-radio">
  139. <label class="radio">
  140. <radio value="" /><text></text>
  141. </label>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. <!-- 按钮 -->
  147. <button class="btn" >立即缴费</button>
  148. </view>
  149. </view>
  150. </view>
  151. </template>
  152. <script>
  153. export default {
  154. data() {
  155. return {
  156. }
  157. },
  158. methods: {
  159. }
  160. }
  161. </script>
  162. <style lang="scss" scoped>
  163. page{
  164. padding-bottom: 50px;
  165. }
  166. .main{
  167. margin: 24rpx;
  168. overflow: hidden;
  169. .headline{
  170. background: linear-gradient(90deg, rgba(120,175,247,1) 0%,rgba(39,116,226,1) 100%);
  171. color: #fff;
  172. display: flex;
  173. justify-content: space-between;
  174. align-items: center;
  175. padding:24rpx;
  176. .title-left{
  177. display: flex;
  178. align-items: center;
  179. font-size: 36rpx;
  180. .icon1{
  181. width: 56rpx;
  182. height: 56rpx;
  183. margin-right: 8rpx;
  184. vertical-align: middle;
  185. }
  186. }
  187. .title-right{
  188. display: flex;
  189. font-size: 32rpx;
  190. line-height: 32rpx;
  191. .icon2{
  192. width: 32rpx;
  193. height: 32rpx;
  194. margin-right: 8rpx;
  195. }
  196. }
  197. }
  198. .content{
  199. border-radius: 8px 8px 0 0 ;
  200. margin-top: -8rpx;
  201. z-index: 999;
  202. background-color: #fff;
  203. padding: 40rpx 32rpx;
  204. // 可用余额
  205. .balance{
  206. display: flex;
  207. justify-content: space-between;
  208. .balance-left{
  209. color: rgb(48,48,48);
  210. font-size: 36rpx;
  211. line-height: 40px;
  212. }
  213. .balance-right{
  214. color: rgb(48,48,48);
  215. font-size: 80rpx;
  216. }
  217. }
  218. // 提示
  219. .hint{
  220. font-size: 24rpx;
  221. color: #1677FF;
  222. margin-top: 16rpx;
  223. text-align: right;
  224. padding-bottom: 32rpx;
  225. border-bottom: 1px solid rgba(244,244,244,1);
  226. }
  227. .hint2{
  228. color: #E60012;
  229. }
  230. // 租户信息
  231. .infos{
  232. border-bottom: 1px solid rgba(244,244,244,1);
  233. margin-top: 32rpx;
  234. padding-bottom: 32rpx;
  235. .item{
  236. display: flex;
  237. justify-content: space-between;
  238. margin-bottom: 24rpx;
  239. .item-title{
  240. color: rgb(119,119,119);
  241. }
  242. .item-value{
  243. color: rgb(48,48,48);
  244. }
  245. }
  246. }
  247. // 缴费金额
  248. .payment-amount{
  249. margin-top: 32rpx;
  250. .title{
  251. color: rgb(48,48,48);
  252. font-size: 36rpx;
  253. }
  254. .amount-options{
  255. margin-top: 32rpx;
  256. display: flex;
  257. flex-wrap: wrap;
  258. justify-content: space-between;
  259. .options-item{
  260. width: 200rpx;
  261. height: 80rpx;
  262. line-height: 80rpx;
  263. border-radius: 4px;
  264. text-align: center;
  265. background-color: rgba(242,242,242,1);
  266. color: rgba(16,16,16,1);
  267. font-size: 32rpx;
  268. margin-bottom: 20rpx;
  269. }
  270. .chosen{
  271. background-color: rgba(22,119,255,1);
  272. color: rgba(255,255,255,1);
  273. }
  274. }
  275. }
  276. // 输入金额
  277. .input-amount{
  278. margin-top: 24rpx;
  279. display: flex;
  280. font-size: 48rpx;
  281. height: 100rpx;
  282. line-height: 100rpx;
  283. .symbol{
  284. margin-right: 32rpx;
  285. }
  286. .input{
  287. height: 100rpx;
  288. font-size: 48rpx;
  289. color: rgba(204,204,204,1);
  290. }
  291. /deep/.uni-input-placeholder{
  292. color: rgba(204,204,204,1);
  293. }
  294. }
  295. // 支付方式
  296. .payment-way{
  297. margin-top: 24rpx;
  298. .title{
  299. color: rgb(48,48,48);
  300. font-size: 36rpx;
  301. }
  302. .way{
  303. margin-top: 24rpx;
  304. .way-item{
  305. display: flex;
  306. justify-content: space-between;
  307. align-items: center;
  308. margin-bottom: 24rpx;
  309. .way-name{
  310. display: flex;
  311. align-items: center;
  312. color: rgb(51,51,51);
  313. .img{
  314. width: 48rpx;
  315. height: 48rpx;
  316. vertical-align: middle;
  317. margin-right: 16rpx;
  318. }
  319. }
  320. /deep/.uni-radio-input{
  321. width: 40rpx;
  322. height: 40rpx;
  323. }
  324. }
  325. }
  326. }
  327. // 按钮
  328. .btn{
  329. height: 96rpx;
  330. border-radius: 50px;
  331. background-color: rgba(51,133,255,1);
  332. color: rgba(255, 255, 255, 1);
  333. font-size: 36rpx;
  334. margin-top: 48rpx;
  335. }
  336. }
  337. }
  338. </style>