推广小程序前端代码
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.

136 lines
3.8 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. <template>
  2. <view class="orderDetails">
  3. <Navbar title="订单详情" :autoBack="true" :bgColor="bgColor" leftIconSize="18px" height="100rpx" :leftIconColor="leftIconColor" :titleStyle="{color:fontColor}" />
  4. <view class="content">
  5. <view class="baseInfo cardBackground_">
  6. <view class="statusBox">
  7. <i></i>
  8. <view class="status">待参加</view>
  9. </view>
  10. <view class="info grayBg cardStyle_">
  11. <view class="left">
  12. <image src="https://img0.baidu.com/it/u=4274003247,920124130&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1031" alt="">
  13. </view>
  14. <view class="right">
  15. <view class="detailed">
  16. <view class="title">夏日去撒野旅游计划</view>
  17. <view class="date">2024.10.28 10:00</view>
  18. <view class="address">成都市东丽湖露营地32号</view>
  19. </view>
  20. <view class="price"><text>总计</text>¥800.00</view>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="orderInfo">
  25. <view class="title">订单信息</view>
  26. <view class="details">
  27. <uv-cell :border="false" titleStyle="{color: 'red'}" title="版本更新" value="已是新版本"></uv-cell>
  28. <uv-cell :border="false" titleStyle="{color: 'red'}" title="版本更新" value="已是新版本"></uv-cell>
  29. <uv-cell :border="false" titleStyle="{color: 'red'}" title="版本更新" value="已是新版本"></uv-cell>
  30. <uv-cell :border="false" titleStyle="{color: 'red'}" title="版本更新" value="已是新版本"></uv-cell>
  31. </view>
  32. </view>
  33. <view class="tips">
  34. <view class="title">旅行须知</view>
  35. <view class="details">
  36. <p>行程安排请仔细阅读旅行社提供的行程安排了解每天的具体活动和时间表 </p>
  37. <p>退改政策了解清楚旅行社的退改政策以便在必要时进行调整</p>
  38. <p>健康安全携带必要的药品和个人用品确保旅途中的健康和安全</p>
  39. <p>个人需求如果有特殊饮食要求或身体状况请提前告知旅行社以便他们做出相应的安排</p>
  40. </view>
  41. </view>
  42. </view>
  43. <view style="padding: 65rpx 35rpx;">
  44. <uv-button :custom-style="customStyle" type="primary" shape="circle" color="#381615" text="活动签到"></uv-button>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. import Navbar from '@/pages/components/Navbar.vue'
  50. import { globalMixin } from '../pages/mixins/globalMixin';
  51. export default{
  52. mixins: [globalMixin],
  53. components:{
  54. Navbar
  55. },
  56. }
  57. </script>
  58. <style scoped lang="scss">
  59. .details {
  60. padding: 50rpx 40rpx;
  61. /deep/.uv-cell {
  62. .uv-cell__body {
  63. padding: 0rpx;
  64. padding-bottom: 30rpx;
  65. }
  66. &:last-child {
  67. .uv-cell__body {
  68. padding-bottom: 0rpx;
  69. }
  70. }
  71. .uv-cell__body__content {
  72. .uv-cell__title-text {
  73. color: $uni-text-color-grey!important;
  74. font-size: 28rpx
  75. }
  76. }
  77. .uv-cell__value {
  78. color: #DCDCDC!important;
  79. font-size: 28rpx
  80. }
  81. }
  82. }
  83. .orderDetails {
  84. margin-top: 40rpx;
  85. /deep/.uv-navbar__content__title {
  86. color: #fff;
  87. }
  88. .content {
  89. padding: 0 35rpx;
  90. color: #fff;
  91. padding-top: calc(var(--status-bar-height) + 110rpx);
  92. .baseInfo {
  93. .statusBox {
  94. display: flex;
  95. align-items: center;
  96. padding: 33rpx 47rpx 24rpx;
  97. i {
  98. background: url('@/static/image/cart/U-status.png') no-repeat;
  99. background-size: 100% 100%;
  100. display: block;
  101. width: 39rpx;
  102. height: 34rpx;
  103. margin-right: 15rpx;
  104. }
  105. .status {
  106. font-size: 32rpx;
  107. }
  108. }
  109. }
  110. .orderInfo,.tips {
  111. .title {
  112. font-size: 29rpx;
  113. padding-bottom: 26rpx;
  114. margin-top: 36rpx;
  115. }
  116. .details {
  117. background-color: $uni-color-card-background;
  118. border-radius: 26rpx;
  119. }
  120. }
  121. .tips {
  122. .details {
  123. p {
  124. color: #CCC;
  125. font-size: 25rpx;
  126. line-height: 50rpx;
  127. }
  128. }
  129. }
  130. }
  131. }
  132. </style>