need.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. <template>
  2. <view style="background-color: #f7f7f7;min-height: 100vh;">
  3. <tn-nav-bar fixed customBack>
  4. <view slot="back" class='tn-custom-nav-bar__back' @click="goBack">
  5. <text class='icon tn-icon-left'></text>
  6. </view>
  7. <view slot="default">
  8. <text :style="{fontSize:(wxFontSize)+'px'}">我的需求</text>
  9. </view>
  10. </tn-nav-bar>
  11. <view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
  12. <uv-sticky :offsetTop="vuex_custom_bar_height + 'px'" bgColor="#f7f7f7">
  13. <tn-tabs-swiper :list="list" :isScroll="false" :current="current" name="tab-name" @change="tabChange"
  14. :fontSize="(wxFontSize+12)" :barWidth="wxFontSize+50" activeColor="#005DA6" inactiveColor="#333"></tn-tabs-swiper>
  15. </uv-sticky>
  16. <!-- 图文信息 -->
  17. <block v-for="(item,index) in content" :key="index">
  18. <view class="blogger__item" style="border-radius: 12px;margin: 12px 16px 12px 16px; background-color: #fff;position: relative;">
  19. <view class="blogger__author tn-flex tn-flex-row-between tn-flex-col-center">
  20. <view class="justify__author__info">
  21. <view class="tn-flex tn-flex-row-center">
  22. <view class="tn-flex tn-flex-row-center tn-flex-col-center">
  23. <view class="" style="width: 5px;height: 5px;background: #E18730;border-radius: 50%;margin-right: 4px;">
  24. </view>
  25. <view class="tn-padding-right">
  26. <view class="tn-padding-right tn-text-bold tn-text-lg" style="color:#333;font-weight: 600;" :style="{fontSize:(wxFontSize)+'px'}">
  27. {{ item.company }}
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. <view v-if="item.status=='4'&&item.showFlag=='否'"
  34. class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center">
  35. <text class="" style="background: #e6e6e6;font-size: 12px;word-break: keep-all;
  36. padding: 8px;
  37. color: #999;
  38. border-radius: 10px;
  39. border-top-left-radius: 0;
  40. border-bottom-right-radius: 0;
  41. position: absolute;
  42. top: 0;
  43. right: 0;
  44. " :style="{fontSize:(wxFontSize-6)+'px'}">需求已结束</text>
  45. </view>
  46. <!-- 状态(1:暂存,2:待处理,3:审核中,4:已通过,9:已拒绝,10:已取消) -->
  47. <view v-if="item.status=='1'"
  48. class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center">
  49. <text class="" style="background: #e6e6e6;font-size: 12px;word-break: keep-all;
  50. padding: 8px;
  51. color: #999;
  52. border-radius: 10px;
  53. border-top-left-radius: 0;
  54. border-bottom-right-radius: 0;
  55. position: absolute;
  56. top: 0;
  57. right: 0;
  58. " :style="{fontSize:(wxFontSize-6)+'px'}">暂存</text>
  59. </view>
  60. <view v-if="item.status=='3'"
  61. class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center">
  62. <text class="" style="background: #fbf3ea;font-size: 12px;word-break: keep-all;
  63. padding: 8px;
  64. color: #E18730;
  65. border-radius: 10px;
  66. border-top-left-radius: 0;
  67. border-bottom-right-radius: 0;
  68. position: absolute;
  69. top: 0;
  70. right: 0;
  71. " :style="{fontSize:(wxFontSize-6)+'px'}">审核中</text>
  72. </view>
  73. <view v-if="item.status=='4'&&item.showFlag!='否'"
  74. class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center">
  75. <text class="" style="background: #ecf8e9;font-size: 12px;word-break: keep-all;
  76. padding: 8px;
  77. color: #2FB120;
  78. border-radius: 10px;
  79. border-top-left-radius: 0;
  80. border-bottom-right-radius: 0;
  81. position: absolute;
  82. top: 0;
  83. right: 0;
  84. " :style="{fontSize:(wxFontSize-6)+'px'}">已通过</text>
  85. </view>
  86. <view v-if="item.status=='9'"
  87. class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center">
  88. <text class="" style="background: #fce9e9;font-size: 12px;word-break: keep-all;
  89. padding: 8px;
  90. color: #EF2121;
  91. border-radius: 10px;
  92. border-top-left-radius: 0;
  93. border-bottom-right-radius: 0;
  94. position: absolute;
  95. top: 0;
  96. right: 0;
  97. " @click="showTips(item)" :style="{fontSize:(wxFontSize-6)+'px'}">已拒绝</text>
  98. </view>
  99. </view>
  100. <view
  101. class="blogger__desc tn-margin-top-sm tn-margin-bottom-sm tn-text-justify tn-flex-col-center tn-flex-row-left"
  102. >
  103. <text
  104. class="blogger__desc__content tn-flex-1 tn-text-justify tn-text-df" style="color:#747E87" :style="{fontSize:(wxFontSize-2)+'px'}">{{ item.content }}</text>
  105. </view>
  106. <block v-if="item.imgList&&item.imgList.length>0">
  107. <view v-if="[1,2,4].indexOf(item.imgList.length) != -1" class="tn-padding-top-xs"
  108. >
  109. <image v-for="(image_item,image_index) in item.imgList" :key="image_index"
  110. class="blogger__main-image" :class="{
  111. 'blogger__main-image--1 tn-margin-bottom-sm': item.imgList.length === 1,
  112. 'blogger__main-image--2 tn-margin-right-sm tn-margin-bottom-sm': item.imgList.length === 2 || item.imgList.length === 4
  113. }" :src="image_item.ftpUrl" mode="aspectFill" @click="showImg(item.imgList,image_index)"></image>
  114. </view>
  115. <view v-else class="tn-padding-top-xs">
  116. <tn-grid hoverClass="none" :col="3">
  117. <block v-for="(image_item,image_index) in item.imgList" :key="image_index">
  118. <!-- #ifndef MP-WEIXIN -->
  119. <tn-grid-item style="width: 30%;margin: 10rpx;">
  120. <image class="blogger__main-image blogger__main-image--3"
  121. @click="showImg(item.imgList,image_index)" :src="image_item.ftpUrl"
  122. mode="aspectFill"></image>
  123. </tn-grid-item>
  124. <!-- #endif-->
  125. <!-- #ifdef MP-WEIXIN -->
  126. <tn-grid-item style="width: 30%;margin: 10rpx;">
  127. <image class="blogger__main-image blogger__main-image--3"
  128. @click="showImg(item.imgList,image_index)" :src="image_item.ftpUrl"
  129. mode="aspectFill"></image>
  130. </tn-grid-item>
  131. <!-- #endif-->
  132. </block>
  133. </tn-grid>
  134. </view>
  135. </block>
  136. <view v-for="(file,fIndex) in item.fileDetailList" :style="{marginTop:item.imgList&&item.imgList.length==0&&fIndex==0?'8px':'0'}" style="background-color:#005da60d ;margin-bottom: 4px;padding: 4px 8px;border-radius: 4px;" :key="file.id" @click="clickLink(file.ftpUrl,file.fileName)" v-if="!isImage(file.fileName)">
  137. <view>
  138. <image src="../../static/tu/link.png" style="width: 18px;height: 18px;vertical-align: bottom;"></image>
  139. <view style="display: inline;margin-left:8px;color:#005DA6;" :style="{fontSize:(wxFontSize-3)+'px'}">
  140. {{file.fileName}}</view>
  141. </view>
  142. </view>
  143. <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top-xs">
  144. <view class="justify-content-item tn-color-gray">
  145. <view class="tn-padding-right tn-padding-top-xs tn-color-gray" style="display: flex;">
  146. <view style="white-space: nowrap;" :style="{fontSize:(wxFontSize-3)+'px'}">{{ item.createTime|formatDate }}</view>
  147. <view style="color: red;margin-left:8px;" v-if="item.status==9&&item.feedback" :style="{fontSize:(wxFontSize-3)+'px'}">
  148. 反馈意见:{{item.feedback||'--'}}
  149. </view>
  150. </view>
  151. </view>
  152. <view class="justify-content-item tn-flex tn-flex-col-center" v-if="item.status==4&&item.showFlag!='否'">
  153. <button type="warn" plain="true" size="mini" @click="finishItem(item)" style="color:#EF2121;border-color:#EF2121;" :style="{fontSize:(wxFontSize-4)+'px'}">结束需求</button>
  154. </view>
  155. <view class="justify-content-item tn-flex tn-flex-col-center" style="flex: none;" v-if="item.status==1||item.status==9||(item.status==4&&item.showFlag=='否')">
  156. <button type="warn" plain="true" size="mini" @click="editItem(item)" style="color:#E18730;border-color:#E18730;" :style="{fontSize:(wxFontSize-4)+'px'}">编辑</button>
  157. <button v-if="item.status==4&&item.showFlag=='否'" style="border-color: #2FB120;color:#2FB120;margin-left:12px" type="warn" plain="true" size="mini" @click="reOpen(item)" :style="{fontSize:(wxFontSize-4)+'px'}">恢复</button>
  158. </view>
  159. </view>
  160. </view>
  161. </block>
  162. <view v-if="showEmpty" style="margin-top: 32vh;">
  163. <tn-empty mode="data"></tn-empty>
  164. </view>
  165. </view>
  166. <view class='tn-tabbar-height' :style="{marginTop: vuex_custom_bar_height + 'px'}"></view>
  167. </view>
  168. </template>
  169. <script>
  170. import request from '../../utils/request'
  171. import {
  172. uniShowModal
  173. } from '../../utils/uni_api'
  174. export default {
  175. data() {
  176. return {
  177. list: [{
  178. 'tab-name': '已通过'
  179. }, {
  180. 'tab-name': '审核中'
  181. }, {
  182. 'tab-name': '暂存'
  183. }, {
  184. 'tab-name': '已拒绝'
  185. }],
  186. current: 0,
  187. content: [],
  188. showEmpty: false,
  189. curItem: {},
  190. wxFontSize:17
  191. }
  192. },
  193. filters: {
  194. formatDate(value) {
  195. if (!value) return '';
  196. const date = new Date(value);
  197. const today = new Date();
  198. const yesterday = new Date(today); // 昨天的日期
  199. yesterday.setDate(yesterday.getDate() - 1); // 将昨天的日期设置为前一天
  200. if (date.getFullYear() == today.getFullYear() && date.getMonth() == today.getMonth() && date.getDate() ==
  201. today.getDate()) {
  202. return '今天 ' + (date.getHours() > 9 ? '' : '0') + date.getHours() + ':' + (date
  203. .getMinutes() > 9 ? '' : '0') + date.getMinutes(); // 根据需要格式化日期
  204. }
  205. if (date.getFullYear() == yesterday.getFullYear() && date.getMonth() == yesterday.getMonth() && date
  206. .getDate() == yesterday.getDate()) {
  207. return '昨天 ' + (date.getHours() > 9 ? '' : '0') + date.getHours() + ':' + (date
  208. .getMinutes() > 9 ? '' : '0') + date.getMinutes(); // 根据需要格式化日期
  209. }
  210. return date.toLocaleDateString() + ' ' + (date.getHours() > 9 ? '' : '0') + date.getHours() + ':' + (date
  211. .getMinutes() > 9 ? '' : '0') + date.getMinutes(); // 根据需要格式化日期
  212. },
  213. },
  214. onLoad(props){
  215. const appBaseInfo = wx.getAppBaseInfo();
  216. this.wxFontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;
  217. if(props.tab==1){
  218. this.current= 1;
  219. }
  220. if(props.tab==2){
  221. this.current= 2;
  222. }
  223. },
  224. onShow() {
  225. this.loadData();
  226. },
  227. methods: {
  228. showTips(item){
  229. uni.showToast({
  230. title: item.feedback?item.feedback:'已拒绝',
  231. icon: 'none',
  232. })
  233. },
  234. goBack() {
  235. const pages = getCurrentPages()
  236. // 有可返回的页面则直接返回,uni.navigateBack 默认返回失败之后会自动刷新页面 ,无法继续返回
  237. if (pages.length > 1) {
  238. uni.navigateBack()
  239. return;
  240. }else{
  241. uni.reLaunch({
  242. url: '/pages/index/index'
  243. })
  244. }
  245. },
  246. tabChange(index) {
  247. this.current = index;
  248. this.loadData();
  249. },
  250. isImage(fileName) {
  251. const imageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp', 'ico']
  252. const extension = fileName.split('.').pop().toLowerCase();
  253. return imageExtensions.includes(extension);
  254. },
  255. loadData() {
  256. let that = this;
  257. that.content = [];
  258. request.post('/slbResourceDemand/show/my', {
  259. userNo: uni.getStorageSync('userNo'),
  260. // 状态(1:暂存,2:待处理,3:审核中,4:已通过,9:已拒绝,10:已取消)
  261. status: that.current == 1 ? '3' : that.current == 2 ? '1' : that.current == 3 ? '9' : '4',
  262. limit: 1000,
  263. index: 1
  264. }).then(res => {
  265. if (res && res.success) {
  266. let newList = res.list || [];
  267. for (let i = 0; i < newList.length; i++) {
  268. newList[i].imgList = [];
  269. for (let j = 0; j < newList[i].fileDetailList.length; j++) {
  270. if (that.isImage(newList[i].fileDetailList[j].fileName)) {
  271. newList[i].imgList.push(newList[i].fileDetailList[j]);
  272. }
  273. }
  274. }
  275. that.content = newList;
  276. if (newList.length == 0) {
  277. that.showEmpty = true;
  278. } else {
  279. that.showEmpty = false;
  280. }
  281. }else{
  282. if(res._redirect){
  283. uni.showToast({
  284. title: '操作过期,请登录后重试',
  285. duration: 2000,
  286. icon:'none'
  287. });
  288. that.goBack();
  289. }
  290. }
  291. console.warn(res);
  292. })
  293. },
  294. dialogConfirm() {
  295. let item = this.curItem;
  296. let that = this;
  297. request.post('/slbResourceDemand/offShelf', {
  298. id: item.id,
  299. userNo: uni.getStorageSync('userNo'),
  300. }).then(res => {
  301. if (res.success) {
  302. uni.showToast({
  303. title: '结束成功'
  304. })
  305. that.loadData();
  306. } else {
  307. uni.showToast({
  308. title: res.msg,
  309. icon: 'none'
  310. })
  311. }
  312. })
  313. },
  314. reOpen(item){
  315. this.curItem = item;
  316. let that = this;
  317. uniShowModal('确定恢复需求吗?', '', {
  318. showCancel: true,
  319. confirmText:'确定',
  320. success: (res) => {
  321. if(res.confirm){
  322. //update
  323. let params = {};
  324. params.slbResourceDemand = JSON.parse(JSON.stringify(item));
  325. params.slbResourceDemand.status = 4;
  326. params.slbResourceDemand.showFlag = '是';
  327. params.slbResourceDemand.fileDetailList = undefined;
  328. params.slbResourceDemand.companyEntity = {};
  329. params.slbResourceDemand.companyEntity.company = params.slbResourceDemand.company;
  330. params.slbResourceDemand.companyEntity.jobTitle = params.slbResourceDemand.jobTitle;
  331. params.slbResourceDemand.companyEntity.creditCode = params.slbResourceDemand.creditCode;
  332. params.slbResourceDemand.companyEntity.address = params.slbResourceDemand.base;
  333. params.slbResourceDemand.companyEntity.regStatus = params.slbResourceDemand.regStatus;
  334. params.slbResourceDemand.companyEntity.contactPerson = params.slbResourceDemand.contactPerson;
  335. params.slbResourceDemand.companyEntity.contactMethod = params.slbResourceDemand.contactMethod;
  336. params.slbResourceDemand.slbUserExt = {
  337. contactPerson:params.slbResourceDemand.contactPerson,
  338. contactMethod:params.slbResourceDemand.contactMethod,
  339. userNo:params.slbResourceDemand.userNo,
  340. };
  341. params.slbResourceDemand = JSON.stringify(params.slbResourceDemand);
  342. params.fileDetailList = JSON.stringify(item.fileDetailList);
  343. request.post('/slbResourceDemand/update', params).then(res => {
  344. if(res.success){
  345. uni.showToast({
  346. title: '恢复成功'
  347. })
  348. that.loadData();
  349. }else{
  350. uni.showToast({
  351. title:res.msg,
  352. icon:'none'
  353. })
  354. that.canSave = true;
  355. }
  356. })
  357. }
  358. }
  359. })
  360. },
  361. finishItem(item) {
  362. this.curItem = item;
  363. let that = this;
  364. uniShowModal('确定结束需求吗?', '', {
  365. showCancel: true,
  366. confirmText:'确定',
  367. success: (res) => {
  368. if(res.confirm){
  369. that.dialogConfirm();
  370. }
  371. }
  372. })
  373. },
  374. showImg(items, index) {
  375. let urls = [];
  376. for (let i = 0; i < items.length; i++) {
  377. urls.push(items[i].ftpUrl);
  378. }
  379. // 预览图片
  380. uni.previewImage({
  381. urls: urls,
  382. current: index,
  383. });
  384. },
  385. clickLink(url,fileName) {
  386. // uni.navigateTo({
  387. // url:'/pages/webview/web-view?url='+encodeURIComponent('https://slb-m.lx-device.com/webview?title='+fileName+'&url='+ url),
  388. // })
  389. uni.downloadFile({
  390. url: url,
  391. filePath: wx.env.USER_DATA_PATH + "/" + fileName,
  392. success: function (res) {
  393. const filePath = res.filePath
  394. uni.openDocument({
  395. filePath: filePath,
  396. showMenu: true,
  397. success: function (res) {
  398. console.log('打开文档成功')
  399. },
  400. fail: function(){
  401. uni.navigateTo({
  402. url:'/pages/webview/web-view?url='+encodeURIComponent('https://slb-m.lx-device.com/webview?title='+fileName+'&url='+ url),
  403. })
  404. }
  405. })
  406. }
  407. })
  408. },
  409. editItem(item){
  410. uni.setStorageSync(item.bisNo,JSON.stringify(item))
  411. uni.navigateTo({
  412. url: '/circlePages/circle?sid=' + item.bisNo,
  413. })
  414. }
  415. }
  416. }
  417. </script>
  418. <style lang="scss" scoped>
  419. /* 胶囊*/
  420. .tn-custom-nav-bar__back {
  421. width: 60%;
  422. height: 100%;
  423. position: relative;
  424. display: flex;
  425. justify-content: space-evenly;
  426. align-items: center;
  427. box-sizing: border-box;
  428. // background-color: rgba(0, 0, 0, 0.15);
  429. border-radius: 1000rpx;
  430. // border: 1rpx solid rgba(255, 255, 255, 0.5);
  431. // color: #FFFFFF;
  432. font-size: 18px;
  433. .icon {
  434. display: block;
  435. flex: 1;
  436. margin: auto;
  437. text-align: center;
  438. }
  439. &:before {
  440. content: " ";
  441. width: 1rpx;
  442. height: 110%;
  443. position: absolute;
  444. top: 22.5%;
  445. left: 0;
  446. right: 0;
  447. margin: auto;
  448. transform: scale(0.5);
  449. transform-origin: 0 0;
  450. pointer-events: none;
  451. box-sizing: border-box;
  452. opacity: 0.7;
  453. background-color: #FFFFFF;
  454. }
  455. }
  456. /* 文章内容 start*/
  457. .blogger {
  458. &__item {
  459. padding: 30rpx;
  460. }
  461. &__author {
  462. &__btn {
  463. margin-right: -12rpx;
  464. opacity: 0.5;
  465. }
  466. }
  467. &__desc {
  468. line-height: 30rpx;
  469. &__label {
  470. color: #1D2541;
  471. background-color: #F3F2F7;
  472. border-radius: 10rpx;
  473. font-size: 22rpx;
  474. padding: 5rpx 15rpx;
  475. margin: 5rpx 18rpx 0 0;
  476. &--prefix {
  477. font-size: 24rpx;
  478. color: #1D2541;
  479. padding-right: 10rpx;
  480. }
  481. }
  482. &__content {
  483. line-height: 50rpx;
  484. }
  485. }
  486. &__content {
  487. margin-top: 18rpx;
  488. padding-right: 18rpx;
  489. &__data {
  490. line-height: 46rpx;
  491. text-align: justify;
  492. overflow: hidden;
  493. transition: all 0.25s ease-in-out;
  494. }
  495. &__status {
  496. margin-top: 10rpx;
  497. font-size: 26rpx;
  498. color: #82B2FF;
  499. }
  500. }
  501. &__main-image {
  502. border: 1rpx solid #F8F7F8;
  503. border-radius: 16rpx;
  504. &--1 {
  505. max-width: 80%;
  506. max-height: 300rpx;
  507. }
  508. &--2 {
  509. max-width: 260rpx;
  510. max-height: 260rpx;
  511. }
  512. &--3 {
  513. height: 212rpx;
  514. width: 100%;
  515. }
  516. }
  517. &__count-icon {
  518. font-size: 40rpx;
  519. padding-right: 5rpx;
  520. }
  521. &__ad {
  522. width: 100%;
  523. height: 500rpx;
  524. transform: translate3d(0px, 0px, 0px) !important;
  525. ::v-deep .uni-swiper-slide-frame {
  526. transform: translate3d(0px, 0px, 0px) !important;
  527. }
  528. .uni-swiper-slide-frame {
  529. transform: translate3d(0px, 0px, 0px) !important;
  530. }
  531. &__item {
  532. position: absolute;
  533. width: 100%;
  534. height: 100%;
  535. transform-origin: left center;
  536. transform: translate3d(100%, 0px, 0px) scale(1) !important;
  537. transition: transform 0.25s ease-in-out;
  538. z-index: 1;
  539. &--0 {
  540. transform: translate3d(0%, 0px, 0px) scale(1) !important;
  541. z-index: 4;
  542. }
  543. &--1 {
  544. transform: translate3d(13%, 0px, 0px) scale(0.9) !important;
  545. z-index: 3;
  546. }
  547. &--2 {
  548. transform: translate3d(26%, 0px, 0px) scale(0.8) !important;
  549. z-index: 2;
  550. }
  551. }
  552. &__content {
  553. border-radius: 40rpx;
  554. width: 640rpx;
  555. height: 500rpx;
  556. overflow: hidden;
  557. }
  558. &__image {
  559. width: 100%;
  560. height: 100%;
  561. }
  562. }
  563. }
  564. /* 文章内容 end*/
  565. /* 底部安全边距 start*/
  566. .tn-tabbar-height {
  567. min-height: 120rpx;
  568. height: calc(140rpx + env(safe-area-inset-bottom) / 2);
  569. height: calc(140rpx + constant(safe-area-inset-bottom));
  570. }
  571. </style>