end.vue 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  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 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. <!-- 邮寄地址 -->
  16. <view class="mail">
  17. <view class="u-flex u-row-around" style="margin-top: 40rpx;padding: 0 80rpx;">
  18. <view class="flexc">
  19. <view class="entrepotname">东莞仓库</view>
  20. <view class="adda">陈盼盼</view>
  21. </view>
  22. <image src="/pageB/static/images/arrows.png" style="width: 130rpx;height: 10rpx;" mode=""></image>
  23. <view class="flexc">
  24. <view class="entrepotname">澳大利亚</view>
  25. <view class="adda">Curtis Morris</view>
  26. </view>
  27. </view>
  28. <view class="boxinfo">
  29. <view class="">
  30. <text class="abouta">{{i18n.typeof}}:</text>
  31. <text class="abouta" style='color:rgba(34, 34, 34, 1)'>日用品</text>
  32. <text class="abouta" style='margin:0 16rpx'>|</text>
  33. <text class="abouta">{{i18n.weight}}:</text>
  34. <text class="abouta" style='color:rgba(34, 34, 34, 1)'>30.00kg</text>
  35. <text class="abouta" style='margin:0 16rpx'>|</text>
  36. <text class="abouta">{{i18n.number}}:</text>
  37. <text class="abouta" style='color:rgba(34, 34, 34, 1)'>20件</text>
  38. </view>
  39. <view class="" style="margin-top: 20rpx;">
  40. <text class="abouta">{{i18n.flow}}:</text>
  41. <text class="abouta" style='color:rgba(34, 34, 34, 1)'>{{i18n.Marinetank}}</text>
  42. </view>
  43. </view>
  44. </view>
  45. <!-- 地址 -->
  46. <view class="address">
  47. <view class="left u-flex" style="display: flex;">
  48. <view class="u-row-between left" style="display: flex;flex-direction: column;">
  49. <image src="/static/express/ji.png" style='width: 40rpx;;height:40rpx ;' mode=""></image>
  50. <image src="/static/express/change.png" style='width: 40rpx;;height:40rpx ;' mode="">
  51. </image>
  52. </view>
  53. <view class=" u-row-between left"
  54. style="flex: 1;margin-left: 28rpx;border-bottom:2rpx solid rgba(151, 151, 151, 0.08) ;display: flex;">
  55. <view class="u-row-between " style="">
  56. <view class="pople">{{i18n.sender}}</view>
  57. <view class="jiadd" style="margin-top: 14rpx;">{{i18n.informat}}</view>
  58. </view>
  59. <view class="u-flex">
  60. <view class="" style="color: rgba(151, 151, 151, 1);">|</view>
  61. <text class="right">{{i18n.addressbook}}</text>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="left u-flex"
  66. style="display: flex;margin-top: 26rpx;border-bottom:2rpx solid rgba(151, 151, 151, 0.08)">
  67. <view class="u-row-between left" style="display: flex;flex-direction: column;">
  68. <image src="/static/express/shou.png" style='width: 40rpx;;height:40rpx ;' mode=""></image>
  69. <!-- <image src="../../static/express/change.png" style='width: 40rpx;;height:40rpx ;' mode=""> -->
  70. </image>
  71. </view>
  72. <view class=" u-row-between left" style="flex: 1;margin-left: 28rpx;display: flex;">
  73. <view class="u-row-between " style="">
  74. <view class="pople">{{i18n.recipient}}</view>
  75. <view class="jiadd" style="margin-top: 14rpx;">{{i18n.informat}}</view>
  76. </view>
  77. <view class="u-flex">
  78. <view class="" style="color: rgba(151, 151, 151, 1);">|</view>
  79. <text class="right">{{i18n.addressbook}}</text>
  80. </view>
  81. </view>
  82. </view>
  83. </view>
  84. <!-- 快递服务 -->
  85. <view class="wup u-flex u-row-between">
  86. <view>快递服务</view>
  87. <view class="u-flex" @click="toexpress">
  88. <view>{{expname||i18n.selection}}</view>
  89. <image src="../static/express/next1.png" style="width: 30rpx;height: 30rpx;" mode=""></image>
  90. </view>
  91. </view>
  92. <!-- 下一步 -->
  93. <view class="next u-flex-between" style="display: flex;">
  94. <!-- <view class="" style="flex: 1;">
  95. <view class="sum">
  96. <text>预估总价</text>
  97. <text style="color: rgba(248, 50, 36, 1);">¥ - -</text>
  98. </view>
  99. <view class="deal u-flex" style="margin-top: 16rpx;">
  100. <u-checkbox-group shape='circle' v-model="checkboxValue1" placement="column" @change="checkboxChange">
  101. <u-checkbox :customStyle="{marginBottom: '8px',marginTop:'5px'}" :name="deal" >
  102. </u-checkbox>
  103. </u-checkbox-group>
  104. <text>我阅读并同意</text>
  105. <text style="color: rgba(248, 50, 36, 1);">《国际快递服务协议》</text>
  106. </view>
  107. </view> -->
  108. <view class="tonext " style="">
  109. {{i18n.Orderconfirmation}}
  110. </view>
  111. </view>
  112. </view>
  113. </view>
  114. </template>
  115. <script>
  116. export default {
  117. data() {
  118. return {
  119. deal: -1,
  120. checkboxValue1: [],
  121. expname: ''
  122. }
  123. },
  124. onLoad(options) {
  125. },
  126. computed: {
  127. i18n() {
  128. return this.$t('index')
  129. }
  130. },
  131. methods: {
  132. checkboxChange(n) {
  133. console.log('change', n);
  134. },
  135. toexpress() {
  136. uni.navigateTo({
  137. url: '/pageB/expresstype',
  138. events: {
  139. todcp: (res) => {
  140. this.expname = res
  141. }
  142. }
  143. })
  144. }
  145. }
  146. }
  147. </script>
  148. <style lang="scss" scoped>
  149. .mail {
  150. width: 702rpx;
  151. height: 332rpx;
  152. background: #FFFFFF;
  153. border-radius: 16rpx;
  154. margin-top: 38rpx;
  155. padding: 1rpx 20rpx 28rpx;
  156. box-sizing: border-box;
  157. .abouta {
  158. font-family: PingFangSC, PingFang SC;
  159. font-weight: 400;
  160. font-size: 24rpx;
  161. color: #777777;
  162. line-height: 34rpx;
  163. text-align: left;
  164. font-style: normal;
  165. }
  166. .boxinfo {
  167. margin-top: 26rpx;
  168. width: 662rpx;
  169. height: 148rpx;
  170. background: #F4F4F4;
  171. border-radius: 12rpx;
  172. padding: 28rpx 20rpx;
  173. box-sizing: border-box;
  174. }
  175. .adda {
  176. margin-top: 8rpx;
  177. font-family: PingFangSC, PingFang SC;
  178. font-weight: 400;
  179. font-size: 24rpx;
  180. color: #222222;
  181. line-height: 34rpx;
  182. text-align: right;
  183. font-style: normal;
  184. }
  185. .entrepotname {
  186. font-family: PingFangSC, PingFang SC;
  187. font-weight: 500;
  188. font-size: 32rpx;
  189. color: #222222;
  190. line-height: 44rpx;
  191. text-align: left;
  192. font-style: normal;
  193. }
  194. }
  195. .sum {
  196. font-family: PingFangSC, PingFang SC;
  197. font-weight: 500;
  198. font-size: 24rpx;
  199. color: #222222;
  200. line-height: 34rpx;
  201. text-align: left;
  202. font-style: normal;
  203. }
  204. .deal {
  205. font-family: PingFangSC, PingFang SC;
  206. font-weight: 400;
  207. font-size: 20rpx;
  208. color: #666666;
  209. line-height: 28rpx;
  210. text-align: left;
  211. font-style: normal;
  212. }
  213. .tonext {
  214. width: 686rpx;
  215. height: 88rpx;
  216. background: #F83224;
  217. box-shadow: 0rpx 16rpx 40rpx -12rpx rgba(255, 21, 21, 0.5);
  218. border-radius: 44rpx;
  219. font-family: PingFangSC, PingFang SC;
  220. font-weight: 500;
  221. font-size: 32rpx;
  222. color: #FFFFFF;
  223. line-height: 88rpx;
  224. text-align: center;
  225. font-style: normal;
  226. }
  227. .next {
  228. width: 750rpx;
  229. height: 166rpx;
  230. background: #FFFFFF;
  231. position: fixed;
  232. bottom: 0;
  233. left: 0;
  234. padding: 12rpx 24rpx;
  235. box-sizing: border-box;
  236. }
  237. .wup {
  238. width: 704rpx;
  239. height: 76rpx;
  240. background: #FFFFFF;
  241. border-radius: 16rpx;
  242. margin-top: 20rpx;
  243. padding: 0rpx 20rpx;
  244. box-sizing: border-box;
  245. }
  246. .info {
  247. height: 100rpx;
  248. border-bottom: 2rpx solid rgba(151, 151, 151, 0.08);
  249. .wupin {
  250. font-family: PingFangSC, PingFang SC;
  251. font-weight: 400;
  252. font-size: 28rpx;
  253. color: #333333;
  254. line-height: 40rpx;
  255. text-align: left;
  256. font-style: normal;
  257. }
  258. .change {
  259. font-family: PingFangSC, PingFang SC;
  260. font-weight: 400;
  261. font-size: 28rpx;
  262. color: #666666;
  263. line-height: 40rpx;
  264. text-align: left;
  265. font-style: normal;
  266. }
  267. .mast {
  268. width: 62rpx;
  269. height: 30rpx;
  270. border-radius: 16rpx;
  271. border: 1rpx solid #F83224;
  272. font-family: PingFangSC, PingFang SC;
  273. font-weight: 400;
  274. font-size: 20rpx;
  275. color: #FF1515;
  276. line-height: 30rpx;
  277. text-align: center;
  278. font-style: normal;
  279. margin-left: 12rpx;
  280. }
  281. }
  282. .mon {
  283. font-family: HarmonyOS_Sans_Medium;
  284. font-size: 20rpx;
  285. color: #F83224;
  286. line-height: 26rpx;
  287. text-align: left;
  288. font-style: normal;
  289. }
  290. .bigtitle {
  291. font-family: PingFangSC, PingFang SC;
  292. font-weight: 600;
  293. font-size: 28rpx;
  294. color: #222222;
  295. line-height: 40rpx;
  296. text-align: left;
  297. font-style: normal;
  298. }
  299. .timeb {
  300. font-family: PingFangSC, PingFang SC;
  301. font-weight: 400;
  302. font-size: 22rpx;
  303. color: #666666;
  304. line-height: 32rpx;
  305. text-align: left;
  306. font-style: normal;
  307. }
  308. .timea {
  309. font-family: PingFangSC, PingFang SC;
  310. font-weight: 400;
  311. font-size: 22rpx;
  312. color: #555555;
  313. line-height: 32rpx;
  314. text-align: left;
  315. font-style: normal;
  316. }
  317. .pinb {
  318. width: 148rpx;
  319. height: 64rpx;
  320. background: #FF1515;
  321. border-radius: 42rpx;
  322. font-family: PingFangSC, PingFang SC;
  323. font-weight: 500;
  324. font-size: 28rpx;
  325. color: #FFFFFF;
  326. line-height: 64rpx;
  327. text-align: center;
  328. font-style: normal;
  329. }
  330. .label {
  331. margin-top: 20rpx;
  332. width: 702rpx;
  333. height: 288rpx;
  334. background: #FFFFFF;
  335. border-radius: 16rpx;
  336. padding: 32rpx 20rpx;
  337. box-sizing: border-box;
  338. .left {
  339. width: 144rpx;
  340. height: 144rpx;
  341. background: #F5F5F5;
  342. border-radius: 8rpx;
  343. .bourn {
  344. font-family: PingFangSC, PingFang SC;
  345. font-weight: 400;
  346. font-size: 20rpx;
  347. color: #222222;
  348. line-height: 28rpx;
  349. text-align: left;
  350. font-style: normal;
  351. }
  352. .addres {
  353. font-family: PingFangSC, PingFang SC;
  354. font-weight: 500;
  355. font-size: 28rpx;
  356. color: #222222;
  357. line-height: 40rpx;
  358. text-align: left;
  359. font-style: normal;
  360. }
  361. }
  362. }
  363. .flexc {
  364. display: flex;
  365. flex-direction: column;
  366. justify-content: center;
  367. align-items: center;
  368. }
  369. .hai {
  370. font-family: PingFangSC, PingFang SC;
  371. font-weight: 600;
  372. font-size: 32rpx;
  373. color: #222222;
  374. line-height: 44rpx;
  375. text-align: left;
  376. font-style: normal;
  377. margin-right: 10rpx;
  378. }
  379. .more {
  380. font-family: PingFangSC, PingFang SC;
  381. font-weight: 400;
  382. font-size: 24rpx;
  383. color: #F83224;
  384. line-height: 34rpx;
  385. text-align: left;
  386. font-style: normal;
  387. }
  388. .parcel {
  389. width: 702rpx;
  390. height: 260rpx;
  391. background: #FFFFFF;
  392. border-radius: 16rpx;
  393. margin-top: 20rpx;
  394. padding: 24rpx;
  395. box-sizing: border-box;
  396. .myparcel {
  397. font-family: PingFangSC, PingFang SC;
  398. font-weight: 600;
  399. font-size: 28rpx;
  400. color: #222222;
  401. line-height: 40rpx;
  402. text-align: left;
  403. font-style: normal;
  404. }
  405. .add {
  406. width: 240rpx;
  407. height: 48rpx;
  408. background: rgba(248, 50, 36, 0.06);
  409. border-radius: 24rpx;
  410. .addtext {
  411. font-family: PingFangSC, PingFang SC;
  412. font-weight: 600;
  413. font-size: 20rpx;
  414. color: #000000;
  415. line-height: 28rpx;
  416. text-align: left;
  417. font-style: normal;
  418. }
  419. }
  420. }
  421. .address {
  422. width: 702rpx;
  423. // height: 776rpx;
  424. background: #FFFFFF;
  425. border-radius: 20rpx;
  426. padding: 48rpx 24rpx 36rpx;
  427. box-sizing: border-box;
  428. margin-top: 20rpx;
  429. .bottom {
  430. padding: 0 76rpx;
  431. box-sizing: border-box;
  432. margin-top: 48rpx;
  433. .friend {
  434. font-family: PingFangSC, PingFang SC;
  435. font-weight: 400;
  436. font-size: 28rpx;
  437. color: #555555;
  438. line-height: 40rpx;
  439. text-align: left;
  440. font-style: normal;
  441. margin-left: 12rpx;
  442. }
  443. }
  444. .mail {
  445. width: 646rpx;
  446. height: 84rpx;
  447. background: #F83224;
  448. box-shadow: 0rpx 16rpx 40rpx -12rpx rgba(255, 21, 21, 0.5);
  449. border-radius: 44rpx;
  450. font-family: PingFangSC, PingFang SC;
  451. font-weight: 500;
  452. font-size: 32rpx;
  453. color: #FFFFFF;
  454. line-height: 84rpx;
  455. text-align: center;
  456. font-style: normal;
  457. }
  458. .left {
  459. height: 128rpx;
  460. .pople {
  461. font-family: PingFangSC, PingFang SC;
  462. font-weight: 500;
  463. font-size: 30rpx;
  464. color: #222222;
  465. line-height: 42rpx;
  466. text-align: left;
  467. font-style: normal;
  468. }
  469. .jiadd {
  470. font-family: PingFangSC, PingFang SC;
  471. font-weight: 400;
  472. font-size: 26rpx;
  473. color: #777777;
  474. line-height: 36rpx;
  475. text-align: left;
  476. font-style: normal;
  477. }
  478. .right {
  479. font-family: PingFangSC, PingFang SC;
  480. font-weight: 500;
  481. font-size: 26rpx;
  482. color: #222222;
  483. line-height: 36rpx;
  484. text-align: left;
  485. font-style: normal;
  486. margin-left: 18rpx;
  487. }
  488. }
  489. }
  490. ::v-deep .u-navbar__content.data-v-1194bf80 {
  491. background-color: rgba(0, 0, 0, 0) !important;
  492. }
  493. ::v-deep .u-status-bar.data-v-13f16680 {
  494. background-color: rgba(0, 0, 0, 0) !important;
  495. }
  496. ::v-deep .u-subsection--button.data-v-b14d3440 {
  497. /* padding: 6rpx 34rpx !important; */
  498. border-radius: 64rpx !important;
  499. }
  500. ::v-deep .u-subsection--button__bar.data-v-b14d3440 {
  501. border-radius: 32rpx !important;
  502. }
  503. </style>