choose-business.vue 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <template>
  2. <view>
  3. <view class="box">
  4. <view class="top">
  5. <text class="title">选择业务</text>
  6. </view>
  7. <view v-for="(yewuItem,index) in yewuItemList" :key="index">
  8. <label class="c-item">
  9. <view class="l">
  10. <checkbox class="cb" color="#0080ff"/>
  11. </view>
  12. <view class="c">{{ yewuItem.text1 }}</view>
  13. <view class="r">{{ yewuItem.text2 }}</view>
  14. </label>
  15. </view>
  16. </view>
  17. <view class="common-btn">录入确认</view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {
  24. yewuItemList: [{
  25. text1: '入场管理费用',
  26. text2: '34元'
  27. },
  28. {
  29. text1: '定车费用',
  30. text2: '10元'
  31. },
  32. {
  33. text1: '装卸费用',
  34. text2: '52元'
  35. },
  36. {
  37. text1: '核算费用',
  38. text2: '42元'
  39. },
  40. {
  41. text1: '吊装费用',
  42. text2: '124元'
  43. },
  44. ]
  45. }
  46. },
  47. methods: {}
  48. }
  49. </script>
  50. <style lang="scss">
  51. page {
  52. background-color: #fff;
  53. }
  54. .c-item {
  55. display: flex;
  56. align-items: center;
  57. margin: 15rpx 30rpx;
  58. padding: 40rpx 30rpx;
  59. border-radius: 10rpx;
  60. background-color: #fff;
  61. border: 1rpx solid #f5f5f5;
  62. .l {
  63. }
  64. .c {
  65. font-size: 30rpx;
  66. color: #191919;
  67. font-weight: bold;
  68. margin-left: 20rpx;
  69. }
  70. .r {
  71. font-size: 30rpx;
  72. color: #ff4200;
  73. font-weight: bold;
  74. margin-left: auto;
  75. }
  76. }
  77. @import '@/common/common.scss'
  78. </style>