exchange.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <view>
  3. <view class="cu-bar search bg-white">
  4. <view class="search-form round " >
  5. <text class="cuIcon-search"></text>
  6. <input :adjust-position="false" type="text" placeholder="搜索平台名称" confirm-type="search"></input>
  7. </view>
  8. <view class="action">
  9. <text class="text-bold">搜索</text>
  10. </view>
  11. </view>
  12. <view class="card" v-for="(item,index) in 6" :key="index">
  13. <view class="left">
  14. <image src="@/static/icon/BOC.png" mode=""></image>
  15. <view class="">
  16. <text>中国银行</text>
  17. </view>
  18. </view>
  19. <view class="right">
  20. <image src="../../static/icon/points-value.png" mode=""></image>
  21. <text class="data">200</text>
  22. <text class="value">(价值¥60.00)</text>
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. data() {
  30. return {
  31. }
  32. },
  33. methods: {
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .card{
  39. margin: 20rpx;
  40. border-radius: 20rpx;
  41. padding:36rpx 30rpx;
  42. background-color: #FFFFFF;
  43. display: flex;
  44. justify-content: space-between;
  45. .left{
  46. display: flex;
  47. image{
  48. width: 80rpx;
  49. height: 80rpx;
  50. }
  51. view{
  52. display: flex;
  53. justify-content: center;
  54. align-items: center;
  55. text{
  56. padding-left: 20rpx;
  57. font-weight: 800;
  58. font-size: 30rpx;
  59. }
  60. }
  61. }
  62. .right{
  63. display: flex;
  64. justify-content: center;
  65. align-items: center;
  66. image{
  67. width: 40rpx;
  68. height: 40rpx;
  69. }
  70. .data{
  71. margin-left: 10rpx;
  72. font-size: 36rpx;
  73. color: #F39248;
  74. }
  75. .value{
  76. font-size: 28rpx;
  77. color: #666666;
  78. }
  79. }
  80. }
  81. </style>