Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

equityInfo.vue 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <template>
  2. <!-- <view style="height: 100%;">
  3. <rich-text style="flex: 1" :nodes="richText" />
  4. </view> -->
  5. <view style="background-color:#E9EDF0;overflow: hidden;min-height: 100vh;font-size: 28rpx;">
  6. <view class="title" :style="{'--bgimg':`url(${$imgUrl}equiet-bg2.png)`}">
  7. <view class="name">
  8. <text>{{equityName}}</text>
  9. <view><text>¥</text><text class="money">{{fee/100}}</text></view>
  10. </view>
  11. <view class="date">有效期至{{validEndTime}}</view>
  12. </view>
  13. <view class="explain">
  14. <view class="use">使用说明</view>
  15. <view class="tips">
  16. <view class="one">权益领取方式</view>
  17. <view class="list">
  18. <text class="point"></text>
  19. <view>用户激活ETC后通过贵州黔通九州ETC小程序-服务模块-我的权益中主动领取兑换码。</view>
  20. </view>
  21. <view class="list">
  22. <text class="point"></text>
  23. <view>领取时限:自激活起180天内。</view>
  24. </view>
  25. </view>
  26. <view class="tips">
  27. <view class="one">权益使用方式</view>
  28. <view class="list">
  29. <text class="point"></text>
  30. <view>进入途虎养车APP或途虎养车小程序,点击“我的”.“集团客户”-将兑换码添加到提示框-根据页面提示填入车牌-点击确认后显示兑换。</view>
  31. </view>
  32. <view class="list">
  33. <text class="point"></text>
  34. <view>点击已兑换的洗车卡券,选择就近门店,点击“导航”,到店说明使用途虎券码兑换服务,出示服务二维码即可使用服务。</view>
  35. </view>
  36. </view>
  37. <view class="tips">
  38. <view class="one">权益注意事项</view>
  39. <view class="list">
  40. <text class="point"></text>
  41. <view>服务使用范围为7座(含)以下家用非营运客车,暂不支持面包车、商务车等中大型车辆。</view>
  42. </view>
  43. <view class="list">
  44. <text class="point"></text>
  45. <view>春节期间部分门店不能提供服务,具体可使用的服务门店请以卡券展示的门店;门店遇高峰期会排队,请注意合理安排时间或咨询途虎养车客服。</view>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. </template>
  51. <script setup lang='ts'>
  52. import {
  53. ref
  54. } from 'vue';
  55. import {
  56. requestNew
  57. } from "@/utils/network/request.js";
  58. import {
  59. onLoad
  60. } from '@dcloudio/uni-app'
  61. import { singleEquityDetail } from "@/utils/network/api.js";
  62. let richText = ref('')
  63. let singleEquityId = ref('')
  64. let couponAgencyType = ref('')
  65. let couponId = ref('')
  66. let equityName = ref('')
  67. let fee = ref('')
  68. let validEndTime = ref('')
  69. let params = ref('')
  70. onLoad((options) => {
  71. console.log("参数",options)
  72. equityName.value = options.equityName
  73. fee.value = options.fee
  74. validEndTime.value = options.validEndTime
  75. // singleEquityId.value = options.singleEquityId
  76. // couponAgencyType.value = options.couponAgencyType
  77. //卡券渠道类型获取单项权益列表
  78. // requestNew(singleEquityDetail, {
  79. // type: 2,
  80. // data: {
  81. // singleEquityId: singleEquityId.value
  82. // },
  83. // method: "POST",
  84. // showLoading: true,
  85. // }).then((item) => {
  86. // let res = item
  87. // console.log(res, '=========');
  88. // richText.value = res.productIntro
  89. // couponId.value = res.couponId
  90. // params.value=res
  91. // })
  92. })
  93. </script>
  94. <style lang='scss' scoped>
  95. .copy-btn {
  96. background-color: #4caf50;
  97. color: #fff;
  98. border: none;
  99. width: 100%;
  100. border-radius: 10rpx;
  101. font-size: 24rpx;
  102. box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.2);
  103. }
  104. .title{
  105. background-size: 100% 100%;
  106. background-repeat: no-repeat;
  107. height: 250rpx;
  108. text-align: center;
  109. display: flex;
  110. align-items: center;
  111. justify-content: center;
  112. background-image: var(--bgimg);
  113. display: flex;
  114. flex-direction: column;
  115. box-sizing: border-box;
  116. align-items: center;
  117. justify-content: space-evenly;
  118. margin: 20rpx;
  119. box-sizing: border-box;
  120. .name{
  121. font-weight: 400;
  122. font-size: 30rpx;
  123. color: #FFFFFF;
  124. display: flex;
  125. align-items: center;
  126. justify-content: space-between;
  127. width: 100%;
  128. flex: 1;
  129. padding: 0 30rpx 0 30rpx;
  130. box-sizing: border-box;
  131. .money{
  132. font-size: 92rpx;
  133. color: #F2DBAC;
  134. }
  135. }
  136. .date{
  137. color: #666666;
  138. display: flex;
  139. justify-content: flex-start;
  140. width: 100%;
  141. flex: 1;
  142. align-items: center;
  143. padding-left: 30rpx;
  144. box-sizing: border-box;
  145. padding-top: 13rpx;
  146. }
  147. }
  148. .explain{
  149. width: 100%;
  150. background-color: white;
  151. margin-top: 20rpx;
  152. padding: 20rpx;
  153. box-sizing: border-box;
  154. height: calc(100vh - 250rpx);
  155. .use{
  156. font-size: 32rpx;
  157. color: #111111;
  158. line-height: 35rpx;
  159. font-family: MicrosoftYaHei;
  160. font-weight: bold;
  161. }
  162. .tips{
  163. .one{
  164. font-size: 28rpx;
  165. color: #111111;
  166. line-height: 35rpx;
  167. margin: 26rpx 0;
  168. }
  169. .list{
  170. font-size: 28rpx;
  171. color: #999999;
  172. display: flex;
  173. margin-bottom: 10rpx;
  174. .point{
  175. width: 10rpx;
  176. height: 10rpx;
  177. background: #A0A0A0;
  178. display: inline-block;
  179. border-radius: 100%;
  180. margin-right: 20rpx;
  181. margin-top: 10rpx;
  182. }
  183. }
  184. }
  185. }
  186. </style>