user.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  1. <template>
  2. <view class="container user clearfix">
  3. <cm-custom :navbar-data="nvabarData"></cm-custom>
  4. <view class="user-section">
  5. <view
  6. class="header"
  7. :style="{
  8. height: CustomBar + 90 - StatusBar + 'px',
  9. paddingTop: CustomBar + 'px',
  10. background: 'url(' + bgImgUrl + ')',
  11. backgroundSize: 'cover'
  12. }"
  13. >
  14. <view class="header-main" v-if="hasLogin">
  15. <view class="header-text">
  16. <view class="user-item">
  17. <text class="u-h1">{{ name }}</text>
  18. </view>
  19. <view class="user-item"> <text class="u-tips">协销人员</text> </view>
  20. </view>
  21. <view class="header-icon" @click="TestZHIboFn()"
  22. ><image src="https://static.caimei365.com/app/img/icon/icon-seller@3x.png" mode=""></image
  23. ></view>
  24. </view>
  25. <!-- 订单 -->
  26. <view class="user-order">
  27. <view class="tab-title" @click="navigator('/pages/seller/order/order-list?listType=0')">
  28. <text class="cell-tit">我的订单</text> <text class="cell-more">全部订单</text>
  29. <text class="iconfont icon-xiayibu"></text>
  30. </view>
  31. <view class="order-section">
  32. <view
  33. class="order-item"
  34. @click="navigator('/pages/seller/order/order-list?listType=1')"
  35. hover-class="common-hover"
  36. :hover-stay-time="50"
  37. >
  38. <view class="order-icon">
  39. <image src="https://static.caimei365.com/app/img/icon/order5@3x.png" mode=""></image>
  40. <text
  41. v-if="beforeConfirmCount > 0"
  42. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  43. :class="[beforeConfirmCount < 10 ? 'goleft' : '']"
  44. >
  45. {{ beforeConfirmCount >= 99 ? '99+' : beforeConfirmCount }}
  46. </text>
  47. </view>
  48. <text class="order-t">待确认</text>
  49. </view>
  50. <view
  51. class="order-item"
  52. @click="navigator('/pages/seller/order/order-list?listType=2')"
  53. hover-class="common-hover"
  54. :hover-stay-time="50"
  55. >
  56. <view class="order-icon">
  57. <image src="https://static.caimei365.com/app/img/icon/order1@3x.png" mode=""></image>
  58. <text
  59. v-if="beforePayCount > 0"
  60. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num "
  61. :class="[beforePayCount < 10 ? 'goleft' : '']"
  62. >
  63. {{ beforePayCount >= 99 ? '99+' : beforePayCount }}
  64. </text>
  65. </view>
  66. <text class="order-t">待付款</text>
  67. </view>
  68. <view
  69. class="order-item"
  70. @click="navigator('/pages/seller/order/order-list?listType=3')"
  71. hover-class="common-hover"
  72. :hover-stay-time="50"
  73. >
  74. <view class="order-icon">
  75. <image src="https://static.caimei365.com/app/img/icon/order2@3x.png" mode=""></image>
  76. <text
  77. v-if="beforeShipCount > 0"
  78. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  79. :class="[beforeShipCount < 10 ? 'goleft' : '']"
  80. >
  81. {{ beforeShipCount >= 99 ? '99+' : beforeShipCount }}
  82. </text>
  83. </view>
  84. <text class="order-t">待发货</text>
  85. </view>
  86. <view
  87. class="order-item"
  88. @click="navigator('/pages/seller/order/order-list?listType=4')"
  89. hover-class="common-hover"
  90. :hover-stay-time="50"
  91. >
  92. <view class="order-icon">
  93. <image src="https://static.caimei365.com/app/img/icon/order3@3x.png" mode=""></image>
  94. <text
  95. v-if="shippedCount > 0"
  96. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  97. :class="[shippedCount < 10 ? 'goleft' : '']"
  98. >
  99. {{ shippedCount >= 99 ? '99+' : shippedCount }}
  100. </text>
  101. </view>
  102. <text class="order-t">已发货</text>
  103. </view>
  104. <view
  105. class="order-item"
  106. @click="navigator('/pages/seller/order/order-list?listType=5')"
  107. hover-class="common-hover"
  108. :hover-stay-time="50"
  109. >
  110. <view class="order-icon">
  111. <image src="https://static.caimei365.com/app/img/icon/order4@3x.png" mode=""></image>
  112. <text
  113. v-if="refundsCount > 0"
  114. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  115. :class="[refundsCount < 10 ? 'goleft' : '']"
  116. >
  117. {{ refundsCount >= 99 ? '99+' : refundsCount }}
  118. </text>
  119. </view>
  120. <text class="order-t">退货/款</text>
  121. </view>
  122. </view>
  123. </view>
  124. </view>
  125. <!-- 底部跳转 -->
  126. <view class="foot-list">
  127. <!-- <view class="list-cell-image" @click="navigator('/pages/user/coupon/coupon-activity')">
  128. <view class="text">
  129. <view class="h1">美博会</view>
  130. <view class="p">大额好券等你来领~</view>
  131. </view>
  132. </view> -->
  133. <view class="list-cell-item">
  134. <view
  135. class="list-cell"
  136. v-for="(item, index) in firstList"
  137. :key="index"
  138. @click="navigator(item.path)"
  139. hover-class="cell-hover"
  140. :hover-stay-time="50"
  141. >
  142. <view class="cell-icon">
  143. <image class="cell-icon-image" :src="item.icon" mode=""></image>
  144. </view>
  145. <text class="cell-tit">{{ item.name }}</text>
  146. <text
  147. v-if="index == 1 && orderNum > 0"
  148. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  149. >
  150. {{ orderNum == 99 ? '99+' : orderNum }}
  151. </text>
  152. <text class="cell-more iconfont icon-xiayibu"></text>
  153. </view>
  154. </view>
  155. <view class="list-cell-item">
  156. <view
  157. class="list-cell"
  158. v-for="(item, index) in twoList"
  159. :key="index"
  160. @click="navigator(item.path)"
  161. hover-class="cell-hover"
  162. :hover-stay-time="50"
  163. >
  164. <view class="cell-icon">
  165. <image class="cell-icon-image" :src="item.icon" mode=""></image>
  166. </view>
  167. <text class="cell-tit">{{ item.name }}</text>
  168. <text class="cell-more iconfont icon-xiayibu"></text>
  169. </view>
  170. </view>
  171. </view>
  172. </view>
  173. </view>
  174. </template>
  175. <script>
  176. import authorize from '@/common/config/authorize.js'
  177. import uniBadge from '@/components/uni-badge/uni-badge.vue'
  178. import { mapState, mapMutations } from 'vuex'
  179. export default {
  180. components: {
  181. uniBadge
  182. },
  183. data() {
  184. return {
  185. nvabarData: {
  186. //顶部自定义导航
  187. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示,
  188. showSearch: 0,
  189. title: '账户中心', // 导航栏 中间的标题
  190. haveBack: false,
  191. textLeft: this.$store.state.isIphone,
  192. textColor: '#FFFFFF',
  193. bgColor: ''
  194. },
  195. CustomBar: this.CustomBar, // 顶部导航栏高度
  196. StatusBar: this.StatusBar,
  197. bgImgUrl: 'https://static.caimei365.com/app/img/bg/home_cumres@2x.png',
  198. name: '',
  199. headpic: '',
  200. userId: '',
  201. serviceProviderId: '',
  202. skeletonShow: true,
  203. orderNum: 0, //未查看订单数量
  204. beforeConfirmCount: 0, //待确认角标
  205. beforePayCount: 0, //待付款角标
  206. beforeShipCount: 0, //待发货角标
  207. shippedCount: 0, //已发货角标
  208. refundsCount: '', //退货/款角标
  209. institutionsCont: 120,
  210. firstList: [
  211. {
  212. name: '待注册机构',
  213. path: '/pages/seller/club/stayClub-list',
  214. icon: 'https://static.caimei365.com/app/img/icon/icon_seller_1@2x.png'
  215. },
  216. {
  217. name: '机构列表',
  218. path: '/pages/seller/club/list',
  219. icon: 'https://static.caimei365.com/app/img/icon/icon_seller_2@2x.png'
  220. },
  221. {
  222. name: '拉机构上线',
  223. path: '/pages/seller/login/register-select',
  224. icon: 'https://static.caimei365.com/app/img/icon/icon_seller_3@2x.png'
  225. },
  226. {
  227. name: '邀请运营人员',
  228. path: '/pages/seller/club/allClub-list',
  229. icon: 'https://static.caimei365.com/app/img/icon/icon_seller_4@2x.png'
  230. }
  231. ],
  232. twoList: [
  233. {
  234. name: '帮机构下单',
  235. path: '/pages/seller/club/club-list',
  236. icon: 'https://static.caimei365.com/app/img/icon/icon_seller_5@2x.png'
  237. },
  238. {
  239. name: '发布二手商品',
  240. path: '/pages/second/form/form-select',
  241. icon: 'https://static.caimei365.com/app/img/icon/icon_seller_6@2x.png'
  242. },
  243. {
  244. name: '客户咨询记录',
  245. path: '/pages/seller/remarks/list',
  246. icon: 'https://static.caimei365.com/app/img/icon/icon_seller_7@2x.png'
  247. }
  248. ]
  249. }
  250. },
  251. created() {
  252. this.initData()
  253. },
  254. computed: {
  255. ...mapState(['hasLogin', 'userInfo'])
  256. },
  257. methods: {
  258. ...mapMutations(['login', 'logout']),
  259. async initData() {
  260. const wechatCode = await authorize.getCode('weixin') // 根据微信的code获取用户登录状态:1已登录过 -1未登录过
  261. const getUserInfo = await authorize.getUserInfo('weixin')
  262. const params = { code: wechatCode, encryptedData: getUserInfo.encryptedData, iv: getUserInfo.iv }
  263. this.UserService.UserLoginAuthApplets(params).then(response => {
  264. if (response.code == 0 || response.code == 4) {
  265. this.isLogin = true
  266. this.userID = response.data.userId
  267. this.userIdentity = response.data.userIdentity
  268. this.clubStatus = response.data.clubStatus
  269. this.serviceProviderId = response.data.serviceProviderId
  270. this.$store.commit('updateStatus', response.data)
  271. this.login(response.data)
  272. uni.setStorageSync('token', response.data.token)
  273. uni.setStorageSync('unionId', response.data.unionId)
  274. this.getUserSellerHome()
  275. this.getOrderCount()
  276. } else {
  277. this.isLogin = false
  278. this.logout()
  279. uni.setStorageSync('unionId', response.data.unionId)
  280. this.$store.commit('updateStatus', response.data)
  281. this.$api.navigateTo('/pages/seller/login/login')
  282. }
  283. })
  284. },
  285. getUserSellerHome() {
  286. this.$api.getStorage().then(resolve => {
  287. this.userId = resolve.userId ? resolve.userId : 0
  288. this.SellerService.GetSellerHome({ userId: this.userId })
  289. .then(response => {
  290. let sellerData = response.data
  291. this.name = sellerData.linkMan ? sellerData.linkMan : '' //协销名称
  292. this.headpic = sellerData.logo //会所头像
  293. this.skeletonShow = false
  294. })
  295. .catch(error => {
  296. this.$util.msg(error.msg, 2000)
  297. })
  298. })
  299. },
  300. getOrderCount() {
  301. this.SellerService.GetOrderCount({ serviceProviderId: this.serviceProviderId }).then(response => {
  302. let data = response.data
  303. this.beforeConfirmCount = this.showBadge(data.confirmedCount) //待确认
  304. this.beforePayCount = this.showBadge(data.paymentCount) //待付款
  305. this.beforeShipCount = this.showBadge(data.waitShipmentsCount) //待发货
  306. this.shippedCount = this.showBadge(data.shipmentsCount) //已发货
  307. this.refundsCount = this.showBadge(data.salesReturnCount) //退货/款
  308. this.orderNum = this.showBadge(data.uncheckedOrderCount) //未查看订单数量
  309. })
  310. },
  311. TestZHIboFn() {
  312. //测试跳转直播小程序
  313. // uni.navigateToMiniProgram({
  314. // appId: 'wx92d650b253f8f2e3',
  315. // path: '/pages/index/index',
  316. // extraData: {
  317. // 'data1': 'test'
  318. // },
  319. // envVersion: 'develop',
  320. // success(res) {
  321. // // 打开成功
  322. // console.log(res)
  323. // }
  324. // })
  325. },
  326. navigator(url) {
  327. this.$api.navigateTo(url)
  328. },
  329. showBadge(n) {
  330. let num = ''
  331. if (n > 100) {
  332. num = 99
  333. } else {
  334. num = n
  335. }
  336. return num
  337. },
  338. onPullDownRefresh() {
  339. //下拉刷新
  340. this.initData()
  341. uni.stopPullDownRefresh()
  342. }
  343. }
  344. }
  345. </script>
  346. <style lang="scss">
  347. @import '@/uni.scss';
  348. page {
  349. background-color: #f7f7f7;
  350. }
  351. .user {
  352. width: 100%;
  353. height: 100%;
  354. position: relative;
  355. background: rgba(247, 247, 247, 1);
  356. }
  357. .header {
  358. width: 100%;
  359. position: relative;
  360. background-size: cover;
  361. }
  362. .header-main {
  363. width: 702rpx;
  364. height: 130rpx;
  365. padding: 12rpx 24rpx;
  366. display: flex;
  367. .header-text {
  368. flex: 8;
  369. display: flex;
  370. flex-direction: column;
  371. .user-item {
  372. flex: 1;
  373. height: 64rpx;
  374. line-height: 64rpx;
  375. .u-tips {
  376. display: inline-block;
  377. float: left;
  378. width: 98rpx;
  379. height: 30rpx;
  380. border: 1px solid #ffffff;
  381. background: linear-gradient(128deg, rgba(242, 143, 49, 1) 0%, rgba(225, 86, 22, 1) 100%);
  382. border-radius: 16rpx;
  383. line-height: 30rpx;
  384. font-size: $font-size-20;
  385. text-align: center;
  386. color: #ffffff;
  387. margin-left: 10rpx;
  388. }
  389. .u-viptips {
  390. display: inline-block;
  391. float: left;
  392. width: 98rpx;
  393. height: 30rpx;
  394. border: 1px solid #ffe600;
  395. background: linear-gradient(128deg, rgba(242, 143, 49, 1) 0%, rgba(225, 86, 22, 1) 100%);
  396. border-radius: 16rpx;
  397. line-height: 30rpx;
  398. font-size: $font-size-20;
  399. text-align: center;
  400. color: #ffe600;
  401. margin-left: 10rpx;
  402. margin-top: 17rpx;
  403. }
  404. .u-h1 {
  405. float: left;
  406. font-size: $font-size-36;
  407. color: #ffffff;
  408. text-align: left;
  409. -o-text-overflow: ellipsis;
  410. text-overflow: ellipsis;
  411. display: -webkit-box;
  412. word-break: break-all;
  413. -webkit-box-orient: vertical;
  414. -webkit-line-clamp: 1;
  415. overflow: hidden;
  416. }
  417. .u-p {
  418. font-size: $font-size-24;
  419. line-height: 64rpx;
  420. color: #ffffff;
  421. text-align: left;
  422. }
  423. }
  424. }
  425. .header-icon {
  426. flex: 2;
  427. margin-right: 20rpx;
  428. image {
  429. float: right;
  430. width: 128rpx;
  431. height: 128rpx;
  432. border-radius: 100%;
  433. border: 2rpx solid #ffffff;
  434. }
  435. }
  436. }
  437. .header-main-none {
  438. width: 702rpx;
  439. height: 152rpx;
  440. padding: 0 24rpx;
  441. display: flex;
  442. .header-text {
  443. flex: 8;
  444. display: flex;
  445. flex-direction: column;
  446. .user-item {
  447. flex: 1;
  448. height: 50rpx;
  449. line-height: 50rpx;
  450. .line {
  451. margin: 0 10rpx;
  452. }
  453. .u-h1 {
  454. float: left;
  455. font-size: $font-size-36;
  456. color: #ffffff;
  457. text-align: left;
  458. -o-text-overflow: ellipsis;
  459. text-overflow: ellipsis;
  460. display: -webkit-box;
  461. word-break: break-all;
  462. -webkit-box-orient: vertical;
  463. -webkit-line-clamp: 1;
  464. overflow: hidden;
  465. }
  466. .u-p {
  467. font-size: $font-size-24;
  468. line-height: 50rpx;
  469. color: #efefef;
  470. text-align: left;
  471. }
  472. .u-btn {
  473. width: 160rpx;
  474. height: 40rpx;
  475. background: rgba(255, 255, 255, 0.5);
  476. border-radius: 5rpx;
  477. line-height: 40rpx;
  478. text-align: center;
  479. font-size: $font-size-24;
  480. color: #ffffff;
  481. display: block;
  482. margin-top: 5rpx;
  483. padding-left: 6rpx;
  484. .icon-xiangyouhuabeifen {
  485. font-size: $font-size-24;
  486. }
  487. }
  488. }
  489. }
  490. .header-icon {
  491. flex: 2;
  492. display: flex;
  493. margin-right: 20rpx;
  494. align-items: center;
  495. justify-content: center;
  496. image {
  497. float: right;
  498. width: 128rpx;
  499. height: 128rpx;
  500. border-radius: 100%;
  501. border: 2rpx solid #ffffff;
  502. }
  503. }
  504. }
  505. .user-order {
  506. width: 654rpx;
  507. height: auto;
  508. padding: 0 24rpx;
  509. background-color: $bg-color;
  510. margin-bottom: 24rpx;
  511. position: absolute;
  512. bottom: -170rpx;
  513. left: 24rpx;
  514. border-radius: 20rpx;
  515. }
  516. .tab-title {
  517. font-size: $font-size-28;
  518. line-height: 80rpx;
  519. color: #333333;
  520. text-align: left;
  521. border-bottom: 1px solid #f8f8f8;
  522. position: relative;
  523. .cell-tit {
  524. font-size: $font-size-28;
  525. color: $text-color;
  526. }
  527. .cell-more {
  528. float: right;
  529. line-height: 80rpx;
  530. font-size: $font-size-24;
  531. color: #666666;
  532. padding-right: 30rpx;
  533. }
  534. .iconfont {
  535. width: 30rpx;
  536. height: 80rpx;
  537. line-height: 80rpx;
  538. text-align: center;
  539. position: absolute;
  540. right: 0;
  541. top: 0;
  542. display: block;
  543. font-size: $font-size-28;
  544. }
  545. }
  546. .order-section {
  547. display: flex;
  548. justify-content: space-around;
  549. align-items: center;
  550. flex-wrap: wrap;
  551. height: 99rpx;
  552. padding: 24rpx 0;
  553. }
  554. .order-item {
  555. flex: 1;
  556. display: flex;
  557. flex-direction: column;
  558. align-items: center;
  559. position: relative;
  560. &:last-child {
  561. margin-right: 0;
  562. }
  563. .order-icon {
  564. width: 52rpx;
  565. height: 52rpx;
  566. position: relative;
  567. image {
  568. width: 52rpx;
  569. height: 52rpx;
  570. }
  571. .icon-num {
  572. position: absolute;
  573. right: -24rpx;
  574. top: -9rpx;
  575. }
  576. .icon-num.goleft {
  577. right: -12rpx;
  578. }
  579. }
  580. .order-t {
  581. line-height: 50rpx;
  582. font-size: $font-size-24;
  583. color: $text-color;
  584. }
  585. }
  586. .foot-list {
  587. width: 702rpx;
  588. padding: 0 24rpx;
  589. padding-top: 168rpx;
  590. }
  591. .list-cell-image {
  592. width: 100%;
  593. height: 168rpx;
  594. background: url(https://static.caimei365.com/app/meibohui/app/activity-small-banner@2x.png);
  595. background-size: cover;
  596. box-sizing: border-box;
  597. margin-bottom: 24rpx;
  598. .text {
  599. width: 100%;
  600. height: 100%;
  601. box-sizing: border-box;
  602. padding: 38rpx 56rpx;
  603. .h1 {
  604. line-height: 50rpx;
  605. font-size: $font-size-36;
  606. color: #ffffff;
  607. }
  608. .p {
  609. line-height: 34rpx;
  610. font-size: $font-size-30;
  611. color: #ffffff;
  612. }
  613. }
  614. }
  615. .list-cell-item {
  616. width: 654rpx;
  617. height: auto;
  618. margin-bottom: 24rpx;
  619. padding: 0 24rpx;
  620. background: $bg-color;
  621. border-radius: 20rpx;
  622. }
  623. .list-cell {
  624. width: 100%;
  625. line-height: 100rpx;
  626. position: relative;
  627. background: $bg-color;
  628. border-bottom: 1px solid #ebebeb;
  629. height: 100rpx;
  630. &:last-child {
  631. border-bottom: none;
  632. }
  633. &.cell-hover {
  634. background: #fafafa;
  635. }
  636. .cell-icon {
  637. width: 60rpx;
  638. height: 100rpx;
  639. text-align: center;
  640. box-sizing: border-box;
  641. padding: 32rpx 12rpx;
  642. float: left;
  643. .cell-icon-image {
  644. width: 36rpx;
  645. height: 36rpx;
  646. display: block;
  647. }
  648. }
  649. .cell-more {
  650. width: 60rpx;
  651. height: 100rpx;
  652. line-height: 100rpx;
  653. text-align: right;
  654. position: absolute;
  655. right: 0;
  656. top: 0;
  657. font-size: $font-size-28;
  658. color: #666666;
  659. .txt {
  660. color: #fb4343;
  661. padding-right: 10rpx;
  662. }
  663. }
  664. .cell-tit {
  665. width: 465rpx;
  666. display: block;
  667. float: left;
  668. font-size: $font-size-28;
  669. color: #666666;
  670. margin-right: 10rpx;
  671. }
  672. .cell-tip {
  673. font-size: $font-size-28;
  674. color: $text-color;
  675. }
  676. }
  677. .list-cell.last {
  678. border-bottom: none;
  679. }
  680. .uni-badge--small {
  681. -webkit-transform: scale(0.8);
  682. -ms-transform: scale(0.8);
  683. transform: scale(0.8);
  684. -webkit-transform-origin: center center;
  685. -ms-transform-origin: center center;
  686. transform-origin: center center;
  687. }
  688. .uni-badge {
  689. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  690. -webkit-box-sizing: border-box;
  691. box-sizing: border-box;
  692. font-size: 12px;
  693. line-height: 1;
  694. display: inline-block;
  695. padding: 3px 6px;
  696. color: #333;
  697. border-radius: 100px;
  698. background-color: #f1f1f1;
  699. }
  700. .uni-badge-error {
  701. color: #fff;
  702. background-color: #dd524d;
  703. }
  704. </style>