accredit.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <template>
  2. <view>
  3. <view class="add">
  4. 请输入账号添加
  5. </view>
  6. <view class="card">
  7. <view class="top">
  8. <view class="top-left">
  9. <text class="">选择积分来源</text>
  10. </view>
  11. <view class="top-right" style="display: flex;">
  12. <image src="@/static/icon/yidong.png" mode="widthFix"></image>
  13. <view class="flex justify-center align-center">
  14. <text class="padding-left-10">中国移动</text>
  15. <text class="cuIcon-right" style="padding: 2rpx 0 0 20rpx;color: #888888;"></text>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="input">
  20. <u-input :custom-style="customStyle" placeholder="请输入来源平台账号" :height="80" v-model="value" type="text" :border="true" />
  21. <view class="" style="height: 20rpx;"></view>
  22. <u-input :height="80" v-model="value" placeholder="请输入验证码" type="text" :border="true"/>
  23. <view class="margin-top-20">
  24. <u-checkbox v-model="checked" name="同意">
  25. <text>已阅读并同意</text>
  26. <text style="color: #62baff;">授权意向书</text>
  27. </u-checkbox>
  28. </view>
  29. <view @click="submit" class="flex justify-center align-center margin-top-50">
  30. <view class="cu-btn btn-bg-color round" style="padding: 40rpx 120rpx;">
  31. 提交授权
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="support">
  37. <view class="padding-left-20 padding-bottom-50">
  38. <text>支持平台</text>
  39. <text style="color: #888888;padding-left: 10rpx;">(支持5家平台)</text>
  40. </view>
  41. <view class="item" v-for="(item,index) in list" :key="index">
  42. <view class="left">
  43. <view class="flex justify-center align-center">
  44. <image :src="item.icon" ></image>
  45. </view>
  46. <text class="padding-left-10">{{item.name}}</text>
  47. </view>
  48. <view class="right">
  49. <view class="flex justify-center align-center">
  50. <image src="/pagesA/static/icon/points.png" mode=""></image>
  51. </view>
  52. <text class="margin-left-10">100 = ¥10</text>
  53. </view>
  54. </view>
  55. </view>
  56. <toast ref="toast" ></toast>
  57. </view>
  58. </template>
  59. <script>
  60. export default {
  61. data() {
  62. return {
  63. value:'',
  64. checked:false,
  65. list:[
  66. {
  67. icon:'/pagesA/static/platform/yidong.png',
  68. name:'中国移动'
  69. },
  70. {
  71. icon:'/pagesA/static/platform/liantong.png',
  72. name:'中国联通'
  73. },
  74. {
  75. icon:'/pagesA/static/platform/dianxin.png',
  76. name:'中国电信'
  77. },
  78. {
  79. icon:'/pagesA/static/platform/gongshang.png',
  80. name:'中国工商银行'
  81. },
  82. {
  83. icon:'/pagesA/static/platform/guangfa.png',
  84. name:'广发银行'
  85. }
  86. ]
  87. }
  88. },
  89. methods: {
  90. submit(){
  91. this.$refs.toast.info('业务未开通')
  92. }
  93. }
  94. }
  95. </script>
  96. <style lang="scss" scoped>
  97. .add{
  98. font-size: 32rpx;
  99. color: #333333;
  100. font-weight: 800;
  101. padding: 40rpx 50rpx 20rpx;
  102. }
  103. .card{
  104. background-color: #FFFFFF;
  105. padding: 20rpx;
  106. margin: 15rpx;
  107. border-radius: 20rpx;
  108. .top{
  109. padding: 20rpx;
  110. display: flex;
  111. justify-content: space-between;
  112. .top-left{
  113. display: flex;
  114. justify-content: center;
  115. align-items: center;
  116. font-size: 30rpx;
  117. color: #333333;
  118. }
  119. .top-right{
  120. display: flex;
  121. image{
  122. width: 40rpx;
  123. height: 40rpx;
  124. }
  125. }
  126. }
  127. .input{
  128. margin:40rpx 10rpx 30rpx;
  129. }
  130. }
  131. .support{
  132. background-color: #FFFFFF;
  133. border-radius: 20rpx;
  134. padding: 40rpx 20rpx;
  135. margin: 20rpx;
  136. .item{
  137. padding: 30rpx 10rpx;
  138. display: flex;
  139. justify-content: space-between;
  140. border-bottom: 1rpx solid #EAEAEB;
  141. .left{
  142. display: flex;
  143. image{
  144. width: 40rpx;
  145. height: 40rpx;
  146. }
  147. }
  148. .right{
  149. display: flex;
  150. image{
  151. width: 40rpx;
  152. height: 40rpx;
  153. }
  154. }
  155. }
  156. }
  157. </style>