ThinkTankConsultingDetails1.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. <template>
  2. <div>
  3. <div class="autoBox box">
  4. <div class="crumbs">
  5. <el-breadcrumb separator="/">
  6. <el-breadcrumb-item :to="{ path: 'home' }">{{$t('common.Home')}}</el-breadcrumb-item>
  7. <el-breadcrumb-item :to="{ path: 'thinkTankConsulting' }">{{$t('common.ThinkTankConsulting')}}</el-breadcrumb-item>
  8. <el-breadcrumb-item>{{thinkTankConsultingDetails}}</el-breadcrumb-item>
  9. </el-breadcrumb>
  10. </div>
  11. <div style="width: 100%;height: 450px;position: relative;margin-top:20px">
  12. <div style="width:96%;height:100%;margin:auto">
  13. <!-- 轮播图 -->
  14. <div style="width:50%;height:100%;float:left;">
  15. <div class="swipers">
  16. <div class="swiper-container gallery-top">
  17. <div class="swiper-wrapper">
  18. <div class="swiper-slide" v-for="(i,index) in img" v-if="img.length>0">
  19. <img :src="'api/file/pub/'+ i" alt style="width: 100%;height: 100%;" />
  20. </div>
  21. <div class="swiper-slide" v-if="img.length==0">
  22. <img :src="'api/file/pub/'+'/def/def1.png'" alt style="width: 100%;height: 100%;" />
  23. </div>
  24. </div>
  25. <div class="swiper-button-next swiper-button-white"></div>
  26. <div class="swiper-button-prev swiper-button-white"></div>
  27. </div>
  28. <div class="swiper-container gallery-thumbs">
  29. <div class="swiper-wrapper">
  30. <div class="swiper-slide" v-for="(i,index) in img" v-if="img.length>0">
  31. <img :src="'api/file/pub/'+ i" alt style="width: 100%;height: 100%;" />
  32. </div>
  33. <div class="swiper-slide" v-if="img.length==0">
  34. <img :src="'api/file/pub/'+'/def/def1.png'" alt style="width: 100%;height: 100%;" />
  35. </div>
  36. </div>
  37. </div>
  38. <div style="float: right;color: #666;font-size: 14px;margin-right: 20px;"></div>
  39. </div>
  40. </div>
  41. <!-- 详情 -->
  42. <div style="width:49%;height:100%;float:left;">
  43. <div class="details">
  44. <div
  45. style="width: 100%; font-size: 16px;" @click="toView('thinkTankConsultingDetails',item.label)">
  46. <div>
  47. <span class="initData_label cursor">{{initData.unitName}}</span>
  48. <span
  49. style="margin-left: 150px;padding: 10px;background: #ff0033;color: #fff;font-weight: 700;"
  50. v-if="initData.recommendFlag==1">{{$t('common.RecommendedEnterprise')}}
  51. </span>
  52. </div>
  53. <div style="line-height: 40px;">
  54. <div>
  55. <span>
  56. <i class="el-icon-location-outline"></i>
  57. {{$i18n.locale === 'zh'?initData.unitCountry:initData.unitCountryDict.charAt(0).toUpperCase() + initData.unitCountryDict.slice(1)}}
  58. <span v-show="initData.unitRegion">-</span>{{initData.unitRegion}}
  59. </span>
  60. </div>
  61. </div>
  62. <div style="line-height: 40px;">
  63. <span>
  64. <i class="fa fa-envelope-open-o" aria-hidden="true"></i>
  65. {{$t('common.ProductInformation')}}
  66. <span style="color: #0099FF;padding: 0 3px;">( <a href="#unitScope">{{UnitTypeNumber[1]?UnitTypeNumber[1]:'0'}}</a> )</span>
  67. {{$t('common.CoreTechnology')}}
  68. <span style="color: #0099FF;padding: 0 3px;">( <a href="#information02">{{UnitTypeNumber[2]?UnitTypeNumber[2]:'0'}}</a> )</span>
  69. {{$t('common.ProjectPerformance')}}
  70. <span style="color: #0099FF;padding: 0 3px;">( <a href="#information03">{{UnitTypeNumber[3]?UnitTypeNumber[3]:'0'}}</a> )</span>
  71. {{$t('common.ScopeBusiness')}}
  72. <span style="color: #0099FF;padding: 0 3px;">( <a href="#information04">{{UnitTypeNumber[4]?UnitTypeNumber[4]:'0'}}</a> )</span>
  73. </span>
  74. </div>
  75. <div style="
  76. -webkit-box-orient: vertical;
  77. position:relative;
  78. line-height:1.4em;
  79. overflow: hidden;
  80. height:7.1em;"class="plate"
  81. @click="dialogVisibleChange" >
  82. <span style="line-height:30px">
  83. <i class="el-icon-tickets"></i>
  84. {{$t('common.CompanyProfile')}}:
  85. <span v-html="initData.unitIntrodutionMin"></span>
  86. </span>
  87. </div>
  88. <div style="margin-top: 10px;">
  89. <el-tag v-if="0 < initData.unitLabel.size"
  90. style="margin: 10px 10px 0 0;"
  91. v-for="unitLabel in initData.unitLabel"
  92. >{{unitLabel}}</el-tag>
  93. </div>
  94. <div style="float: right;color: #666;font-size: 14px;margin-right: 20px;">
  95. <div>
  96. <span class="share cursor" :style="ifcommon?'color: #66b1ff;':'' "style="margin-right: 380px;" @click="shareChange()">
  97. <i class="el-icon-star-off" :style="ifcommon?'color: #66b1ff;':''"></i>
  98. {{ifcommon?$t('common.companyAttentioned'):$t('common.Focusonthecompany')}}
  99. </span>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. <div style="margin: 20px 20px;" v-for="(contentItem,index) in tankContent">
  108. <div class="tankthink_style">
  109. <span class="tankthink_style_span">{{contentItem.title}}</span>
  110. </div>
  111. <div class="tankthink_content">
  112. <div style="width: 75%;float:left;font-size:14px;color:#666666">
  113. <p v-html="contentItem.label"></p>
  114. </div>
  115. <div style="width: 20%;float:right; margin-left: 20px;">
  116. <img src="@/assets/img/ThinkTankConsulting/FundCooperation.png" alt="" style="width:100%">
  117. </div>
  118. <div style="clear:both"></div>
  119. </div>
  120. </div>
  121. <!-- 智库动态 -->
  122. <div style="width: 100%;height: 320px;border-bottom: 1px solid #ccc;padding:20px" id="information03" v-if="tankContent.length>0">
  123. <div class="tankthink_style">
  124. <span class="tankthink_style_span">智库动态</span>
  125. </div>
  126. <div style="float: left;;margin-top: 15px;width:25%;height: 230px;">
  127. <!-- <img :src="'api/file/pub/'+enterprise.label4.src" alt style="width: 100%;height: 100%;" v-if="enterprise.label4.src"/> -->
  128. <img :src="'api/file/pub/'+'/def/def4.png'" alt style="width: 100%;height: 100%;"/>
  129. </div>
  130. <div
  131. style="float: left;;margin-top: 15px;margin-left: 20px;width: 70%;"
  132. class="tankthink_style_product"
  133. >
  134. <tr v-for="(item,index) in enterprise3" v-if="index<5" class="cursor" @click="toViewDetail('enterpriseInformationDetails',item.baseEntityId,'common.ProjectPerformance')">
  135. <td style="float: left;width: 500px;display: inline-block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{item.title}}</td>
  136. <td style="float: right;">{{formatDate(item.createDate)}}</td>
  137. <td style="clear:both"></td>
  138. </tr>
  139. </div>
  140. </div>
  141. </div>
  142. <el-dialog
  143. :title="$t('common.CompanyProfile')"
  144. :visible.sync="dialogVisible"
  145. width="60%">
  146. <span style="line-height: 29px;font-size: 18px;" v-html="initData.unitIntrodution"></span>
  147. </el-dialog>
  148. <el-dialog
  149. :title="$i18n.locale=='zh'?'提示':'Reminder'"
  150. :visible.sync="toViewLogin"
  151. :width="$i18n.locale=='zh'?'500px':'750px'"
  152. :height="$i18n.locale=='zh'?'300px':'386px'"
  153. :before-close="toViewLoginChange"
  154. >
  155. <div style="width: 100%;height: 100%;">
  156. <img src="@/assets/img/loginTips.png" alt="" style="width: 180px;height: 180px;margin-left: 20px;">
  157. <div style="float: right;margin-right: 20px;" :style="$i18n.locale=='zh'?'width: 49%;margin-top: 10px;':'width: 453px;margin-top: -25px;'">
  158. <div style="font-size: 20px;font-weight: normal;color: #333333;
  159. font-family: HiraginoSansGB-W3, HiraginoSansGB;
  160. line-height: 40px;">
  161. {{$t('common.ReminderFirst')}}
  162. </div>
  163. <div style="font-size: 16px;font-family: HiraginoSansGB-W3, HiraginoSansGB;
  164. font-weight: normal;color: #666666;line-height: 30px;">
  165. {{$t('common.ReminderSecond')}} <span style="color: #0091FF;font-size: 18px;">{{num}}</span> {{$t('common.ReminderThird')}}
  166. </div>
  167. <div style="font-size: 14px;font-family: HiraginoSansGB-W3, HiraginoSansGB;
  168. font-weight: normal;color: #666666;line-height: 30px;">
  169. {{$t('common.ReminderForth')}}
  170. </div>
  171. <div style="font-size: 14px;font-family: HiraginoSansGB-W3, HiraginoSansGB;
  172. height:33px;line-height:60px;font-weight: normal;color: #0091FF;">
  173. <span style="margin-left: 40px;" class="cursor" @click="toView('login')">
  174. {{$t('common.ReminderFifth')}}
  175. </span>
  176. <span style="margin-left: 10px;" class="cursor" @click="toView('Register')">
  177. {{$t('common.ReminderSixth')}}
  178. </span>
  179. </div>
  180. </div>
  181. </div>
  182. </el-dialog>
  183. </div>
  184. </template>
  185. <script>
  186. import { Swiper, SwiperSlide, directive } from 'vue-awesome-swiper'
  187. // import 'swiper/dist/css/swiper.css'
  188. import 'vue-awesome-swiper/node_modules/swiper/dist/css/swiper.css'
  189. import Base from "@/views/base/Base";
  190. import { getBaseUnitViews, get, saveOrUpdate, del,cmsInformationViews,getUnit,gateGetUnitViewById} from "@/api/baseUnitView";
  191. import moment from "moment";
  192. import Clipboard from 'clipboard'
  193. import { formatDate } from "@/utils/formatUtils";
  194. import { saveFollowModel } from "@/api/operation/basePortalModelFollowInfo";
  195. import {getToken} from "@/utils/auth";
  196. import {getFollowModeNumlByModelIdAndUserId} from "@/api/operation/basePortalModelFollowInfo";
  197. export default {
  198. name: "thinkTankConsultingDetails",
  199. extends: Base,
  200. data() {
  201. return {
  202. num:5,
  203. toViewLogin:false,
  204. timer:'',
  205. dialogVisible:false,
  206. thinkTankConsultingDetails: "",
  207. img: [],
  208. key:this.$route.query.key,
  209. page:{
  210. businessType:"unitShow",
  211. businessId:'',
  212. // typeDict:1,
  213. },
  214. tankContent:[
  215. {
  216. id:1,
  217. title:'核心业务',
  218. label:'在信息通信及信息化与工业化融合领域牵头建设决策研究、标准化、知识产权、试验验证、应用示范、产业推进等公共服务平台,发挥了政产学研用连接纽带作用,有力推动了自主创新和产业发展。'
  219. },
  220. {
  221. id:2,
  222. title:'主要业绩',
  223. label:'在信息通信及信息化与工业化融合领域牵头建设决策研究、标准化、知识产权、试验验证、应用示范、产业推进等公共服务平台,发挥了政产学研用连接纽带作用,有力推动了自主创新和产业发展。'
  224. },
  225. ],
  226. ifcommon:false,
  227. initData: {},
  228. enterprise: {
  229. label1: {
  230. label: "",
  231. src: ""
  232. },
  233. label2: {
  234. src: "",
  235. },
  236. label3: {
  237. src: "",
  238. },
  239. label4: {
  240. src: "",
  241. },
  242. label5: {
  243. src: "",
  244. }
  245. },
  246. recommend: [],
  247. UnitTypeNumber:{},
  248. };
  249. },
  250. updated(){
  251. this.Swiper();
  252. },
  253. mounted() {
  254. this.page.businessId=this.key;
  255. this.$store.commit('modify', 'thinkTankConsultingDetails');
  256. window.localStorage.setItem('router', 'thinkTankConsultingDetails');
  257. this.getData();
  258. console.log(this.$store.state.routerItem)
  259. // window.sessionStorage.setItem('routerItem', 'enterprise');
  260. },
  261. watch: {
  262. '$i18n.locale'(){
  263. this.getData();
  264. },
  265. "toViewLogin"(){
  266. if(this.toViewLogin==true){
  267. this.loginTipsChange()
  268. }
  269. }
  270. },
  271. methods: {
  272. // 未登录跳转
  273. loginTipsChange(){
  274. const that=this;
  275. this.num =5;
  276. // clearInterval(timer_interval);
  277. this.timer = setInterval(function() {
  278. if (that.num > 0) {
  279. that.num--;
  280. } else {
  281. if(that.toViewLogin==true){
  282. clearInterval(that.timer);
  283. that.toView('login');
  284. }else {
  285. clearInterval(that.timer);
  286. }
  287. }
  288. }, 1000)
  289. },
  290. // 判断未登录跳转是否关闭
  291. toViewLoginChange(done){
  292. this.toViewLogin=false;
  293. this.num=5;
  294. clearInterval(this.timer);
  295. },
  296. dialogVisibleChange(){
  297. this.dialogVisible=true;
  298. },
  299. Swiper() {
  300. var galleryThumbs = new Swiper(".gallery-thumbs", {
  301. spaceBetween: 10,
  302. slidesPerView: 4,
  303. freeMode: true,
  304. watchSlidesVisibility: true,
  305. watchSlidesProgress: true,
  306. autoplay: {//自动播放
  307. delay: 4000,
  308. disableOnInteraction: false,//用户操作后是否停止 默认停止(true)
  309. },
  310. });
  311. var galleryTop = new Swiper(".gallery-top", {
  312. spaceBetween: 10,
  313. navigation: {
  314. nextEl: ".swiper-button-next",
  315. prevEl: ".swiper-button-prev"
  316. },
  317. autoplay: {//自动播放
  318. delay: 4000,
  319. disableOnInteraction: false,//用户操作后是否停止 默认停止(true)
  320. },
  321. thumbs: {
  322. swiper: galleryThumbs
  323. }
  324. });
  325. },
  326. getData() {
  327. const that =this;
  328. gateGetUnitViewById(this.key,this.$i18n.locale.toUpperCase()).then(res => {
  329. that.initData = res.data.baseUnitView;
  330. that.initData.unitIntrodutionMin=that.initData.unitIntrodution?that.initData.unitIntrodution.replace(/<[^>]+>/g,"").replace(/&nbsp;/ig,""):'';
  331. that.thinkTankConsultingDetails = that.initData.unitName;
  332. that.initData.unitLabel = that.initData.unitLabel?that.initData.unitLabel.split(","):'';
  333. that.enterprise.label1.label = res.data.baseUnitView.unitIntrodution;
  334. let user = window.localStorage.getItem("user");
  335. if(user){
  336. var users = JSON.parse(user);
  337. var token = "" + getToken();
  338. var projectId = this.initData.baseEntityId;
  339. let userId = users.userId;
  340. getFollowModeNumlByModelIdAndUserId(
  341. projectId,
  342. "thinkTankConsulting",
  343. this.userId
  344. ).then((res) => {
  345. this.ifcommon = res.data;
  346. console.log(
  347. res.data,
  348. "---------------------------------------------------------------------------"
  349. );
  350. });
  351. }
  352. });
  353. // // 获取企业信息数量
  354. getUnit(this.key,this.$i18n.locale.toUpperCase()).then(res=>{
  355. this.UnitTypeNumber=res.data;
  356. });
  357. // 获取企业详情信息
  358. this.getDataList(3);
  359. // 获取推荐企业
  360. // this.getRecommended();
  361. },
  362. getDataList(num){
  363. // this.page.typeDict=num;
  364. this.img=[];
  365. const that =this;
  366. this.page.language=this.$i18n.locale.toUpperCase();
  367. cmsInformationViews(this.page).then(res=>{
  368. if(res.data[1]){
  369. this.enterprise1=res.data[1] || [];
  370. let url=res.data[1].filter(item=>{
  371. return item.pictureUrl!==undefined || item.pictureUrl!==null || item.pictureUrl!=='';
  372. })
  373. if(url.length>0){
  374. that.enterprise.label2.src=url[0].pictureUrl;
  375. }else {
  376. that.enterprise.label2.src="/def/def2.png";
  377. }
  378. }else {
  379. this.enterprise1=[];
  380. that.$forceUpdate();
  381. }
  382. if(res.data[2]){
  383. that.enterprise2=res.data[2] || [];
  384. let url = res.data[2].filter((item,index)=>{
  385. return item.pictureUrl!==undefined || item.pictureUrl!==null || item.pictureUrl !==''
  386. })
  387. if(url.length>0){
  388. that.enterprise.label3.src=url[0].pictureUrl;
  389. }else {
  390. that.enterprise.label3.src="/def/def3.png";
  391. }
  392. }else {
  393. that.enterprise2=[];
  394. that.$forceUpdate();
  395. // that.enterprise.label3.src="/def/def3.png";
  396. }
  397. if(res.data[3]){
  398. that.enterprise3=res.data[3] || [];
  399. let url = res.data[3].filter((item,index)=>{
  400. return item.pictureUrl!==undefined || item.pictureUrl!==null || item.pictureUrl !==''
  401. })
  402. if(url.length>0){
  403. that.enterprise.label4.src=url[0].pictureUrl;
  404. }else {
  405. that.enterprise.label4.src="/def/def4.png";
  406. }
  407. }else {
  408. this.enterprise3=[];
  409. that.$forceUpdate();
  410. }
  411. if(res.data[4]){
  412. that.enterprise4=res.data[4] || [];
  413. let url = res.data[4].filter((item,index)=>{
  414. return item.pictureUrl!==undefined || item.pictureUrl!==null || item.pictureUrl !==''
  415. })
  416. if(url.length>0){
  417. that.enterprise.label5.src=url[0].pictureUrl;
  418. }else {
  419. that.enterprise.label5.src="/def/def2.png";
  420. }
  421. }else {
  422. this.enterprise4=[];
  423. that.$forceUpdate();
  424. }
  425. that.img=[];
  426. if(res.data[1]){
  427. res.data[1].forEach((item,index)=>{
  428. if(item){
  429. if(item.pictureUrl){
  430. that.img.push(item.pictureUrl);
  431. }
  432. }
  433. })
  434. }
  435. if(res.data[2]){
  436. res.data[2].forEach((item,index)=>{
  437. if(item){
  438. if(item.pictureUrl){
  439. that.img.push(item.pictureUrl);
  440. }
  441. }
  442. })
  443. }
  444. if(res.data[3]){
  445. res.data[3].forEach((item,index)=>{
  446. if(item){
  447. if(item.pictureUrl){
  448. that.img.push(item.pictureUrl);
  449. }
  450. }
  451. })
  452. }
  453. if(res.data[4]){
  454. res.data[4].forEach((item,index)=>{
  455. if(item){
  456. if(item.pictureUrl){
  457. that.img.push(item.pictureUrl);
  458. }
  459. }
  460. })
  461. }
  462. });
  463. this.getRecommended();
  464. },
  465. getRecommended(){
  466. this.page.recommendFlag='y';
  467. const that =this;
  468. getBaseUnitViews(this.page).then((res) => {
  469. if (res.data.baseUnitViews) {
  470. that.recommend = res.data.baseUnitViews;
  471. console.log(res.data.baseUnitViews,that.init);
  472. }
  473. this.loading = false;
  474. });
  475. },
  476. getIconImg(url) {
  477. return require("@/assets/img/ThinkTankConsulting/" + url);
  478. },
  479. toView(router, json) {
  480. clearInterval(this.timer);
  481. this.$router.push({ name: router, params: {key:json} });
  482. },
  483. screenBack(data) {
  484. console.log(data, "screenBackscreenBackscreenBackscreenBack");
  485. },
  486. toViewDetail(router,json,name){
  487. this.$store.commit('modify', router);
  488. window.localStorage.setItem('router', router);
  489. const { href } = this.$router.resolve({
  490. name: 'routerItem',
  491. query: {
  492. key: json,
  493. name:name
  494. }
  495. });
  496. window.open(href, '_blank');
  497. },
  498. toViewMore(router,json,businessType){
  499. this.$store.commit('modify', router);
  500. window.localStorage.setItem('router', router);
  501. const { href } = this.$router.resolve({
  502. name: 'EnterPriseMoreInformationList',
  503. query: {
  504. key: json,
  505. businessType:businessType
  506. },
  507. });
  508. window.open(href, '_blank');
  509. },
  510. screen(i) {
  511. this.index = i;
  512. },
  513. // 项目收藏改变
  514. shareChange() {
  515. if (this.ifcommon) {
  516. this.saveFollowModelDo("unfollow");
  517. } else {
  518. this.saveFollowModelDo("follow");
  519. }
  520. },
  521. saveFollowModelDo: function(followType){
  522. let user = window.localStorage.getItem('user');
  523. if (!this.$Cookies.get('token')) {
  524. // this.$message.warning("请先登录");
  525. // this.$confirm('检测到您未登录,是否登录')
  526. // .then(_ => {
  527. // this.toView('login');
  528. // })
  529. // .catch(_ => {});
  530. this.toViewLogin=true;
  531. } else {
  532. var users = JSON.parse(user);
  533. var token = "" + getToken();
  534. var projectId = this.initData.baseEntityId;
  535. var userId = users.userId
  536. // 接口逻辑
  537. this.submitHandler(token => {
  538. saveFollowModel(projectId,"enterprise", userId,followType,token).then(result => {
  539. // console.log(result);
  540. this.$message({
  541. message: result.data,
  542. type: 'success'
  543. });
  544. this.ifcommon=!this.ifcommon
  545. this.resetToken();
  546. }).catch(error => {
  547. // 此处你的业务代码
  548. });
  549. });
  550. }
  551. },
  552. }
  553. };
  554. </script>
  555. <!-- Add "scoped" attribute to limit CSS to this component only -->
  556. <style scoped>
  557. .box {
  558. margin-top: 10px;
  559. background: #fff;
  560. /* height: 500px; */
  561. padding: 20px 0;
  562. }
  563. .crumbs {
  564. margin-left: 20px;
  565. }
  566. body {
  567. margin: 0;
  568. }
  569. .swipers {
  570. position: absolute;
  571. top: 30px;
  572. left: 80px;
  573. width: 460px;
  574. height: 390px;
  575. }
  576. .details {
  577. position: absolute;
  578. top: 30px;
  579. left: 620px;
  580. width: 500px;
  581. height: 390px;
  582. }
  583. .swiper-container {
  584. width: 100%;
  585. height: 300px;
  586. margin-left: auto;
  587. margin-right: auto;
  588. }
  589. .swiper-slide {
  590. background-size: cover;
  591. background-position: center;
  592. }
  593. .gallery-top {
  594. height: 80%;
  595. width: 100%;
  596. }
  597. .gallery-thumbs {
  598. height: 20%;
  599. box-sizing: border-box;
  600. padding: 10px 0;
  601. }
  602. .gallery-thumbs .swiper-slide {
  603. width: 25%;
  604. height: 100%;
  605. opacity: 0.4;
  606. }
  607. .gallery-thumbs .swiper-slide-thumb-active {
  608. opacity: 1;
  609. }
  610. .initData_label {
  611. color: #2c558a;
  612. font-weight: 700;
  613. font-size: 18px;
  614. line-height: 42px;
  615. }
  616. .tankthink_style {
  617. line-height: 50px;
  618. color: #666666;
  619. font-size: 18px;
  620. font-weight: 700;
  621. margin-top: 5px;
  622. }
  623. .tankthink_style_span {
  624. display: inline-block;
  625. padding: 0 10px;
  626. text-align: center;
  627. height: 50px;
  628. border-bottom: 2px solid #6699ff;
  629. }
  630. .tankthink_style_product tr {
  631. line-height: 30px;
  632. width: 100%;
  633. display: inline-block;
  634. border-bottom: 1px solid #ccc;
  635. font-size: 14px;
  636. color: #666666;
  637. margin-bottom: 5px;
  638. }
  639. .recommend {
  640. margin-top: 15px;
  641. margin-left: 100px;
  642. }
  643. .recommend li {
  644. display: inline-block;
  645. width: 170px;
  646. /* height: 130px; */
  647. text-align: center;
  648. margin-right: 15px;
  649. }
  650. .share:hover {
  651. color: #2c558a;
  652. }
  653. >>>.el-dialog__body {
  654. word-break:normal;
  655. padding: 0px 20px 10px;
  656. }
  657. .tankthink_content{
  658. width: 100%;
  659. }
  660. </style>