ygOrder.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  1. <template>
  2. <view :style="colorStyle">
  3. <view class="my-order">
  4. <view class="nav acea-row row-around" style="position: fixed;top: 0;">
  5. <view class="item" :class="orderStatus === 0 ? 'on' : ''" @click="statusClick(0)">
  6. <view>待服务</view>
  7. <!-- <view class="num">{{ orderData.order_count || 0 }}</view> -->
  8. </view>
  9. <!-- <view class="item" :class="orderStatus === 1 ? 'on' : ''" @click="statusClick(1)">
  10. <view>进行中</view>
  11. </view> -->
  12. <view class="item" :class="orderStatus == 2 ? 'on' : ''" @click="statusClick(2)">
  13. <view>已完成</view>
  14. <!-- <view class="num">{{ orderData.unshipped_count || 0 }}</view> -->
  15. </view>
  16. <view class="item" :class="orderStatus == 3 ? 'on' : ''" @click="statusClick(3)">
  17. <view>已退款</view>
  18. <!-- <view class="num ">{{ orderData.received_count || 0 }}</view> -->
  19. </view>
  20. </view>
  21. <view class="nav">
  22. </view>
  23. <Loading :loaded="loaded" :loading="loading"></Loading>
  24. <view class="list">
  25. <view class="item" v-for="(item, index) in orderList" :key="index" v-if="showOrder(item)">
  26. <view @click="goOrderDetails(item.order_id)">
  27. <view class="title acea-row row-between-wrapper">
  28. <view class="acea-row row-middle">
  29. 订单ID:{{item.order_id}}
  30. </view>
  31. </view>
  32. <view class="item-info acea-row row-between row-top" v-for="(items, index) in item.info"
  33. :key="index">
  34. <view class="pictrue">
  35. <image :src="items.slider_image"></image>
  36. </view>
  37. <view class="text acea-row row-between">
  38. <view class="name line2">{{ items.store_name }}</view>
  39. <view class="money">
  40. <view >¥{{ items.pay_price }}</view>
  41. <view>x1</view>
  42. </view>
  43. </view>
  44. </view>
  45. <view class="totalPrice showstore">
  46. <view class="">
  47. 下单时间: {{ showTime(item.add_time) }}
  48. </view>
  49. <view class="">
  50. 预约时间: {{ showTime(item.reservation_time) }}
  51. </view>
  52. </view>
  53. <view class="totalPrice">
  54. 共{{ item.info.length || 0 }}件商品,总金额
  55. <text class="money">¥{{ showTolPrice(item.info) }}</text>
  56. </view>
  57. </view>
  58. <view class="bottom acea-row row-right row-middle" >
  59. <!-- <view class="icon acea-row row-middle" style="justify-self: flex-start;">
  60. <view class="iconfont icon-dianhua" @click.stop="call(item.store.phone)"></view>
  61. <view class="iconfont icon-dingwei2" @click.stop="showMaoLocation(tem.store)"></view>
  62. </view> -->
  63. <!-- <view class="bnt cancelBnt" v-if="item.status == 0 || item.status==1"
  64. @click="cancelOrder(index, item.order_id)">取消订单</view> -->
  65. <view class="bnt bg-color" v-if="item.status == 0"
  66. @click="goEnd(item,index)">完成订单</view>
  67. <!-- <view class="bnt bg-color" v-else-if="item._status._type == 3"
  68. @click="goOrderDetails(item.order_id)">去评价</view> -->
  69. <!-- <view class="bnt bg-color"
  70. v-else-if="item.seckill_id < 1 && item.bargain_id < 1 && item.combination_id < 1 && item._status._type == 4"
  71. @click="goOrderDetails(item.order_id)">
  72. 再次购买
  73. </view> -->
  74. <!-- <view class="bnt cancelBnt" v-if="item._status._type == 4"
  75. @click="delOrder(item.order_id, index)">删除订单</view> -->
  76. <!-- <view class="bnt bg-color" @click="goOrderDetails(item.order_id)">查看详情</view> -->
  77. </view>
  78. </view>
  79. </view>
  80. <view class="loadingicon acea-row row-center-wrapper" v-if="orderList.length > 0">
  81. <text class="loading iconfont icon-jiazai" :hidden="loading == false"></text>
  82. {{ loadTitle }}
  83. </view>
  84. <view v-if="orderList.length == 0 && !loading">
  85. <emptyPage title="暂无订单信息~"></emptyPage>
  86. </view>
  87. </view>
  88. <home v-if="navigation"></home>
  89. <payment :payMode="payMode" :pay_close="pay_close" @onChangeFun="onChangeFun" :order_id="pay_order_id"
  90. :totalPrice="totalPrice"></payment>
  91. <!-- #ifdef MP -->
  92. <!-- <authorize v-if="isShowAuth" @authColse="authColse" @onLoadFun="onLoadFun"></authorize> -->
  93. <!-- #endif -->
  94. </view>
  95. </template>
  96. <script>
  97. import {
  98. getOrderList,
  99. orderData,
  100. orderCancel,
  101. orderDel,
  102. orderPay,
  103. storecompleteSubscribe
  104. } from '@/api/order.js';
  105. import {
  106. getUserInfo,
  107. orderSubscribe
  108. } from '@/api/user.js';
  109. import {
  110. openOrderSubscribe
  111. } from '@/utils/SubscribeMessage.js';
  112. import home from '@/components/home';
  113. import payment from '@/components/payment';
  114. import {
  115. toLogin
  116. } from '@/libs/login.js';
  117. import {
  118. mapGetters
  119. } from 'vuex';
  120. import emptyPage from '@/components/emptyPage.vue';
  121. import colors from '@/mixins/color.js';
  122. import Loading from '@/components/Loading/index.vue'
  123. export default {
  124. components: {
  125. Loading,
  126. payment,
  127. home,
  128. emptyPage
  129. },
  130. mixins:[colors],
  131. data() {
  132. return {
  133. loaded: false,
  134. loading: false, //是否加载中
  135. loadend: false, //是否加载完毕
  136. loadTitle: '加载更多', //提示语
  137. orderList: [], //订单数组
  138. orderData: {}, //订单详细统计
  139. orderStatus: 0, //订单状态
  140. page: 1,
  141. limit: 20,
  142. payMode: [{
  143. name: '微信支付',
  144. icon: 'icon-weixinzhifu',
  145. value: 'weixin',
  146. title: '使用微信快捷支付',
  147. payStatus: true
  148. },
  149. {
  150. name: '支付宝支付',
  151. icon: 'icon-zhifubao',
  152. value: 'alipay',
  153. title: '使用线上支付宝支付',
  154. payStatus: true
  155. },
  156. {
  157. name: '余额支付',
  158. icon: 'icon-yuezhifu',
  159. value: 'yue',
  160. title: '当前可用余额:',
  161. number: 0,
  162. payStatus: true
  163. }
  164. ],
  165. pay_close: false,
  166. pay_order_id: '',
  167. totalPrice: '0',
  168. isAuto: false, //没有授权的不会自动授权
  169. isShowAuth: false //是否隐藏授权
  170. };
  171. },
  172. computed: mapGetters(['isLogin']),
  173. onShow() {
  174. uni.removeStorageSync('form_type_cart');
  175. this.page = 1;
  176. this.loadend = false;
  177. this.orderList = [];
  178. if (this.isLogin) {
  179. this.getFun();
  180. } else {
  181. toLogin()
  182. }
  183. },
  184. /**
  185. * 生命周期函数--监听页面加载
  186. */
  187. onLoad(options) {
  188. if (options.status) this.orderStatus = (options.status==undefined && options.status!=0)?'':parseInt(options.status);
  189. },
  190. methods: {
  191. showOrder(item) {
  192. return item.info[0].paid != 0
  193. },
  194. showTime(time) {
  195. var date = new Date(time*1000);
  196. var year = date.getFullYear(); // 获取年份
  197. var month = ("0" + (date.getMonth() + 1)).slice(-2); // 获取月份(注意月份从 0 开始,需要加 1)
  198. var day = ("0" + date.getDate()).slice(-2); // 获取日期
  199. var hours = ("0" + date.getHours()).slice(-2); // 获取小时
  200. var minutes = ("0" + date.getMinutes()).slice(-2); // 获取分钟
  201. var seconds = ("0" + date.getSeconds()).slice(-2); // 获取秒钟
  202. var dateString = year + "-" + month + "-" + day + " " + hours + ":" + minutes + ":" + seconds; // 自定义时间格式
  203. return dateString
  204. },
  205. call(phone) {
  206. uni.makePhoneCall({
  207. phoneNumber: phone,
  208. });
  209. },
  210. showMaoLocation(e) {
  211. let self = this;
  212. // #ifdef H5
  213. if (self.$wechat.isWeixin()) {
  214. self.$wechat.seeLocation({
  215. latitude: Number(e.latitude),
  216. longitude: Number(e.longitude),
  217. name: e.name,
  218. scale: 13,
  219. address: `${e.address}-${e.detailed_address}`,
  220. }).then(res => {})
  221. } else {
  222. // #endif
  223. uni.openLocation({
  224. latitude: Number(e.latitude),
  225. longitude: Number(e.longitude),
  226. name: e.name,
  227. address: `${e.address}-${e.detailed_address}`,
  228. success: function() {
  229. Number
  230. }
  231. });
  232. // #ifdef H5
  233. }
  234. // #endif
  235. },
  236. showTolPrice(list) {
  237. let price = 0;
  238. list.forEach(item => {
  239. price += item.pay_price*1
  240. })
  241. return price.toFixed(2)
  242. },
  243. getFun(){
  244. // this.getOrderData();
  245. this.getUserInfo();
  246. },
  247. onLoadFun(){
  248. this.getFun();
  249. this.isShowAuth = false;
  250. },
  251. // 授权关闭
  252. authColse: function(e) {
  253. this.isShowAuth = e;
  254. },
  255. /**
  256. * 事件回调
  257. *
  258. */
  259. onChangeFun: function(e) {
  260. let opt = e;
  261. let action = opt.action || null;
  262. let value = opt.value != undefined ? opt.value : null;
  263. action && this[action] && this[action](value);
  264. },
  265. /**
  266. * 获取用户信息
  267. *
  268. */
  269. getUserInfo: function() {
  270. let that = this;
  271. getUserInfo().then(res => {
  272. that.userInfo = res.data
  273. that.getOrderList();
  274. that.payMode[2].number = res.data.now_money;
  275. that.$set(that, 'payMode', that.payMode);
  276. });
  277. },
  278. /**
  279. * 关闭支付组件
  280. *
  281. */
  282. payClose: function() {
  283. this.pay_close = false;
  284. },
  285. /**
  286. * 获取订单统计数据
  287. *
  288. */
  289. getOrderData: function() {
  290. let that = this;
  291. orderData().then(res => {
  292. that.$set(that, 'orderData', res.data);
  293. that.payMode.map(item => {
  294. if (item.value == 'weixin') {
  295. item.payStatus = res.data.pay_weixin_open ? true : false;
  296. }
  297. if (item.value == 'alipay') {
  298. item.payStatus = res.data.ali_pay_status ? true : false;
  299. }
  300. if (item.value == 'yue') {
  301. item.payStatus = res.data.yue_pay_status == 1 ? true : false;
  302. }
  303. });
  304. //#ifdef MP
  305. this.payMode[1].payStatus = false;
  306. //#endif
  307. });
  308. },
  309. goEnd(item,index) {
  310. let that = this;
  311. uni.showModal({
  312. title: '完成订单',
  313. content: '您是否确认完成此订单',
  314. confirmText: '确认',
  315. cancelText: '取消',
  316. success: (res) => {
  317. if (res.confirm) {
  318. storecompleteSubscribe({
  319. order_id: item.order_id
  320. })
  321. .then(res => {
  322. return that.$util.Tips({
  323. title: res.msg,
  324. icon: 'success'
  325. },
  326. function() {
  327. that.orderList.splice(index, 1);
  328. that.$set(that, 'orderList', that.orderList);
  329. that.$set(that.orderData, 'unpaid_count', that.orderData.unpaid_count - 1);
  330. that.getOrderData();
  331. }
  332. );
  333. })
  334. .catch(err => {
  335. return that.$util.Tips({
  336. title: err
  337. });
  338. });
  339. }
  340. }
  341. })
  342. },
  343. /**
  344. * 取消订单
  345. *
  346. */
  347. cancelOrder: function(index, order_id) {
  348. let that = this;
  349. if (!order_id)
  350. return that.$util.Tips({
  351. title: '缺少订单号无法取消订单'
  352. });
  353. uni.showModal({
  354. title: '取消订单',
  355. content: '您是否确认取消此订单',
  356. confirmText: '确认',
  357. cancelText: '再想想',
  358. success: (res) => {
  359. if (res.confirm) {
  360. orderCancel(order_id)
  361. .then(res => {
  362. return that.$util.Tips({
  363. title: res.msg,
  364. icon: 'success'
  365. },
  366. function() {
  367. that.orderList.splice(index, 1);
  368. that.$set(that, 'orderList', that.orderList);
  369. that.$set(that.orderData, 'unpaid_count', that.orderData.unpaid_count - 1);
  370. that.getOrderData();
  371. }
  372. );
  373. })
  374. .catch(err => {
  375. return that.$util.Tips({
  376. title: err
  377. });
  378. });
  379. }
  380. }
  381. })
  382. },
  383. /**
  384. * 打开支付组件
  385. *
  386. */
  387. goPay: function(pay_price, order_id) {
  388. this.$set(this, 'pay_close', true);
  389. this.$set(this, 'pay_order_id', order_id);
  390. this.$set(this, 'totalPrice', pay_price);
  391. },
  392. /**
  393. * 支付成功回调
  394. *
  395. */
  396. pay_complete: function() {
  397. this.loadend = false;
  398. this.page = 1;
  399. this.$set(this, 'orderList', []);
  400. this.pay_close = false;
  401. uni.navigateTo({
  402. url: '/pages/goods/order_pay_status/index?order_id=' + this.pay_order_id +
  403. '&msg=支付成功&type=3&totalPrice=' + this.totalPrice
  404. })
  405. this.pay_order_id = '';
  406. this.getOrderData();
  407. this.getOrderList();
  408. },
  409. /**
  410. * 支付失败回调
  411. *
  412. */
  413. pay_fail: function() {
  414. this.pay_close = false;
  415. this.pay_order_id = '';
  416. },
  417. /**
  418. * 去订单详情
  419. */
  420. goOrderDetails: function(order_id) {
  421. if (!order_id)
  422. return that.$util.Tips({
  423. title: '缺少订单号无法查看订单详情'
  424. });
  425. // #ifdef MP
  426. uni.showLoading({
  427. title: '正在加载'
  428. });
  429. openOrderSubscribe()
  430. .then(() => {
  431. uni.hideLoading();
  432. uni.navigateTo({
  433. url: '/pages/goods/order_details/index?order_id=' + order_id
  434. })
  435. })
  436. .catch(err => {
  437. uni.hideLoading();
  438. });
  439. // #endif
  440. // #ifndef MP
  441. uni.navigateTo({
  442. url: '/pages/goods/order_details/index?order_id=' + order_id
  443. });
  444. // #endif
  445. },
  446. /**
  447. * 切换类型
  448. */
  449. statusClick: function(status) {
  450. if(this.loading) return
  451. if (status === this.orderStatus) return;
  452. this.orderStatus = status;
  453. this.loadend = false;
  454. this.page = 1;
  455. this.$set(this, 'orderList', []);
  456. this.getOrderList();
  457. },
  458. /**
  459. * 获取订单列表
  460. */
  461. getOrderList: function() {
  462. let that = this;
  463. if (that.loadend) return;
  464. if (that.loading) return;
  465. that.loading = true;
  466. that.loadTitle = '加载更多';
  467. orderSubscribe({
  468. // work_member_id: 5,
  469. status: that.orderStatus,
  470. page: that.page,
  471. limit: that.limit
  472. })
  473. .then(res => {
  474. let list = res.data.list || [];
  475. console.log(list,'list')
  476. if(that.orderStatus == 0) {
  477. that.orderData.order_count = res.data.count;
  478. }else if(that.orderStatus == 1) {
  479. that.orderData.unpaid_count = res.data.count;
  480. }else if(that.orderStatus == 2) {
  481. that.orderData.unshipped_count = res.data.count;
  482. }else if(that.orderStatus == 3) {
  483. that.orderData.received_count = res.data.count;
  484. }
  485. let loadend = list.length < that.limit;
  486. that.orderList = that.$util.SplitArray(list, that.orderList);
  487. that.$set(that, 'orderList', that.orderList);
  488. that.loadend = loadend;
  489. that.loading = false;
  490. that.loadTitle = loadend ? '没有更多内容啦~' : '加载更多';
  491. that.page = that.page + 1;
  492. })
  493. .catch(err => {
  494. that.loading = false;
  495. that.loadTitle = '加载更多';
  496. });
  497. },
  498. /**
  499. * 删除订单
  500. */
  501. delOrder: function(order_id, index) {
  502. let that = this;
  503. uni.showModal({
  504. title: '删除订单',
  505. content: '确定删除该订单',
  506. success: function (res) {
  507. if (res.confirm) {
  508. orderDel(order_id)
  509. .then(res => {
  510. that.orderList.splice(index, 1);
  511. that.$set(that, 'orderList', that.orderList);
  512. that.$set(that.orderData, 'unpaid_count', that.orderData.unpaid_count - 1);
  513. that.getOrderData();
  514. return that.$util.Tips({
  515. title: '删除成功',
  516. icon: 'success'
  517. });
  518. })
  519. .catch(err => {
  520. return that.$util.Tips({
  521. title: err
  522. });
  523. });
  524. } else if (res.cancel) {
  525. return that.$util.Tips({
  526. title: '已取消'
  527. });
  528. }
  529. }
  530. });
  531. }
  532. },
  533. onReachBottom: function() {
  534. this.getOrderList();
  535. }
  536. };
  537. </script>
  538. <style scoped lang="scss">
  539. .my-order .header {
  540. height: 260rpx;
  541. padding: 0 30rpx;
  542. }
  543. .my-order .header .picTxt {
  544. height: 190rpx;
  545. }
  546. .my-order .header .picTxt .text {
  547. color: rgba(255, 255, 255, 0.8);
  548. font-size: 26rpx;
  549. font-family: 'Guildford Pro';
  550. }
  551. .my-order .header .picTxt .text .name {
  552. font-size: 34rpx;
  553. font-weight: bold;
  554. color: #fff;
  555. margin-bottom: 20rpx;
  556. }
  557. .my-order .header .picTxt .pictrue {
  558. width: 122rpx;
  559. height: 109rpx;
  560. }
  561. .my-order .header .picTxt .pictrue image {
  562. width: 100%;
  563. height: 100%;
  564. }
  565. .my-order .nav {
  566. background-color: #fff;
  567. width: 750rpx;
  568. height: 90rpx;
  569. border-radius: 6rpx;
  570. margin: 0 auto ;
  571. }
  572. .my-order .nav .item {
  573. text-align: center;
  574. font-size: 26rpx;
  575. color: #282828;
  576. padding: 27rpx 0;
  577. border-bottom: 5rpx solid transparent;
  578. }
  579. .my-order .nav .item.on {
  580. /* #ifdef H5 || MP */
  581. font-weight: bold;
  582. /* #endif */
  583. /* #ifdef APP-PLUS */
  584. color: #000;
  585. /* #endif */
  586. border-color: var(--view-theme);
  587. }
  588. .my-order .nav .item .num {
  589. margin-top: 18rpx;
  590. }
  591. .my-order .list {
  592. width: 690rpx;
  593. margin: 14rpx auto 0 auto;
  594. }
  595. .my-order .list .item {
  596. background-color: #fff;
  597. border-radius: 6rpx;
  598. margin-bottom: 14rpx;
  599. }
  600. .my-order .list .item .title {
  601. height: 84rpx;
  602. padding: 0 30rpx;
  603. border-bottom: 1rpx solid #eee;
  604. font-size: 28rpx;
  605. color: #282828;
  606. }
  607. .my-order .list .item .title .sign {
  608. font-size: 24rpx;
  609. padding: 0 7rpx;
  610. height: 36rpx;
  611. margin-right: 15rpx;
  612. }
  613. .my-order .list .item .item-info {
  614. padding: 0 30rpx;
  615. margin-top: 22rpx;
  616. }
  617. .my-order .list .item .item-info .pictrue {
  618. width: 120rpx;
  619. height: 120rpx;
  620. }
  621. .my-order .list .item .item-info .pictrue image {
  622. width: 100%;
  623. height: 100%;
  624. border-radius: 6rpx;
  625. }
  626. .my-order .list .item .item-info .text {
  627. width: 486rpx;
  628. font-size: 28rpx;
  629. color: #999;
  630. }
  631. .my-order .list .item .item-info .text .name {
  632. width: 306rpx;
  633. color: #282828;
  634. height: 74rpx;
  635. }
  636. .my-order .list .item .item-info .text .money {
  637. text-align: right;
  638. }
  639. .my-order .list .item .item-info .text .money .return{
  640. // color: var(--view-priceColor);
  641. margin-top: 10rpx;
  642. font-size: 24rpx;
  643. }
  644. .my-order .list .item .totalPrice {
  645. font-size: 26rpx;
  646. color: #282828;
  647. text-align: right;
  648. margin: 27rpx 0 0 30rpx;
  649. padding: 0 30rpx 30rpx 0;
  650. border-bottom: 1rpx solid #eee;
  651. }
  652. .my-order .list .item .totalPrice .money {
  653. font-size: 28rpx;
  654. font-weight: bold;
  655. color: var(--view-priceColor);
  656. }
  657. .my-order .list .item .bottom {
  658. height: 107rpx;
  659. padding: 0 30rpx;
  660. }
  661. .my-order .list .item .bottom .bnt {
  662. width: 176rpx;
  663. height: 60rpx;
  664. text-align: center;
  665. line-height: 60rpx;
  666. color: #fff;
  667. border-radius: 50rpx;
  668. font-size: 27rpx;
  669. }
  670. .my-order .list .item .bottom .bnt.cancelBnt {
  671. border: 1rpx solid #ddd;
  672. color: #aaa;
  673. }
  674. .my-order .list .item .bottom .bnt~.bnt {
  675. margin-left: 17rpx;
  676. }
  677. .noCart {
  678. margin-top: 171rpx;
  679. padding-top: 0.1rpx;
  680. }
  681. .noCart .pictrue {
  682. width: 414rpx;
  683. height: 336rpx;
  684. margin: 78rpx auto 56rpx auto;
  685. }
  686. .noCart .pictrue image {
  687. width: 100%;
  688. height: 100%;
  689. }
  690. .line2 {
  691. word-break: break-all;
  692. }
  693. .showstore {
  694. border-bottom: none !important;
  695. text-align: left !important;
  696. padding-bottom: 10rpx !important;
  697. }
  698. .icon {
  699. .iconfont {
  700. width: 44rpx;
  701. height: 44rpx;
  702. background: var(--view-minorColorT);
  703. font-size: 20rpx;
  704. border-radius: 50%;
  705. text-align: center;
  706. line-height: 44rpx;
  707. color: var(--view-theme);
  708. margin-left: 26rpx;
  709. }
  710. }
  711. </style>