球星卡微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

334 lines
8.4 KiB

  1. <template>
  2. <view class="flex-col page">
  3. <view class="flex-col group_3">
  4. <view class="flex-col">
  5. <view class="bottom-group flex-col view_3">
  6. <view class="flex-row equal-division">
  7. <view class="equal-division-item flex-col items-center">
  8. <image
  9. src="https://project-user-resource-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497893751612328.png"
  10. class="image_7"
  11. />
  12. <text class="text_2">填写信息</text>
  13. </view>
  14. <view class="equal-division-item flex-col items-center">
  15. <image
  16. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497774314812625.png"
  17. class="image_9"
  18. />
  19. <text class="text_2">藏品寄送</text>
  20. </view>
  21. <view class="equal-division-item flex-col items-center">
  22. <image
  23. src="https://project-user-resource-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497893767537982.png"
  24. class="image_7"
  25. />
  26. <text class="text_2">评级</text>
  27. </view>
  28. </view>
  29. <view class="justify-between group_8">
  30. <view class="left-section"> </view>
  31. <view class="left-section"> </view>
  32. </view>
  33. </view>
  34. <view class="flex-col section_2">
  35. <picker mode="selector" :range="expressList" range-key="label" @change="pickerChange">
  36. <view class="justify-between">
  37. <view class="flex-row">
  38. <text class="text_6">快递公司</text>
  39. <text class="text_7">{{ expressIndex !== '' ? expressList[expressIndex].label : '请选择快递公司' }}</text>
  40. </view>
  41. <image
  42. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497774758380231.png"
  43. class="image_11"
  44. />
  45. </view>
  46. </picker>
  47. <view class="justify-between group_11">
  48. <view class="flex-row" style="align-items: center;">
  49. <text class="text_8">快递单号</text>
  50. <!-- <text class="text_9">请填写快递单号</text> -->
  51. <u-input v-model="oddNumber" placeholder="请填写快递单号" maxlength="18"></u-input>
  52. </view>
  53. <image
  54. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497774389520756.png"
  55. class="image_5 image_12"
  56. @click="scan"
  57. />
  58. </view>
  59. </view>
  60. <view class="flex-col section_3">
  61. <view class="justify-between">
  62. <text class="text_10">寄送地址</text>
  63. <text class="text_11" @click="setClipboardData">一键复制</text>
  64. </view>
  65. <view class="flex-row group_14">
  66. <text class="text_12">收货人</text>
  67. <text class="text_13">评分卡部</text>
  68. </view>
  69. <view class="flex-row group_15">
  70. <text class="text_14">联系电话</text>
  71. <text class="text_15">18268905349</text>
  72. </view>
  73. <view class="flex-row group_16">
  74. <text class="text_16">收货地址</text>
  75. <text class="text_17">北京北京市西城区5号设计总院A座203室</text>
  76. </view>
  77. </view>
  78. </view>
  79. <view class="flex-col group_17">
  80. <view class="flex-col items-center button" @click="$url('/packages/sonpingDetail/sonpingDetail')">
  81. <text>送评</text>
  82. </view>
  83. <text class="text_19" @click="$toBack(2)">稍后填写</text>
  84. <view style="width: 100%; height: 30rpx;"></view>
  85. </view>
  86. </view>
  87. </view>
  88. </template>
  89. <script>
  90. export default {
  91. data() {
  92. return {
  93. oddNumber: '',
  94. expressList: [{
  95. label: '中通快递',
  96. value: '1'
  97. },{
  98. label: '圆通快递',
  99. value: '2'
  100. }],
  101. expressIndex: ''
  102. };
  103. },
  104. methods: {
  105. setClipboardData(){
  106. uni.setClipboardData({
  107. data: '复制'
  108. })
  109. },
  110. scan(){
  111. uni.scanCode({
  112. complete: result => {
  113. this.oddNumber = result.result;
  114. }
  115. })
  116. },
  117. pickerChange(event){
  118. this.expressIndex = event.detail.value;
  119. }
  120. }
  121. };
  122. </script>
  123. <style scoped lang="css">
  124. .bottom-group {
  125. position: relative;
  126. }
  127. .image_5 {
  128. width: 36rpx;
  129. height: 36rpx;
  130. }
  131. .equal-division-item {
  132. flex: 1 1 240rpx;
  133. padding: 10rpx 0;
  134. }
  135. .left-section {
  136. background-image: repeating-linear-gradient(
  137. 90deg,
  138. rgb(209, 161, 28),
  139. rgb(209, 161, 28) 2.4691358024691357%,
  140. transparent 2.4691358024691357%,
  141. transparent 14.814814814814815%
  142. );
  143. width: 162rpx;
  144. height: 2rpx;
  145. }
  146. .image_7 {
  147. border-radius: 50%;
  148. width: 80rpx;
  149. height: 80rpx;
  150. }
  151. .text_2 {
  152. margin-top: 20rpx;
  153. }
  154. .page {
  155. background-color: #f6f6f6;
  156. width: 100%;
  157. overflow-y: auto;
  158. height: 100%;
  159. }
  160. .group_3 {
  161. padding: 2rpx 0 16rpx;
  162. flex: 1 1 auto;
  163. overflow-y: auto;
  164. }
  165. .group_17 {
  166. margin-top: 60rpx;
  167. padding: 0 32rpx;
  168. }
  169. .view_3 {
  170. color: rgb(85, 85, 85);
  171. font-size: 28rpx;
  172. font-weight: 500;
  173. line-height: 40rpx;
  174. white-space: nowrap;
  175. }
  176. .section_2 {
  177. margin-top: 30rpx;
  178. padding: 40rpx 30rpx 40rpx 32rpx;
  179. background-color: rgb(255, 255, 255);
  180. }
  181. .section_3 {
  182. margin-top: 30rpx;
  183. padding: 40rpx 32rpx 44rpx;
  184. background-color: rgb(255, 255, 255);
  185. }
  186. .button {
  187. padding: 26rpx 0;
  188. color: rgb(255, 255, 255);
  189. font-size: 32rpx;
  190. font-weight: 600;
  191. line-height: 44rpx;
  192. white-space: nowrap;
  193. background-color: rgb(231, 162, 63);
  194. border-radius: 10rpx;
  195. }
  196. .text_19 {
  197. margin-top: 30rpx;
  198. align-self: center;
  199. color: rgb(119, 119, 119);
  200. font-size: 28rpx;
  201. font-weight: 500;
  202. line-height: 40rpx;
  203. white-space: nowrap;
  204. }
  205. .equal-division {
  206. padding: 30rpx 14rpx;
  207. background-color: rgb(255, 255, 255);
  208. }
  209. .group_8 {
  210. width: 404rpx;
  211. position: absolute;
  212. right: 166rpx;
  213. top: 79rpx;
  214. }
  215. .group_11 {
  216. margin-top: 50rpx;
  217. align-items: center;
  218. }
  219. .group_14 {
  220. margin-top: 40rpx;
  221. }
  222. .group_15 {
  223. margin-top: 50rpx;
  224. }
  225. .group_16 {
  226. margin-right: 26rpx;
  227. margin-top: 48rpx;
  228. }
  229. .image_11 {
  230. margin: 10rpx 0 8rpx;
  231. width: 16rpx;
  232. height: 26rpx;
  233. }
  234. .image_12 {
  235. margin: 4rpx 0;
  236. }
  237. .text_10 {
  238. color: rgb(51, 51, 51);
  239. font-size: 36rpx;
  240. font-weight: 600;
  241. line-height: 50rpx;
  242. white-space: nowrap;
  243. }
  244. .text_11 {
  245. margin: 6rpx 0 4rpx;
  246. color: rgb(231, 162, 63);
  247. font-size: 28rpx;
  248. font-weight: 500;
  249. line-height: 40rpx;
  250. white-space: nowrap;
  251. }
  252. .text_12 {
  253. color: rgb(119, 119, 119);
  254. font-size: 32rpx;
  255. font-weight: 500;
  256. line-height: 44rpx;
  257. white-space: nowrap;
  258. }
  259. .text_13 {
  260. margin-left: 42rpx;
  261. color: rgb(51, 51, 51);
  262. font-size: 32rpx;
  263. font-weight: 500;
  264. line-height: 44rpx;
  265. white-space: nowrap;
  266. }
  267. .text_14 {
  268. color: rgb(119, 119, 119);
  269. font-size: 32rpx;
  270. font-weight: 500;
  271. line-height: 44rpx;
  272. white-space: nowrap;
  273. }
  274. .text_15 {
  275. margin-left: 10rpx;
  276. color: rgb(51, 51, 51);
  277. font-size: 32rpx;
  278. font-weight: 500;
  279. line-height: 44rpx;
  280. white-space: nowrap;
  281. }
  282. .text_16 {
  283. color: rgb(119, 119, 119);
  284. font-size: 32rpx;
  285. font-weight: 500;
  286. line-height: 44rpx;
  287. white-space: nowrap;
  288. }
  289. .text_17 {
  290. margin-left: 10rpx;
  291. flex: 1 1 auto;
  292. color: rgb(51, 51, 51);
  293. font-size: 32rpx;
  294. font-weight: 500;
  295. line-height: 48rpx;
  296. text-align: left;
  297. }
  298. .image_9 {
  299. width: 80rpx;
  300. height: 80rpx;
  301. }
  302. .text_6 {
  303. color: rgb(51, 51, 51);
  304. font-size: 32rpx;
  305. font-weight: 500;
  306. line-height: 44rpx;
  307. white-space: nowrap;
  308. }
  309. .text_7 {
  310. margin-left: 10rpx;
  311. color: rgb(119, 119, 119);
  312. font-size: 32rpx;
  313. font-weight: 500;
  314. line-height: 44rpx;
  315. white-space: nowrap;
  316. }
  317. .text_8 {
  318. color: rgb(51, 51, 51);
  319. font-size: 32rpx;
  320. font-weight: 500;
  321. line-height: 44rpx;
  322. white-space: nowrap;
  323. }
  324. .text_9 {
  325. margin-left: 10rpx;
  326. color: rgb(119, 119, 119);
  327. font-size: 32rpx;
  328. font-weight: 500;
  329. line-height: 44rpx;
  330. white-space: nowrap;
  331. }
  332. </style>