scene.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738
  1. <template>
  2. <div class="scene-layout">
  3. <div class="tab-search">
  4. <input
  5. v-model="searchKey"
  6. @keyup.enter="gotoSearch(searchKey)"
  7. type="text"
  8. :placeholder="langScenes.placeholder.searchID"
  9. />
  10. <i class="iconfont icon-sousuo" @click="gotoSearch(searchKey)"></i>
  11. </div>
  12. <ul v-if="total">
  13. <li v-for="(item,index) in myscene.list" :key="index">
  14. <div @click="((item.status === 1||item.status===-2)&&item.payStatus !== -2) && goto(item.webSite)" class="a-tap">
  15. <div class="share-btn" v-if="((item.status === 1||item.status===-2)&&item.payStatus !== -2)" @click.stop="handleShare(item)"></div>
  16. <div class="card-img" :style="{backgroundImage: `url(${getSceneImg(item)})`}"></div>
  17. <div class="loading-hover" v-if="item.status === 0">
  18. <div class="loading-icon">
  19. <span class="refreshing-loader"></span>
  20. <p>{{langScenes.share.calcule}}</p>
  21. </div>
  22. </div>
  23. <div @click.stop class="loading-hover" v-if="item.payStatus === -2">
  24. <div class="loading-icon" style="width:100%">
  25. <p style="font-weight:bold;" v-html="langScenes.limit.insufficient"></p>
  26. </div>
  27. <p class="huifu" @click.stop="rechargeTip(item)">{{langScenes.limit.recharge}}</p>
  28. </div>
  29. </div>
  30. <div class="name">
  31. <div class="title">{{item.sceneName}}</div>
  32. <div class="oper">
  33. <div v-if="item.status !== 0" @click="del(item)">
  34. <span >{{langScenes.delete}}</span>
  35. </div>
  36. <div
  37. v-if="item.status === 1||item.status===-2"
  38. class="primary"
  39. @click="gotoEdit(item)"
  40. ><span>{{langScenes.edit}}</span></div>
  41. </div>
  42. </div>
  43. <div>
  44. <span>{{langScenes.shooting}}</span>
  45. <span>{{item.createTime}}</span>
  46. </div>
  47. <div>
  48. <span>{{langScenes.id}}</span>
  49. <span>{{!deviceLogin?(item.snCode||item.childName):(cameradetail.snCode||cameradetail.childName)}}</span>
  50. </div>
  51. </li>
  52. </ul>
  53. <div class="scene-nothing" v-else>
  54. <img :src="`${$cdn}images/nothing.png`" />
  55. <div>{{langScenes.noScenes}}</div>
  56. </div>
  57. <div class="paging" v-if="total">
  58. <Paging @clickHandle="pageChange" :current="currentPage" :total="total" :equable="pageSize" />
  59. </div>
  60. <div class="share-hover" v-show="showShare">
  61. <div class="share-con">
  62. <div class="t-header">
  63. <span>{{langScenes.share.share}}</span>
  64. <i @click="showShare = false" class="iconfont icon-cuowu"></i>
  65. </div>
  66. <div class="t-con">
  67. <p class="t-label">{{langScenes.share.website}}</p>
  68. <input type="text" v-model="url">
  69. <div class="btn-copy" @click="copyTextToClipboard(url)" >{{langScenes.share.copy}}</div>
  70. <div class="t-label">{{langScenes.share.shareto}}</div>
  71. <div class="img-share" v-for="(item,i) in imgs" :key="i">
  72. <div v-if="item.id === 0" class="trangle"></div>
  73. <img v-if="item.id === 0 && num" class="qrcode" :src="`/sceneQRcode/${num}.png?rnd=${rnd}`" alt="">
  74. <img class="share-logo" :src="item.img" @click="toShare(item)" :alt="langScenes.share.share">
  75. </div>
  76. <p class="t-label">{{langScenes.share.qianru}}</p>
  77. <p class="sub-title">{{langScenes.share.size}}</p>
  78. <div class="window-con">
  79. {{langScenes.share.width}}<input type="text" style="margin-right:10px;" v-model="lwidth" oninput="value=Math.max(Math.min(Number(value.replace(/[^\d]/g,'')),10000),1)">
  80. {{langScenes.share.height}}<input type="text" v-model="lheight" oninput="value=Math.max(Math.min(Number(value.replace(/[^\d]/g,'')),10000),1)">
  81. </div>
  82. <p class="p-sub">{{langScenes.share.defaultSize}}</p>
  83. <!-- <div class="produce-btn">{{`&lt;/&gt; 生成嵌入式代码`}}</div> -->
  84. <div class="code-con" >
  85. <div>{{'&lt;iframe'}}</div>
  86. <p>width=</p>
  87. <div>"{{lwidth}}"</div>
  88. <p>height=</p>
  89. <div>"{{lheight}}"</div>
  90. <p>src=</p>
  91. <div>"{{url}}"</div>
  92. <p>frameborder=</p>
  93. <div>"0"</div>
  94. <div>{{'&gt;&lt;/iframe>'}}</div>
  95. </div>
  96. <div class="btn-copy" @click="copyTextToClipboard(htmlCode)" style="margin-bottom:6px;">{{langScenes.share.copy}}</div>
  97. <div class="btm-dec">{{langScenes.share.sub}}<br/>{{langScenes.share.sub2}}</div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. </template>
  103. <script>
  104. import { mapState } from 'vuex'
  105. import Paging from '@/components/Paging'
  106. export default {
  107. components: { Paging },
  108. data () {
  109. let imgs = [
  110. {
  111. img: this.$cdn + 'images/s-wechat.png',
  112. id: 0
  113. },
  114. {
  115. img: this.$cdn + 'images/s-weibo.png',
  116. id: 1
  117. },
  118. {
  119. img: this.$cdn + 'images/s-qq.png',
  120. id: 2
  121. }
  122. ]
  123. return {
  124. pageSize: 12,
  125. currentPage: 1,
  126. searchKey: '',
  127. total: 0,
  128. showShare: false,
  129. imgs,
  130. num: '',
  131. rnd: Math.random(),
  132. lwidth: 853,
  133. lheight: 480,
  134. url: 'https://pro.4dkankan.com/showProPC.html?m=KcMeJlOr8',
  135. item: ''
  136. }
  137. },
  138. watch: {
  139. currentPage () {
  140. this.getList()
  141. },
  142. '$route.query.cameraid': {
  143. immediate: true,
  144. handler: function (newVal) {
  145. if (newVal) {
  146. this.searchKey = newVal
  147. this.getList(newVal)
  148. }
  149. }
  150. }
  151. },
  152. computed: {
  153. ...mapState({
  154. token: state => state.user.token,
  155. language: state => state.language.current,
  156. langScenes: state => state.language.home.manage.myScenes,
  157. langToast: state => state.language.home.toast,
  158. deviceLogin: state => state.user.deviceLogin,
  159. cameradetail: state => {
  160. let type = Object.prototype.toString.call(state.user.cameradetail)
  161. if (type === '[object Object]') {
  162. return state.user.cameradetail
  163. }
  164. let condition =
  165. state.user.cameradetail &&
  166. state.user.cameradetail !== 'null' &&
  167. type !== '[object Array]'
  168. return condition ? JSON.parse(state.user.cameradetail) : ''
  169. },
  170. myscene: state => {
  171. let type = Object.prototype.toString.call(state.user.myscene)
  172. if (type === '[object Object]') {
  173. return state.user.myscene
  174. }
  175. let condition =
  176. state.user.myscene &&
  177. state.user.myscene !== 'null' &&
  178. type !== '[object Array]'
  179. return condition ? JSON.parse(state.user.myscene) : {}
  180. }
  181. }),
  182. htmlCode () {
  183. return `<iframe src="${this.url}" width="${this.lwidth}" height="${this.lheight}" frameborder="0"></iframe>`
  184. }
  185. },
  186. mounted () {
  187. if (this.deviceLogin) {
  188. this.$bus.$off('mycid')
  189. this.$bus.$on('mycid', item => {
  190. setTimeout(() => {
  191. this.getList()
  192. })
  193. })
  194. } else {
  195. this.getList()
  196. }
  197. },
  198. methods: {
  199. rechargeTip (item) {
  200. this.$toast.showConfirm('warn', this.langToast['28'], () => {
  201. let routeData = this.$router.resolve({name: 'introduce', params: {id: item.childName}})
  202. window.open(routeData.href, '_blank')
  203. }, '', this.langScenes.limit.expand)
  204. },
  205. recharge (item) {
  206. },
  207. toShare (item) {
  208. var n, t, i, r, u, f, sceneName
  209. n = screen
  210. t = document
  211. i = encodeURIComponent
  212. u = t.location.href
  213. sceneName = `${this.item.sceneName} 三维场景漫游 #由四维看看Pro拍摄#`
  214. if (item.id === 1) {
  215. r = 'http://v.t.sina.com.cn/share/share.php?'
  216. f = ['url=', i(this.url), '&title=', i(sceneName)].join('')
  217. } else if (item.id === 2) {
  218. // http:// connect.qq.com/widget/shareqq/index.html?url=;title=
  219. r = 'http://connect.qq.com/widget/shareqq/index.html?'
  220. f = ['url=',
  221. i(this.url),
  222. '&title=',
  223. i(sceneName)
  224. ].join('')
  225. } else {
  226. return
  227. }
  228. window.open([r, f].join(''), '', ['toolbar=0,status=0,resizable=1,width=620,height=450,left=', ((n.width) / 2) - 310, ',top=', ((n.height) / 2) - 225].join('')) || (u.href = [r, f].join(''))
  229. // window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=http://m.goczx.com/&title=【东莞厂房租售网|东莞厂房招租信息|东莞厂房网】-东莞i厂房网&desc=东莞i厂房网&summary=东莞i厂房网&site={{100*100}}&pics=http://img6.zcf8.com/black_logo1.png?imageView/3/w/67/h/27')
  230. },
  231. handleShare (item) {
  232. this.url = item.webSite.replace('http://', 'https://')
  233. this.num = item.num
  234. this.rnd = Math.random()
  235. this.item = item
  236. this.showShare = true
  237. },
  238. goto (url) {
  239. let temp = url.replace('show.html', 'showPC.html')
  240. // let temp1 = temp.replace('//www', '//test')
  241. // window.open(temp.replace('//www', '//test'), '_blank')
  242. window.open(temp.replace('http://', 'https://') + (this.language === 'en' ? '&lang=en' : ''), '_blank')
  243. },
  244. getSceneImg (item) {
  245. switch (item.status) {
  246. case -1:
  247. let to = this.language === 'en' ? this.$cdn + 'images/scene_error-en.png' : this.$cdn + 'images/scene_error.png'
  248. return to
  249. default:
  250. return item.thumb + '?v=' + item.version + '?rnd=' + this.rnd
  251. }
  252. },
  253. gotoEdit (item) {
  254. let url = item.webSite
  255. let temp = ''
  256. if (item.sceneScheme < 4) {
  257. temp = url.replace('show', 'editPC')
  258. } else {
  259. temp = url.replace('show', 'edit')
  260. }
  261. window.open(temp.replace('http://', 'https://') + (this.language === 'en' ? '&lang=en' : ''), '_blank')
  262. },
  263. async del (item) {
  264. this.$toast.showConfirm('warn', this.langScenes.delwarn, async () => {
  265. let params = {
  266. sceneNum: item.num
  267. }
  268. let res = await this.$http({
  269. method: 'post',
  270. data: params,
  271. headers: {
  272. token: this.token
  273. },
  274. url: '/user/scene/delete'
  275. })
  276. let data = res.data
  277. if (data.code === 0) {
  278. return this.$toast.show('warn', this.langScenes.share.delsuccess, () => {
  279. this.getList()
  280. })
  281. }
  282. return this.$toast.show('error', `${this.langScenes.share.delfail}${this.langToast[data.code]}`)
  283. })
  284. },
  285. pageChange (data) {
  286. this.currentPage = data
  287. },
  288. gotoSearch (searchKey) {
  289. if (this.currentPage > 1) {
  290. this.currentPage = 1
  291. } else {
  292. this.getList(searchKey)
  293. }
  294. },
  295. async getList (searchKey = null) {
  296. this.searchKey = searchKey || this.searchKey
  297. let { id: cameraId = null, type: cameraType = null } = this.cameradetail
  298. window.scrollTo(0, 0)
  299. let params = {
  300. pageNum: this.currentPage,
  301. pageSize: this.pageSize,
  302. cameraId,
  303. searchKey: this.searchKey,
  304. cameraType
  305. }
  306. cameraId
  307. ? await this.$store.dispatch('getScanScene', params)
  308. : await this.$store.dispatch('getUserScene', params)
  309. this.pageSize = this.myscene.pageSize
  310. this.total = this.myscene.total || 0
  311. },
  312. copyTextToClipboard (text) {
  313. var textArea = document.createElement('textarea')
  314. textArea.style.position = 'fixed'
  315. textArea.style.top = 0
  316. textArea.style.left = 0
  317. textArea.style.width = '2em'
  318. textArea.style.height = '2em'
  319. textArea.style.padding = 0
  320. textArea.style.border = 'none'
  321. textArea.style.outline = 'none'
  322. textArea.style.boxShadow = 'none'
  323. textArea.style.background = 'transparent'
  324. textArea.value = text
  325. document.body.appendChild(textArea)
  326. textArea.select()
  327. try {
  328. document.execCommand('copy') ? this.$toast.show('success', this.langScenes.share.copysuccess) : this.$toast.show('warn', this.langScenes.share.copyfail)
  329. } catch (err) {
  330. this.$toast.show('error', this.langScenes.share.copyfail)
  331. }
  332. document.body.removeChild(textArea)
  333. }
  334. }
  335. }
  336. </script>
  337. <style lang="scss" scoped>
  338. .huifu{
  339. position: absolute;
  340. bottom: 10px;
  341. right: 10px;
  342. color: #1fe4dc;
  343. display: inline-block;
  344. border-bottom: 1px solid #1fe4dc;
  345. padding-bottom: 2px;
  346. cursor: pointer;
  347. }
  348. .scene-layout {
  349. width: 100%;
  350. ul {
  351. padding: 30px 0 0 40px;
  352. li {
  353. width: 270px;
  354. display: inline-block;
  355. position: relative;
  356. margin-right: 25px;
  357. margin-bottom: 35px;
  358. color: #a0a0a0;
  359. max-width: 330px;
  360. font-size: 14px;
  361. .a-tap {
  362. cursor: pointer;
  363. width: 100%;
  364. height: 160px;
  365. display: inline-block;
  366. position: relative;
  367. img {
  368. width: 100%;
  369. height: 100%;
  370. }
  371. }
  372. .card-img {
  373. width: 100%;
  374. height: 100%;
  375. cursor: pointer;
  376. background-position: center;
  377. background-size: auto 100%;
  378. background-repeat: no-repeat;
  379. }
  380. .share-btn {
  381. position: absolute;
  382. right: 10px;
  383. top: 10px;
  384. width: 35px;
  385. height: 35px;
  386. background-image: url(https://4dscene.4dage.com/new4dkk/images/share-btn.png);
  387. background-color: rgba(0, 0, 0, 0.3);
  388. background-position: center;
  389. background-repeat: no-repeat;
  390. background-size: cover;
  391. border-radius: 50%;
  392. // :src="`${$cdn}images/share-btn.png`"
  393. }
  394. .name {
  395. display: flex;
  396. justify-content: space-between;
  397. align-items: center;
  398. line-height: 22px;
  399. margin-top: 8px;
  400. .title {
  401. font-weight: bold;
  402. overflow: hidden;
  403. text-overflow: ellipsis;
  404. white-space: nowrap;
  405. color: #000;
  406. flex: 1;
  407. }
  408. .oper {
  409. flex: 1;
  410. text-align: right;
  411. div {
  412. display: inline-block;
  413. background: #fff;
  414. color: #000;
  415. border: 1px solid #777777;
  416. border-radius: 2px;
  417. font-size: 12px;
  418. width: 52px;
  419. height: 22px;
  420. line-height: 22px;
  421. text-align: center;
  422. vertical-align: middle;
  423. margin-left: 4px;
  424. box-sizing: border-box;
  425. cursor: pointer;
  426. position: relative;
  427. span{
  428. position: absolute;
  429. top: 50%;
  430. left: 50%;
  431. transform: translate(-50%,-50%);
  432. }
  433. }
  434. .primary{
  435. background: #1fe4dc;
  436. border: 1px solid #1fe4dc;
  437. }
  438. }
  439. }
  440. }
  441. }
  442. .tab-search {
  443. float: right;
  444. position: relative;
  445. width: 230px;
  446. padding-left: 10px;
  447. border: 1px solid #ccc;
  448. top: -30px;
  449. right: 6vw;
  450. display: flex;
  451. .iconfont {
  452. width: 28px;
  453. height: 28px;
  454. padding: 6px;
  455. background: #e4e4e4;
  456. cursor: pointer;
  457. }
  458. input {
  459. width: 100%;
  460. font-size: 14px;
  461. appearance: none;
  462. line-height: 28px;
  463. height: 28px;
  464. border: 0;
  465. }
  466. }
  467. .scene-nothing {
  468. width: 75%;
  469. padding: 42px 0 210px 0;
  470. text-align: center;
  471. img {
  472. padding-bottom: 22px;
  473. }
  474. div {
  475. font-size: 16px;
  476. color: #969696;
  477. }
  478. }
  479. .paging {
  480. // border-left: #e5e5e5 1px solid;
  481. height: 100%;
  482. margin-bottom: 40px;
  483. & /deep/ .layout {
  484. text-align: left;
  485. margin-top: 0;
  486. margin-left: 15px;
  487. }
  488. & /deep/ .layout a:not(:last-child) {
  489. margin: 10px 8px;
  490. font-size: 16px;
  491. display: inline-block;
  492. font-weight: 500;
  493. cursor: pointer;
  494. user-select: none;
  495. color: #999;
  496. position: relative;
  497. transition: color 0.3s;
  498. }
  499. & /deep/ .layout a:last-child {
  500. position: relative;
  501. top: -5px;
  502. display: -ms-inline-flexbox;
  503. display: inline-flex;
  504. -ms-flex-align: center;
  505. align-items: center;
  506. height: 22px;
  507. padding: 0 9.6px;
  508. padding: 0 0.6rem;
  509. }
  510. & /deep/ .layout a:last-child::before,
  511. & /deep/ .layout a:last-child::after {
  512. content: "";
  513. display: inline-block;
  514. will-change: transform;
  515. transition: transform 0.3s;
  516. }
  517. & /deep/ .layout a:not(:last-child).active::after,
  518. & /deep/ .layout a:not(:last-child).active,
  519. & /deep/ .layout a:not(:last-child):hover,
  520. & /deep/ .layout a:not(:last-child):hover::after {
  521. color: #111111;
  522. transform: scaleX(1);
  523. }
  524. & /deep/ .layout a:not(:last-child)::after {
  525. content: "";
  526. height: 3px;
  527. width: 140%;
  528. background-color: #111;
  529. display: block;
  530. margin-left: -20%;
  531. margin-top: 3px;
  532. transform-origin: 50% 50%;
  533. transform: scaleX(0);
  534. will-change: transform;
  535. transition: transform 0.3s;
  536. }
  537. }
  538. .share-hover {
  539. position: fixed;
  540. top: 0;
  541. left: 0;
  542. width: 100%;
  543. height: 100%;
  544. margin: 0;
  545. z-index: 88888888;
  546. transition: all 0.2s linear;
  547. background: rgba(0, 0, 0, 0.3);
  548. .share-con {
  549. position: absolute;
  550. top: 50%;
  551. left: 50%;
  552. width: 515px;
  553. transform: translate(-50%, -50%);
  554. background: #fff;
  555. border-radius: 6px;
  556. box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  557. overflow: hidden;
  558. line-height: 1;
  559. .t-header {
  560. display: flex;
  561. justify-content: space-between;
  562. align-items: center;
  563. color: #969696;
  564. height: 54px;
  565. padding: 0 30px;
  566. .iconfont{
  567. cursor: pointer;
  568. }
  569. }
  570. .t-con{
  571. padding: 30px;
  572. background: #e7e7e7;
  573. .t-label{
  574. font-size: 16px;
  575. color: #2d2d2d;
  576. font-weight: bold;
  577. }
  578. .img-share{
  579. display: inline-block;
  580. margin: 14px 16px 24px 4px;
  581. position: relative;
  582. .trangle{
  583. position: absolute;
  584. display: none;
  585. top: 44px;
  586. left: 14px;
  587. width: 0;
  588. height: 0;
  589. border: 10px solid transparent;
  590. border-bottom-color: #fff;
  591. z-index: 99;
  592. }
  593. .qrcode{
  594. position: absolute;
  595. display: none;
  596. top: 63px;
  597. left: -36px;
  598. width: 120px;
  599. box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
  600. }
  601. &:hover{
  602. .qrcode,.trangle{
  603. display: inline-block;
  604. }
  605. }
  606. }
  607. .share-logo{
  608. cursor: pointer;
  609. }
  610. input{
  611. width: 100%;
  612. border: 0;
  613. line-height: 48px;
  614. height: 48px;
  615. padding: 0 20px;
  616. margin: 14px 0 10px;
  617. }
  618. .window-con{
  619. display: inline-block;
  620. input{
  621. width: 60px;
  622. border-radius: 4px;
  623. padding: 0;
  624. margin: 0;
  625. text-align: center;
  626. line-height: 32px;
  627. height: 32px;
  628. }
  629. }
  630. .btn-copy{
  631. text-align: center;
  632. background: #ddd;
  633. font-size: 14px;
  634. color: #2d2d2d;
  635. line-height: 26px;
  636. height: 26px;
  637. margin-bottom: 24px;
  638. cursor: pointer;
  639. font-weight: bold;
  640. &:hover{
  641. background: #c8c8c8;
  642. }
  643. }
  644. .sub-title{
  645. color: #2d2d2d;
  646. font-size: 16px;
  647. margin: 14px 0 10px;
  648. }
  649. .p-sub{
  650. font-size: 14px;
  651. margin: 14px 0 10px;
  652. }
  653. .produce-btn{
  654. text-align: center;
  655. height: 48px;
  656. line-height: 48px;
  657. background: #5e5e5e;
  658. border-radius: 4px;
  659. color: #fff;
  660. }
  661. .code-con{
  662. height: 50px;
  663. width: 100%;
  664. line-height: 1.5;
  665. overflow: auto;
  666. word-break: break-all;
  667. margin: 10px 0;
  668. cursor: pointer;
  669. position: relative;
  670. div,p{
  671. word-break: break-all;
  672. display: inline-block;
  673. }
  674. div{
  675. color: #b35e14;
  676. }
  677. }
  678. .btm-dec{
  679. font-size: 14px;
  680. line-height: 1.5;
  681. letter-spacing: -0.5px;
  682. }
  683. }
  684. }
  685. }
  686. }
  687. @media screen and (min-width: 2000px) {
  688. .scene-layout {
  689. width: 75%;
  690. }
  691. }
  692. @media screen and (max-width: 1400px){
  693. .scene-layout {
  694. width: 100%;
  695. ul {
  696. li {
  697. width: 265px;
  698. margin-right: 35px;
  699. .a-tap {
  700. height: 142px;
  701. }
  702. }
  703. }
  704. }
  705. }
  706. @media screen and (max-width: 1300px) {
  707. .scene-layout {
  708. width: 100%;
  709. ul {
  710. li {
  711. width: 240px;
  712. margin-right: 10px;
  713. .a-tap {
  714. height: 142px;
  715. }
  716. }
  717. }
  718. }
  719. }
  720. </style>