app-shop-product.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. <template>
  2. <view class="app-shop-product">
  3. <view class="app-mch dir-left-nowrap main-left cross-center" v-if="mch.goods_list.length > 0">
  4. <view class="app-all-radio cross-center" @click="changeAllRadio(mch)" v-if="mch.new_status === 0 || editStatus">
  5. <view class="app-all" v-if="!mch.is_active"></view>
  6. <view class="app-all-active" v-else :style="{'background-color': theme.background}"></view>
  7. </view>
  8. <view v-else class="app-all-radio cross-center">
  9. <view class="app-all app-all-n"></view>
  10. </view>
  11. <view class="dir-left-nowrap cross-center">
  12. <view class="t-omit app-mch-name" @click="navigateMch(mch)">{{mch.name}}</view>
  13. <view v-if="mch.new_status === 2" class="close-tip">已打烊</view>
  14. </view>
  15. </view>
  16. <view v-for="(good, index) in mch.goods_list" :key="index">
  17. <view class="app-product dir-left-nowrap cross-top" :class="{'no-border': index == mch.goods_list.length - 1, 'padding': good.new_status == 3 && !good.attr}">
  18. <view class="app-single-radio dir-left-nowrap main-center cross-center">
  19. <view v-if="(good.new_status === 2 || good.new_status === 3 || good.new_status === 4 || good.new_status === 5) && !editStatus"
  20. class="app-invalid">失效</view>
  21. <view v-else-if="(good.new_status === 6 || mch.new_status === 2 || good.new_status === 1 || !good.buy_goods_auth) && !editStatus" class="app-radio dir-top-nowrap main-center cross-center">
  22. <view class="disabled-radio"></view>
  23. </view>
  24. <view class="app-radio dir-top-nowrap main-center cross-center" v-else
  25. @click="changeSingleRadio(mch, good)">
  26. <view class="radio-single" v-if="!good.is_active"></view>
  27. <view class="radio-single-active" v-else :style="{'background-color': theme.background}"></view>
  28. </view>
  29. </view>
  30. <view class="app-image" @click="jump(good)">
  31. <image :src="good.attrs.pic_url ? good.attrs.pic_url : good.goods.cover_pic"></image>
  32. </view>
  33. <view class="app-content" :style="{'margin-bottom': good.sign === 'wholesale' ? good.new_status == 0 || good.new_status == 6 ?'0' : '50rpx' : '30rpx'}">
  34. <view class="app-wholesale-title" v-if="good.sign === 'wholesale'" :class="{'app-failed-title': good.new_status !== 0 && !(good.new_status == 6 && good.sell_time > 0)}">
  35. <view v-if="good.new_status === 3 || good.new_status === 5" class="t-omit">{{good.goods.name}}</view>
  36. <view v-else class="t-omit-two">{{good.goods.name}}</view>
  37. <view class="rise-num dir-left-nowrap cross-center" :style="{'color': `${good.new_status !== 0 && good.new_status !== 6 ? '#999999' : good.new_status === 0 ? '#63be72': '#ff4544'}`}">
  38. <image v-if="good.new_status !== 0 && good.new_status !== 6" class="num-icon" src="/static/image/icon/grey.png"></image>
  39. <image v-else-if="good.new_status === 0" class="num-icon" src="/static/image/icon/friend-v.png"></image>
  40. <view>起批量 {{good.plugin_data.up_num}}{{good.goods.goodsWarehouse.unit}}</view>
  41. </view>
  42. </view>
  43. <text class="app-title" v-else :class="{'app-failed-title': good.new_status !== 0 && !(good.new_status == 6 && good.sell_time > 0)}">
  44. {{good.goods.name}}
  45. </text>
  46. <view class="app-specification-style" v-if="good.sign !== 'wholesale'">
  47. <text v-for="(item, index) in good.attrs.attr" v-bind:key="index">
  48. {{item.attr_group_name}}: {{item.attr_name}}
  49. </text>
  50. </view>
  51. <view class="app-failed-goods" v-if="good.sell_time > 0 && good.new_status != 2 && good.new_status != 3 && good.new_status != 4 && good.new_status != 5">
  52. <view
  53. class="app-text app-sell-string dir-left-nowrap main-left cross-center">
  54. <icon class="app-flash-sale-spike-icon"></icon>
  55. 即将开售 还剩{{good.sell_string}}开售
  56. </view>
  57. </view>
  58. <view class="app-miaosha dir-left-nowrap main-left cross-center" v-if="good.sign === 'miaosha'">
  59. <icon class="app-miaosha-icon"
  60. v-if="good.miaosha_status === 2 || good.miaosha_status === 1" type></icon>
  61. <icon class="app-spike-icon" v-if="good.miaosha_status === 0" type></icon>
  62. <view class="app-beginning" v-if="good.miaosha_status === 1">
  63. 秒杀中 还剩
  64. {{good.miaosha_string}}
  65. 结束
  66. </view>
  67. <text class="app-over" v-if="good.miaosha_status === 0">秒杀已结束</text>
  68. </view>
  69. <view class="app-miaosha dir-left-nowrap main-left cross-center" v-if="good.sign === 'flash_sale'">
  70. <icon class="app-flash-sale-icon"
  71. :style="{'background-color': theme.background}"
  72. v-if="good.flash_sale_status === 1" type></icon>
  73. <icon class="app-flash-sale-spike-icon" v-if="good.flash_sale_status === 2 || good.flash_sale_status === 0" type></icon>
  74. <view class="app-beginning" v-if="good.flash_sale_status === 1">
  75. 抢购中 还剩
  76. {{good.flash_sale_string}}
  77. 结束
  78. </view>
  79. <view class="app-beginning" v-if="good.flash_sale_status === 2">
  80. 抢购未开始 还剩
  81. {{good.flash_sale_string}}
  82. 开始
  83. </view>
  84. <text class="app-over" v-if="good.flash_sale_status === 0">抢购已结束</text>
  85. </view>
  86. <view class="dir-top-nowrap" v-if="(good.new_status === 0 || (good.new_status === 6 && good.sell_time > 0)) && good.buy_goods_auth && good.sign !== 'wholesale'">
  87. <view class="reduce-price" v-if="good.reduce_price > 0 && good.new_status === 0">
  88. 比加入时降¥{{good.reduce_price}}
  89. </view>
  90. <view v-if="good.attrs && (good.attrs.price || good.attrs.price == 0)" class="app-price-button dir-left-nowrap main-between cross-center">
  91. <text class="app-price" :style="{'color': theme.color}">
  92. {{good.attrs.price}}
  93. </text>
  94. <view v-if="good.sign != 'wholesale'">
  95. <app-add-subtract
  96. v-model="mch.goods_list[index].num"
  97. :good_id="mch.goods_list[index].id"
  98. :stock="good.attrs.stock"
  99. @change="change"
  100. :theme="theme"
  101. ></app-add-subtract>
  102. </view>
  103. </view>
  104. </view>
  105. <view class="app-failed-goods" v-else-if="!good.buy_goods_auth">
  106. <view
  107. class="app-text dir-left-nowrap main-left cross-center">
  108. 您暂无权限购买该商品
  109. </view>
  110. </view>
  111. <view class="app-failed-goods" v-else>
  112. <view v-if="good.new_status === 2"
  113. class="app-text dir-left-nowrap main-left cross-center">
  114. 商品已售罄,请联系卖家
  115. </view>
  116. <view v-else-if="good.new_status === 3"
  117. class="app-text dir-left-nowrap main-left cross-center">
  118. 商品已失效
  119. </view>
  120. <view v-else-if="good.new_status === 4"
  121. class="app-text dir-left-nowrap main-left cross-center">
  122. 商户已关闭
  123. </view>
  124. <view v-else-if="good.new_status === 5"
  125. class="app-text dir-left-nowrap main-left cross-center">
  126. 商品已下架
  127. </view>
  128. </view>
  129. </view>
  130. </view>
  131. <view class="app-wholesale-style" :class="{'border': good.sign != 'wholesale'}" v-if="mch.mch_id == 0 && ((good.sign != 'wholesale' && mch.goods_list && mch.goods_list[index+1] && mch.goods_list[index+1].sign === 'wholesale') || (good.sign === 'wholesale' && (good.new_status === 0 || good.new_status === 6)))">
  132. <view class="app-wholesale-attr dir-left-nowrap cross-center" v-for="(attr, idx) in good.attr_arr" :key="idx">
  133. <view class="app-single-radio dir-left-nowrap main-center cross-center">
  134. <view v-if="(good.new_status === 6 || mch.new_status === 2 || good.new_status === 1 || !good.buy_goods_auth) && !editStatus" class="app-radio dir-top-nowrap main-center cross-center">
  135. <view class="disabled-radio"></view>
  136. </view>
  137. <view class="app-radio dir-top-nowrap main-center cross-center" v-else
  138. @click="changeSingleRadio(mch, attr)">
  139. <view class="radio-single" v-if="!attr.is_active"></view>
  140. <view class="radio-single-active" v-else :style="{'background-color': theme.background}"></view>
  141. </view>
  142. </view>
  143. <view class="attr-wholesale-item main-between cross-center">
  144. <view class="attr-item-name">
  145. <text v-for="(item, index) in attr.attrs.attr" v-bind:key="index">
  146. <text v-if="index > 0">/</text>
  147. {{item.attr_name}}
  148. </text>
  149. <view :style="{'color': theme.color}">¥{{attr.price ? attr.price : attr.attrs.price}}</view>
  150. </view>
  151. <app-add-subtract
  152. v-model="attr.num"
  153. :good_id="attr.id"
  154. background="#f5f5f5"
  155. :stock="attr.attr_info.stock"
  156. @change="change"
  157. :theme="theme"
  158. ></app-add-subtract>
  159. </view>
  160. </view>
  161. <view class="wholesale-total dir-right-nowrap cross-center" v-if="good.sign === 'wholesale' && (good.new_status === 0 || good.new_status === 6)">
  162. <view class="wholesale-total-price" :style="{'color': theme.color}">¥{{good.price}}</view>
  163. <view>共{{good.sell_time > 0 ? '0' : good.attrs.num}}{{good.goods.goodsWarehouse.unit}}</view>
  164. </view>
  165. </view>
  166. </view>
  167. </view>
  168. </template>
  169. <script>
  170. import appRadio from '../../../../components/basic-component/app-radio/app-radio.vue';
  171. import appAddSubtract from '../app-add-subtract/app-add-subtract.vue';
  172. export default {
  173. name: "app-shop-product",
  174. components: {
  175. 'app-radio': appRadio,
  176. 'app-add-subtract': appAddSubtract,
  177. },
  178. props: {
  179. mch: {
  180. type: Object
  181. },
  182. editStatus: {
  183. type: Boolean,
  184. default() {
  185. return false;
  186. }
  187. },
  188. theme: Object,
  189. type: {
  190. type: [Number, String]
  191. }
  192. },
  193. data() {
  194. return {
  195. timer: null,
  196. time: '0',
  197. goods_list: []
  198. }
  199. },
  200. created() {
  201. // this.spliceGoods()
  202. },
  203. methods: {
  204. // // 按 type 类型拆分境内境外,type = 0 境内, type = 1 境外
  205. // spliceGoods() {
  206. // const domGoods = this.mch.goods_list.filter((item, index) => {
  207. // return item.goods.is_jingwai === 0
  208. // })
  209. // const overGoods = this.mch.goods_list.filter((item, index) => {
  210. // return item.goods.is_jingwai === 1
  211. // })
  212. // if (this.type === 0) this.goods_list = domGoods
  213. // else if (this.type === 1) this.goods_list = overGoods
  214. // },
  215. navigateMch(mch) {
  216. if (mch.mch_id) {
  217. uni.navigateTo({
  218. url: `/plugins/mch/shop/shop?mch_id=${mch.mch_id}`
  219. });
  220. }
  221. },
  222. changeSingleRadio(mch, item) {
  223. this.$emit('changeSingleRadio', {mch, item});
  224. },
  225. changeAllRadio(mch) {
  226. // const data = this.mch
  227. // data.goods_list = this.goods_list
  228. this.$emit('changeRadioAll', mch);
  229. },
  230. jump(good) {
  231. if (good.new_status !== 0) return;
  232. let url = ``;
  233. if (good.mch_id > 0) {
  234. url = `/plugins/mch/goods/goods?id=${good.goods.id}&mch_id=${good.mch_id}`;
  235. } else if (good.sign === 'miaosha') {
  236. url = `/plugins/miaosha/goods/goods?id=${good.goods.id}`;
  237. } else if (good.sign === 'flash_sale') {
  238. url = `/plugins/flash_sale/goods/goods?id=${good.goods.id}`;
  239. } else if (good.sign === 'wholesale') {
  240. url = `/plugins/wholesale/goods/goods?id=${good.goods.id}`;
  241. } else {
  242. url = `/pages/goods/goods?id=${good.goods.id}`;
  243. }
  244. uni.navigateTo({
  245. url
  246. });
  247. },
  248. change({number, id}) {
  249. this.$emit('change', {
  250. number, id, mch_id: this.mch.mch_id
  251. });
  252. }
  253. },
  254. }
  255. </script>
  256. <style scoped lang="scss">
  257. .app-shop-product {
  258. width: #{750rpx};
  259. background-color: #ffffff;
  260. // margin-top: #{20rpx};
  261. >view:last-of-type {
  262. .app-wholesale-style {
  263. padding-bottom: 0;
  264. }
  265. }
  266. }
  267. .app-mch {
  268. border-bottom: #{1rpx} solid #e2e2e2;
  269. height: #{80rpx};
  270. width: 100%;
  271. .app-all-radio {
  272. width: #{94rpx};
  273. height: #{80rpx};
  274. .app-all {
  275. width: #{40rpx};
  276. height: #{40rpx};
  277. border-radius: 50%;
  278. margin-left: #{24rpx};
  279. background-color: white;
  280. border: #{2rpx} solid #cccccc;
  281. }
  282. .app-all-n {
  283. background-color: #cdcdcd !important;
  284. }
  285. .app-all-active {
  286. width: #{40rpx};
  287. height: #{40rpx};
  288. border-radius: 50%;
  289. margin-left: #{24rpx};
  290. background-repeat: repeat;
  291. background-size: 100% 100%;
  292. background-image: url("../../../../static/image/icon/yes-radio.png");
  293. }
  294. }
  295. .app-mch-name {
  296. max-width: #{522rpx};
  297. font-size: #{26rpx};
  298. color: #666666;
  299. }
  300. .close-tip {
  301. font-size: #{22rpx};
  302. height: #{32rpx};
  303. line-height: #{32rpx};
  304. border-radius: #{16rpx};
  305. padding: 0 #{8rpx};
  306. color: #fff;
  307. background-color: #c0c0c0;
  308. margin-left: #{20rpx};
  309. }
  310. }
  311. .app-product {
  312. width: 100%;
  313. margin-top: #{30rpx};
  314. &.padding {
  315. padding-bottom: #{30rpx};
  316. }
  317. &:last-of-type {
  318. border-bottom: #{1rpx} solid #e2e2e2;
  319. }
  320. &.no-border {
  321. border-bottom: 0;
  322. }
  323. .app-single-radio {
  324. width: #{84rpx};
  325. height: #{156rpx};
  326. .disabled-radio {
  327. width: #{40rpx};
  328. height: #{40rpx};
  329. border-radius: 50%;
  330. border: #{2rpx} solid #cccccc;
  331. background-color: #cdcdcd;
  332. }
  333. .app-radio {
  334. width: #{84rpx};
  335. height: #{156rpx};
  336. .radio-single {
  337. width: #{40rpx};
  338. height: #{40rpx};
  339. border-radius: 50%;
  340. background-color: white;
  341. border: #{2rpx} solid #cccccc;
  342. }
  343. .radio-single-active {
  344. width: #{40rpx};
  345. height: #{40rpx};
  346. border-radius: 50%;
  347. background-repeat: repeat;
  348. background-size: 100% 100%;
  349. background-image: url("../../../../static/image/icon/yes-radio.png");
  350. }
  351. }
  352. .app-invalid {
  353. width: #{64rpx};
  354. height: #{32rpx};
  355. line-height: #{32rpx};
  356. border-radius: #{16rpx};
  357. text-align: center;
  358. font-size: #{24rpx};
  359. color: #FFFFFF;
  360. background-color: #cdcdcd;
  361. }
  362. }
  363. .app-image {
  364. width: #{156rpx};
  365. height: #{156rpx};
  366. image {
  367. width: 100%;
  368. height: 100%;
  369. }
  370. }
  371. .app-content {
  372. width: #{466rpx};
  373. background-color: white;
  374. margin: 0 #{24rpx} #{30rpx} #{20rpx};
  375. .app-title {
  376. width: 100%;
  377. font-size: #{28rpx};
  378. color: #353535;
  379. word-break: break-all;
  380. text-overflow: ellipsis;
  381. display: -webkit-box;
  382. -webkit-box-orient: vertical;
  383. -webkit-line-clamp: 1;
  384. overflow: hidden;
  385. margin-bottom: #{10rpx};
  386. }
  387. .app-wholesale-title {
  388. width: 100%;
  389. font-size: #{28rpx};
  390. color: #353535;
  391. .rise-num {
  392. margin-top: #{10rpx};
  393. font-size: 24rpx;
  394. margin-bottom: 20rpx;
  395. .num-icon {
  396. width: 28rpx;
  397. max-height: 28rpx;
  398. margin-right: 12rpx;
  399. }
  400. }
  401. }
  402. .app-failed-title {
  403. color: #999999;
  404. }
  405. .app-specification-style {
  406. margin-bottom: #{16rpx};
  407. text {
  408. font-size: #{24rpx};
  409. color: #999999;
  410. margin-right: #{36rpx};
  411. }
  412. .wholesale-attr {
  413. font-size: 16rpx;
  414. background-color: #f5f5f5;
  415. border-radius: 16rpx;
  416. padding: 12rpx 16rpx;
  417. position: relative;
  418. .wholesale-attr-item {
  419. width: 90%;
  420. .attr-num {
  421. margin-left: 5rpx;
  422. }
  423. text {
  424. margin-right: 5rpx;
  425. }
  426. }
  427. .more-icon {
  428. position: absolute;
  429. height: 25rpx;
  430. width: 5rpx;
  431. bottom: 16rpx;
  432. right: 16rpx;
  433. }
  434. }
  435. }
  436. .app-miaosha {
  437. width: 100%;
  438. margin-bottom: #{24rpx};
  439. .app-miaosha-icon {
  440. width: #{29rpx};
  441. height: #{29rpx};
  442. background-repeat: no-repeat;
  443. background-size: 100% 100%;
  444. background-image: url("../../../../static/image/cart/miaosha.png");
  445. margin-right: #{12rpx};
  446. }
  447. .app-flash-sale-icon {
  448. width: #{29rpx};
  449. height: #{29rpx};
  450. background-repeat: no-repeat;
  451. background-size: 100% 100%;
  452. background-image: url("../../../../static/image/plugins/flash-sale-icon.png");
  453. margin-right: #{12rpx};
  454. }
  455. .app-flash-sale-spike-icon {
  456. width: #{29rpx};
  457. height: #{29rpx};
  458. background-repeat: no-repeat;
  459. background-size: 100% 100%;
  460. background-image: url("../../../../static/image/plugins/flash-sale-icon.png");
  461. margin-right: #{12rpx};
  462. background-color: #cdcdcd;
  463. }
  464. .app-spike-icon {
  465. width: #{29rpx};
  466. height: #{29rpx};
  467. background-repeat: no-repeat;
  468. background-size: 100% 100%;
  469. background-image: url("../../../../static/image/cart/spike-invalid.png");
  470. margin-right: #{12rpx};
  471. }
  472. .app-beginning {
  473. font-size: #{22rpx};
  474. color: #ff4544;
  475. }
  476. .app-over {
  477. font-size: #{22rpx};
  478. color: #999999;
  479. }
  480. }
  481. .app-failed-goods {
  482. width: 100%;
  483. .app-text {
  484. color: #353535;
  485. font-size: #{25rpx};
  486. }
  487. .app-spike {
  488. margin-bottom: #{24rpx};
  489. }
  490. .app-spike-icon {
  491. width: #{29rpx};
  492. height: #{29rpx};
  493. background-repeat: no-repeat;
  494. background-size: 100% 100%;
  495. background-image: url("../../../../static/image/cart/spike-invalid.png");
  496. margin-right: #{12rpx};
  497. }
  498. .app-spike-text {
  499. font-size: #{24rpx};
  500. color: #999999;
  501. }
  502. .app-sell-string {
  503. font-size: #{24rpx};
  504. color: #ff4544;
  505. .app-flash-sale-spike-icon {
  506. width: #{29rpx};
  507. height: #{29rpx};
  508. background-repeat: no-repeat;
  509. background-size: 100% 100%;
  510. background-image: url("../../../../static/image/plugins/flash-sale-icon.png");
  511. margin-right: #{12rpx};
  512. background-color: #cdcdcd;
  513. }
  514. }
  515. }
  516. .app-price-button {
  517. width: 100%;
  518. height: #{60rpx};
  519. .app-price {
  520. font-size: #{32rpx};
  521. }
  522. .app-price:before {
  523. content: '¥';
  524. font-size: #{24rpx};
  525. }
  526. }
  527. .reduce-price {
  528. color: #ff4544;
  529. font-size: #{24rpx};
  530. }
  531. }
  532. }
  533. .app-wholesale-style {
  534. background-color: #f7f7f7;
  535. padding-bottom: 20rpx;
  536. &.border {
  537. border-top: 1rpx solid #e2e2e2;
  538. }
  539. .wholesale-total {
  540. padding-right: 44rpx;
  541. height: 70rpx;
  542. background-color: #fff;
  543. border-top: 1rpx solid #e2e2e2;
  544. border-bottom: 1rpx solid #e2e2e2;
  545. font-size: 22rpx;
  546. color: #353535;
  547. .wholesale-total-price {
  548. font-size: 30rpx;
  549. height: 40rpx;
  550. margin-left: 20rpx;
  551. padding-left: 20rpx;
  552. border-left: 2rpx solid #e2e2e2;
  553. }
  554. }
  555. .app-wholesale-attr {
  556. padding-right: 24rpx;
  557. padding-bottom: 20rpx;
  558. background-color: #fff;
  559. &:first-of-type {
  560. padding-top: 20rpx;
  561. }
  562. .app-single-radio {
  563. width: #{84rpx};
  564. .disabled-radio {
  565. width: #{40rpx};
  566. height: #{40rpx};
  567. border-radius: 50%;
  568. border: #{2rpx} solid #cccccc;
  569. background-color: #cdcdcd;
  570. }
  571. .app-radio {
  572. width: #{84rpx};
  573. .radio-single {
  574. width: #{40rpx};
  575. height: #{40rpx};
  576. border-radius: 50%;
  577. background-color: white;
  578. border: #{2rpx} solid #cccccc;
  579. }
  580. .radio-single-active {
  581. width: #{40rpx};
  582. height: #{40rpx};
  583. border-radius: 50%;
  584. background-repeat: repeat;
  585. background-size: 100% 100%;
  586. background-image: url("../../../../static/image/icon/yes-radio.png");
  587. }
  588. }
  589. }
  590. .attr-wholesale-item {
  591. width: 640rpx;
  592. background-color: #f5f5f5;
  593. min-height: 100rpx;
  594. padding: 20rpx;
  595. .attr-item-name {
  596. font-size: 22rpx;
  597. width: 400rpx;
  598. text {
  599. color: #666666;
  600. }
  601. }
  602. }
  603. }
  604. }
  605. </style>