Home.vue 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586
  1. <template>
  2. <view class="bg">
  3. <!-- 轮播 -->
  4. <view class="swipercontent ">
  5. <swiper class="swiper-box" style='height:474upx;' autoplay="true" circular="true" current="{swiperCurrent}"
  6. @change="swiperChange($event)" :data-current="swiperCurrent">
  7. <!-- <block > -->
  8. <swiper-item v-for="(item, index) in pic" :key="index">
  9. <view class='swiper-img'>
  10. <image :src="item" class="slide-image" />
  11. </view>
  12. </swiper-item>
  13. </swiper>
  14. <view class="dots">
  15. <block v-for="(item, index) in pic" :key="index">
  16. <view class="dot" :class="index == swiperCurrent ? ' active' : ''"></view>
  17. </block>
  18. </view>
  19. </view>
  20. <!--内容区域 -->
  21. <view class="content">
  22. <view class="cont-title">
  23. <view class="dtitle">
  24. <image class="limg" src="../../../static/images/ling.png" mode=""></image>
  25. <view class="title">
  26. 读道文旅是谁?
  27. </view>
  28. <image class="limg" src="../../../static/images/ling.png" mode=""></image>
  29. </view>
  30. <view class="ftitle">
  31. 公司简介(Company Profile)
  32. </view>
  33. <view class="introduce">
  34. <view class="grace-rich-text">
  35. <rich-text class="richtext" :nodes='desc'></rich-text>
  36. </view>
  37. <!-- 读道文旅集团(北京读道创意旅游文化发展股份有限公司)是一家为政府、企业提供“互联网+创意”的集成服务商,下设乡村振兴、田园综合体、特色小镇、超级旅游景区IEPCO+IP孵化产品创新+创意策划规划设计四轮驱动业务。 -->
  38. <!-- 作为IEPCO模式的创造者和实践者、中国文旅自媒体矩阵的运营者,集团以百号千群百万粉丝互联网矩阵实现文旅B端用户全覆盖,并依托百余人精英团队,以“不落地、不创意”的理念和“不辜负每块土地及每位客户的期望”的宗旨为300多家政府及企业提供创意落地服务,成功落地众多经典项目。我们真诚期待与您携手共创下一个奇迹! -->
  39. </view>
  40. </view>
  41. <!-- <view class="cont-title h weiixn">
  42. <image @tap="ThePublicNumber" class="weiixn-pic1" src="../../../static/images/dud.jpg" mode="widthFix"></image>
  43. <image class="weiixn-pic2" src="../../../static/images/w.jpg" mode="widthFix"></image>
  44. </view> -->
  45. <view class="cont-title h">
  46. <!-- <view class="dtitle">
  47. <image class="limg" src="../../../static/images/ling.png" mode=""></image>
  48. <view class="title">
  49. 读道文旅做过什么?
  50. </view>
  51. <image class="limg" src="../../../static/images/ling.png" mode=""></image>
  52. </view>
  53. <view class="ftitle">
  54. 案例解读(Case Interpretation)
  55. </view> -->
  56. <!-- <image :src="top" mode="widthFix"></image> -->
  57. <view class="types">
  58. <image class="typePic" :src="top" mode="widthFix"></image>
  59. </view>
  60. </view>
  61. </view>
  62. <!-- tab列表 //:class=" tab{{tabnum}}-->
  63. <!-- <view class='listening'> -->
  64. <!-- <scroll-view scroll-x="true" bindscroll="scroll" class="tab-h tab4"> -->
  65. <!-- <swiper class="tab-h tab4" autoplay="false" circular="true" interval="3000" duration="1000" display-multiple-items="4" current="0" @change="swichNav" > -->
  66. <!-- <swiper-item v-for="(item, id) in cate" :key="id"> -->
  67. <!-- v-for="(item, id) in cate" :key="id" -->
  68. <scroll-view scroll-x="true" bindscroll="scroll" class="tab-h tab4" scroll-with-animation="true">
  69. <view class="tab-title">
  70. <block v-for="(item, id) in cate" :key="id">
  71. <view class="tab-item" :data-current="id" :data-cateid="item.id" @tap="swichNav">
  72. <view class="tab-text" :class="currentTab== id ?'actives':'' ">
  73. {{item.name}}
  74. </view>
  75. </view>
  76. <!-- <view class="" :class="currentTab== id ?'actives':'' " :data-current="id" :data-cateid="item.id" @tap="swichNav"></view> -->
  77. </block>
  78. </view>
  79. <!-- </swiper-item> -->
  80. <!-- </swiper> -->
  81. </scroll-view>
  82. <!-- </view> -->
  83. <view class='listening'>
  84. <!-- listCase -->
  85. <!-- <scroll-view class="list" scroll-x="true" :current="currentTab" :scroll-left="navScrollLeft" scroll-with-animation="true" @tap="switchNav($event)"> -->
  86. <view class="list">
  87. <!-- <swiper style="height:550px" :current="currentTab" circular="true" @change="switchTab"> -->
  88. <view class="listcent" v-for="(item, index) in listCase" :key="index">
  89. <!-- <swiper-item > -->
  90. <view @tap="list($event)" :data-id="item.id">
  91. <image class="listPic" :src="item.pic" mode=""></image>
  92. <view class="biaot">
  93. <view class="bt">{{item.name}}</view>
  94. <view class="xianq">
  95. <view class="text">点击查看详情</view>
  96. <image class="jt" src="../../../static/images/jt.png" mode=""></image>
  97. </view>
  98. </view>
  99. </view>
  100. <!-- </swiper-item> -->
  101. </view>
  102. <!-- </swiper> -->
  103. </view>
  104. <!-- </scroll-view> -->
  105. <view class="btn">
  106. <view class="btn-cont" @tap="cateList">
  107. <view class="anli">了解更多案例</view>
  108. <image class="gd" src="../../../static/images/gd.gif" mode=""></image>
  109. </view>
  110. </view>
  111. </view>
  112. <!-- v-if="poster != '' && wechat != '' " -->
  113. <view class="qiye-wei" v-if="poster != '' || wechat != '' ">
  114. <image v-if=" poster != '' " class="qiye-pic1" :src="poster" mode="widthFix"></image>
  115. <image v-if=" wechat != ''" class="qiye-pic2" :src="wechat" mode="widthFix"></image>
  116. </view>
  117. <!-- poster:'',
  118. wechat:'' -->
  119. <view class="footer">
  120. <view class="footer-cont">
  121. <view class="footer-btn">
  122. <view class="btn-title">
  123. <label class="btn-title-sz"> {{config.but_name[0]}}</label>
  124. <label class="btn-title-sz1"> {{config.but_name[1]}}</label>
  125. <text class=""></text>
  126. </view>
  127. <view class="btn-fdesc">{{config.but_title}}<text></text></view>
  128. </view>
  129. <view class="logocont">
  130. <view class="logos">
  131. <image class="logo" src="../../../static/images/icon.png" mode=""></image>
  132. <view class="logo-text">
  133. <text v-for="(item, index) in config.account" :key="index">{{item}}</text>
  134. </view>
  135. </view>
  136. <view class="code">
  137. <image class="codePic" :src="catePic" mode=""></image>
  138. <view class="codetext"><text class="codetext-s"> 长按二维码 获取更多</text> <text
  139. class="codetext-a">超级创意</text> </view>
  140. </view>
  141. </view>
  142. </view>
  143. <!-- 底部标签 -->
  144. <view class="business">
  145. <view class="businesscard">
  146. <image class="pic" :src="config.tel_pic" mode=""></image>
  147. <view class="cont">
  148. <view class="bus-cont">
  149. <view class="title1">{{config.but_count}} <text></text> </view>
  150. <view class="tel">
  151. <label class="tel-num">{{config.name}}:</label>
  152. <label class="tel-txt">{{config.phone}}</label>
  153. <text></text>
  154. </view>
  155. <view class="bus-desc">{{config.but_flag}}<text></text></view>
  156. </view>
  157. </view>
  158. <view class="rights1" @tap="tel">
  159. <image class="ri-tel" src="../../../static/images/phone.gif" mode=""></image>
  160. <!-- <view class="ri-tel">立即咨询</view> -->
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. <!-- <official-account></official-account> -->
  166. </view>
  167. </template>
  168. <script>
  169. var graceRichText = require("../../../components/richText.js");
  170. import share from '../../../components/share2.js'
  171. // import h5jquery from '@/components/h5Shsre/jquery-3.5.1.min.js';
  172. // import jWeixin from '@/components/h5Shsre/jweixin-module.js';
  173. // import h5weixin from '@/components/h5Shsre/weixin.js';
  174. export default {
  175. data() {
  176. return {
  177. swiperCurrent: 0,
  178. pic: [],
  179. top: '',
  180. tabnum: 4,
  181. currentTab: 0, //预设当前项的值
  182. navScrollLeft: 0,
  183. currentTabs: 0,
  184. scrollLeft: 0, //tab标题的滚动条位置
  185. scrollTop: 0,
  186. account: [],
  187. phine: '',
  188. cate: [],
  189. listCase: [],
  190. cateid: '',
  191. desc: '',
  192. id: '',
  193. catePic: '',
  194. shares: '',
  195. config: '',
  196. type: '',
  197. poster: '',
  198. wechat: ''
  199. }
  200. },
  201. onLoad(e) {
  202. // //#ifdef H5
  203. // console.log(3333333,Dever_Share)
  204. // //#endif
  205. // uni.hideShareMenu()
  206. var that = this;
  207. console.log(2222, e)
  208. if (e) {
  209. that.type = e.type
  210. that.id = e.id
  211. }
  212. this.swiperChange = function(event) {
  213. var that = this;
  214. this.swiperCurrent = event.detail.current;
  215. }
  216. wx.loadFontFace({
  217. family: 'MFJinHei',
  218. source: 'url("https://trade.5dev.cn/cmmc/main/assets/mobile/css/MFJinHei_Noncommercial-Regular1.ttf")',
  219. // family: 'MFJinHei',
  220. // source: 'url("https://trade.5dev.cn/cmmc/main/assets/mobile/css/mfjin.TTF")',
  221. success: console.log
  222. })
  223. wx.getSystemInfo({
  224. success: (res) => {
  225. // this.setData({
  226. that.pixelRatio = res.pixelRatio,
  227. that.windowHeight = res.windowHeight,
  228. that.windowWidth = res.windowWidth
  229. // })
  230. }
  231. })
  232. //#ifdef H5
  233. this.inso1()
  234. this.insow()
  235. this.inso()
  236. // console.log(33338333,Dever_Share())
  237. //#endif
  238. this.getap()
  239. this.share()
  240. this.con_list()
  241. },
  242. onShow() {
  243. },
  244. // onShareAppMessage(e) {
  245. // var that = this;
  246. // var pic = this.shares.home_pic;
  247. // console.log(111, pic)
  248. // // return share.share(this.typename, '/pages/taBbar/home/home?path=https://trade.5dev.cn/cmmc/dist/#/my?type=' + this.applet +'&id=',this.id, this.typename, that,
  249. // // 2,this.typename,
  250. // // );
  251. // // return share.share(this.name, '/pages/content/share/share?id='+ uni.getStorageSync('uid')+'&path=/pages/content/share/share?type=' + this.applet +'&id=',uni.getStorageSync('uid'), this.name, that,
  252. // // return share.share(this.name, '/pages/content/share/share?type=' + this.applet +'&id=',uni.getStorageSync('uid'), this.name, that,
  253. // return share.share(this.shares.home_name, '/pages/taBbar/Home/Home?id=', this.config.id, this.shares.home_name, that,
  254. // this.shares.home_pic, this.shares.home_name,
  255. // );
  256. // },
  257. onShareAppMessage(e) {
  258. var that = this;
  259. console.log(111, e)
  260. // var pic = that.myshopShare.pic;
  261. var scene = uni.getStorageSync('scene', scene);
  262. return share.share('/pages/taBbar/Home/Home?id=' + this.config.id,
  263. this.shares.home_name, this.shares.home_pic, 9)
  264. },
  265. methods: {
  266. ThePublicNumber() {
  267. uni.navigateTo({
  268. url: '../../content/ThePublicNumber/ThePublicNumber'
  269. })
  270. },
  271. share() {
  272. var that = this;
  273. var params = new Object()
  274. uni.request({
  275. // url: 'https://trade.5dev.cn/dudaowenlv/content/?l=api.share',
  276. url: this.host + 'api.share',
  277. data: params,
  278. method: 'GET',
  279. header: {
  280. 'content-type': 'application/json' // 默认值
  281. },
  282. success(res) {
  283. that.shares = res.data.data
  284. console.log(2222, res)
  285. }
  286. })
  287. },
  288. getap() {
  289. var that = this;
  290. var params = new Object()
  291. // params.signature = uni.getStorageSync('signature')
  292. uni.showLoading({
  293. title: '加载中'
  294. });
  295. uni.request({
  296. // url: 'https://trade.5dev.cn/dudaowenlv/content/?api.home',
  297. url: this.host + 'api.home',
  298. data: params,
  299. method: 'GET',
  300. header: {
  301. 'content-type': 'application/json' // 默认值
  302. },
  303. success(res) {
  304. uni.setNavigationBarTitle({
  305. title: res.data.data.config.title
  306. })
  307. that.pic = res.data.data.config.pic.split(",")
  308. that.top = res.data.data.config.top
  309. that.config = res.data.data.config
  310. that.account = res.data.data.config.account
  311. that.catePic = res.data.data.config.code
  312. console.log(22222, res.data.data.config.cote)
  313. that.listCase = res.data.data.cate[0].case
  314. // that.listCase = res.data.data.cate[0]
  315. // console.log(99999,res.data.data.cate[0].case)
  316. that.cate = res.data.data.cate
  317. //
  318. that.cateid = res.data.data.cate[0].id
  319. that.desc = graceRichText.format(res.data.data.config.desc);
  320. var mob = res.data.data.config.phone;
  321. that.phine = mob.replace(/(\d{3})(\d{4})/, "$1 $2 ");
  322. // console.log(2222, that.pic)
  323. uni.hideLoading();
  324. uni.hideNavigationBarLoading();
  325. uni.stopPullDownRefresh(); //得到数据后停止下拉刷新
  326. // var mob="13800138000";
  327. //#ifdef H5
  328. let button = false;
  329. let uid = -1;
  330. let project = 104;
  331. let url = "http://cm.5dev.cn/wechat/share/?api.";
  332. let param = {
  333. title: res.data.data.config.h5_share_name,
  334. img: res.data.data.config.h5_share_pic,
  335. desc: res.data.data.config.h5_share_desc,
  336. url: window.location.href
  337. };
  338. console.log(89897, param);
  339. Dever_Share.Init(uid, project, url, param, button);
  340. //#endif
  341. // var mob= res.data.data.config.phine;
  342. // that.phine= mob.replace(/(\d{3})(\d{4})/,"$1 $2 ");
  343. if (that.type == 2) {
  344. console.log(888, that.id)
  345. uni.navigateTo({
  346. url: '../../content/List/List?cateid=' + that.id
  347. })
  348. } else if (that.type == 3) {
  349. uni.navigateTo({
  350. url: '../../content/List-dl/List-dl?id=' + that.id
  351. })
  352. }
  353. // console.log(11118, m)
  354. }
  355. })
  356. },
  357. // switchTab(event){
  358. // console.log(22225, event)
  359. // var that = this;
  360. // // var cur = event.currentTarget.dataset.current;
  361. // var cur = event.detail.current;
  362. // //每个tab选项宽度占1/5
  363. // var singleNavWidth = this.windowWidth / 5;
  364. // //tab选项居中
  365. // // this.setData({
  366. // that.navScrollLeft= (cur - 2) * singleNavWidth
  367. // // })
  368. // if (this.currentTab == cur) {
  369. // return false;
  370. // } else {
  371. // // this.setData({
  372. // that.currentTab= cur
  373. // // })
  374. // }
  375. // var params = new Object()
  376. // if(event.detail.current){
  377. // var detailcurrent= event.detail.current
  378. // that.cateid = that.cate[detailcurrent].id;
  379. // var cateid = that.cate[detailcurrent].id;
  380. // console.log(99999888,event.detail.current)
  381. // console.log(88887777,that.cate[detailcurrent].id)
  382. // params.id = that.cate[detailcurrent].id
  383. // }else{
  384. // params.id = 1
  385. //
  386. // }
  387. // // params.id = e.currentTarget.dataset.cateid
  388. // //发起请求
  389. // uni.request({
  390. //
  391. // url: 'https://trade.5dev.cn/dudaowenlv/content/?l=api.home_cate',
  392. // // https://trade.5dev.cn/dudaowenlv/content/?l=api.lists
  393. // data: params,
  394. // method: 'GET',
  395. // header: {
  396. // 'content-type': 'application/json' // 默认值
  397. // },
  398. // success: function(res) {
  399. // // console.log(343434,res)
  400. // that.listCase = res.data.data.case
  401. // //拿到解密后的数据,进行代码逻辑
  402. // },
  403. // fail: function() {},
  404. // })
  405. //
  406. //
  407. // },
  408. swichNav(e) {
  409. console.log(8888, e)
  410. // return
  411. var that = this;
  412. var cur = e.currentTarget.dataset.current;
  413. // var cur = e.detail.current;
  414. // var singleNavWidth = this.windowWidth / 5;
  415. // that.navScrollLeft= (cur - 2) * singleNavWidth
  416. if (this.currentTab == cur) {
  417. return false;
  418. } else {
  419. that.currentTab = cur
  420. }
  421. // http://192.168.0.10/dudaowenlv/content/?api.lists
  422. var params = new Object()
  423. // if(e.detail.current){
  424. // var detailcurrent= e.detail.current
  425. // that.cateid = that.cate[detailcurrent].id;
  426. // var cateid = that.cate[detailcurrent].id;
  427. // console.log(99999888,e.detail.current)
  428. // console.log(88887777,that.cate[detailcurrent].id)
  429. // params.id = that.cate[detailcurrent].id
  430. // }else{
  431. // params.id = 1
  432. // }
  433. that.cateid = e.currentTarget.dataset.cateid
  434. params.id = e.currentTarget.dataset.cateid
  435. //发起请求
  436. uni.request({
  437. // url: 'https://trade.5dev.cn/dudaowenlv/content/?l=api.home_cate',
  438. url: this.host + 'l=api.home_cate',
  439. // https://trade.5dev.cn/dudaowenlv/content/?l=api.lists
  440. data: params,
  441. method: 'GET',
  442. header: {
  443. 'content-type': 'application/json' // 默认值
  444. },
  445. success: function(res) {
  446. // console.log(343434,res)
  447. that.listCase = res.data.data.case
  448. //拿到解密后的数据,进行代码逻辑
  449. },
  450. fail: function() {},
  451. })
  452. },
  453. con_list() {
  454. var that = this;
  455. var params = new Object()
  456. uni.request({
  457. // url: 'https://trade.5dev.cn/dudaowenlv/content/?l=api.share',
  458. url: this.host + 'api.con_list',
  459. data: params,
  460. method: 'GET',
  461. header: {
  462. 'content-type': 'application/json' // 默认值
  463. },
  464. success(res) {
  465. console.log(222229, res)
  466. that.poster = res.data.data.config.poster
  467. that.wechat = res.data.data.config.wechat
  468. // that.poster=""
  469. // that.wechat=""
  470. // that.shares = res.data.data
  471. }
  472. })
  473. },
  474. cateList() {
  475. var that = this;
  476. console.log(111136, that.cateid)
  477. uni.navigateTo({
  478. url: '../../content/List/List?cateid=' + that.cateid
  479. })
  480. },
  481. list(event) {
  482. // event.currentTarget.dataset.id
  483. // console.log(22222,event.currentTarget.dataset.id)
  484. var id = event.currentTarget.dataset.id
  485. uni.navigateTo({
  486. url: '../../content/List-dl/List-dl?id=' + id
  487. })
  488. },
  489. tel() {
  490. var that = this;
  491. uni.makePhoneCall({
  492. phoneNumber: that.phine
  493. });
  494. },
  495. inso1() {
  496. var url =
  497. "https://code.jquery.com/jquery-3.5.1.min.js";
  498. console.log(111198, url);
  499. var jsap = document.createElement("script");
  500. jsap.charset = "utf-8";
  501. jsap.src = url;
  502. document.head.appendChild(jsap);
  503. },
  504. inso() {
  505. var url =
  506. "https://trade.5dev.cn/dever_package/script/assets/dever/share.js?t1&callback=onLoad";
  507. console.log(111198, url);
  508. var jsap = document.createElement("script");
  509. jsap.charset = "utf-8";
  510. jsap.src = url;
  511. document.head.appendChild(jsap);
  512. },
  513. insow() {
  514. var url =
  515. "https://trade.5dev.cn/dever_package/script/assets/lib/share/weixin.js";
  516. console.log(111198, url);
  517. var jsap = document.createElement("script");
  518. jsap.charset = "utf-8";
  519. jsap.src = url;
  520. document.head.appendChild(jsap);
  521. },
  522. }
  523. }
  524. </script>
  525. <style>
  526. /* <image class="weiixn-pic1" class="" src="../../../static/images/dud.jpg" mode=""></image> */
  527. /* <image class="weiixn-pic2" src="../../../static/images/w.jpg" mode=""></image> */
  528. .weiixn {
  529. overflow: hidden;
  530. _zoom: 1;
  531. padding: 20rpx 0rpx;
  532. background: #FFFFFF;
  533. }
  534. .weiixn-pic1 {
  535. float: left;
  536. width: 375rpx;
  537. height: auto;
  538. display: block;
  539. }
  540. .weiixn-pic2 {
  541. float: right;
  542. width: 375rpx;
  543. height: auto;
  544. display: block;
  545. }
  546. .bg {
  547. background: #f7f7f7;
  548. }
  549. /* 轮播自定义样式 */
  550. .swipercontent {
  551. position: relative;
  552. }
  553. .swiper-box {
  554. background: #fff;
  555. }
  556. .slide-image {
  557. width: 100%;
  558. height: 454upx;
  559. display: block;
  560. }
  561. .swiper-box .uni-swiper-dots {
  562. position: absolute;
  563. margin: 0 auto !important;
  564. top: 316upx;
  565. }
  566. .swiper-box .uni-swiper-dot {
  567. width: 19upx;
  568. display: inline-flex;
  569. height: 7upx;
  570. margin-right: 20upx;
  571. justify-content: space-between;
  572. }
  573. .swiper-box .uni-swiper-dot::before {
  574. content: '';
  575. flex-grow: 1;
  576. background: #e0e0e0;
  577. }
  578. .swiper-box .uni-swiper-dot-active::before {
  579. background: #2f2f2f;
  580. border-radius: 4upx;
  581. }
  582. .swipercontent {
  583. position: relative;
  584. }
  585. .dots {
  586. position: absolute;
  587. left: 0;
  588. right: 0;
  589. bottom: 0upx;
  590. display: flex;
  591. justify-content: center;
  592. }
  593. .dot {
  594. margin: 0 8upx;
  595. width: 21upx;
  596. height: 9upx;
  597. background: #333;
  598. border-radius: 16upx;
  599. }
  600. .dot.active {
  601. width: 21upx;
  602. background: #dfdfdf;
  603. }
  604. /* 结束 */
  605. /* 内容 */
  606. .cont-title {
  607. background: #FFFFFF;
  608. }
  609. .h {
  610. margin-top: 20upx;
  611. }
  612. .dtitle {
  613. overflow: hidden;
  614. _zoom: 1;
  615. display: flex;
  616. justify-content: center;
  617. margin: 0 auto;
  618. padding-top: 47upx;
  619. /* width: 300upx; */
  620. }
  621. .title {
  622. font-size: 42upx;
  623. font-family: PingFang-SC-Medium;
  624. font-weight: bold;
  625. color: rgba(34, 34, 34, 1);
  626. padding: 0 24upx;
  627. float: left;
  628. }
  629. .limg {
  630. float: left;
  631. width: 35upx;
  632. height: 15upx;
  633. display: block;
  634. margin-top: 22upx;
  635. }
  636. .ftitle {
  637. margin-top: 8upx;
  638. font-size: 28upx;
  639. font-family: PingFang-SC-Medium;
  640. font-weight: 500;
  641. color: rgba(51, 51, 51, 1);
  642. text-align: center;
  643. }
  644. .introduce {
  645. /* font-size: 30upx;
  646. font-family: PingFang-SC-Regular;
  647. font-weight: 400;
  648. color: rgba(51, 51, 51, 1);
  649. padding: 55upx 34upx; */
  650. }
  651. .grace-rich-text {
  652. font-size: 30upx;
  653. font-family: PingFang-SC-Regular;
  654. font-weight: 400;
  655. color: rgba(51, 51, 51, 1);
  656. padding: 55upx 34upx;
  657. }
  658. .types {
  659. margin: 0 9upx;
  660. padding: 0upx 0 0upx 0;
  661. }
  662. .typePic {
  663. width: 100%;
  664. }
  665. /* tab切换列表 */
  666. ::-webkit-scrollbar {
  667. width: 0;
  668. height: 0;
  669. color: transparent;
  670. }
  671. .tab-h {
  672. box-sizing: border-box;
  673. height: 102upx;
  674. line-height: 94upx;
  675. white-space: nowrap;
  676. z-index: 99;
  677. background: #fff;
  678. border-bottom: 1upx solid #E5E5E5;
  679. box-sizing: border-box;
  680. /* padding-bottom: 16upx; */
  681. }
  682. .tab-title {
  683. margin: 0 32upx;
  684. position: relative;
  685. }
  686. .tab6 .tab-item {
  687. margin: 0upx 50upx;
  688. display: inline-block;
  689. font-size: 28upx;
  690. color: #474245;
  691. /* float: left; */
  692. }
  693. .tab5 .tab-item {
  694. margin: 0upx 50upx;
  695. display: inline-block;
  696. font-size: 34upx;
  697. }
  698. .tab4 .tab-item {
  699. margin-right: 39upx;
  700. display: inline-block;
  701. font-size: 28upx;
  702. color: #474245;
  703. /* width: 180upx; */
  704. text-align: center !important;
  705. }
  706. .tab3 .tab-item {
  707. margin: 0upx 80upx;
  708. display: inline-block;
  709. font-size: 34upx;
  710. }
  711. .actives {
  712. /* width: 60upx; */
  713. font-size: 32upx !important;
  714. font-family: PingFang-SC-Bold;
  715. font-weight: bold;
  716. color: #DD4243 !important;
  717. border-bottom: 2px solid rgba(221, 66, 67, 1);
  718. border-bottom-left-radius: 4upx;
  719. box-sizing: border-box;
  720. /* text-align:center; */
  721. /* margin:0 auto; */
  722. /* width: 50upx; */
  723. /* position: absolute;
  724. left: 0;
  725. top: 0; */
  726. }
  727. /* .tab-text:f */
  728. /* .tab-text{
  729. padding: 0 40upx;
  730. } */
  731. .tab-content {
  732. z-index: 9999;
  733. margin-top: 92upx;
  734. width: 100%;
  735. height: auto;
  736. display: block;
  737. }
  738. /* 列表 */
  739. .listening {
  740. background: #FFFFFF;
  741. }
  742. .list {
  743. margin: 0 10upx;
  744. padding-top: 31upx;
  745. /* display:flex; */
  746. overflow: hidden;
  747. _zoom: 1;
  748. margin-bottom: 61upx;
  749. }
  750. .listcent {
  751. margin-left: 23upx;
  752. float: left;
  753. width: 333upx;
  754. background: rgba(255, 255, 255, 1);
  755. box-shadow: 0upx 4upx 8upx 0upx rgba(201, 201, 201, 0.75);
  756. border-radius: 10upx;
  757. height: 348upx;
  758. margin-bottom: 21upx;
  759. }
  760. .listPic {
  761. display: block;
  762. width: 333upx;
  763. height: 230upx;
  764. border-radius: 10upx 10upx 0px 0px;
  765. }
  766. /* */
  767. .biaot {
  768. background: #fff;
  769. text-align: center;
  770. }
  771. .bt {
  772. font-size: 26upx;
  773. font-family: PingFang-SC-Regular;
  774. font-weight: bold;
  775. color: rgba(51, 51, 51, 1);
  776. padding: 20upx 12upx 18upx 12upx;
  777. overflow: hidden;
  778. text-overflow: ellipsis;
  779. white-space: nowrap;
  780. }
  781. .xianq {
  782. overflow: hidden;
  783. _zoom: 1;
  784. margin: 0 81upx;
  785. }
  786. .text {
  787. font-size: 24upx;
  788. font-family: PingFang-SC-Regular;
  789. font-weight: 400;
  790. color: rgba(102, 102, 102, 1);
  791. float: left;
  792. }
  793. .jt {
  794. width: 14upx;
  795. height: 16upx;
  796. float: right;
  797. display: block;
  798. margin-top: 11upx;
  799. }
  800. .btn {
  801. padding-bottom: 82upx;
  802. }
  803. .btn-cont {
  804. margin: 0 155upx;
  805. height: 70upx;
  806. background: #f4f4f4;
  807. /* box-shadow:3upx 5upx 134upx 7upx rgba(7,7,7,0.13); */
  808. /* opacity:0.2; */
  809. border-radius: 35upx;
  810. overflow: hidden;
  811. _zoom: 1;
  812. padding: 0 107upx;
  813. }
  814. .anli {
  815. font-size: 30upx;
  816. font-family: PingFang-SC-Regular;
  817. font-weight: bold;
  818. color: rgba(102, 102, 102, 1);
  819. line-height: 70upx;
  820. float: left;
  821. }
  822. .gd {
  823. width: 30upx;
  824. height: 29upx;
  825. float: right;
  826. margin-top: 22upx;
  827. }
  828. .footer-cont {
  829. padding: 0upx 73upx 37upx 86upx;
  830. background: #FFFFFF;
  831. }
  832. .tag {
  833. overflow: hidden;
  834. _zoom: 1;
  835. }
  836. .labels {
  837. overflow: hidden;
  838. _zoom: 1;
  839. float: left;
  840. /* display: inline-block; */
  841. /* display: flex; */
  842. }
  843. .label {
  844. font-size: 26upx;
  845. font-family: SourceHanSansCN-Medium;
  846. font-weight: 500;
  847. color: rgba(255, 255, 255, 1);
  848. float: left;
  849. }
  850. .lxian {
  851. font-size: 26upx;
  852. font-family: SourceHanSansCN-Medium;
  853. font-weight: 500;
  854. color: rgba(255, 255, 255, 1);
  855. float: left;
  856. margin: 0 4upx;
  857. }
  858. .labels:last-child .lxian {
  859. font-size: 0upx;
  860. float: left;
  861. margin: 0;
  862. }
  863. .labels:first-child .lxian {
  864. font-size: 0upx;
  865. float: left;
  866. margin: 0;
  867. }
  868. /* .tel {
  869. overflow: hidden;
  870. _zoom: 1;
  871. margin-top: 23upx;
  872. line-height:44upx;
  873. } */
  874. .telpic {
  875. width: 37upx;
  876. height: 41upx;
  877. float: left;
  878. display: block;
  879. margin-right: 20upx;
  880. }
  881. .laos {
  882. /* font-family: MFJinHei; */
  883. /* font-weight: bold; */
  884. font-size: 34upx;
  885. color: #FFFFFF;
  886. float: left;
  887. }
  888. .phine {
  889. /* font-family: MFJinHei; */
  890. letter-spacing: 2upx;
  891. /* font-weight: bold; */
  892. font-size: 34upx;
  893. color: #FFFFFF;
  894. float: left;
  895. }
  896. .bohao {
  897. width: 36upx;
  898. height: 40upx;
  899. display: block;
  900. float: left;
  901. margin-left: 38upx;
  902. margin-top: 5upx;
  903. }
  904. /* .flex{height:100%;display:flex;justify-content:center;align-items:center} */
  905. /* .bohao{
  906. width: 34upx;
  907. height: 36upx;
  908. display: block;
  909. float: left;
  910. margin-left: 38upx;
  911. margin-top: 5upx;
  912. } */
  913. .tjt {
  914. width: 39upx;
  915. height: 28upx;
  916. display: block;
  917. float: left;
  918. margin-left: 12upx;
  919. margin-top: 12upx;
  920. }
  921. .footer-btn {
  922. width: 100%;
  923. }
  924. .footer-btn view {
  925. text-align: justify;
  926. display: inline-block;
  927. text-align-last: justify;
  928. text-justify: inter-ideograph;
  929. vertical-align: top;
  930. }
  931. .footer-btn view text {
  932. display: inline-block;
  933. height: 0;
  934. width: 100%
  935. /* 换行 */
  936. }
  937. .btn-title {
  938. display: flex;
  939. font-size: 58upx;
  940. font-family: Source Han Sans CN;
  941. font-weight: 800;
  942. color: rgba(220, 66, 66, 1);
  943. line-height: 58upx;
  944. margin-bottom: 14rpx;
  945. height: 58rpx;
  946. width: 100%;
  947. }
  948. .btn-title-sz {
  949. color: #DC4242;
  950. }
  951. .btn-title-sz1 {
  952. color: #211717;
  953. }
  954. .btn-fdesc {
  955. width: 100%;
  956. font-size: 32upx;
  957. font-family: Source Han Sans CN;
  958. font-weight: 400;
  959. color: rgba(51, 51, 51, 1);
  960. line-height: 32upx;
  961. height: 32rpx;
  962. text-align: center;
  963. margin-bottom: 24rpx;
  964. }
  965. .logocont {
  966. overflow: hidden;
  967. _zoom: 1;
  968. /* margin-top: 42upx; */
  969. }
  970. .logos {
  971. float: left;
  972. width: 352upx;
  973. margin-top: 15upx;
  974. }
  975. .logo {
  976. width: 324upx;
  977. height: 160upx;
  978. display: block;
  979. margin: 0 auto;
  980. }
  981. .logo-text {
  982. text-align: center;
  983. font-size: 28upx;
  984. font-family: Source Han Sans CN;
  985. font-weight: 400;
  986. color: rgba(51, 51, 51, 1);
  987. line-height: 28upx;
  988. margin-top: 20rpx;
  989. }
  990. .code {
  991. float: right;
  992. }
  993. .codePic {
  994. width: 210upx;
  995. height: 210upx;
  996. display: block;
  997. }
  998. .codetext {
  999. text-align: center;
  1000. /* font-size: 16upx;
  1001. font-family: SourceHanSansCN-Bold;
  1002. font-weight: bold;
  1003. color: rgba(255, 255, 255, 1); */
  1004. font-size: 16upx;
  1005. font-family: Source Han Sans CN;
  1006. font-weight: 400;
  1007. color: rgba(51, 51, 51, 1);
  1008. line-height: 16upx;
  1009. /* text-align:justify;
  1010. text-align-last:justify; */
  1011. }
  1012. .codetext-s {
  1013. color: #333333;
  1014. }
  1015. .codetext-a {
  1016. color: #DC4242;
  1017. }
  1018. /* .bohao {
  1019.     animation: shake 1s;
  1020.     -o-animation: shake 1s;
  1021.     -webkit-animation: shake 1s;
  1022.     -moz-animation: shake 1s;
  1023. } */
  1024. /* .bohao {
  1025. animation: move 1s 0s infinite;
  1026. -webkit-animation: move 1s 0s infinite;
  1027. } */
  1028. @keyframes move {
  1029. 0%,
  1030. 5% {
  1031. -webkit-transform: rotate(0deg);
  1032. transform: rotate(0deg);
  1033. }
  1034. 15% {
  1035. -webkit-transform: rotate(0deg);
  1036. transform: rotate(0deg);
  1037. }
  1038. 25% {
  1039. -webkit-transform: rotate(0deg);
  1040. transform: rotate(0deg);
  1041. }
  1042. 35% {
  1043. -webkit-transform: rotate(0deg);
  1044. transform: rotate(0deg);
  1045. }
  1046. 45% {
  1047. -webkit-transform: rotate(0deg);
  1048. transform: rotate(0deg);
  1049. }
  1050. 55% {
  1051. -webkit-transform: rotate(0deg);
  1052. transform: rotate(0deg);
  1053. }
  1054. 60% {
  1055. -webkit-transform: rotate(0deg);
  1056. transform: rotate(0deg);
  1057. }
  1058. 65% {
  1059. -webkit-transform: rotate(0deg);
  1060. transform: rotate(0deg);
  1061. }
  1062. 70% {
  1063. -webkit-transform: rotate(6deg);
  1064. transform: rotate(6deg);
  1065. }
  1066. 75% {
  1067. -webkit-transform: rotate(-6deg);
  1068. transform: rotate(-6deg);
  1069. }
  1070. 80% {
  1071. -webkit-transform: rotate(6deg);
  1072. transform: rotate(6deg);
  1073. }
  1074. 85% {
  1075. -webkit-transform: rotate(-6deg);
  1076. transform: rotate(-6deg);
  1077. }
  1078. 90% {
  1079. -webkit-transform: rotate(6deg);
  1080. transform: rotate(6deg);
  1081. }
  1082. 95% {
  1083. -webkit-transform: rotate(-6deg);
  1084. transform: rotate(-6deg);
  1085. }
  1086. 100% {
  1087. -webkit-transform: rotate(0deg);
  1088. transform: rotate(0deg);
  1089. }
  1090. }
  1091. .tjt {
  1092. animation: move 1s 0s infinite;
  1093. -webkit-animation: move 1s 0s infinite;
  1094. }
  1095. .tjt {
  1096. position: relative;
  1097. animation: myfirst 1s 0s infinite;
  1098. -webkit-animation: myfirst 1s linear 1s infinite alternate;
  1099. }
  1100. @keyframes myfirst {
  1101. 0% {
  1102. left: 0px;
  1103. }
  1104. 25% {
  1105. left: 3px;
  1106. }
  1107. 50% {
  1108. left: 6px;
  1109. }
  1110. 75% {
  1111. left: 3px;
  1112. }
  1113. 100% {
  1114. left: 0px;
  1115. }
  1116. }
  1117. /* 底部 */
  1118. .business {
  1119. width: 100%;
  1120. background: #DD4243;
  1121. }
  1122. .businesscard {
  1123. height: 190upx;
  1124. overflow: hidden;
  1125. _zoom: 1;
  1126. padding: 0 42upx 0 53upx;
  1127. display: flex;
  1128. }
  1129. .left {}
  1130. .rights1 {
  1131. margin-top: 13upx;
  1132. margin-left: 10rpx;
  1133. }
  1134. .ri-tel {
  1135. width: 103upx;
  1136. height: 173upx;
  1137. display: block;
  1138. }
  1139. .phone {
  1140. overflow: hidden;
  1141. _zoom: 1;
  1142. display: flex;
  1143. }
  1144. .pic {
  1145. width: 154upx;
  1146. height: 154upx;
  1147. /* border-radius: 50%; */
  1148. display: block;
  1149. margin: 18upx 20upx 0 0upx;
  1150. display: block;
  1151. /* margin-bottom: 17upx; */
  1152. }
  1153. .bus-cont view {
  1154. /* text-align: justify;
  1155. text-align-last: justify; */
  1156. text-align: justify;
  1157. display: inline-block;
  1158. text-align-last: justify;
  1159. text-justify: inter-ideograph;
  1160. vertical-align: top;
  1161. width: 100%;
  1162. }
  1163. .bus-cont view text {
  1164. display: inline-block;
  1165. height: 0;
  1166. width: 100%
  1167. /* 换行 */
  1168. }
  1169. .title1 {
  1170. margin-top: 41upx;
  1171. margin-bottom: 17rpx;
  1172. font-size: 28upx;
  1173. height: 28upx;
  1174. line-height: 28upx;
  1175. /* font-weight:bold; */
  1176. color: #fff;
  1177. }
  1178. .tel {
  1179. color: #fff;
  1180. font-size: 30upx;
  1181. line-height: 30upx;
  1182. height: 30upx;
  1183. /* text-align: left; */
  1184. /* display: flex; */
  1185. /* line-height: 30rpx; */
  1186. }
  1187. .tel-num {
  1188. /* height: 30upx;
  1189. line-height: 30upx; */
  1190. }
  1191. .tel-txt {
  1192. /* height: 30upx;
  1193. line-height: 30upx; */
  1194. letter-spacing: 6upx;
  1195. }
  1196. .bus-desc {
  1197. /* margin-top: 20rpx; */
  1198. font-size: 20upx;
  1199. font-family: Source Han Sans CN;
  1200. font-weight: 400;
  1201. /* color:rgba(51,51,51,1); */
  1202. line-height: 20upx;
  1203. color: #fff;
  1204. height: 20upx;
  1205. /* font-size:20px; */
  1206. /* font-family:Source Han Sans CN; */
  1207. /* font-weight:400; */
  1208. /* color:rgba(51,51,51,1); */
  1209. /* line-height:29px; */
  1210. }
  1211. .cont {
  1212. overflow: hidden;
  1213. _zoom: 1;
  1214. flex: 1;
  1215. }
  1216. .bustag {
  1217. overflow: hidden;
  1218. _zoom: 1;
  1219. }
  1220. .bustext {
  1221. overflow: hidden;
  1222. _zoom: 1;
  1223. float: left;
  1224. /* margin-bottom: 30upx; */
  1225. }
  1226. .buslxian {
  1227. float: left;
  1228. font-size: 30upx;
  1229. font-family: PingFang-SC-Medium;
  1230. font-weight: 500;
  1231. color: rgba(255, 255, 255, 1);
  1232. margin: 0 6upx;
  1233. }
  1234. .bustext:first-child .buslxian {
  1235. float: left;
  1236. font-size: 0upx;
  1237. font-family: PingFang-SC-Medium;
  1238. font-weight: 500;
  1239. color: rgba(255, 255, 255, 1);
  1240. margin: 0;
  1241. }
  1242. .bust {
  1243. float: left;
  1244. font-size: 30upx;
  1245. font-family: PingFang-SC-Medium;
  1246. font-weight: 500;
  1247. color: rgba(255, 255, 255, 1);
  1248. }
  1249. .btnPic {
  1250. width: 100%;
  1251. display: block;
  1252. }
  1253. /* <view class="qiye-wei">
  1254. <image class="qiye-pic1" src="../../../static/images/微信图片_20210604135943.jpg" mode="widthFix"></image>
  1255. <image class="qiye-pic1" src="../../../static/images/微信图片_20210604135950.jpg" mode="widthFix"></image>
  1256. </view> */
  1257. .qiye-wei {
  1258. background: #FFFFFF;
  1259. padding-bottom: 50rpx;
  1260. position: relative;
  1261. }
  1262. .qiye-pic1 {
  1263. margin: auto;
  1264. display: block;
  1265. height: 300rpx;
  1266. vertical-align: middle;
  1267. max-width: 100%;
  1268. }
  1269. .qiye-pic2 {
  1270. margin: auto;
  1271. display: block;
  1272. vertical-align: middle;
  1273. height: 300rpx;
  1274. max-width: 100%;
  1275. }
  1276. image {}
  1277. </style>
  1278. <!-- <view class="logocont">
  1279. <image class="logo" src="../../../static/images/logo.png" mode=""></image>
  1280. <view class="code">
  1281. <image class="codePic" src="../../../static/images/code.png" mode=""></image>
  1282. <view class="codetext" class="">长按 获取更多超级创意</view>
  1283. </view>
  1284. </view> -->