nc-card.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  1. <template>
  2. <view class="container">
  3. <view class="header-operation">
  4. <view class="header-operation-left">
  5. <view :class="{ active: goodsType == 'oncecard' }" @click="switchGoodsType('oncecard')">限次卡</view>
  6. <view :class="{ active: goodsType == 'timecard' }" @click="switchGoodsType('timecard')">限时卡</view>
  7. <view :class="{ active: goodsType == 'commoncard' }" @click="switchGoodsType('commoncard')">通用卡</view>
  8. </view>
  9. <view class="header-operation-right"></view>
  10. </view>
  11. <view class="content">
  12. <scroll-view scroll-y="true" class="list-wrap" @scrolltolower="getOncecard()" v-if="goodsType == 'oncecard'">
  13. <view class="table-list" v-show="oncecardData.list.length > 0">
  14. <view class="table-item" :class="'item-mum-' + itemNum" v-for="(item, index) in oncecardData.list" :key="index" @click="goodsSelect(item)">
  15. <view class="item-img">
  16. <image
  17. :src="
  18. item.goods_image == 'public/uniapp/default_img/goods.png'
  19. ? $util.img('public/uniapp/default_img/goods.png')
  20. : $util.img(item.goods_image.split(',')[0], { size: 'small' })
  21. "
  22. @error="item.goods_image = 'public/uniapp/default_img/goods.png'"
  23. ></image>
  24. </view>
  25. <view class="item-info">
  26. <view class="item-name">{{ item.goods_name }}</view>
  27. <view class="item-rights"></view>
  28. <view class="item-money">
  29. <text class="util">¥</text>
  30. {{ item.discount_price | moneyFormat }}
  31. </view>
  32. </view>
  33. <view class="no-stock" v-if="item.stock == 0"><image :src="$util.img('public/uniapp/cashier/stock_empty.png')" mode="heightFix"></image></view>
  34. </view>
  35. </view>
  36. <view class="empty" v-if="!oncecardData.list.length">
  37. <image :src="$util.img('public/uniapp/cashier/goods_empty.png')" mode="widthFix"></image>
  38. <view class="tips">暂无卡项</view>
  39. </view>
  40. </scroll-view>
  41. <scroll-view scroll-y="true" class="list-wrap" @scrolltolower="getTimecard()" v-if="goodsType == 'timecard'">
  42. <view class="table-list" v-show="timecardData.list.length > 0">
  43. <view class="table-item" :class="'item-mum-' + itemNum" v-for="(item, index) in timecardData.list" :key="index" @click="goodsSelect(item)">
  44. <view class="item-img">
  45. <image
  46. :src="
  47. item.goods_image == 'public/uniapp/default_img/goods.png'
  48. ? $util.img('public/uniapp/default_img/goods.png')
  49. : $util.img(item.goods_image.split(',')[0], { size: 'small' })
  50. "
  51. @error="item.goods_image = 'public/uniapp/default_img/goods.png'"
  52. ></image>
  53. </view>
  54. <view class="item-info">
  55. <view class="item-name">{{ item.goods_name }}</view>
  56. <view class="item-rights"></view>
  57. <view class="item-money">
  58. <text class="util">¥</text>
  59. {{ item.discount_price | moneyFormat }}
  60. </view>
  61. </view>
  62. <view class="no-stock" v-if="item.stock == 0"><image :src="$util.img('public/uniapp/cashier/stock_empty.png')" mode="heightFix"></image></view>
  63. </view>
  64. </view>
  65. <view class="empty" v-if="!timecardData.list.length">
  66. <image :src="$util.img('public/uniapp/cashier/goods_empty.png')" mode="widthFix"></image>
  67. <view class="tips">暂无卡项</view>
  68. </view>
  69. </scroll-view>
  70. <scroll-view scroll-y="true" class="list-wrap" @scrolltolower="getCommoncard()" v-if="goodsType == 'commoncard'">
  71. <view class="table-list" v-show="commoncardData.list.length > 0">
  72. <view class="table-item" :class="'item-mum-' + itemNum" v-for="(item, index) in commoncardData.list" :key="index" @click="goodsSelect(item)">
  73. <view class="item-img">
  74. <image
  75. :src="
  76. item.goods_image == 'public/uniapp/default_img/goods.png'
  77. ? $util.img('public/uniapp/default_img/goods.png')
  78. : $util.img(item.goods_image.split(',')[0], { size: 'small' })
  79. "
  80. @error="item.goods_image = 'public/uniapp/default_img/goods.png'"
  81. ></image>
  82. </view>
  83. <view class="item-info">
  84. <view class="item-name">{{ item.goods_name }}</view>
  85. <view class="item-rights"></view>
  86. <view class="item-money">
  87. <text class="util">¥</text>
  88. {{ item.discount_price | moneyFormat }}
  89. </view>
  90. </view>
  91. <view class="no-stock" v-if="item.stock == 0"><image :src="$util.img('public/uniapp/cashier/stock_empty.png')" mode="heightFix"></image></view>
  92. </view>
  93. </view>
  94. <view class="empty" v-if="!commoncardData.list.length">
  95. <image :src="$util.img('public/uniapp/cashier/goods_empty.png')" mode="widthFix"></image>
  96. <view class="tips">暂无卡项</view>
  97. </view>
  98. </scroll-view>
  99. </view>
  100. </view>
  101. </template>
  102. <script>
  103. export default {
  104. name: 'ncCard',
  105. props: {
  106. type: {
  107. type: String,
  108. default: 'oncecard'
  109. }
  110. },
  111. data() {
  112. return {
  113. goodsType: '',
  114. pageSize: 35,
  115. oncecardData: {
  116. page: 0,
  117. total: 1,
  118. list: []
  119. },
  120. timecardData: {
  121. page: 0,
  122. total: 1,
  123. list: []
  124. },
  125. commoncardData: {
  126. page: 0,
  127. total: 1,
  128. list: []
  129. },
  130. searchText: '',
  131. itemNum: 3,
  132. mediaQueryOb: null
  133. };
  134. },
  135. created() {
  136. this.goodsType = this.type;
  137. this.getOncecard();
  138. this.getTimecard();
  139. this.getCommoncard();
  140. },
  141. mounted() {
  142. this.mediaQueryOb = uni.createMediaQueryObserver(this);
  143. this.mediaQueryOb.observe(
  144. {
  145. maxWidth: 1300
  146. },
  147. matches => {
  148. if (matches) this.itemNum = 2;
  149. }
  150. );
  151. this.mediaQueryOb.observe(
  152. {
  153. minWidth: 1301,
  154. maxWidth: 1900
  155. },
  156. matches => {
  157. if (matches) this.itemNum = 3;
  158. }
  159. );
  160. this.mediaQueryOb.observe(
  161. {
  162. minWidth: 1901
  163. },
  164. matches => {
  165. if (matches) this.itemNum = 4;
  166. }
  167. );
  168. },
  169. methods: {
  170. switchGoodsType(type) {
  171. this.goodsType = type;
  172. },
  173. //卡项相关
  174. goodsSelect(data) {
  175. if (!data.stock) return;
  176. this.$emit('select', data);
  177. },
  178. search() {
  179. if (this.searchText == '') return;
  180. this.oncecardData.page = 0;
  181. this.getOncecard();
  182. },
  183. getOncecard() {
  184. if (this.oncecardData.page + 1 > this.oncecardData.total) return;
  185. this.oncecardData.page += 1;
  186. this.$api.sendRequest({
  187. url: '/cashier/storeapi/card/page',
  188. data: {
  189. page: this.oncecardData.page,
  190. search_text: this.searchText,
  191. page_size: this.pageSize,
  192. card_type: 'oncecard',
  193. goods_state: 1,
  194. status: 1
  195. },
  196. success: res => {
  197. if (res.code == 0) {
  198. this.oncecardData.total = res.data.page_count || 1;
  199. if (this.oncecardData.page == 1) this.oncecardData.list = [];
  200. if (res.data.list.length) this.oncecardData.list = this.oncecardData.list.concat(res.data.list);
  201. }
  202. }
  203. });
  204. },
  205. getTimecard() {
  206. if (this.timecardData.page + 1 > this.timecardData.total) return;
  207. this.timecardData.page += 1;
  208. this.$api.sendRequest({
  209. url: '/cashier/storeapi/card/page',
  210. data: {
  211. page: this.timecardData.page,
  212. search_text: this.searchText,
  213. card_type: 'timecard',
  214. goods_state: 1,
  215. page_size: this.pageSize
  216. },
  217. success: res => {
  218. if (res.code == 0) {
  219. this.timecardData.total = res.data.page_count || 1;
  220. if (this.timecardData.page == 1) this.timecardData.list = [];
  221. if (res.data.list.length) this.timecardData.list = this.timecardData.list.concat(res.data.list);
  222. }
  223. }
  224. });
  225. },
  226. getCommoncard() {
  227. if (this.commoncardData.page + 1 > this.commoncardData.total) return;
  228. this.commoncardData.page += 1;
  229. this.$api.sendRequest({
  230. url: '/cashier/storeapi/card/page',
  231. data: {
  232. page: this.commoncardData.page,
  233. search_text: this.searchText,
  234. card_type: 'commoncard',
  235. goods_state: 1,
  236. page_size: this.pageSize
  237. },
  238. success: res => {
  239. if (res.code == 0) {
  240. this.commoncardData.total = res.data.page_count || 1;
  241. if (this.commoncardData.page == 1) this.commoncardData.list = [];
  242. if (res.data.list.length) this.commoncardData.list = this.commoncardData.list.concat(res.data.list);
  243. }
  244. }
  245. });
  246. },
  247. destroyed() {
  248. this.mediaQueryOb.disconnect();
  249. },
  250. switchStoreAfter() {
  251. this.oncecardData = {
  252. page: 0,
  253. total: 1,
  254. list: []
  255. };
  256. this.timecardData = {
  257. page: 0,
  258. total: 1,
  259. list: []
  260. };
  261. this.commoncardData = {
  262. page: 0,
  263. total: 1,
  264. list: []
  265. };
  266. this.getOncecard();
  267. this.getTimecard();
  268. this.getCommoncard();
  269. }
  270. },
  271. watch: {
  272. serviceCategoryId: function(nval) {
  273. this.serviceData.page = 0;
  274. this.$refs.loading.show();
  275. },
  276. goodsCategoryId: function(nval) {
  277. this.goodsData.page = 0;
  278. this.$refs.goodsLoading.show();
  279. this.getGoods();
  280. },
  281. type: function() {
  282. this.searchText = '';
  283. }
  284. },
  285. computed: {
  286. goodsSpec() {
  287. if (this.allsku && this.skuinfo) {
  288. return this.allsku['sku_id_' + this.skuinfo.sku_id].goods_spec_format;
  289. }
  290. return [];
  291. }
  292. }
  293. };
  294. </script>
  295. <style lang="scss">
  296. .container {
  297. height: 100%;
  298. }
  299. .header-operation {
  300. padding: 0.2rem 0;
  301. border-bottom: 0.01rem solid #e6e6e6;
  302. display: flex;
  303. align-items: center;
  304. justify-content: space-between;
  305. .header-operation-left {
  306. display: flex;
  307. align-items: center;
  308. view {
  309. width: 1rem;
  310. height: 0.35rem;
  311. line-height: 0.35rem;
  312. text-align: center;
  313. font-size: 0.14rem;
  314. border: 0.01rem solid #e6e6e6;
  315. border-left-width: 0;
  316. transition: all 0.3s;
  317. cursor: pointer;
  318. &:hover,
  319. &.active {
  320. border-color: $primary-color;
  321. color: $primary-color;
  322. background-color: rgba($color: $primary-color, $alpha: 0.1);
  323. box-shadow: -0.01rem 0 0 0 $primary-color;
  324. }
  325. &:first-child {
  326. border-left-width: 0.01rem;
  327. box-shadow: none;
  328. }
  329. }
  330. }
  331. .header-operation-right {
  332. display: flex;
  333. align-items: center;
  334. input {
  335. background: #ffffff;
  336. border: 0.01rem solid #e6e6e6;
  337. border-radius: 0.02rem;
  338. height: 0.36rem;
  339. padding: 0 0.15rem;
  340. font-size: 0.14rem;
  341. }
  342. .search-btn {
  343. width: 0.36rem;
  344. height: 0.36rem;
  345. background: #ffffff;
  346. border: 0.01rem solid #e6e6e6;
  347. border-radius: 0.02rem;
  348. border-left: 0;
  349. text-align: center;
  350. line-height: 0.36rem;
  351. cursor: pointer;
  352. }
  353. }
  354. }
  355. .content {
  356. box-sizing: border-box;
  357. padding: 0.15rem 0;
  358. height: calc(100% - 0.78rem);
  359. transform: rotate(0);
  360. display: flex;
  361. flex-direction: column;
  362. }
  363. .type-switch {
  364. width: 100%;
  365. font-size: 0.14rem;
  366. margin-bottom: 0.15rem;
  367. white-space: nowrap;
  368. .switch-item {
  369. padding: 0.1rem 0.2rem;
  370. color: #303133;
  371. font-size: 0.14rem;
  372. cursor: pointer;
  373. display: inline-block;
  374. }
  375. .switch-item.active {
  376. background-color: rgba(133, 88, 250, 0.1);
  377. color: $primary-color;
  378. }
  379. }
  380. .list-wrap {
  381. flex: 1;
  382. height: 0;
  383. }
  384. .table-list {
  385. display: flex;
  386. align-items: center;
  387. flex-wrap: wrap;
  388. .table-item {
  389. border: 0.01rem solid #e6e6e6;
  390. display: flex;
  391. align-items: center;
  392. min-width: 2rem;
  393. padding: 0.1rem;
  394. box-sizing: border-box;
  395. margin-right: 0.1rem;
  396. margin-bottom: 0.1rem;
  397. cursor: pointer;
  398. transition: all 0.3s;
  399. position: relative;
  400. &.item-mum-2 {
  401. width: calc((100% - 0.1rem) / 2);
  402. &:nth-child(2n + 2) {
  403. margin-right: 0;
  404. }
  405. }
  406. &.item-mum-3 {
  407. width: calc((100% - 0.2rem) / 3);
  408. &:nth-child(3n + 3) {
  409. margin-right: 0;
  410. }
  411. }
  412. &.item-mum-4 {
  413. width: calc((100% - 0.3rem) / 4);
  414. &:nth-child(4n + 4) {
  415. margin-right: 0;
  416. }
  417. }
  418. &:hover {
  419. background-color: #eee;
  420. }
  421. .item-img {
  422. width: 0.7rem;
  423. height: 0.7rem;
  424. min-width: 0.7rem;
  425. image {
  426. width: 100%;
  427. height: 100%;
  428. }
  429. }
  430. .item-info {
  431. margin-left: 0.1rem;
  432. cursor: pointer;
  433. flex: 1;
  434. .item-name {
  435. word-break: break-all;
  436. text-overflow: ellipsis;
  437. overflow: hidden;
  438. display: -webkit-box;
  439. -webkit-line-clamp: 2;
  440. -webkit-box-orient: vertical;
  441. height: 0.4rem;
  442. }
  443. .item-time {
  444. font-size: 0.12rem;
  445. color: #909399;
  446. }
  447. .item-money {
  448. font-size: 0.14rem;
  449. color: #fe2278;
  450. line-height: 1;
  451. margin-top: 0.05rem;
  452. .util {
  453. font-size: 0.12rem;
  454. }
  455. }
  456. .item-rights {
  457. font-size: 0.12rem;
  458. color: #909399;
  459. .iconfont {
  460. margin-left: 0.05rem;
  461. }
  462. }
  463. .rights-wrap {
  464. width: 1rem;
  465. padding: 0.1rem;
  466. margin-top: 0.15rem;
  467. background-color: #fff;
  468. border: 0.01rem solid #ebeef5;
  469. border-radius: 0.04rem;
  470. box-shadow: 0 0.01rem 0.12rem 0 rgba(0, 0, 0, 0.1);
  471. }
  472. }
  473. .no-stock {
  474. position: absolute;
  475. z-index: 1;
  476. width: 100%;
  477. height: 100%;
  478. top: 0;
  479. left: 0;
  480. display: flex;
  481. align-items: center;
  482. justify-content: center;
  483. background: rgba(0, 0, 0, 0.5);
  484. cursor: not-allowed;
  485. image {
  486. height: 60%;
  487. }
  488. }
  489. }
  490. .item-card {
  491. border: 0.01rem solid #e6e6e6;
  492. display: flex;
  493. align-items: center;
  494. min-width: 2.5rem;
  495. padding: 0;
  496. box-sizing: border-box;
  497. margin-right: 0.1rem;
  498. margin-bottom: 0.1rem;
  499. cursor: pointer;
  500. transition: all 0.3s;
  501. position: relative;
  502. flex-direction: column;
  503. border-radius: 0.03rem;
  504. overflow: hidden;
  505. .item-top {
  506. width: 100%;
  507. display: flex;
  508. flex-direction: column;
  509. height: 0.9rem;
  510. background-size: 100% 100%;
  511. padding: 0.1rem;
  512. box-sizing: border-box;
  513. color: #ffffff;
  514. justify-content: space-between;
  515. .item-title {
  516. display: flex;
  517. width: 100%;
  518. justify-content: space-between;
  519. .item-rights {
  520. border: 0.01rem solid #fff;
  521. border-radius: 0.03rem;
  522. font-size: 0.12rem;
  523. padding: 0.01rem 0.03rem;
  524. }
  525. .item-name {
  526. font-weight: 600;
  527. }
  528. }
  529. .item-time {
  530. text-align: right;
  531. }
  532. }
  533. .item-bottom {
  534. display: flex;
  535. justify-content: space-between;
  536. width: 100%;
  537. padding: 0.04rem 0.1rem;
  538. box-sizing: border-box;
  539. align-items: center;
  540. .item-money {
  541. color: #fe3c83;
  542. }
  543. .item-btn {
  544. font-size: 0.12rem;
  545. .iconfont {
  546. margin-left: 0.03rem;
  547. font-size: 0.12rem;
  548. }
  549. }
  550. }
  551. }
  552. }
  553. .sku-wrap {
  554. width: 6rem;
  555. background-color: #fff;
  556. border-radius: 0.04rem;
  557. box-shadow: 0 0.01rem 0.12rem 0 rgba(0, 0, 0, 0.1);
  558. .header,
  559. .footer {
  560. height: 0.5rem;
  561. display: flex;
  562. align-items: center;
  563. justify-content: center;
  564. border-bottom: 0.01rem solid #e6e6e6;
  565. position: relative;
  566. .title {
  567. font-size: 0.16rem;
  568. font-weight: bold;
  569. }
  570. .iconfont {
  571. line-height: 1;
  572. position: absolute;
  573. right: 0.15rem;
  574. font-size: 0.2rem;
  575. cursor: pointer;
  576. }
  577. }
  578. .body {
  579. padding: 0.15rem 0.15rem 0.25rem 0.15rem;
  580. scroll-view {
  581. max-height: 2rem;
  582. }
  583. .item-card {
  584. border: 0.01rem solid #e6e6e6;
  585. display: flex;
  586. align-items: center;
  587. width: 2.5rem;
  588. padding: 0;
  589. box-sizing: border-box;
  590. margin-right: 0.1rem;
  591. margin-bottom: 0.1rem;
  592. cursor: pointer;
  593. transition: all 0.3s;
  594. position: relative;
  595. flex-direction: column;
  596. border-radius: 0.03rem;
  597. overflow: hidden;
  598. margin: 0 auto;
  599. .item-top {
  600. width: 100%;
  601. display: flex;
  602. flex-direction: column;
  603. height: 0.9rem;
  604. background-size: 100% 100%;
  605. padding: 0.1rem;
  606. box-sizing: border-box;
  607. color: #ffffff;
  608. justify-content: space-between;
  609. .item-title {
  610. display: flex;
  611. width: 100%;
  612. justify-content: space-between;
  613. .item-rights {
  614. border: 0.01rem solid #fff;
  615. border-radius: 0.03rem;
  616. font-size: 0.12rem;
  617. padding: 0.01rem 0.03rem;
  618. }
  619. .item-name {
  620. font-weight: 600;
  621. }
  622. }
  623. .item-time {
  624. text-align: right;
  625. }
  626. }
  627. .item-bottom {
  628. display: flex;
  629. justify-content: space-between;
  630. width: 100%;
  631. padding: 0.04rem 0.1rem;
  632. box-sizing: border-box;
  633. align-items: center;
  634. .item-money {
  635. color: #fe3c83;
  636. }
  637. .item-btn {
  638. font-size: 0.12rem;
  639. .iconfont {
  640. margin-left: 0.03rem;
  641. font-size: 0.12rem;
  642. }
  643. }
  644. }
  645. }
  646. }
  647. .spec {
  648. line-height: 0.35rem;
  649. font-weight: bold;
  650. margin-top: 0.1rem;
  651. }
  652. .spec-value {
  653. .value-item {
  654. display: inline-block;
  655. height: 0.3rem;
  656. line-height: 0.3rem;
  657. background-color: #fff;
  658. color: #333;
  659. border: 0.01rem solid #e6e6e6;
  660. margin: 0.05rem 0.1rem 0 0;
  661. padding: 0 0.1rem;
  662. cursor: pointer;
  663. transition: all 0.3s;
  664. border-radius: 0.04rem;
  665. &:hover,
  666. &.active {
  667. background: rgba($color: $primary-color, $alpha: 0.1);
  668. border-color: $primary-color;
  669. color: $primary-color;
  670. }
  671. }
  672. }
  673. .goods-info {
  674. display: flex;
  675. .image {
  676. width: 0.7rem;
  677. height: 0.7rem;
  678. margin-right: 0.1rem;
  679. image {
  680. width: 100%;
  681. }
  682. }
  683. .info {
  684. display: flex;
  685. flex-direction: column;
  686. justify-content: space-between;
  687. .price {
  688. line-height: 1;
  689. margin-top: 0.05rem;
  690. }
  691. }
  692. }
  693. .footer {
  694. border-top: 0.01rem solid #e6e6e6;
  695. border-bottom: unset;
  696. button {
  697. width: 1rem;
  698. }
  699. }
  700. }
  701. .empty {
  702. text-align: center;
  703. padding-top: 1.2rem;
  704. image {
  705. width: 2rem;
  706. }
  707. .tips {
  708. color: #999;
  709. margin-top: 0.15rem;
  710. }
  711. }
  712. /deep/ .uni-scroll-view {
  713. &::-webkit-scrollbar {
  714. width: 0.06rem;
  715. height: 0.06rem;
  716. background-color: rgba($color: #000000, $alpha: 0);
  717. }
  718. &::-webkit-scrollbar-button {
  719. display: none;
  720. }
  721. &::-webkit-scrollbar-thumb {
  722. border-radius: 0.06rem;
  723. box-shadow: inset 0 0 0.06rem rgba(45, 43, 43, 0.45);
  724. background-color: #ddd;
  725. display: none;
  726. }
  727. &:hover::-webkit-scrollbar-thumb {
  728. display: block;
  729. }
  730. &::-webkit-scrollbar-track {
  731. background-color: transparent;
  732. }
  733. }
  734. </style>