球星卡微信小程序
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.

439 lines
12 KiB

  1. <template>
  2. <view class="flex-col page">
  3. <view class="flex-col group_4">
  4. <view class="flex-col group_5">
  5. <view class="flex-row equal-division">
  6. <view class="equal-division-item flex-col items-center">
  7. <image
  8. src="https://project-user-resource-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497893751612328.png"
  9. class="image_6"
  10. />
  11. <text class="text_2">填写信息</text>
  12. </view>
  13. <view class="equal-division-item flex-col items-center">
  14. <image
  15. src="https://project-user-resource-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497893763969052.png"
  16. class="image_6"
  17. />
  18. <text class="text_2">藏品寄送</text>
  19. </view>
  20. <view class="equal-division-item flex-col items-center">
  21. <image
  22. src="https://project-user-resource-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497893767537982.png"
  23. class="image_6"
  24. />
  25. <text class="text_2">评级</text>
  26. </view>
  27. </view>
  28. <view class="justify-between group_9">
  29. <view class="section_2"> </view>
  30. <view class="section_3"> </view>
  31. </view>
  32. </view>
  33. <view class="flex-col section_4" @click="$url('/packages/address/address?is_select=1')">
  34. <view v-if="$isRight(address)">
  35. <view class="justify-between">
  36. <view class="flex-row">
  37. <text class="text_6">{{ address.name }}</text>
  38. <text class="text_7">{{ address.phone }}</text>
  39. </view>
  40. <image
  41. src="https://project-user-resource-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497893779891395.png"
  42. class="image_10 image_11"
  43. />
  44. </view>
  45. <text class="text_8">{{ address.address }}</text>
  46. </view>
  47. <!-- 没有选择地址时 -->
  48. <view v-else>
  49. <view class="justify-between">
  50. <view class="flex-row">
  51. <text class="lf-font-32">点击选择收货地址</text>
  52. </view>
  53. <image
  54. src="https://project-user-resource-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497893779891395.png"
  55. class="image_10 image_11"
  56. />
  57. </view>
  58. </view>
  59. </view>
  60. <view class="flex-col section_5">
  61. <view class="justify-between">
  62. <text class="text_9">送评人信息</text>
  63. <view class="flex-row group_13">
  64. <text>编辑</text>
  65. <image
  66. src="https://project-user-resource-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497893779891395.png"
  67. class="image_10"
  68. />
  69. </view>
  70. </view>
  71. <view class="flex-row group_14">
  72. <text class="text_11">送评人</text>
  73. <!-- <text class="text_12">送评人</text> -->
  74. <u-input v-model="sonpingInfo.name" placeholder="请输入送评人"></u-input>
  75. </view>
  76. <view class="flex-row group_15">
  77. <text class="text_13">手机号</text>
  78. <!-- <text class="text_14">18266785384</text> -->
  79. <u-input v-model="sonpingInfo.phone" placeholder="请输入送评人手机号" type="number"></u-input>
  80. </view>
  81. <view class="flex-row group_16">
  82. <text class="text_15">数量</text>
  83. <!-- <text class="text_16">3</text> -->
  84. <u-input v-model="sonpingInfo.number" placeholder="请输入送评数量" type="number"></u-input>
  85. </view>
  86. <view class="justify-between group_17">
  87. <view class="flex-row group_18">
  88. <text class="text_17">是否快评</text>
  89. <text class="text_18">(价格翻倍)</text>
  90. </view>
  91. <!-- <image
  92. src="https://project-user-resource-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497893774083601.png"
  93. class="switch"
  94. /> -->
  95. <u-switch v-model="isQuickReview" activeColor="#e7a23f"></u-switch>
  96. </view>
  97. <view class="flex-col group_19">
  98. <text>打包照片</text>
  99. <view class="flex-row equal-division_1">
  100. <!-- <image
  101. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497768828992333.png"
  102. class="equal-division-item_1 image_13"
  103. />
  104. <image
  105. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497768927244914.png"
  106. class="equal-division-item_1"
  107. />
  108. <image
  109. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497768986098398.png"
  110. class="equal-division-item_1"
  111. /> -->
  112. <u-upload
  113. :fileList="fileList"
  114. name="1"
  115. multiple
  116. :maxCount="4"
  117. :previewFullImage="true"
  118. @afterRead="afterRead"
  119. @delete="deletePic"
  120. ></u-upload>
  121. </view>
  122. </view>
  123. <view class="flex-col group_20">
  124. <text class="text_20">备注</text>
  125. <!-- <view class="flex-col items-start text-wrapper">
  126. <text class="text_21">请输入您想要备注的信息</text>
  127. </view> -->
  128. <u-textarea v-model="remarks" placeholder="请输入备注" :height="100" class="textarea" :count="true"></u-textarea>
  129. </view>
  130. <view class="flex-col group_21">
  131. <view class="flex-col items-center button" @click="$url('/pages/write/distribution')">
  132. <text>寄送藏品</text>
  133. </view>
  134. <view class="section_6"> </view>
  135. </view>
  136. </view>
  137. </view>
  138. </view>
  139. </template>
  140. <script>
  141. export default {
  142. data() {
  143. return {
  144. address: {},
  145. isQuickReview: false,
  146. sonpingInfo: {
  147. name: '',
  148. phone: '',
  149. number: ''
  150. },
  151. fileList: [],
  152. remarks: ''
  153. };
  154. },
  155. methods: {
  156. afterRead(event){
  157. this.fileList.push(...event.file);
  158. },
  159. deletePic(event){
  160. this.fileList.splice(event.index, 1);
  161. }
  162. }
  163. };
  164. </script>
  165. <style scoped lang="css">
  166. .equal-division-item {
  167. flex: 1 1 240rpx;
  168. padding: 10rpx 0;
  169. }
  170. .image_10 {
  171. width: 44rpx;
  172. height: 44rpx;
  173. }
  174. .image_6 {
  175. border-radius: 50%;
  176. width: 80rpx;
  177. height: 80rpx;
  178. }
  179. .equal-division-item_1 {
  180. margin-left: 28rpx;
  181. flex: 1 1 210rpx;
  182. border-radius: 10rpx;
  183. width: 210rpx;
  184. height: 130rpx;
  185. }
  186. .text_2 {
  187. margin-top: 20rpx;
  188. }
  189. .page {
  190. background-color: #f6f6f6;
  191. width: 100%;
  192. overflow-y: auto;
  193. height: 100%;
  194. }
  195. .group_4 {
  196. flex: 1 1 auto;
  197. overflow-y: auto;
  198. }
  199. .group_5 {
  200. padding-top: 2rpx;
  201. color: rgb(85, 85, 85);
  202. font-size: 28rpx;
  203. font-weight: 500;
  204. line-height: 40rpx;
  205. white-space: nowrap;
  206. position: relative;
  207. }
  208. .section_4 {
  209. margin-top: 30rpx;
  210. padding: 40rpx 32rpx 40rpx 40rpx;
  211. background-color: rgb(255, 255, 255);
  212. }
  213. .section_5 {
  214. margin-top: 30rpx;
  215. padding: 40rpx 32rpx 16rpx;
  216. background-color: rgb(255, 255, 255);
  217. }
  218. .equal-division {
  219. padding: 30rpx 14rpx;
  220. background-color: rgb(255, 255, 255);
  221. }
  222. .group_9 {
  223. width: 404rpx;
  224. position: absolute;
  225. right: 166rpx;
  226. top: 81rpx;
  227. }
  228. .text_8 {
  229. margin-top: 20rpx;
  230. color: rgb(51, 51, 51);
  231. font-size: 32rpx;
  232. line-height: 44rpx;
  233. }
  234. .group_14 {
  235. margin-top: 40rpx;
  236. align-items: center;
  237. }
  238. .group_15 {
  239. margin-top: 50rpx;
  240. align-items: center;
  241. }
  242. .group_16 {
  243. margin-top: 50rpx;
  244. align-items: center;
  245. }
  246. .group_17 {
  247. margin-top: 44rpx;
  248. }
  249. .group_19 {
  250. margin-top: 44rpx;
  251. color: rgb(119, 119, 119);
  252. font-size: 32rpx;
  253. font-weight: 500;
  254. line-height: 44rpx;
  255. white-space: nowrap;
  256. }
  257. .group_20 {
  258. margin-top: 50rpx;
  259. }
  260. .group_21 {
  261. margin-top: 50rpx;
  262. color: rgb(255, 255, 255);
  263. font-size: 32rpx;
  264. font-weight: 600;
  265. line-height: 44rpx;
  266. white-space: nowrap;
  267. }
  268. .section_2 {
  269. background-image: repeating-linear-gradient(
  270. 90deg,
  271. rgb(231, 162, 63),
  272. rgb(231, 162, 63) 2.4691358024691357%,
  273. transparent 2.4691358024691357%,
  274. transparent 14.814814814814815%
  275. );
  276. width: 162rpx;
  277. height: 2rpx;
  278. }
  279. .section_3 {
  280. background-image: repeating-linear-gradient(
  281. 90deg,
  282. rgb(195, 195, 195),
  283. rgb(195, 195, 195) 2.4691358024691357%,
  284. transparent 2.4691358024691357%,
  285. transparent 14.814814814814815%
  286. );
  287. width: 162rpx;
  288. height: 2rpx;
  289. }
  290. .image_11 {
  291. margin-top: 4rpx;
  292. }
  293. .text_9 {
  294. color: rgb(51, 51, 51);
  295. font-size: 36rpx;
  296. font-weight: 600;
  297. line-height: 50rpx;
  298. white-space: nowrap;
  299. }
  300. .group_13 {
  301. margin-top: 4rpx;
  302. color: rgb(119, 119, 119);
  303. font-size: 28rpx;
  304. font-weight: 500;
  305. line-height: 40rpx;
  306. white-space: nowrap;
  307. }
  308. .text_11 {
  309. color: rgb(119, 119, 119);
  310. font-size: 32rpx;
  311. font-weight: 500;
  312. line-height: 44rpx;
  313. white-space: nowrap;
  314. }
  315. .text_12 {
  316. margin-left: 20rpx;
  317. color: rgb(51, 51, 51);
  318. font-size: 32rpx;
  319. font-weight: 500;
  320. line-height: 44rpx;
  321. white-space: nowrap;
  322. }
  323. .text_13 {
  324. color: rgb(119, 119, 119);
  325. font-size: 32rpx;
  326. font-weight: 500;
  327. line-height: 44rpx;
  328. white-space: nowrap;
  329. }
  330. .text_14 {
  331. margin-left: 20rpx;
  332. color: rgb(51, 51, 51);
  333. font-size: 32rpx;
  334. font-weight: 500;
  335. line-height: 44rpx;
  336. white-space: nowrap;
  337. }
  338. .text_15 {
  339. color: rgb(119, 119, 119);
  340. font-size: 32rpx;
  341. font-weight: 500;
  342. line-height: 44rpx;
  343. white-space: nowrap;
  344. }
  345. .text_16 {
  346. margin-left: 52rpx;
  347. color: rgb(51, 51, 51);
  348. font-size: 32rpx;
  349. font-weight: 500;
  350. line-height: 44rpx;
  351. white-space: nowrap;
  352. }
  353. .group_18 {
  354. margin: 6rpx 0;
  355. }
  356. .switch {
  357. border-radius: 104rpx;
  358. width: 100rpx;
  359. height: 56rpx;
  360. }
  361. .equal-division_1 {
  362. margin-top: 20rpx;
  363. }
  364. .text_20 {
  365. color: rgb(119, 119, 119);
  366. font-size: 32rpx;
  367. font-weight: 500;
  368. line-height: 44rpx;
  369. white-space: nowrap;
  370. }
  371. .text-wrapper {
  372. margin-top: 20rpx;
  373. padding: 30rpx 0 138rpx;
  374. color: rgb(153, 153, 153);
  375. font-size: 28rpx;
  376. font-weight: 500;
  377. line-height: 40rpx;
  378. white-space: nowrap;
  379. background-color: rgb(246, 246, 246);
  380. border-radius: 10rpx;
  381. }
  382. .button {
  383. padding: 26rpx 0;
  384. background-color: rgb(231, 162, 63);
  385. border-radius: 10rpx;
  386. }
  387. .section_6 {
  388. margin-top: 22rpx;
  389. align-self: center;
  390. border-radius: 4rpx;
  391. width: 196rpx;
  392. height: 8rpx;
  393. }
  394. .text_6 {
  395. color: rgb(51, 51, 51);
  396. font-size: 36rpx;
  397. font-weight: 700;
  398. line-height: 50rpx;
  399. white-space: nowrap;
  400. }
  401. .text_7 {
  402. margin-left: 40rpx;
  403. margin-top: 4rpx;
  404. color: rgb(51, 51, 51);
  405. font-size: 32rpx;
  406. font-weight: 700;
  407. line-height: 44rpx;
  408. white-space: nowrap;
  409. }
  410. .text_17 {
  411. color: rgb(119, 119, 119);
  412. font-size: 32rpx;
  413. font-weight: 500;
  414. line-height: 44rpx;
  415. white-space: nowrap;
  416. }
  417. .text_18 {
  418. margin: 6rpx 0 4rpx 10rpx;
  419. color: rgb(231, 162, 63);
  420. font-size: 24rpx;
  421. font-weight: 500;
  422. line-height: 34rpx;
  423. white-space: nowrap;
  424. }
  425. .image_13 {
  426. margin-left: 0;
  427. }
  428. .text_21 {
  429. margin-left: 30rpx;
  430. }
  431. /deep/.u-textarea{
  432. background-color: #f6f6f6 !important;
  433. margin-top: 20rpx;
  434. border-radius: 10rpx;
  435. }
  436. </style>