account.vue 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661
  1. <template>
  2. <!-- 拼包快递 -->
  3. <view class="" style="padding: 0 24rpx;">
  4. <view style="position: relative;padding-bottom: 20rpx;">
  5. <!-- 自定义导航栏 -->
  6. <image src="/static/images/index/back.png"
  7. style="width: 750rpx;height: 1200rpx;position: absolute;top: 0;z-index: -1;left:-24rpx;" mode="">
  8. </image>
  9. <u-navbar :autoBack ='true' title='寄快递' bgColor="rgba(248, 50, 36, 0.2)" :placeholder='true' :safeAreaInsetTop="true"
  10. style="position: absolute;z-index: 110;background-color: rgba(0,0,0,0);">
  11. <view class="u-nav-slot" slot="left" style="display: flex;">
  12. <u-icon name="arrow-left" color="rgba(0, 0, 0, 1)" size="24" @click="uni.navigateBack()"></u-icon>
  13. </view>
  14. </u-navbar>
  15. <view class="topadd" style="margin-top: 20rpx;">
  16. <view class="u-flex u-row-around">
  17. <view class="flexc">
  18. <view class="entrepotname">东莞仓库</view>
  19. <view class="adda">陈盼盼</view>
  20. </view>
  21. <image src="/pageB/static/images/arrows.png" style="width: 130rpx;height: 10rpx;" mode=""></image>
  22. <view class="flexc">
  23. <view class="entrepotname">澳大利亚</view>
  24. <view class="adda">Curtis Morris</view>
  25. </view>
  26. </view>
  27. <view class="topinfo" style="margin-top: 26rpx;">
  28. <text class='toptype'>{{i18n.typeof}}:</text>
  29. <text class='toptype' style='color:rgba(34, 34, 34, 1)'>日用品</text>
  30. <text class='toptype' style='margin:0 14rpx'>|</text>
  31. <text class='toptype'>{{i18n.weight}}:</text>
  32. <text class='toptype' style='color:rgba(34, 34, 34, 1)'>30.00kg</text>
  33. <text class='toptype' style='margin:0 14rpx'> |</text>
  34. <text class='toptype'>{{i18n.number}}:</text>
  35. <text class='toptype' style='color:rgba(34, 34, 34, 1)'>20件</text>
  36. </view>
  37. </view>
  38. <!-- 地址 -->
  39. <view class="address">
  40. <view class="left u-flex" style="display: flex;">
  41. <view class="u-row-between left" style="display: flex;flex-direction: column;">
  42. <image src="/static/express/ji.png" style='width: 40rpx;;height:40rpx ;' mode=""></image>
  43. <image src="/static/express/change.png" style='width: 40rpx;;height:40rpx ;' mode="">
  44. </image>
  45. </view>
  46. <view class=" u-row-between left"
  47. style="flex: 1;margin-left: 28rpx;border-bottom:2rpx solid rgba(151, 151, 151, 0.08) ;display: flex;">
  48. <view class="u-row-between " style="">
  49. <view class="pople">{{i18n.sender}}</view>
  50. <view class="jiadd" style="margin-top: 14rpx;">{{i18n.informat}}</view>
  51. </view>
  52. <view class="u-flex">
  53. <view class="" style="color: rgba(151, 151, 151, 1);">|</view>
  54. <text class="right">{{i18n.addressbook}}</text>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="left u-flex"
  59. style="display: flex;margin-top: 26rpx;">
  60. <view class="u-row-between left" style="display: flex;flex-direction: column;">
  61. <image src="/static/express/shou.png" style='width: 40rpx;;height:40rpx ;' mode=""></image>
  62. <!-- <image src="../../static/express/change.png" style='width: 40rpx;;height:40rpx ;' mode=""> -->
  63. </image>
  64. </view>
  65. <view class=" u-row-between left" style="flex: 1;margin-left: 28rpx;display: flex;">
  66. <view class="u-row-between " style="">
  67. <view class="pople">{{i18n.recipient}}</view>
  68. <view class="jiadd" style="margin-top: 14rpx;">{{i18n.informate}}</view>
  69. </view>
  70. <view class="u-flex">
  71. <view class="" style="color: rgba(151, 151, 151, 1);">|</view>
  72. <text class="right">{{i18n.addressbook}}</text>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. <view class="entrepot">
  78. <view class="entre u-flex u-row-between" style="margin-top: 20rpx;">
  79. <text class="title">普通包裹|海运散货</text>
  80. </view>
  81. <view class="box u-row-around u-flex">
  82. <view class="flexc">
  83. <view class="entrepotname">东莞仓库</view>
  84. <view class="adda">{{i18n.Starting}}</view>
  85. </view>
  86. <image src="/pageB/static/images/arrows.png" style="width: 130rpx;height: 10rpx;" mode=""></image>
  87. <view class="flexc">
  88. <view class="entrepotname">澳大利亚</view>
  89. <view class="adda">{{i18ndestination}}</view>
  90. </view>
  91. </view>
  92. </view>
  93. <view class="wup">
  94. <!-- 物品信息 -->
  95. <view class="info u-flex u-row-between">
  96. <view class="u-flex">
  97. <!-- <text class="wupin">{{i18n.item}}</text> -->
  98. <text class="wupin">包裹总重</text>
  99. </view>
  100. <view class="u-flex">
  101. <text class="chang">30kg</text>
  102. </view>
  103. </view>
  104. <view class="info u-flex u-row-between">
  105. <view class="u-flex">
  106. <text class="wupin">{{i18n.price}}</text>
  107. </view>
  108. <view class="u-flex">
  109. <text class="chang">¥24</text>
  110. </view>
  111. </view>
  112. <view class="info u-flex u-row-right">
  113. <view class="u-flex">
  114. <text class="wupin">{{i18n.subtotal}}:</text>
  115. </view>
  116. <view class="u-flex">
  117. <text class="chang" style="color: rgba(248, 50, 36, 1);">¥</text>
  118. <text style="color: rgba(248, 50, 36, 1);font-size: 38rpx;">2642.5</text>
  119. </view>
  120. </view>
  121. </view>
  122. <view class="" style="height: 166rpx;"></view>
  123. <!-- 下一步 -->
  124. <view class="next u-flex-between" style="display: flex;" @click="payorder">
  125. <view class="gopay">{{i18n.Immediatepayment}}</view>
  126. </view>
  127. </view>
  128. </view>
  129. </template>
  130. <script>
  131. export default {
  132. data() {
  133. return {
  134. deal: -1,
  135. checkboxValue1: [],
  136. }
  137. },
  138. onLoad(options) {
  139. },
  140. computed: {
  141. i18n() {
  142. return this.$t('index')
  143. }
  144. },
  145. methods: {
  146. checkboxChange(n) {
  147. console.log('change', n);
  148. },
  149. payorder(){
  150. uni.navigateTo({
  151. url:'/pageA/payorder'
  152. })
  153. }
  154. // end(){
  155. // uni.navigateTo({
  156. // url:'/pageB/end'
  157. // })
  158. // }
  159. }
  160. }
  161. </script>
  162. <style lang="scss" scoped>
  163. .gopay{
  164. width: 686rpx;
  165. height: 88rpx;
  166. background: #F83224;
  167. box-shadow: 0rpx 16rpx 40rpx -12rpx rgba(255,21,21,0.5);
  168. border-radius: 44rpx;
  169. font-family: PingFangSC, PingFang SC;
  170. font-weight: 500;
  171. font-size: 32rpx;
  172. color: #FFFFFF;
  173. line-height: 88rpx;
  174. text-align: center;
  175. font-style: normal;
  176. }
  177. .topadd {
  178. width: 702rpx;
  179. height: 278rpx;
  180. background: #FFFFFF;
  181. border-radius: 16rpx;
  182. padding: 40rpx 24rpx 30rpx;
  183. box-sizing: border-box;
  184. .toptype {
  185. font-family: PingFangSC, PingFang SC;
  186. font-weight: 400;
  187. font-size: 24rpx;
  188. color: #777777;
  189. line-height: 34rpx;
  190. text-align: left;
  191. font-style: normal;
  192. }
  193. .topinfo {
  194. width: 662rpx;
  195. height: 92rpx;
  196. background: #F4F4F4;
  197. border-radius: 12rpx;
  198. line-height: 92rpx;
  199. padding: 0 24rpx;
  200. box-sizing: border-box;
  201. }
  202. .adda {
  203. margin-top: 8rpx;
  204. font-family: PingFangSC, PingFang SC;
  205. font-weight: 400;
  206. font-size: 24rpx;
  207. color: #222222;
  208. line-height: 34rpx;
  209. text-align: right;
  210. font-style: normal;
  211. }
  212. .entrepotname {
  213. font-family: PingFangSC, PingFang SC;
  214. font-weight: 560;
  215. font-size: 32rpx;
  216. color: #222222;
  217. line-height: 44rpx;
  218. text-align: left;
  219. font-style: normal;
  220. }
  221. }
  222. .entrepot {
  223. width: 702rpx;
  224. // height: 360rpx;
  225. background: #FFFFFF;
  226. border-radius: 16rpx;
  227. // margin-bottom: 20rpx;
  228. padding: 0 20rpx 32rpx;
  229. box-sizing: border-box;
  230. .timea {
  231. font-family: PingFangSC, PingFang SC;
  232. font-weight: 400;
  233. font-size: 26rpx;
  234. color: #444444;
  235. line-height: 36rpx;
  236. text-align: left;
  237. font-style: normal;
  238. margin-top: 30rpx;
  239. }
  240. .adda {
  241. margin-top: 8rpx;
  242. font-family: PingFangSC, PingFang SC;
  243. font-weight: 400;
  244. font-size: 24rpx;
  245. color: #222222;
  246. line-height: 34rpx;
  247. text-align: right;
  248. font-style: normal;
  249. }
  250. .entrepotname {
  251. font-family: PingFangSC, PingFang SC;
  252. font-weight: 560;
  253. font-size: 32rpx;
  254. color: #222222;
  255. line-height: 44rpx;
  256. text-align: left;
  257. font-style: normal;
  258. }
  259. .box {
  260. width: 662rpx;
  261. height: 128rpx;
  262. background: #F5F5F5;
  263. border-radius: 10rpx;
  264. }
  265. .entre {
  266. width: 662rpx;
  267. height: 100rpx;
  268. border-bottom: 2rpx solid rgba(151, 151, 151, 0.1);
  269. line-height: 100rpx;
  270. .title {
  271. font-family: PingFangSC, PingFang SC;
  272. font-weight: 600;
  273. font-size: 28rpx;
  274. color: #222222;
  275. line-height: 40rpx;
  276. text-align: left;
  277. font-style: normal;
  278. }
  279. .change {
  280. // width: 100rpx;
  281. padding: 10rpx 26rpx;
  282. height: 52rpx;
  283. display: inline;
  284. background: rgba(255, 21, 21, 0.1);
  285. border-radius: 30rpx;
  286. font-family: PingFangSC, PingFang SC;
  287. font-weight: 400;
  288. font-size: 24rpx;
  289. color: #F83224;
  290. line-height: 32rpx;
  291. text-align: center;
  292. font-style: normal;
  293. box-sizing: border-box;
  294. }
  295. }
  296. }
  297. .sum {
  298. font-family: PingFangSC, PingFang SC;
  299. font-weight: 500;
  300. font-size: 24rpx;
  301. color: #222222;
  302. line-height: 34rpx;
  303. text-align: left;
  304. font-style: normal;
  305. }
  306. .deal {
  307. font-family: PingFangSC, PingFang SC;
  308. font-weight: 400;
  309. font-size: 20rpx;
  310. color: #666666;
  311. line-height: 28rpx;
  312. text-align: left;
  313. font-style: normal;
  314. }
  315. .tonext {
  316. width: 286rpx;
  317. height: 88rpx;
  318. background: #F83224;
  319. box-shadow: 0rpx 16rpx 40rpx -12rpx rgba(255, 21, 21, 0.5);
  320. border-radius: 44rpx;
  321. font-family: PingFangSC, PingFang SC;
  322. font-weight: 500;
  323. font-size: 32rpx;
  324. color: #FFFFFF;
  325. line-height: 88rpx;
  326. text-align: center;
  327. font-style: normal;
  328. }
  329. .next {
  330. width: 750rpx;
  331. height: 166rpx;
  332. background: #FFFFFF;
  333. position: fixed;
  334. bottom: 0;
  335. left: 0;
  336. padding: 12rpx 24rpx;
  337. box-sizing: border-box;
  338. }
  339. .wup {
  340. width: 702rpx;
  341. // height: 220rpx;
  342. background: #FFFFFF;
  343. border-radius: 16rpx;
  344. margin-top: 20rpx;
  345. padding: 0rpx 20rpx;
  346. box-sizing: border-box;
  347. }
  348. .info {
  349. height: 100rpx;
  350. border-bottom: 2rpx solid rgba(151, 151, 151, 0.08);
  351. .wupin {
  352. font-family: PingFangSC, PingFang SC;
  353. font-weight: 400;
  354. font-size: 28rpx;
  355. color: #333333;
  356. line-height: 40rpx;
  357. text-align: left;
  358. font-style: normal;
  359. }
  360. .chang {
  361. font-family: HarmonyOS_Sans_Medium;
  362. font-size: 28rpx;
  363. color: #222222;
  364. line-height: 38rpx;
  365. text-align: left;
  366. font-style: normal;
  367. }
  368. .mast {
  369. width: 62rpx;
  370. height: 30rpx;
  371. border-radius: 16rpx;
  372. border: 1rpx solid #F83224;
  373. font-family: PingFangSC, PingFang SC;
  374. font-weight: 400;
  375. font-size: 20rpx;
  376. color: #FF1515;
  377. line-height: 30rpx;
  378. text-align: center;
  379. font-style: normal;
  380. margin-left: 12rpx;
  381. }
  382. }
  383. .mon {
  384. font-family: HarmonyOS_Sans_Medium;
  385. font-size: 20rpx;
  386. color: #F83224;
  387. line-height: 26rpx;
  388. text-align: left;
  389. font-style: normal;
  390. }
  391. .bigtitle {
  392. font-family: PingFangSC, PingFang SC;
  393. font-weight: 600;
  394. font-size: 28rpx;
  395. color: #222222;
  396. line-height: 40rpx;
  397. text-align: left;
  398. font-style: normal;
  399. }
  400. .timeb {
  401. font-family: PingFangSC, PingFang SC;
  402. font-weight: 400;
  403. font-size: 22rpx;
  404. color: #666666;
  405. line-height: 32rpx;
  406. text-align: left;
  407. font-style: normal;
  408. }
  409. .timea {
  410. font-family: PingFangSC, PingFang SC;
  411. font-weight: 400;
  412. font-size: 22rpx;
  413. color: #555555;
  414. line-height: 32rpx;
  415. text-align: left;
  416. font-style: normal;
  417. }
  418. .pinb {
  419. width: 148rpx;
  420. height: 64rpx;
  421. background: #FF1515;
  422. border-radius: 42rpx;
  423. font-family: PingFangSC, PingFang SC;
  424. font-weight: 500;
  425. font-size: 28rpx;
  426. color: #FFFFFF;
  427. line-height: 64rpx;
  428. text-align: center;
  429. font-style: normal;
  430. }
  431. .label {
  432. margin-top: 20rpx;
  433. width: 702rpx;
  434. height: 288rpx;
  435. background: #FFFFFF;
  436. border-radius: 16rpx;
  437. padding: 32rpx 20rpx;
  438. box-sizing: border-box;
  439. .left {
  440. width: 144rpx;
  441. height: 144rpx;
  442. background: #F5F5F5;
  443. border-radius: 8rpx;
  444. .bourn {
  445. font-family: PingFangSC, PingFang SC;
  446. font-weight: 400;
  447. font-size: 20rpx;
  448. color: #222222;
  449. line-height: 28rpx;
  450. text-align: left;
  451. font-style: normal;
  452. }
  453. .addres {
  454. font-family: PingFangSC, PingFang SC;
  455. font-weight: 500;
  456. font-size: 28rpx;
  457. color: #222222;
  458. line-height: 40rpx;
  459. text-align: left;
  460. font-style: normal;
  461. }
  462. }
  463. }
  464. .flexc {
  465. display: flex;
  466. flex-direction: column;
  467. justify-content: center;
  468. align-items: center;
  469. }
  470. .hai {
  471. font-family: PingFangSC, PingFang SC;
  472. font-weight: 600;
  473. font-size: 32rpx;
  474. color: #222222;
  475. line-height: 44rpx;
  476. text-align: left;
  477. font-style: normal;
  478. margin-right: 10rpx;
  479. }
  480. .more {
  481. font-family: PingFangSC, PingFang SC;
  482. font-weight: 400;
  483. font-size: 24rpx;
  484. color: #F83224;
  485. line-height: 34rpx;
  486. text-align: left;
  487. font-style: normal;
  488. }
  489. .parcel {
  490. width: 702rpx;
  491. height: 260rpx;
  492. background: #FFFFFF;
  493. border-radius: 16rpx;
  494. margin-top: 20rpx;
  495. padding: 24rpx;
  496. box-sizing: border-box;
  497. .myparcel {
  498. font-family: PingFangSC, PingFang SC;
  499. font-weight: 600;
  500. font-size: 28rpx;
  501. color: #222222;
  502. line-height: 40rpx;
  503. text-align: left;
  504. font-style: normal;
  505. }
  506. .add {
  507. width: 240rpx;
  508. height: 48rpx;
  509. background: rgba(248, 50, 36, 0.06);
  510. border-radius: 24rpx;
  511. .addtext {
  512. font-family: PingFangSC, PingFang SC;
  513. font-weight: 600;
  514. font-size: 20rpx;
  515. color: #000000;
  516. line-height: 28rpx;
  517. text-align: left;
  518. font-style: normal;
  519. }
  520. }
  521. }
  522. .address {
  523. width: 702rpx;
  524. // height: 776rpx;
  525. background: #FFFFFF;
  526. border-radius: 20rpx;
  527. padding: 48rpx 24rpx 36rpx;
  528. box-sizing: border-box;
  529. margin-top: 38rpx;
  530. .bottom {
  531. padding: 0 76rpx;
  532. box-sizing: border-box;
  533. margin-top: 48rpx;
  534. .friend {
  535. font-family: PingFangSC, PingFang SC;
  536. font-weight: 400;
  537. font-size: 28rpx;
  538. color: #555555;
  539. line-height: 40rpx;
  540. text-align: left;
  541. font-style: normal;
  542. margin-left: 12rpx;
  543. }
  544. }
  545. .mail {
  546. width: 646rpx;
  547. height: 84rpx;
  548. background: #F83224;
  549. box-shadow: 0rpx 16rpx 40rpx -12rpx rgba(255, 21, 21, 0.5);
  550. border-radius: 44rpx;
  551. font-family: PingFangSC, PingFang SC;
  552. font-weight: 500;
  553. font-size: 32rpx;
  554. color: #FFFFFF;
  555. line-height: 84rpx;
  556. text-align: center;
  557. font-style: normal;
  558. }
  559. .left {
  560. height: 128rpx;
  561. .pople {
  562. font-family: PingFangSC, PingFang SC;
  563. font-weight: 500;
  564. font-size: 30rpx;
  565. color: #222222;
  566. line-height: 42rpx;
  567. text-align: left;
  568. font-style: normal;
  569. }
  570. .jiadd {
  571. font-family: PingFangSC, PingFang SC;
  572. font-weight: 400;
  573. font-size: 26rpx;
  574. color: #777777;
  575. line-height: 36rpx;
  576. text-align: left;
  577. font-style: normal;
  578. }
  579. .right {
  580. font-family: PingFangSC, PingFang SC;
  581. font-weight: 500;
  582. font-size: 26rpx;
  583. color: #222222;
  584. line-height: 36rpx;
  585. text-align: left;
  586. font-style: normal;
  587. margin-left: 18rpx;
  588. }
  589. }
  590. }
  591. ::v-deep .u-navbar__content.data-v-1194bf80 {
  592. background-color: rgba(0, 0, 0, 0) !important;
  593. }
  594. ::v-deep .u-status-bar.data-v-13f16680 {
  595. background-color: rgba(0, 0, 0, 0) !important;
  596. }
  597. ::v-deep .u-subsection--button.data-v-b14d3440 {
  598. /* padding: 6rpx 34rpx !important; */
  599. border-radius: 64rpx !important;
  600. }
  601. ::v-deep .u-subsection--button__bar.data-v-b14d3440 {
  602. border-radius: 32rpx !important;
  603. }
  604. </style>