detail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  1. <template>
  2. <view class="index tn-safe-area-inset-bottom">
  3. <tn-nav-bar 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" style="display: flex;">
  8. <view style="flex:1;">
  9. <text :style="{fontSize:(wxFontSize)+'px'}">速立保</text>
  10. </view>
  11. </view>
  12. </tn-nav-bar>
  13. <view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
  14. <view class="tn-flex tn-flex-direction-column tn-margin-top-sm ">
  15. <!-- 图文信息 -->
  16. <block v-for="(item,index) in content" :key="item.id">
  17. <view class="blogger__item" :key="index">
  18. <view class="blogger__author tn-flex tn-flex-row-between tn-flex-col-center">
  19. <view class="justify__author__info">
  20. <view class="tn-flex tn-flex-row-center">
  21. <view class="tn-flex tn-flex-row-center tn-flex-col-center">
  22. <!-- <view class="">
  23. <tn-avatar
  24. class=""
  25. shape="circle"
  26. :src="item.userAvatar"
  27. size="lg">
  28. </tn-avatar>
  29. </view> -->
  30. <view class="tn-padding-right tn-text-ellipsis">
  31. <view class="tn-padding-right tn-color-grey tn-text-lg" :style="{fontSize:(wxFontSize)+'px'}">
  32. {{ item.company||(item.contactNickName||item.contactPerson) }}
  33. </view>
  34. <!-- <view class="tn-padding-right tn-padding-left-sm tn-padding-top-xs tn-color-gray">{{ item.date }}</view> -->
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. <view v-if="isNeed==1&&item.validDate"
  40. class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center">
  41. <text class="" style="background: #3F51B542;font-size: 12px;
  42. padding: 8px;
  43. color: #0000FF;
  44. border-radius: 24px;
  45. border-top-right-radius: 0;" :style="{fontSize:(wxFontSize-6)+'px'}">{{item.validDate}}</text>
  46. </view>
  47. </view>
  48. <view
  49. class="blogger__desc tn-margin-top-sm tn-margin-bottom-sm tn-text-justify tn-flex-col-center tn-flex-row-left"
  50. >
  51. <!-- 不用限制长度了,因为发布的时候限制长度了-->
  52. <tn-tag margin="-4px 4px 0 0" backgroundColor="#3a96d733" v-if="item.brand"
  53. fontColor="#3a96d7" shape="circle" :fontSize="wxFontSize+11">{{ item.brand }}</tn-tag>
  54. <tn-tag margin="-4px 4px 0 0" backgroundColor="#3a96d733" v-if="!item.company"
  55. fontColor="#3a96d7" shape="circle" :fontSize="wxFontSize+11">个人</tn-tag>
  56. <text v-if="item.content"
  57. class="blogger__desc__content tn-flex-1 tn-text-justify tn-text-df" :style="{fontSize:(wxFontSize-2)+'px'}">{{ item.content }}</text>
  58. </view>
  59. <!-- 内容太多疲劳了-->
  60. <view v-if="item.shareExt&&item.shareExt.length>0" class="blogger__content"
  61. :id="`blogger__content--${index}`">
  62. <basic-table header-row-class-name="basic-table-header" :columns="columns" :border="true" :fontSize="(wxFontSize-3)"
  63. :stripe="true" :data="item.shareExt">
  64. </basic-table>
  65. </view>
  66. <block v-if="item.imgList">
  67. <view v-if="[1,2,4].indexOf(item.imgList.length) != -1" class="tn-padding-top-xs"
  68. >
  69. <image v-for="(image_item,image_index) in item.imgList" :key="image_index"
  70. class="blogger__main-image" :class="{
  71. 'blogger__main-image--1 tn-margin-bottom-sm': item.imgList.length === 1,
  72. 'blogger__main-image--2 tn-margin-right-sm tn-margin-bottom-sm': item.imgList.length === 2 || item.imgList.length === 4
  73. }" :src="image_item.ftpUrl" mode="aspectFill" @click="showImg(item.imgList,image_index)"></image>
  74. </view>
  75. <view v-else class="tn-padding-top-xs" @click="tn('')">
  76. <tn-grid hoverClass="none" :col="3">
  77. <block v-for="(image_item,image_index) in item.imgList" :key="image_index">
  78. <!-- #ifndef MP-WEIXIN -->
  79. <tn-grid-item style="width: 30%;margin: 10rpx;">
  80. <image class="blogger__main-image blogger__main-image--3"
  81. :src="image_item.ftpUrl" mode="aspectFill" @click="showImg(item.imgList,image_index)"></image>
  82. </tn-grid-item>
  83. <!-- #endif-->
  84. <!-- #ifdef MP-WEIXIN -->
  85. <tn-grid-item style="width: 30%;margin: 10rpx;">
  86. <image class="blogger__main-image blogger__main-image--3"
  87. :src="image_item.ftpUrl" mode="aspectFill" @click="showImg(item.imgList,image_index)"></image>
  88. </tn-grid-item>
  89. <!-- #endif-->
  90. </block>
  91. </tn-grid>
  92. </view>
  93. </block>
  94. <view v-for="file in item.fileDetailList" :key="file.id" v-if="!isImage(file.fileName)">
  95. <view style="margin-top:10px">
  96. <text class="tn-icon-link"></text>
  97. <view style="display: inline;margin-left:8px;" @click="clickLink(file.ftpUrl,file.fileName)" :style="{fontSize:(wxFontSize-3)+'px'}">
  98. {{file.fileName}}</view>
  99. </view>
  100. </view>
  101. <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top-xs">
  102. <view class="justify-content-item tn-color-gray tn-text-center">
  103. <view class="tn-padding-right tn-padding-top-xs tn-color-gray" :style="{fontSize:(wxFontSize-3)+'px'}">
  104. {{ item.createTime|formatDate }}
  105. </view>
  106. </view>
  107. <view class="justify-content-item tn-flex tn-flex-col-center">
  108. <text class="tn-icon-more-vertical tn-color-gray tn-text-bold tn-text-xxl"
  109. @click="showActionSheet(item)"></text>
  110. </view>
  111. </view>
  112. </view>
  113. <!-- 边距间隔 -->
  114. <view class="tn-strip-bottom" v-if="index != content.length - 1"></view>
  115. </block>
  116. <!-- 边距间隔 -->
  117. <!-- <view class="tn-strip-bottom"></view> -->
  118. <view v-if="showEmpty&&content.length==0" style="margin-top: 32vh;">
  119. <tn-empty mode="list"></tn-empty>
  120. </view>
  121. <!-- 广告 -->
  122. <!-- 结尾 -->
  123. </view>
  124. </view>
  125. <tn-popup v-model="showSheet" mode="center" closeBtn="true" borderRadius="16">
  126. <view class="content" style="padding: 24px 36px;font-size: 16px;line-height: 24px; width: 320px;"
  127. v-if="!showContact">
  128. <button @click="linkTel()" style="border-radius:30px;color:#fff;background-color: #1d60b1;"><text
  129. class="tn-icon-service" style="margin-right: 12px;"></text> {{isNeed==1?'联系需方':'联系供方'}}</button>
  130. <!-- <view>联系我们帮助对接</view> -->
  131. <button v-if="!collStatus" @click="addColl"
  132. style="margin-top:10px;border-radius:30px;" type="default" plain="true"><text
  133. class="tn-icon-star" style="margin-right: 12px;"></text>
  134. 收&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;藏</button>
  135. <button v-if="collStatus" @click="delColl"
  136. style="margin-top:10px;border-radius:30px;" type="default" plain="true"><text
  137. class="tn-icon-star-fill" style="margin-right: 12px;"></text> 取消收藏</button>
  138. <button open-type="share" @click="hideSheet"
  139. style="margin-top:10px;border-radius:30px;" type="default" plain="true" :data-coupon="curItem"><text
  140. class="tn-icon-send" style="margin-right: 12px;"></text>
  141. 转&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;发</button>
  142. </view>
  143. <view class="content bg-content" style="padding: 50px 36px;padding-bottom: 32px;font-size: 16px;width:320px;line-height: 24px;"
  144. v-if="showContact">
  145. <view><text style="font-size: 20px;font-weight: bold;" v-if="curContact.company">{{curContact.company}}</text></view>
  146. <view style="margin-top:20px;
  147. font-weight: bold;
  148. font-size: 20px;"><text class="tn-icon-my-formal"></text><text style="margin-left: 6px;">{{curContact.contactPerson}}</text> </view>
  149. <view style="margin-top:20px;font-size: 20px;font-weight: bold;" @click="showTel(curContact.contactMethod)"><text class="tn-icon-tel"></text>
  150. <text style="margin-left: 4px;">{{curContact.contactMethod}}</text> </view>
  151. </view>
  152. </tn-popup>
  153. </view>
  154. </template>
  155. <script>
  156. import request from '../../../utils/request'
  157. export default {
  158. data() {
  159. return {
  160. bisNo:'',
  161. isNeed:'',
  162. imgList:[],
  163. fileDetailList:[],
  164. showHistory: false,
  165. content: [],
  166. contentValue:'',
  167. contactMethod:uni.getStorageSync('userInfo')?JSON.parse(uni.getStorageSync('userInfo')).userName:'',
  168. typeValue:1,
  169. showEmpty: false,
  170. content:[],
  171. curItem:{},
  172. showSheet:false,
  173. collStatus:false,
  174. columns: [{
  175. fieldName: 'prodName',
  176. fieldDesc: '产品名称',
  177. }, {
  178. fieldName: 'prodSpec',
  179. fieldDesc: '产品型号',
  180. }, {
  181. fieldName: 'prodDesc',
  182. fieldDesc: '产品介绍',
  183. }],
  184. curContact:{},
  185. showContact: false,
  186. wxFontSize:17
  187. }
  188. },
  189. filters: {
  190. formatDate(value) {
  191. if (!value) return '';
  192. const date = new Date(value);
  193. const today = new Date();
  194. const yesterday = new Date(today); // 昨天的日期
  195. yesterday.setDate(yesterday.getDate() - 1); // 将昨天的日期设置为前一天
  196. if (date.getFullYear() == today.getFullYear() && date.getMonth() == today.getMonth() && date.getDate() ==
  197. today.getDate()) {
  198. return '今天 ' + (date.getHours() > 9 ? '' : '0') + date.getHours() + ':' + (date
  199. .getMinutes() > 9 ? '' : '0') + date.getMinutes(); // 根据需要格式化日期
  200. }
  201. if (date.getFullYear() == yesterday.getFullYear() && date.getMonth() == yesterday.getMonth() && date
  202. .getDate() == yesterday.getDate()) {
  203. return '昨天 ' + (date.getHours() > 9 ? '' : '0') + date.getHours() + ':' + (date
  204. .getMinutes() > 9 ? '' : '0') + date.getMinutes(); // 根据需要格式化日期
  205. }
  206. return date.toLocaleDateString() + ' ' + (date.getHours() > 9 ? '' : '0') + date.getHours() + ':' + (date
  207. .getMinutes() > 9 ? '' : '0') + date.getMinutes(); // 根据需要格式化日期
  208. },
  209. },
  210. created() {
  211. // uni.navigateTo({
  212. // url:'/pages/mine/addFeed'
  213. // })
  214. },
  215. methods: {
  216. showHis(){
  217. uni.navigateTo({
  218. url:'/pages/mine/feedback'
  219. })
  220. },
  221. goBack() {
  222. uni.navigateBack();
  223. uni.navigateTo({
  224. url:'/pages/index/index'
  225. })
  226. },
  227. isImage(fileName) {
  228. const imageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp', 'ico']
  229. const extension = fileName.split('.').pop().toLowerCase();
  230. return imageExtensions.includes(extension);
  231. },
  232. showImg(items, index) {
  233. let urls = [];
  234. for (let i = 0; i < items.length; i++) {
  235. urls.push(items[i].ftpUrl);
  236. }
  237. // wx.chooseMessageFile({
  238. // count: 3, //默认100
  239. // type:'file',
  240. // extension:['.pdf','.doc'],
  241. // success: function (res) {
  242. // console.error(JSON.stringify(res));
  243. // }
  244. // });
  245. // 预览图片
  246. uni.previewImage({
  247. urls: urls,
  248. current: index,
  249. });
  250. },
  251. clickLink(url,fileName) {
  252. // uni.navigateTo({
  253. // url:'/pages/webview/web-view?url='+encodeURIComponent('https://slb-m.lx-device.com/webview?title='+fileName+'&url='+ url),
  254. // })
  255. uni.downloadFile({
  256. url: url,
  257. filePath: wx.env.USER_DATA_PATH + "/" + fileName,
  258. success: function (res) {
  259. const filePath = res.filePath
  260. uni.openDocument({
  261. filePath: filePath,
  262. showMenu: true,
  263. success: function (res) {
  264. console.log('打开文档成功')
  265. },
  266. fail: function(){
  267. uni.navigateTo({
  268. url:'/pages/webview/web-view?url='+encodeURIComponent('https://slb-m.lx-device.com/webview?title='+fileName+'&url='+ url),
  269. })
  270. }
  271. })
  272. }
  273. })
  274. // uni.navigateTo({
  275. // url: '/pages/webview/web-view?url=' + url,
  276. // })
  277. },
  278. hideSheet(){
  279. this.showSheet = false;
  280. },
  281. showActionSheet(item) {
  282. let that = this;
  283. console.warn(item);
  284. this.curItem = item;
  285. this.curItem.isNeed = 1;
  286. this.collStatus = false;
  287. this.showSheet = true;
  288. that.showContact = false;
  289. if (uni.getStorageSync('userNo')) {
  290. let params = {};
  291. params = {
  292. fkBisNo: that.curItem.bisNo,
  293. userNo: uni.getStorageSync('userNo'),
  294. };
  295. request.post('/slbCollect/query', params).then(res => {
  296. if (res.success) {
  297. if (res.list && res.list.length > 0) {
  298. that.collStatus = true;
  299. that.collId = res.list[0].id;
  300. }
  301. }
  302. })
  303. }
  304. },
  305. linkTel() {
  306. if (!uni.getStorageSync('userNo')) {
  307. uni.showToast({
  308. title: '请登录',
  309. icon:'none'
  310. })
  311. uni.navigateTo({
  312. url: '/pages/login/login'
  313. })
  314. return false;
  315. }
  316. let that = this;
  317. let params = {};
  318. params.slbBisContact = JSON.stringify({
  319. fkBisNo: that.curItem.bisNo,
  320. bisType: that.isNeed==1?'1':'2',
  321. type: '1',
  322. company: that.curItem.company,
  323. companyNo: that.curItem.companyNo,
  324. userNo: uni.getStorageSync('userNo'),
  325. });
  326. request.post('/slbBisContact/add', params).then(res => {
  327. if (res.success) {
  328. that.showContact = true;
  329. that.curContact.company = that.curItem.company;
  330. that.curContact.contactMethod = res.resultMap.contactMethod;
  331. that.curContact.contactPerson = res.resultMap.contactPerson;
  332. } else {
  333. that.showContact = false;
  334. uni.showToast({
  335. title: res.msg,
  336. icon: 'none'
  337. })
  338. }
  339. })
  340. },
  341. addColl() {
  342. if (!uni.getStorageSync('userNo')) {
  343. uni.showToast({
  344. title: '请登录',
  345. icon:'none'
  346. })
  347. uni.navigateTo({
  348. url: '/pages/login/login'
  349. })
  350. return false;
  351. }
  352. let that = this;
  353. let params = {};
  354. params.slbCollect = JSON.stringify({
  355. fkBisNo: that.curItem.bisNo,
  356. bisType: that.isNeed==1?'1':'2',
  357. userNo: uni.getStorageSync('userNo'),
  358. });
  359. request.post('/slbCollect/add', params).then(res => {
  360. if (res.success) {
  361. that.showSheet = false;
  362. uni.showToast({
  363. title: '信息已收藏,请在我的收藏里查看阅读',
  364. icon: 'none',
  365. duration: 2000
  366. })
  367. } else {
  368. uni.showToast({
  369. title: res.msg,
  370. icon:'none'
  371. })
  372. }
  373. })
  374. },
  375. delColl() {
  376. let that = this;
  377. request.post('/slbCollect/del', {
  378. id: that.collId
  379. }).then(res => {
  380. if (res.success) {
  381. that.showSheet = false;
  382. uni.showToast({
  383. title: '此'+(that.isNeed==1?'需求':'供应')+'信息将不会保存在我的收藏里',
  384. icon: 'none',
  385. duration: 2000
  386. })
  387. } else {
  388. uni.showToast({
  389. title: res.msg,
  390. icon:'none'
  391. })
  392. }
  393. })
  394. },
  395. loadData(){
  396. let that = this;
  397. request.post(that.isNeed==1?'/slbResourceDemand/query':'/slbResourceShare/query', {
  398. bisNo: that.bisNo
  399. }).then(res => {
  400. if (res.success) {
  401. let newList = res.list || [];
  402. for (let i = 0; i < newList.length; i++) {
  403. newList[i].imgList = [];
  404. for (let j = 0; j < newList[i].fileDetailList.length; j++) {
  405. if (that.isImage(newList[i].fileDetailList[j].fileName)) {
  406. newList[i].imgList.push(newList[i].fileDetailList[j]);
  407. }
  408. }
  409. }
  410. if (1 == 1) {
  411. that.content = newList || [];
  412. } else {
  413. that.content = that.content.concat(newList || []);
  414. }
  415. // that.showEmpty = true;
  416. }
  417. console.warn(res);
  418. })
  419. },
  420. sleep(time) {
  421. return new Promise((resolve) => setTimeout(resolve, time));
  422. },
  423. onShareAppMessage: function(option) {
  424. this.addLog(this.curItem)
  425. this.showSheet = false;
  426. this.sleep(1500);
  427. return;
  428. },
  429. addLog(shareData){
  430. const that = this;
  431. let params= {
  432. bisNo:shareData.bisNo,
  433. bisType:that.isNeed==1?'1':'2',
  434. company: shareData.company,
  435. companyNo: shareData.companyNo,
  436. userNo:uni.getStorageSync('userNo')
  437. };
  438. request.post('/slbForward/add',{slbForward:JSON.stringify(params)},{
  439. headers: {
  440. 'Content-Type': 'application/json', // 默认值
  441. },
  442. }).then(res=>{
  443. })
  444. },
  445. showTel(tel){
  446. uni.makePhoneCall({
  447. phoneNumber: tel,
  448. });
  449. },
  450. },
  451. onLoad(props) {
  452. const appBaseInfo = wx.getAppBaseInfo();
  453. this.wxFontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;
  454. this.bisNo = props.id;
  455. this.isNeed = props.isNeed;
  456. this.loadData();
  457. }
  458. }
  459. </script>
  460. <style lang="scss" scoped>
  461. /* 胶囊*/
  462. .tn-custom-nav-bar__back {
  463. width: 60%;
  464. height: 100%;
  465. position: relative;
  466. display: flex;
  467. justify-content: space-evenly;
  468. align-items: center;
  469. box-sizing: border-box;
  470. // background-color: rgba(0, 0, 0, 0.15);
  471. border-radius: 1000rpx;
  472. border: 1rpx solid rgba(255, 255, 255, 0.5);
  473. // color: #FFFFFF;
  474. font-size: 18px;
  475. .icon {
  476. display: block;
  477. flex: 1;
  478. margin: auto;
  479. text-align: center;
  480. }
  481. &:before {
  482. content: " ";
  483. width: 1rpx;
  484. height: 110%;
  485. position: absolute;
  486. top: 22.5%;
  487. left: 0;
  488. right: 0;
  489. margin: auto;
  490. transform: scale(0.5);
  491. transform-origin: 0 0;
  492. pointer-events: none;
  493. box-sizing: border-box;
  494. opacity: 0.7;
  495. background-color: #FFFFFF;
  496. }
  497. }
  498. /* 文章内容 start*/
  499. .blogger {
  500. &__item {
  501. padding: 30rpx;
  502. }
  503. &__author {
  504. &__btn {
  505. margin-right: -12rpx;
  506. opacity: 0.5;
  507. }
  508. }
  509. &__desc {
  510. line-height: 30rpx;
  511. &__label {
  512. color: #1D2541;
  513. background-color: #F3F2F7;
  514. border-radius: 10rpx;
  515. font-size: 22rpx;
  516. padding: 5rpx 15rpx;
  517. margin: 5rpx 18rpx 0 0;
  518. &--prefix {
  519. font-size: 24rpx;
  520. color: #1D2541;
  521. padding-right: 10rpx;
  522. }
  523. }
  524. &__content {
  525. line-height: 50rpx;
  526. }
  527. }
  528. &__content {
  529. margin-top: 18rpx;
  530. padding-right: 18rpx;
  531. &__data {
  532. line-height: 46rpx;
  533. text-align: justify;
  534. overflow: hidden;
  535. transition: all 0.25s ease-in-out;
  536. }
  537. &__status {
  538. margin-top: 10rpx;
  539. font-size: 26rpx;
  540. color: #82B2FF;
  541. }
  542. }
  543. &__main-image {
  544. border: 1rpx solid #F8F7F8;
  545. border-radius: 16rpx;
  546. &--1 {
  547. max-width: 80%;
  548. max-height: 300rpx;
  549. }
  550. &--2 {
  551. max-width: 260rpx;
  552. max-height: 260rpx;
  553. }
  554. &--3 {
  555. height: 212rpx;
  556. width: 100%;
  557. }
  558. }
  559. &__count-icon {
  560. font-size: 40rpx;
  561. padding-right: 5rpx;
  562. }
  563. &__ad {
  564. width: 100%;
  565. height: 500rpx;
  566. transform: translate3d(0px, 0px, 0px) !important;
  567. ::v-deep .uni-swiper-slide-frame {
  568. transform: translate3d(0px, 0px, 0px) !important;
  569. }
  570. .uni-swiper-slide-frame {
  571. transform: translate3d(0px, 0px, 0px) !important;
  572. }
  573. &__item {
  574. position: absolute;
  575. width: 100%;
  576. height: 100%;
  577. transform-origin: left center;
  578. transform: translate3d(100%, 0px, 0px) scale(1) !important;
  579. transition: transform 0.25s ease-in-out;
  580. z-index: 1;
  581. &--0 {
  582. transform: translate3d(0%, 0px, 0px) scale(1) !important;
  583. z-index: 4;
  584. }
  585. &--1 {
  586. transform: translate3d(13%, 0px, 0px) scale(0.9) !important;
  587. z-index: 3;
  588. }
  589. &--2 {
  590. transform: translate3d(26%, 0px, 0px) scale(0.8) !important;
  591. z-index: 2;
  592. }
  593. }
  594. &__content {
  595. border-radius: 40rpx;
  596. width: 640rpx;
  597. height: 500rpx;
  598. overflow: hidden;
  599. }
  600. &__image {
  601. width: 100%;
  602. height: 100%;
  603. }
  604. }
  605. }
  606. .bg-content{
  607. color: #fff;
  608. background-image: url(./../../../static/bg.png);
  609. background-size: cover;
  610. }
  611. </style>