invoiceList.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <template>
  2. <view class="curpage">
  3. <view class="search" style="margin-bottom: 24rpx;">
  4. <u-search placeholder="请输入单号" v-model="keyword" borderColor="#A8A8A8" height="64rpx"></u-search>
  5. </view>
  6. <view class="list">
  7. <u-checkbox-group v-model="checkboxValue1" placement="column" @change="checkboxChange" shape="circle" size=32>
  8. <view class="content">
  9. <view class="flextop">
  10. <view class="">
  11. 单号 RYX202213582
  12. </view>
  13. <view class="price" >
  14. 订单金额 <text style="font-weight: 700;font-size: 28rpx;margin-left: 10rpx;">¥1690</text>
  15. </view>
  16. </view>
  17. <view class="detail">
  18. <u-checkbox iconSize=32 style="padding: 0 100rpx;" activeColor="#1E9F6A"></u-checkbox >
  19. <view class="" style="margin-left: 30rpx;">
  20. <view class="" style="font-weight: 700;font-size: 36rpx;">
  21. 夕阳红康养团7日游
  22. </view>
  23. <view class="" style="margin: 24rpx 0;">
  24. 日期:2022-04-25 ~ 2022-05-01
  25. </view>
  26. <view class="">
  27. 数量 1
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </u-checkbox-group>
  33. </view>
  34. <view class="navbar">
  35. <view class="navbar-item">
  36. 总金额 ¥12929
  37. </view>
  38. <view class="navbar-item want" @click="choose" >
  39. 选择抬头
  40. </view>
  41. </view>
  42. </view>
  43. </template>
  44. <script>
  45. export default {
  46. data(){
  47. return{
  48. keyword:'',
  49. checkboxValue1:[],
  50. }
  51. },
  52. methods:{
  53. checkboxChange(n) {
  54. console.log('change', n);
  55. },
  56. // 跳转抬头管理
  57. choose(){
  58. uni.navigateTo({
  59. url:"/pages/invoice/applyInvoice"
  60. })
  61. }
  62. }
  63. }
  64. </script>
  65. <style lang="less">
  66. page{
  67. background-color: #F4F4F4;
  68. font-size: 26rpx;
  69. }
  70. .curpage{
  71. padding:24rpx 30rpx;
  72. .list{
  73. box-shadow: 0px 2rpx 4rpx 0px rgba(0, 0, 0, 0.02);
  74. border-radius: 8rpx 8rpx 8rpx 32rpx;
  75. background-color: #fff;
  76. .flextop{
  77. display: flex;
  78. justify-content: space-between;
  79. border-bottom: 1rpx solid #E3E3E3;
  80. padding: 30rpx;
  81. }
  82. .detail{
  83. padding: 30rpx;
  84. display: flex;
  85. }
  86. }
  87. .navbar{
  88. display: flex;
  89. font-size: 30rpx;
  90. align-items: center;
  91. bottom: 0;
  92. left: 0;
  93. position: fixed;
  94. width: 100%;
  95. height: 104rpx;
  96. background: #1E9F6A;
  97. border-radius: 16rpx 16rpx 0px 0px;
  98. color: #ffffff;
  99. .navbar-item{
  100. flex: 1;
  101. text-align: center;
  102. }
  103. .want{
  104. border-left: 1rpx solid #FFFFFF;
  105. }
  106. }
  107. }
  108. </style>