推广小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

131 lines
1.9 KiB

2 months ago
  1. <template>
  2. <view class="page">
  3. <navbar
  4. title="订单中心"
  5. leftClick
  6. @leftClick="$utils.navigateBack"
  7. />
  8. <uv-tabs :list="tabs"
  9. :activeStyle="{color : '#A3D250', fontWeight : 600}"
  10. lineColor="#A3D250"
  11. lineHeight="8rpx"
  12. lineWidth="50rpx"
  13. :current="current"
  14. :scrollable="false"
  15. @click="clickTabs"></uv-tabs>
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. // mixins : [mixinsList, mixinsOrder],
  21. components : {
  22. },
  23. computed : {
  24. },
  25. data() {
  26. return {
  27. }
  28. },
  29. onLoad(args) {
  30. },
  31. onShow() {
  32. },
  33. methods: {
  34. }
  35. }
  36. </script>
  37. <style scoped lang="scss">
  38. .page{
  39. }
  40. .list {
  41. .item {
  42. width: calc(100% - 40rpx);
  43. background-color: #fff;
  44. margin: 20rpx;
  45. box-sizing: border-box;
  46. border-radius: 16rpx;
  47. padding: 30rpx;
  48. .top {
  49. display: flex;
  50. justify-content: space-between;
  51. align-items: center;
  52. font-size: 30rpx;
  53. .service {}
  54. .status {
  55. font-size: 26rpx;
  56. font-weight: 600;
  57. }
  58. }
  59. .content {
  60. display: flex;
  61. margin: 10rpx 0;
  62. .left {
  63. width: 150rpx;
  64. height: 150rpx;
  65. border-radius: 10rpx;
  66. image {
  67. width: 150rpx;
  68. height: 150rpx;
  69. border-radius: 10rpx;
  70. }
  71. }
  72. .right {
  73. width: calc(100% - 160rpx);
  74. color: #777;
  75. font-size: 24rpx;
  76. padding-left: 20rpx;
  77. line-height: 40rpx;
  78. background-color: #F8F8F8;
  79. }
  80. }
  81. .bottom {
  82. display: flex;
  83. justify-content: space-between;
  84. font-size: 25rpx;
  85. .price {
  86. font-weight: 900;
  87. text {
  88. color: #ff780099;
  89. font-size: 30rpx;
  90. }
  91. }
  92. .b1 {
  93. border: 1px solid #777;
  94. color: #777;
  95. box-sizing: border-box;
  96. }
  97. .b2 {
  98. background: $uni-color;
  99. color: #fff;
  100. display: flex;
  101. align-items: center;
  102. justify-content: center;
  103. }
  104. view {
  105. margin: 12rpx;
  106. border-radius: 28rpx;
  107. padding: 16rpx 48rpx;
  108. margin-bottom: 0;
  109. }
  110. }
  111. }
  112. }
  113. </style>