monthlyCardBuy2.vue 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. <template>
  2. <view>
  3. <ujp-navbar title="选购服务费月卡"></ujp-navbar>
  4. <!-- 提示 -->
  5. <template>
  6. <u-alert-tips type="warning" :title="title" :description="description" :show-icon="true"></u-alert-tips>
  7. </template>
  8. <!-- 卡片 -->
  9. <view class="main">
  10. <view class="card-1">
  11. <view class="tag">新客福利</view>
  12. <view class="price">
  13. <view class="current-price">
  14. 59.9<text>元/月</text>
  15. </view>
  16. <view class="radio-box">
  17. <u-checkbox-group>
  18. <u-checkbox v-model="checked" active-color="#446D94" shape="circle" size="48"></u-checkbox>
  19. </u-checkbox-group>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="card-2">
  24. <view class="tag">限时5折</view>
  25. <view class="price">
  26. <view class="current-price">
  27. 99<text>元/月</text>
  28. </view>
  29. <view class="original-cost">
  30. 原价 198元/月
  31. </view>
  32. <view class="radio-box">
  33. <u-checkbox-group>
  34. <u-checkbox v-model="checked" active-color="#B29467" shape="circle" size="48"></u-checkbox>
  35. </u-checkbox-group>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <!-- 按钮 -->
  41. <view class="button">
  42. <button class="btn" ><text style="font-size: 14px;">¥</text>59.9 开通1个月会员</button>
  43. <button class="btn btn-2"><text style="font-size: 14px;">¥</text>99 <text class="price">198</text> 开通1个月会员
  44. <view class="position">
  45. <view id="talkbubble">限时5折</view>
  46. </view>
  47. </button>
  48. <view class="hint">
  49. 开通表示阅读并同意《服务费折扣协议》
  50. </view>
  51. </view>
  52. <!-- 须知 -->
  53. <view class="notice">
  54. <u-divider fontSize="36" border-color="#bbc039" color="#101010">购卡须知</u-divider>
  55. <view class="text">
  56. <view class="num">
  57. 01
  58. </view>
  59. <view class="">
  60. 服务费月卡默认与购卡人账户进行关联,所涉权益仅可绑定单个车牌,即账户、月卡、车牌三者关联形成一个权益主体
  61. </view>
  62. </view>
  63. <view class="text">
  64. <view class="num">
  65. 02
  66. </view>
  67. <view class="">
  68. 服务费月卡有效期内,持卡人在指定充电站为绑定车辆充电,可享受充电服务费全免。持卡人给非绑定车辆充电,将正常收取充电服务费。。
  69. </view></view>
  70. <view class="text">
  71. <view class="num">
  72. 03
  73. </view>
  74. <view class="">
  75. 如车牌等信息填写错误,请致电售后客服进行处理。本卡一经售出,不支持任何形式的退换。
  76. </view>
  77. </view>
  78. <view class="text">
  79. <view class="num">
  80. 04
  81. </view>
  82. <view class="">
  83. 本卡一经售出,不支持任何形式的退换。
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. </template>
  89. <script>
  90. export default {
  91. data() {
  92. return {
  93. description: '盟主能量包本期限时优惠活动将于9月16日结束。',
  94. checked:"false"
  95. }
  96. },
  97. methods: {
  98. }
  99. }
  100. </script>
  101. <style lang="scss" scoped>
  102. /deep/.u-alert-desc{
  103. color: #ff7300;
  104. }
  105. // 卡片
  106. .main{
  107. background-color: #404A5E ;
  108. padding: 20px 20px 30px 20px;
  109. .tag{
  110. position: absolute;
  111. background-color: rgba(255, 61, 0, 100);
  112. color: #ffffff;
  113. font-size: 12px;
  114. text-align: center;
  115. line-height: 20px;
  116. padding: 0 6px;
  117. left: 284rpx;
  118. top: 44rpx;
  119. }
  120. @media screen and (max-width:320px){
  121. .tag{
  122. padding: 0 4rpx;
  123. }
  124. .price{
  125. position: absolute;
  126. top:24rpx !important;
  127. right: 8rpx !important;
  128. }
  129. .current-price{
  130. font-size: 36rpx;
  131. }
  132. }
  133. .price{
  134. top:24rpx;
  135. right: 32rpx;
  136. position: absolute;
  137. }
  138. .current-price{
  139. font-size: 64rpx;
  140. color: #101010;
  141. text-align: right;
  142. text{
  143. font-size: 28rpx;
  144. }
  145. }
  146. .original-cost{
  147. color: rgba(75, 65, 50, 100);
  148. text-decoration: line-through;
  149. }
  150. /deep/.u-iconfont{
  151. font-size: 36rpx !important;
  152. }
  153. .card-1{
  154. background: url(@/assets/img/card_normal.png) no-repeat ;
  155. position: relative;
  156. background-size:cover;
  157. height: 300rpx;
  158. /deep/.u-checkbox__icon-wrap{
  159. background-color: #446D94 ;
  160. }
  161. .radio-box{
  162. margin-top: 112rpx;
  163. float: right;
  164. margin-right: -30rpx;
  165. }
  166. }
  167. .card-2{
  168. position: relative;
  169. background: url(@/assets/img/card_operate.png) no-repeat ;
  170. background-size:cover;
  171. height: 300rpx;
  172. margin-top: 32rpx;
  173. /deep/.u-checkbox__icon-wrap{
  174. background-color: #B29467 ;
  175. }
  176. .radio-box{
  177. margin-top: 78rpx;
  178. float: right;
  179. margin-right: -30rpx;
  180. }
  181. }
  182. }
  183. // 按钮
  184. .button{
  185. margin-top: -20rpx;
  186. border-radius: 16px 16px 0px 0px;
  187. background-color: rgba(255, 255, 255, 100);
  188. padding: 20px 20px 16px 20px;
  189. uni-button:after{
  190. border: none;
  191. }
  192. .btn{
  193. border: none !important;
  194. background:linear-gradient(#E1D0A5,#E4BE84);
  195. box-shadow: 0px 4px 10px 0px rgba(207, 175, 118, 40);
  196. border-radius: 50px;
  197. color: #101010;
  198. font-size: 18px !important;
  199. line-height: 44px;
  200. height: 44px;
  201. overflow: inherit !important;
  202. .price{
  203. text-decoration: line-through;
  204. margin: auto 4px;
  205. font-size: 12px
  206. }
  207. }
  208. .hint{
  209. color: rgba(159, 157, 154, 100);
  210. line-height: 20px;
  211. text-align: center;
  212. margin-top: 8px;
  213. }
  214. .btn-2{
  215. position: relative;
  216. }
  217. .position{
  218. position: absolute;
  219. top: -16px;
  220. left: 24%;
  221. z-index: 999;
  222. }
  223. #talkbubble {
  224. position: absolute;
  225. top: 0;
  226. left: 0;
  227. width: 60px;
  228. line-height: 20px;
  229. font-size: 12px;
  230. color: #fff;
  231. background: red;
  232. position: relative;
  233. border-radius: 10px;
  234. text-align: center;
  235. }
  236. #talkbubble:before {
  237. content: "";
  238. position: absolute;
  239. top: 100%;
  240. right: 45%;
  241. border-top:5px solid red;
  242. border-right:5px solid transparent;
  243. border-left: 5px solid transparent;
  244. }
  245. }
  246. // 须知
  247. .notice{
  248. background-color: #fff;
  249. margin-top: 12px;
  250. padding: 20px 20px 72px 30px;
  251. /deep/.u-divider{
  252. margin-bottom: 16px !important;
  253. }
  254. .text{
  255. color: #666666;
  256. margin-bottom: 12px;
  257. line-height: 24px;
  258. display: flex;
  259. .num{
  260. margin-right:8px;
  261. }
  262. }
  263. }
  264. </style>