national2024.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. <template>
  2. <view class="all">
  3. <ujp-navbar title="国庆充电优惠活动" ></ujp-navbar>
  4. <view class="InviteFriends" >
  5. <view class="text imgHead">
  6. <img src="@/assets/img/temporary/national-2024-1.png"></img>
  7. </view>
  8. <view class="text national0">
  9. <img src="@/assets/img/temporary/national-2024-0.png"></img>
  10. </view>
  11. <view class="main">
  12. <view class="suited">
  13. <p class="title">活动时间 :</p>
  14. <view class="content">
  15. 2024 年 10 月 1 日至 2024 年 10 月 31 日
  16. </view>
  17. <p class="title">活动对象 :</p>
  18. <view class="content">
  19. 优电联盟注册会员
  20. </view>
  21. <p class="title">活动内容 :</p>
  22. <view class="content">
  23. <view class="p">1、凡在活动期间,前往活动场站充电的平台会员享受充电服务费 8.5 折优惠。</view>
  24. <view class="p">2、凡在活动期间,快充且充电量达 30 度(含)以上均可享受一次抽奖机会(电费、停车费及占桩费据实结算)。</view>
  25. <view class="p"> 奖品如下:</view>
  26. </view>
  27. <view class="contentList">
  28. <view class="item" v-for="(item,i) in list" :key="i" >
  29. <view class="item1" >
  30. <view class="itemImg">
  31. <img v-if="item.num" src="@/assets/img/temporary/national-2024-3.png"></img>
  32. <img v-else src="@/assets/img/temporary/national-2024-2.png"></img>
  33. </view>
  34. <view class="itemView">
  35. <view class="itemName">{{item.name}}</view>
  36. <view class="itemId">
  37. {{item.remark}}
  38. </view>
  39. </view>
  40. </view>
  41. <view class="item2" v-if="item.num" >
  42. {{(item.num)}}<span>折</span>
  43. </view>
  44. <view class="item2" v-else >
  45. 免单
  46. </view>
  47. </view>
  48. </view>
  49. <view class="remarks">
  50. 活动说明:<br/>
  51. · 本活动以充电开始时间为准。<br/>
  52. · 本次活动仅适用优电联盟平台会员,不包含快电、新电途用户。<br/>
  53. · 本次活动最终解释权归湖北鹏育优电新能源科技有限公司所有<br/>
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="text imgHead national4">
  59. <img src="@/assets/img/temporary/national-2024-4.png"></img>
  60. </view>
  61. </view>
  62. </template>
  63. <script>
  64. export default {
  65. components: {
  66. },
  67. data() {
  68. return {
  69. list:[
  70. {
  71. id:"3865b3a3-13fd-461a-8145-ee9711df35a2",
  72. name:"服务费免单券",
  73. num:0,
  74. remark:"每日限 3 单"
  75. },
  76. {
  77. id:"3c554cea-f522-4281-b582-d761510ed91e",
  78. name:"服务费5折券",
  79. num:5,
  80. remark:"每日限 10 单"
  81. },
  82. {
  83. id:"ef59b220-965f-4e9a-a087-4b52bbbcfb7f",
  84. name:"服务费6折券",
  85. num:6,
  86. remark:"不限次数"
  87. },
  88. {
  89. id:"8ab96b30-8102-476e-b166-78dc930838c2",
  90. name:"服务费7折券",
  91. num:7,
  92. remark:"不限次数"
  93. },
  94. {
  95. id:"5e71de75-d30e-4db3-9b3e-1fb2587d8f42",
  96. name:"服务费8折券",
  97. num:8,
  98. remark:"不限次数"
  99. }
  100. ]
  101. }
  102. },
  103. onLoad(op) {
  104. },
  105. onReady() {
  106. },
  107. onShow() {
  108. },
  109. methods: {
  110. gotoStation(id){
  111. uni.navigateTo({
  112. url:"/pages/searchPile/stationAndPile/stationDetails?id="+id
  113. })
  114. }
  115. }
  116. }
  117. </script>
  118. <style>
  119. page {
  120. background: #b92d27;
  121. }
  122. </style>
  123. <style lang="scss" scoped>
  124. @import "@/_theme.scss";
  125. .all {
  126. @include themeify {
  127. font-size: themed('font-size1');
  128. }
  129. }
  130. .imgHead {
  131. img {
  132. width: 100%;
  133. }
  134. }
  135. // .imgHead {
  136. // padding-top: 72rpx;
  137. // display: flex;
  138. // flex-direction: column;
  139. // align-items: center;
  140. // .imgHead1 {
  141. // img {
  142. // height: 24px;
  143. // }
  144. // display: flex;
  145. // justify-content: center;
  146. // align-items: center;
  147. // }
  148. // .imgHead2 {
  149. // display: flex;
  150. // img {
  151. // width: 100%;
  152. // height: 40px;
  153. // }
  154. // margin-top: 16px;
  155. // }
  156. // }
  157. .contentList{
  158. .item{
  159. border: 1px solid rgba(232, 229, 225, 1);
  160. border-radius: 8px;
  161. display: flex;
  162. align-items: center;
  163. justify-content: space-between;
  164. margin-bottom: 16rpx;
  165. padding: 16rpx 24rpx;
  166. .item1{
  167. display: flex;
  168. align-items: center;
  169. justify-content: space-between;
  170. .itemImg{
  171. margin-right: 16rpx;
  172. img{
  173. width: 80rpx;
  174. height: 80rpx;
  175. }
  176. }
  177. .itemName{
  178. font-weight: bold;
  179. color: rgba(16, 16, 16, 1);
  180. font-size: 36rpx;
  181. }
  182. .itemId{
  183. color: #96A2B4 ;
  184. font-size: 24rpx;
  185. display: flex;
  186. align-items: center;
  187. margin-top: 3px;
  188. img{
  189. width: 32rpx;
  190. height: 32rpx;
  191. margin-right: 2px;
  192. }
  193. }
  194. }
  195. .item2{
  196. color: #FF6B00 ;
  197. font-size: 72rpx;
  198. font-weight: bold;
  199. span{
  200. font-weight: 400;
  201. font-size: 28rpx;
  202. margin-left: 8rpx;
  203. }
  204. }
  205. }
  206. }
  207. .national0{
  208. position: absolute;
  209. top: 130rpx;
  210. width: 100%;
  211. display: flex;
  212. justify-content: center;
  213. img{
  214. width: 666rpx;
  215. height: 100rpx;
  216. }
  217. }
  218. .national4{
  219. margin-top: -280rpx;
  220. }
  221. .main {
  222. position: relative;
  223. top: -90rpx;
  224. padding: 22rpx 24rpx 10rpx;
  225. .text {
  226. color: rgba(255, 255, 255, 100);
  227. /* font-size: 18px;*/
  228. text-align: justify;
  229. text-indent: 36px;
  230. }
  231. .suited {
  232. background-color: #fff;
  233. //background: linear-gradient(180deg, rgba(189,255,224,1) 0%,rgba(255,255,255,1) 14%);
  234. // background: linear-gradient(180deg, rgba(255, 224, 223, 1) 0%, rgba(255, 255, 255, 1) 14%);
  235. //background: linear-gradient(180deg, rgba(214,226,255,1) 0%,rgba(255,255,255,1) 14%);
  236. margin-top: 40rpx;
  237. padding: 40rpx 32rpx;
  238. border-radius: 20px;
  239. .title {
  240. /*height: 18px;*/
  241. color: rgba(16, 16, 16, 100);
  242. font-size: 32rpx;
  243. font-weight: 600;
  244. }
  245. .remarks{
  246. color: rgba(188, 188, 188, 1);
  247. font-size: 22rpx;
  248. margin-top: 40rpx;
  249. }
  250. .content {
  251. .p{
  252. margin: 12rpx 0;
  253. }
  254. margin: 16rpx 0 40rpx ;
  255. //font-weight: 550;
  256. color: #333333 ;
  257. font-size: 28rpx;
  258. span{
  259. color: #ec4f27;
  260. }
  261. p {
  262. margin: 8rpx 0;
  263. }
  264. }
  265. }
  266. .application-table {
  267. .nezhaImgView{
  268. text-align: center;
  269. margin-bottom: 24rpx;
  270. img{
  271. width: 100%;
  272. }
  273. }
  274. background-color: #fff;
  275. border-radius: 16px;
  276. margin-top: 24px;
  277. padding: 24rpx 36rpx;
  278. padding-top:8px;
  279. }
  280. .application-form {
  281. //background: linear-gradient(180deg, rgba(214,226,255,1) 0%,rgba(255,255,255,1) 14%);
  282. color:#333333;
  283. background-color: #fff;
  284. border-radius: 16px;
  285. margin-top: 24px;
  286. padding: 24px;
  287. .titlespan{
  288. font-weight: bold;
  289. color: rgba(16, 16, 16, 1);
  290. }
  291. .title{
  292. color: rgba(16, 16, 16, 1);
  293. font-size: 36rpx;
  294. font-weight: bold;
  295. margin-bottom: 24rpx
  296. }
  297. .u-input {
  298. border-radius: 50px;
  299. background-color: rgba(232, 236, 234, 100);
  300. margin-top: 12px;
  301. }
  302. /deep/.uni-input-input {
  303. margin: 20px;
  304. }
  305. /deep/.u-input__right-icon {
  306. margin-right: 10px;
  307. }
  308. p {
  309. font-size: 18px;
  310. @include themeify {
  311. line-height: themed('font-size4');
  312. height: themed('font-size4');
  313. }
  314. /* height: 18px;
  315. line-height: 18px;*/
  316. color: rgba(16, 16, 16, 100);
  317. /* font-size: 18px;*/
  318. }
  319. .tel,
  320. .place,
  321. .type,
  322. .want {
  323. //margin-top: 24px;
  324. }
  325. .textarea {
  326. width: 72.2vw;
  327. height: 140px;
  328. border-radius: 22px;
  329. background-color: rgba(232, 236, 234, 100);
  330. margin-top: 12px;
  331. overflow-y: scroll;
  332. @include themeify {
  333. font-size: themed('font-size2');
  334. line-height: themed('font-size2');
  335. }
  336. .uni-textarea-placeholder {
  337. padding: 12px 20px;
  338. @include themeify {
  339. font-size: themed('font-size2');
  340. line-height: themed('font-size2');
  341. }
  342. }
  343. /deep/.uni-textarea-textarea {
  344. width: 90%;
  345. padding: 10px 20px;
  346. }
  347. /deep/.u-input__right-icon {
  348. display: none;
  349. }
  350. }
  351. }
  352. .type {
  353. .checkbox {
  354. margin-top: 12px;
  355. /deep/.u-checkbox {
  356. width: 50% !important;
  357. margin-top: 4px;
  358. }
  359. }
  360. }
  361. .want {
  362. /deep/.u-checkbox {
  363. margin-top: 8px;
  364. }
  365. }
  366. .hint {
  367. margin-top: 12px;
  368. @include themeify {
  369. font-size: themed('font-size2');
  370. line-height: themed('font-size5');
  371. }
  372. /*
  373. font-size: 14px;
  374. line-height: 20px;
  375. */
  376. text-align: center;
  377. .tel-num {
  378. color: #9FC7FF;
  379. }
  380. }
  381. /deep/.u-btn {
  382. border-radius: 50px;
  383. margin-top: 40rpx;
  384. }
  385. }
  386. .InviteFriends {
  387. //background-image: linear-gradient(0deg, #a2e9c9, #01b963);
  388. background: #b92d27;
  389. }
  390. .opacityClass {
  391. opacity: 0.2;
  392. }
  393. // 底部
  394. .bottomView {
  395. border-radius: 50px;
  396. color: rgba(0, 185, 98, 100);
  397. // width: 100%;
  398. // height: 64px;
  399. // text-align: center;
  400. // background-color: #fff;
  401. .button {
  402. //width: 90%;
  403. border-radius: 50px;
  404. // background-color: #fff;
  405. color: #fff;
  406. font-size: 16px;
  407. background: linear-gradient(90deg, rgba(255, 98, 0, 1) 0%, rgba(255, 150, 0, 1) 100%);
  408. //border: 1px solid rgba(0, 163, 86, 1);
  409. }
  410. // button::after {
  411. // border: rgba(0, 185, 98, 100);
  412. // }
  413. }
  414. .carAuth {
  415. border-radius: 12px;
  416. background-color: rgba(255, 255, 255, 1);
  417. border: 2px dashed rgba(187, 187, 187, 1);
  418. //height: 400rpx;
  419. width: 100%;
  420. overflow: hidden;
  421. text-align: center;
  422. .carAuthImg {
  423. margin-top: 10px;
  424. margin-bottom: 10px;
  425. width: 510rpx;
  426. height: 360rpx;
  427. }
  428. .carAuthIcon {
  429. position: absolute;
  430. background: #6e7175;
  431. width: 44px;
  432. height: 44px;
  433. border-radius: 50px;
  434. /* left: 200px; */
  435. /* top: 200px; */
  436. margin: 160rpx 230rpx;
  437. z-index: 99;
  438. display: flex;
  439. justify-content: center;
  440. }
  441. }
  442. // .car-type{
  443. // display: flex;
  444. // flex-direction: row;
  445. // margin: 0 40rpx;
  446. // flex-wrap: wrap;
  447. // }
  448. .want {
  449. .wantView {
  450. display: flex;
  451. }
  452. button {
  453. width: 45%;
  454. color: rgba(51, 51, 51, 1);
  455. background-color: rgba(232, 236, 234, 1);
  456. }
  457. button::after {
  458. border: none;
  459. }
  460. .wantBtn {
  461. background-color: #fff;
  462. border: 2px solid #00B962;
  463. }
  464. .wanttpis {
  465. position: relative;
  466. top: -100rpx;
  467. left: 180rpx;
  468. z-index: 99;
  469. background: #00B962;
  470. padding: 2px 3px;
  471. font-size: 10px;
  472. color: #fff;
  473. border-radius: 4px;
  474. }
  475. }
  476. .carTempBlInput {
  477. display: flex;
  478. align-items: center;
  479. font-size: 16px;
  480. min-height: 44px;
  481. padding: 4px 16px;
  482. border-radius: 20px;
  483. background: #e9ecea;
  484. color: #808080
  485. }
  486. .table {
  487. table {
  488. color:#010101 ;
  489. border-spacing:0;
  490. font-size: 32rpx;
  491. .th {
  492. background-color: #f2efef;
  493. text-align: center;
  494. color: #101010;
  495. font-weight: bold;
  496. td{
  497. border: 1px solid #dbdbdb;
  498. padding: 12rpx 0;
  499. height: 96rpx;
  500. }
  501. }
  502. .td1 {
  503. text-align: start;
  504. // background-color: rgba(243, 245, 247, 1);
  505. width: 132rpx;
  506. text-align: center;
  507. border-left: 1px solid #dbdbdb;
  508. border-right: 1px solid #dbdbdb;
  509. }
  510. .td3 {
  511. text-align: start;
  512. //background-color: rgba(243, 245, 247, 1);
  513. //width: 100rpx;
  514. border-left: 1px solid #dbdbdb;
  515. border-right: 1px solid #dbdbdb;
  516. }
  517. td {
  518. //text-align: center;
  519. border-bottom: 1px solid #dbdbdb;
  520. //width: 160rpx;
  521. }
  522. }
  523. }
  524. </style>