bankCardList.vue 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. <template>
  2. <view class="main">
  3. <view class="top">
  4. <view class="yue">
  5. <image src="" style="background: #F5CC57;border-radius: 8px;"></image>
  6. <!-- <view class="top" bindtap="goIntegral">提现记录</view> -->
  7. <view class="money">***<text style="font-size:16px;">元</text></view>
  8. <view class="txt">xxx储蓄卡</view>
  9. </view>
  10. </view>
  11. <view class="bankCard">
  12. <view class="addCard" @click="addCard">
  13. + 添加银行卡
  14. </view>
  15. </view>
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. data() {
  21. return {
  22. myIntegral: 0,
  23. money: '',
  24. dian:0,
  25. datas:'',
  26. index:0,
  27. paymethods: [],
  28. currentPay: "",
  29. lessUp: !1,
  30. sending: !1,
  31. disable: !1,
  32. bindedPhone: !1,
  33. list: {},
  34. withdraw: !0,
  35. counttime: 10,
  36. btnState: !1,
  37. focus: !0,
  38. maskModal: !1,
  39. wechatNumber: "",
  40. explain: "",
  41. userInfo:'',
  42. usersi:'',
  43. selects:[
  44. { name: '微信零钱', way: '1', checked: true },
  45. { name: '微信转账', way: '4', checked: false },
  46. { name: '银行卡提现', way: '2', checked: false },
  47. { name: '支付宝提现', way: '3', checked: false },
  48. ],
  49. txway: "wechat",
  50. alipay:'',
  51. name:'',
  52. bankid:'',
  53. weixin: '',
  54. aliname:'',
  55. banks:'',
  56. }
  57. },
  58. onLoad(option) {
  59. },
  60. methods: {
  61. addCard(){
  62. console.log('添加按钮')
  63. }
  64. }
  65. }
  66. </script>
  67. <style>
  68. .header {
  69. height: 200rpx;
  70. border-bottom: 1rpx solid #e0e0e0;
  71. text-align: center;
  72. position: relative;
  73. box-sizing: border-box;
  74. padding-top: 50rpx;
  75. }
  76. .header:after {
  77. content: '';
  78. position: absolute;
  79. right: 30rpx;
  80. top: 50%;
  81. transform: translateY(-50%) rotate(-45deg);
  82. border-right: 1rpx solid #999;
  83. border-bottom: 1rpx solid #999;
  84. width: 24rpx;
  85. height: 24rpx;
  86. }
  87. .header .tit {
  88. font-size: 26rpx;
  89. color: #999;
  90. margin-bottom: 14rpx;
  91. }
  92. .header .count {
  93. font-size: 45rpx;
  94. line-height: 1;
  95. color: #333;
  96. position: relative;
  97. }
  98. .withdraw_detail {
  99. position: absolute;
  100. top: 10rpx;
  101. left: 30rpx;
  102. color: #f08300;
  103. border: 1rpx solid #f08300;
  104. border-radius: 30rpx;
  105. padding: 4rpx 10rpx;
  106. font-size: 22rpx;
  107. }
  108. .count .sup {
  109. position: absolute;
  110. top: 0;
  111. width: 100%;
  112. left: 0;
  113. color: red;
  114. font-size: 45rpx;
  115. line-break: 1;
  116. font-weight: bold;
  117. animation: buble .8s ease-in-out both;
  118. }
  119. @-webkit-keyframes buble {
  120. 0% {
  121. transform: translateY(0);
  122. opacity: 1;
  123. }
  124. 100% {
  125. transform: translateY(-100rpx);
  126. opacity: 0;
  127. }
  128. }
  129. @keyframes buble {
  130. 0% {
  131. transform: translateY(0);
  132. opacity: 1;
  133. }
  134. 100% {
  135. transform: translateY(-100rpx);
  136. opacity: 0;
  137. }
  138. }
  139. .body {
  140. padding: 30rpx;
  141. margin-bottom: 30rpx;
  142. }
  143. .body .form {
  144. display: flex;
  145. }
  146. .body input {
  147. flex: 2;
  148. vertical-align: middle;
  149. height: 70rpx;
  150. background: #e6e6e6;
  151. border-radius: 50px;
  152. font-size: 26rpx;
  153. display: inline-block;
  154. padding-left: 30rpx;
  155. margin-right: 30rpx;
  156. }
  157. .body .btn-exc {
  158. margin: 0;
  159. flex: 1;
  160. vertical-align: middle;
  161. }
  162. .body .tips {
  163. color: #666;
  164. font-size: 26rpx;
  165. padding-top: 20rpx;
  166. margin-bottom: 30rpx;
  167. }
  168. .body .tips .explain {
  169. color: #f00;
  170. }
  171. .paymethods {
  172. border-top: 1rpx solid #e0e0e0;
  173. padding-top: 30rpx;
  174. color: #666;
  175. }
  176. .paymethods .tit {
  177. margin-bottom: 40rpx;
  178. color: #333;
  179. }
  180. .paymethods .radio {
  181. margin-left: -30rpx;
  182. margin-right: -30rpx;
  183. }
  184. .mask {
  185. width: 100vw;
  186. height: 100vh;
  187. position: fixed;
  188. top: 0;
  189. left: 0;
  190. z-index: 100;
  191. background: rgba(0,0,0,0.3);
  192. display: flex;
  193. justify-content: center;
  194. align-items: center;
  195. }
  196. .mask .mask_box {
  197. background: #fff;
  198. width: 600rpx;
  199. padding: 30rpx;
  200. border-radius: 10rpx;
  201. }
  202. .mask .mask_box .mask_input {
  203. display: flex;
  204. align-items: center;
  205. justify-content: space-between;
  206. }
  207. .mask .mask_box input {
  208. text-align: left;
  209. padding: 20rpx;
  210. width: 410rpx;
  211. }
  212. .top{
  213. width: 100%;
  214. height: auto;
  215. }
  216. .top .yue{
  217. width: 86vw;
  218. height: 43vw;
  219. margin:10px 7vw;
  220. position: relative;
  221. }
  222. .yue image{
  223. width: 100%;
  224. height: 100%;
  225. position: absolute;
  226. top: 0;
  227. left: 0;
  228. z-index: 0;
  229. }
  230. .yue .top{
  231. width: auto;
  232. height: 20px;
  233. line-height: 20px;
  234. position: absolute;
  235. top: 20px;
  236. left: 30px;
  237. color: #fff;
  238. z-index: 1;
  239. font-weight: 300;
  240. }
  241. .yue .money{
  242. width: 100%;
  243. height: 80px;
  244. line-height: 80px;
  245. text-align: center;
  246. color: #fff;
  247. z-index: 1;
  248. font-size: 34px;
  249. position: absolute;
  250. left: 0;
  251. top: 40px;
  252. }
  253. .yue .txt{
  254. width: 100%;
  255. height: 20px;
  256. line-height: 20px;
  257. text-align: center;
  258. color: #fff;
  259. z-index: 1;
  260. position: absolute;
  261. left: 0;
  262. bottom: 20px;
  263. font-weight: 300;
  264. }
  265. .detail{
  266. width: 86vw;
  267. height: auto;
  268. margin:10px 7vw;
  269. position: relative;
  270. }
  271. .detail .input{
  272. width: 100%;
  273. height: 40px;
  274. line-height: 40px;
  275. margin: 20px 0;
  276. border: 2px solid #eee;
  277. border-radius: 8px;
  278. display: flex;
  279. justify-content: space-between;
  280. }
  281. .input input{
  282. width: 80vw;
  283. height: 40px;
  284. line-height: 40px;
  285. padding-left: 5%;
  286. border-radius: 8px;
  287. border: 2px solid #eee;
  288. margin:10px 0;
  289. }
  290. input::-webkit-input-placeholder{
  291. color: #ccc;
  292. }
  293. .info{
  294. width: 100%;
  295. height: auto;
  296. }
  297. .info .ttxt{
  298. font-size: 12px;
  299. height: 20px;
  300. line-height: 20px;
  301. color: #aaa;
  302. }
  303. .listtx{
  304. width: 86vw;
  305. height: auto;
  306. margin:10px 7vw;
  307. position: relative;
  308. }
  309. .listtx .title{
  310. width: 100%;
  311. height: 30px;
  312. line-height: 30px;
  313. margin: 10px 0;
  314. }
  315. .btn{
  316. background: #F5CC57;
  317. width: 70vw;
  318. height: 40px;
  319. line-height: 40px;
  320. text-align: center;
  321. color: #fff;
  322. border-radius: 40px;
  323. margin: 30px 15vw 20px 15vw;
  324. box-shadow:0px 10px 20px 14px rgba(0,0,0,0.06);
  325. }
  326. .all{
  327. width: auto;
  328. height: 40px;
  329. line-height: 40px;
  330. color: #f08300;
  331. text-underline-position: auto;
  332. margin: 0;
  333. margin-right: 5%;
  334. }
  335. .bankCard{
  336. width: 80vw;
  337. height: 60px;
  338. background: #FFFFFF;
  339. border-radius: 5px;
  340. margin: 5px 10vw;
  341. padding-left: 10px;
  342. display: flex;
  343. align-items: center;
  344. text-indent: 5px;
  345. }
  346. </style>