shot.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  1. <template>
  2. <div class="photography-page flex-col">
  3. <div class="main-container flex-col">
  4. <div class="content-wrapper flex-row">
  5. <div class="step-number flex-col"><span class="text_22">1</span></div>
  6. <div class="step-one flex-col justify-between">
  7. <div class="step-header flex-row">
  8. <span class="step-title">第一步:获取商品货号</span>
  9. <img
  10. class="step-icon"
  11. referrerpolicy="no-referrer"
  12. src="@/assets/images/Photography/step1-icon.png"
  13. />
  14. <img
  15. class="step-divider"
  16. referrerpolicy="no-referrer"
  17. src="@/assets/images/Photography/step-divider-line.png"
  18. />
  19. </div>
  20. <div class="step-content flex-row justify-between">
  21. <div class="method-container flex-col">
  22. <div class="auto-method flex-row justify-between">
  23. <div class="text-method-tag flex-col"><span class="text_4">自动获取</span></div>
  24. <span class="method-description">用遥控器扫描商品资料二维码</span>
  25. </div>
  26. <div class="scan-method flex-row justify-between">
  27. <div class="remote-control flex-col">
  28. <div class="scan-button flex-col"></div>
  29. <img
  30. class="scan-line"
  31. referrerpolicy="no-referrer"
  32. src="@/assets/images/Photography/remote-scan-line.png"
  33. />
  34. </div>
  35. <span class="scan-label">遥控器扫描键</span>
  36. </div>
  37. <div class="manual-method flex-row justify-between">
  38. <div class="method-tag flex-col"><span class="text_7">手动获取</span></div>
  39. <span class="method-description">手工输入货号</span>
  40. </div>
  41. <div class="input-container flex-row">
  42. <el-input class="input-item" v-model="input2" placeholder="请输入货号">
  43. <template #append>
  44. <el-button class="input-button" type="primary" @click="input2 = ''">确认</el-button>
  45. </template>
  46. </el-input>
  47. </div>
  48. </div>
  49. <img
  50. class="remote-image"
  51. referrerpolicy="no-referrer"
  52. src="@/assets/images/Photography/remote-control.png"
  53. />
  54. </div>
  55. </div>
  56. <div class="step-two flex-col justify-between">
  57. <span class="step-title">第二步:启动拍摄(根据左右脚按遥控器左右键启动)</span>
  58. <div class="shooting-container flex-col">
  59. <div class="shooting-tips flex-row justify-between">
  60. <img
  61. class="info-icon"
  62. referrerpolicy="no-referrer"
  63. src="@/assets/images/Photography/info-icon.png"
  64. />
  65. <span class="tips-text">遥控左右按键可启动拍摄,中间按钮可在拍摄5张主图后解锁,用于拍摄自定义图</span>
  66. </div>
  67. <span class="left-foot-text">遥控器左键:控制左脚鞋启动拍摄</span>
  68. <div class="remote-control-container flex-row justify-end">
  69. <div class="remote-buttons flex-row">
  70. <div class="left-button flex-col"></div>
  71. <div class="right-button flex-col"></div>
  72. </div>
  73. <img
  74. class="left-button-image"
  75. referrerpolicy="no-referrer"
  76. src="@/assets/images/Photography/remote-left-button.png"
  77. />
  78. <img
  79. class="right-button-image"
  80. referrerpolicy="no-referrer"
  81. src="@/assets/images/Photography/remote-right-button.png"
  82. />
  83. </div>
  84. <span class="right-foot-text">遥控器右键:控制右脚鞋启动拍摄</span>
  85. </div>
  86. </div>
  87. <div class="history-section flex-col justify-end">
  88. <span class="history-title">拍摄历史</span>
  89. <img
  90. class="divider-line"
  91. referrerpolicy="no-referrer"
  92. src="@/assets/images/Photography/divider-line.png"
  93. />
  94. <div class="empty-state flex-col justify-between">
  95. <img
  96. class="empty-icon"
  97. referrerpolicy="no-referrer"
  98. src="@/assets/images/Photography/empty-state-icon.png"
  99. />
  100. <span class="empty-text">暂无数据</span>
  101. </div>
  102. <div class="next-step button--primary1 flex-col"><span class="next-step-text">拍摄完毕,进入下一步处理</span></div>
  103. </div>
  104. </div>
  105. <img
  106. class="camera-image"
  107. referrerpolicy="no-referrer"
  108. src="@/assets/images/Photography/camera-icon.png"
  109. />
  110. <div class="step-number-two flex-col"><span class="step-text">2</span></div>
  111. </div>
  112. </div>
  113. </template>
  114. <script>
  115. export default {
  116. data() {
  117. return {
  118. constants: {}
  119. };
  120. },
  121. methods: {}
  122. };
  123. </script>
  124. <style scoped lang="scss" >
  125. .photography-page {
  126. background-color: rgba(255, 255, 255, 1);
  127. position: relative;
  128. width: 1200px;
  129. height: 768px;
  130. overflow: hidden;
  131. .main-container {
  132. position: relative;
  133. width: 1200px;
  134. height: 739px;
  135. margin-bottom: 1px;
  136. .content-wrapper{
  137. width: 1180px;
  138. height: 738px;
  139. margin-left: 20px;
  140. .step-number {
  141. background-color: rgba(22, 119, 255, 1);
  142. border-radius: 50%;
  143. height: 32px;
  144. margin-top: 51px;
  145. width: 32px;
  146. .text_22 {
  147. width: 6px;
  148. height: 22px;
  149. overflow-wrap: break-word;
  150. color: rgba(255, 255, 255, 1);
  151. font-size: 14px;
  152. font-weight: NaN;
  153. text-align: right;
  154. white-space: nowrap;
  155. line-height: 22px;
  156. margin: 5px 0 0 13px;
  157. }
  158. }
  159. .step-one {
  160. width: 426px;
  161. height: 521px;
  162. margin: 55px 0 0 5px;
  163. .step-header {
  164. width: 391px;
  165. height: 24px;
  166. margin-left: 3px;
  167. .step-title {
  168. width: 160px;
  169. height: 24px;
  170. overflow-wrap: break-word;
  171. color: rgba(0, 0, 0, 0.85);
  172. font-size: 16px;
  173. font-family: PingFangSC-Medium;
  174. font-weight: 500;
  175. text-align: left;
  176. white-space: nowrap;
  177. line-height: 24px;
  178. }
  179. .step-icon {
  180. width: 32px;
  181. height: 20px;
  182. margin-top: 4px;
  183. }
  184. .step-divider {
  185. width: 191px;
  186. height: 1px;
  187. margin: 13px 0 0 8px;
  188. }
  189. }
  190. .step-content {
  191. width: 426px;
  192. height: 469px;
  193. margin-top: 28px;
  194. .method-container {
  195. background-color: rgba(247, 247, 247, 1);
  196. height: 469px;
  197. width: 353px;
  198. .auto-method {
  199. width: 253px;
  200. height: 24px;
  201. margin: 28px 0 0 14px;
  202. .text-method-tag {
  203. background-color: rgba(0, 174, 30, 1);
  204. height: 24px;
  205. width: 65px;
  206. .text_4 {
  207. width: 56px;
  208. height: 20px;
  209. overflow-wrap: break-word;
  210. color: rgba(255, 255, 255, 1);
  211. font-size: 14px;
  212. font-family: PingFangSC-Semibold;
  213. font-weight: 600;
  214. text-align: left;
  215. white-space: nowrap;
  216. line-height: 20px;
  217. margin: 2px 0 0 4px;
  218. }
  219. }
  220. .method-description {
  221. width: 182px;
  222. height: 20px;
  223. overflow-wrap: break-word;
  224. color: rgba(71, 71, 71, 1);
  225. font-size: 14px;
  226. font-family: PingFangSC-Semibold;
  227. font-weight: 600;
  228. text-align: left;
  229. white-space: nowrap;
  230. line-height: 20px;
  231. margin-top: 2px;
  232. }
  233. }
  234. .scan-method {
  235. width: 263px;
  236. height: 246px;
  237. margin: 9px 0 0 85px;
  238. .remote-control {
  239. height: 246px;
  240. background: url(@/assets/images/Photography/left-button.png)
  241. 0px 0px no-repeat;
  242. background-size: 98px 246px;
  243. width: 97px;
  244. position: relative;
  245. .scan-button {
  246. background-color: rgba(0, 174, 30, 1);
  247. border-radius: 50%;
  248. width: 27px;
  249. height: 27px;
  250. margin: 27px 0 0 34px;
  251. }
  252. .scan-line {
  253. position: absolute;
  254. left: 52px;
  255. top: 40px;
  256. width: 112px;
  257. height: 1px;
  258. }
  259. }
  260. .scan-label {
  261. width: 96px;
  262. height: 22px;
  263. overflow-wrap: break-word;
  264. color: rgba(0, 174, 30, 1);
  265. font-size: 16px;
  266. font-family: PingFangSC-Semibold;
  267. font-weight: 600;
  268. text-align: left;
  269. white-space: nowrap;
  270. line-height: 22px;
  271. margin-top: 30px;
  272. }
  273. }
  274. .manual-method {
  275. width: 155px;
  276. height: 24px;
  277. margin: 53px 0 0 14px;
  278. .method-tag {
  279. background-color: rgba(0, 148, 174, 1);
  280. height: 24px;
  281. width: 65px;
  282. .text_7 {
  283. width: 56px;
  284. height: 20px;
  285. overflow-wrap: break-word;
  286. color: rgba(255, 255, 255, 1);
  287. font-size: 14px;
  288. font-family: PingFangSC-Semibold;
  289. font-weight: 600;
  290. text-align: left;
  291. white-space: nowrap;
  292. line-height: 20px;
  293. margin: 2px 0 0 4px;
  294. }
  295. }
  296. .method-description {
  297. width: 84px;
  298. height: 20px;
  299. overflow-wrap: break-word;
  300. color: rgba(71, 71, 71, 1);
  301. font-size: 14px;
  302. font-family: PingFangSC-Semibold;
  303. font-weight: 600;
  304. text-align: left;
  305. white-space: nowrap;
  306. line-height: 20px;
  307. margin-top: 2px;
  308. }
  309. }
  310. .input-container {
  311. width: 260px;
  312. height: 36px;
  313. margin: 7px 0 42px 83px;
  314. .input-item{
  315. ::v-deep{
  316. .el-input__inner{
  317. height: 36px;
  318. line-height: 36px;
  319. }
  320. }
  321. }
  322. }
  323. }
  324. .remote-image {
  325. width: 61px;
  326. height: 38px;
  327. margin-top: 216px;
  328. }
  329. }
  330. }
  331. .step-two {
  332. width: 384px;
  333. height: 521px;
  334. margin: 55px 0 0 7px;
  335. .step-title {
  336. width: 384px;
  337. height: 24px;
  338. overflow-wrap: break-word;
  339. color: rgba(0, 0, 0, 0.85);
  340. font-size: 16px;
  341. font-family: PingFangSC-Medium;
  342. font-weight: 500;
  343. text-align: left;
  344. white-space: nowrap;
  345. line-height: 24px;
  346. }
  347. .shooting-container {
  348. background-color: rgba(247, 247, 247, 1);
  349. width: 353px;
  350. height: 469px;
  351. margin: 28px 0 0 2px;
  352. .shooting-tips {
  353. width: 325px;
  354. height: 40px;
  355. margin: 12px 0 0 15px;
  356. .info-icon {
  357. width: 16px;
  358. height: 16px;
  359. margin-top: 2px;
  360. }
  361. .tips-text {
  362. width: 302px;
  363. height: 40px;
  364. overflow-wrap: break-word;
  365. color: rgba(255, 76, 0, 1);
  366. font-size: 14px;
  367. font-weight: NaN;
  368. text-align: left;
  369. line-height: 20px;
  370. }
  371. }
  372. .left-foot-text {
  373. width: 240px;
  374. height: 22px;
  375. overflow-wrap: break-word;
  376. color: rgba(0, 174, 30, 1);
  377. font-size: 16px;
  378. font-family: PingFangSC-Semibold;
  379. font-weight: 600;
  380. text-align: left;
  381. white-space: nowrap;
  382. line-height: 22px;
  383. margin: 36px 0 0 9px;
  384. }
  385. .remote-control-container {
  386. position: relative;
  387. width: 280px;
  388. height: 298px;
  389. margin: 9px 0 0 35px;
  390. .remote-buttons {
  391. width: 206px;
  392. height: 233px;
  393. background: url(@/assets/images/Photography/right-button.png)
  394. 100% no-repeat;
  395. background-size: 100% 100%;
  396. margin: 30px 0 0 37px;
  397. .left-button {
  398. background-color: rgba(0, 174, 30, 1);
  399. border-radius: 50%;
  400. width: 55px;
  401. height: 55px;
  402. margin: 91px 0 0 1px;
  403. }
  404. .right-button {
  405. background-color: rgba(0, 148, 174, 1);
  406. border-radius: 50%;
  407. width: 55px;
  408. height: 55px;
  409. margin: 91px 2px 0 93px;
  410. }
  411. }
  412. .left-button-image {
  413. width: 40px;
  414. height: 148px;
  415. margin: 150px 0 0 -3px;
  416. }
  417. .right-button-image {
  418. position: absolute;
  419. left: 0;
  420. top: 0;
  421. width: 40px;
  422. height: 148px;
  423. }
  424. }
  425. .right-foot-text {
  426. width: 240px;
  427. height: 22px;
  428. overflow-wrap: break-word;
  429. color: rgba(0, 148, 174, 1);
  430. font-size: 16px;
  431. font-family: PingFangSC-Semibold;
  432. font-weight: 600;
  433. text-align: left;
  434. white-space: nowrap;
  435. line-height: 22px;
  436. margin: 12px 0 18px 98px;
  437. }
  438. }
  439. }
  440. .history-section {
  441. background-color: rgba(234, 236, 237, 1);
  442. width: 322px;
  443. height: 738px;
  444. margin-left: 4px;
  445. .history-title {
  446. width: 64px;
  447. height: 22px;
  448. overflow-wrap: break-word;
  449. color: rgba(51, 51, 51, 1);
  450. font-size: 16px;
  451. font-family: PingFangSC-Semibold;
  452. font-weight: 600;
  453. text-align: center;
  454. white-space: nowrap;
  455. line-height: 22px;
  456. margin: 9px 0 0 10px;
  457. }
  458. .divider-line {
  459. width: 322px;
  460. height: 1px;
  461. margin-top: 9px;
  462. }
  463. .empty-state {
  464. width: 56px;
  465. height: 48px;
  466. margin: 253px 0 0 133px;
  467. .empty-icon {
  468. width: 32px;
  469. height: 18px;
  470. margin-left: 12px;
  471. }
  472. .empty-text {
  473. width: 56px;
  474. height: 20px;
  475. overflow-wrap: break-word;
  476. color: rgba(153, 153, 153, 1);
  477. font-size: 14px;
  478. font-weight: NaN;
  479. text-align: left;
  480. white-space: nowrap;
  481. line-height: 20px;
  482. margin-top: 10px;
  483. }
  484. }
  485. .next-step {
  486. height: 50px;
  487. background: url(@/assets/images/Photography/SketchPng0a50a29c175ab72b0f2d38d430200d3e7fa3837ba2ebd7d0dfedebd005804b3a.png)
  488. 100% no-repeat;
  489. background-size: 100% 100%;
  490. margin-top: 346px;
  491. width: 322px;
  492. .next-step-text {
  493. width: 192px;
  494. height: 22px;
  495. overflow-wrap: break-word;
  496. color: rgba(255, 255, 255, 1);
  497. font-size: 16px;
  498. font-weight: NaN;
  499. text-align: center;
  500. white-space: nowrap;
  501. line-height: 22px;
  502. margin: 14px 0 0 65px;
  503. }
  504. }
  505. }
  506. }
  507. .camera-image {
  508. position: absolute;
  509. left: 304px;
  510. top: 212px;
  511. width: 111px;
  512. height: 111px;
  513. }
  514. .step-number-two {
  515. background-color: rgba(22, 119, 255, 1);
  516. border-radius: 50%;
  517. height: 32px;
  518. width: 32px;
  519. position: absolute;
  520. left: 450px;
  521. top: 51px;
  522. .step-text {
  523. width: 9px;
  524. height: 22px;
  525. overflow-wrap: break-word;
  526. color: rgba(255, 255, 255, 1);
  527. font-size: 14px;
  528. font-weight: NaN;
  529. text-align: right;
  530. white-space: nowrap;
  531. line-height: 22px;
  532. margin: 5px 0 0 12px;
  533. }
  534. }
  535. }
  536. }
  537. </style>
  538. <style lang="scss" scoped>
  539. </style>