index.vue 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157
  1. <template name="apps">
  2. <view>
  3. <view :class="['custom-header', { 'is-back': isBack }, bgColor]">
  4. <view class="back-container" @click="handleBack">
  5. <view class="back-text">返回</view>
  6. </view>
  7. <view class="content-container">
  8. <view class="content-text">都企供需</view>
  9. </view>
  10. </view>
  11. <swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="3000" :duration="800">
  12. <swiper-item v-for="(item, index) in picture" :key="index">
  13. <image :src="item" class="swiper-item"></image>
  14. </swiper-item>
  15. </swiper>
  16. <view class="line-box">
  17. <view class="center-box">
  18. <view class="center-left-box">
  19. <view class="btn-box-1 mart-t">
  20. {{pageInfo.enterprisec}}
  21. </view>
  22. <view class="btn-box-2 mart-t" @click="totongxunlu22">
  23. {{pageInfo2.des2||0}}
  24. </view>
  25. <view class="btn-box-3 mart-t" @click="totongxunlu23">
  26. {{pageInfo2.total_count2}}
  27. </view>
  28. <view class="btn-box-4 mart-t">
  29. {{pageInfo.industryc}}
  30. </view>
  31. </view>
  32. <view class="center-left-box">
  33. <view class="btn-box-text mart-t">
  34. 平台企业数
  35. </view>
  36. <view class="btn-box-text mart-t">
  37. 当日活跃数
  38. </view>
  39. <view class="btn-box-text mart-t">
  40. 当月活跃数
  41. </view>
  42. <view class="btn-box-text mart-t">
  43. 细分行业数
  44. </view>
  45. </view>
  46. </view>
  47. <!-- <view >
  48. <view class="btn-box-1-1 mart-t">
  49. 最新产品供需
  50. </view>
  51. </view> -->
  52. <view @click="totongxunlu511" style="display: flex;margin-top: 30rpx;margin-left: 20rpx;padding-left:20rpx ;margin-right:20rpx ;background-color: #FFFF0021;height: 92rpx;align-items: center;">
  53. <image src="/static/img/news.png" style="width: 72rpx;height: 62rpx;"></image>
  54. <swiper class="swiper2" vertical circular :autoplay="true" :interval="3000" :duration="800">
  55. <swiper-item v-for="(item, index) in news" :key="index">
  56. <view style="color: #F9AE3D; font-size: 28rpx;padding-left: 10rpx;display: flex;align-items: center;"> {{item.des2}}({{item.des5}}) </view>
  57. </swiper-item>
  58. </swiper>
  59. </view>
  60. <view class="center-box">
  61. <view class="center-left-box" style="margin-top: 60rpx;">
  62. <view class="btn-Imbox" @click="totongxunlu">
  63. <image class="center-img" src="/static/img/icon1.png"></image>
  64. <p>重点园区</p>
  65. </view>
  66. <view class="btn-Imbox" @click="totongxunlu2">
  67. <image class="center-img" src="/static/img/icon2.png"></image>
  68. <p>产业图谱</p>
  69. </view>
  70. <view class="btn-Imbox" @click="totongxunlu6">
  71. <image class="center-img" src="/static/img/icon4.png"></image>
  72. <p>产品分布</p>
  73. </view>
  74. </view>
  75. <view class="center-left-box">
  76. <view class="btn-Imbox" @click="totongxunlu7">
  77. <image class="center-img" src="/static/img/icon9.png"></image>
  78. <p>双50强企业</p>
  79. </view>
  80. <view class="btn-Imbox" @click="totongxunlu3">
  81. <image class="center-img" src="/static/img/icon3.png"></image>
  82. <p>链主企业</p>
  83. </view>
  84. <view class="btn-Imbox" @click="totongxunlu4">
  85. <image class="center-img" src="/static/img/icon8.png"></image>
  86. <p>产品供需</p>
  87. </view>
  88. <!-- <view class="btn-Imbox" v-if="isLogin!=null" @click="outlogin">
  89. <image class="center-img" src="/static/img/icon7.png"></image>
  90. <p>退出登录</p>
  91. </view>
  92. <view class="btn-Imbox" v-if="isLogin==null" @click="outlogin">
  93. <image class="center-img" src="/static/img/icon6.png"></image>
  94. <p>立即登录</p>
  95. </view> -->
  96. </view>
  97. <view class="center-left-box">
  98. <view class="btn-Imbox" @click="totongxunlu5">
  99. <image class="center-img" src="/static/img/icon5.png"></image>
  100. <p>我的发布</p>
  101. </view>
  102. <!-- <view class="btn-Imbox" @click="totongxunlu3">
  103. <image class="center-img" src="/static/img/icon3.png"></image>
  104. <p>链主企业</p>
  105. </view>
  106. <view class="btn-Imbox" @click="totongxunlu4">
  107. <image class="center-img" src="/static/img/icon8.png"></image>
  108. <p>产品供需</p>
  109. </view> -->
  110. <view class="btn-Imbox" v-if="isLogin!=null" @click="tosetting">
  111. <image class="center-img" src="/static/img/setting_s.png"></image>
  112. <p>个人信息</p>
  113. </view>
  114. <view class="btn-Imbox" v-if="isLogin!=null" @click="outlogin">
  115. <image class="center-img" src="/static/img/icon7.png"></image>
  116. <p>退出登录</p>
  117. </view>
  118. <view class="btn-Imbox" v-if="isLogin==null" @click="outlogin">
  119. <image class="center-img" src="/static/img/icon6.png"></image>
  120. <p>立即登录</p>
  121. </view>
  122. </view>
  123. </view>
  124. <!-- <view :style="[{top:CustomBar + 'px'}]">
  125. <view class="search-box">
  126. <view class="search-box1">
  127. <view class="choose-box">
  128. <input type="text" placeholder="输入或选择属地" v-model="searchForm.des1" confirm-type="search" style="padding-left: 28rpx;"
  129. ></input>
  130. <jp-picker class="choose-boxp" v-model="searchForm.des1" rangeKey="label" rangeValue="value"
  131. :range="parkList2" >
  132. </jp-picker>
  133. </view>
  134. <view class="choose-box">
  135. <input type="text" placeholder="输入或选择行业" v-model="searchForm.industry" confirm-type="search" style="padding-left: 28rpx;"
  136. ></input>
  137. <jp-picker class="choose-boxp" v-model="searchForm.industry" rangeKey="label" rangeValue="value"
  138. :range="parkList" >
  139. </jp-picker>
  140. </view>
  141. </view>
  142. <view class="choose-box2" style="margin-top: 20rpx;">
  143. <view class="choose-box3">
  144. <view style="width: 300rpx;display: flex;align-items: center;color: #666666;font-size: 33rpx;">
  145. 产业链环节:
  146. </view>
  147. <DoublePicker
  148. :column1Label="''"
  149. :column2Label="''"
  150. :column1Data="parkList3"
  151. :column2Data="parkList4"
  152. v-model="ddd1"
  153. @update:column2Data="updateCities"
  154. />
  155. </view>
  156. </view>
  157. <view class="choose-box2" style="margin-top: 20rpx;">
  158. <view style="width: 520rpx;">
  159. <input type="text" placeholder="输入关键词产品或企业名称" v-model="searchForm.name" confirm-type="search"
  160. ></input>
  161. </view>
  162. <text style="padding-left: 40rpx;flex: 1;" class="cuIcon-search color-white" @click="doSearch"></text>
  163. </view>
  164. </view>
  165. <mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" :up="upOption" @up="upCallback">
  166. <view class="cu-item" :class="modalName=='move-box-'+ index?'move-cur':''"
  167. v-for="(item, index) in dataList" :key="index" @touchstart="ListTouchStart"
  168. @touchmove="ListTouchMove" @touchend="ListTouchEnd" :data-target="'move-box-' + index">
  169. <view class="item-box" @click="gotoBuildInfo(item.id)">
  170. <view class="item-title">
  171. <view>
  172. {{item.name}}
  173. </view>
  174. </view>
  175. <view class="item-line">
  176. <view v-if="item.bz3!=''&&item.bz3!=undefined" class="item-name">{{item.bz1}}、{{item.bz3}}</view>
  177. <view v-if="item.bz3==''||item.bz3==undefined" class="item-name">{{item.bz1}}</view>
  178. </view>
  179. <view class="item-line">
  180. <view class="item-name2">{{item.industry}}</view>
  181. <view class="item-name3">{{item.des1}}</view>
  182. </view>
  183. </view>
  184. </view>
  185. </mescroll-body>
  186. <uni-fab :pattern=" {
  187. color: '#7A7E83',
  188. backgroundColor: '#fff',
  189. selectedColor: '#007AFF',
  190. buttonColor: '#007AFF'
  191. }" horizontal="right" vertical="bottom" @fabClick="add" v-if="stype == 5"></uni-fab>
  192. </view> -->
  193. <!-- <view @click="outlogin" class="fixed-bottom-right" v-if="isLogin!=null">
  194. <image class="center-img2" src="/static/img/icon_logout.png"></image>
  195. </view> -->
  196. </view>
  197. </view>
  198. </template>
  199. <script>
  200. import loginService from "@/api/auth/loginService";
  201. import uniFab from '@/components/uni-fab/uni-fab.vue';
  202. import DoublePicker from '@/components/DoublePicker/DoublePicker.vue'
  203. import MescrollMixin from "@/components/mescroll-uni/mescroll-mixins.js";
  204. import MescrollMoreItemMixin from "@/components/mescroll-uni/mixins/mescroll-more-item.js";
  205. import * as $auth from "../../common/auth"
  206. import {mapActions} from 'vuex'
  207. export default {
  208. mixins: [MescrollMixin, MescrollMoreItemMixin], // 使用mixin (在main.js注册全局组件)
  209. name: "apps",
  210. components: {
  211. uniFab,
  212. DoublePicker
  213. },
  214. data() {
  215. return {
  216. isBack: true, // 是否显示返回按钮
  217. backText: '返回', // 返回按钮的文本
  218. bgColor: 'bg-blue', // 背景颜色
  219. isLogin:"",
  220. pageInfo: {},
  221. pageInfo2: {},
  222. news:[],
  223. loginid:"",
  224. stype: "", // 企业 => 3 楼宇 => 2 园区 => 1 zfadmin => 4 admin=> 5
  225. searchForm: {
  226. des1:"",
  227. industry:"",
  228. name:"",
  229. },
  230. picture:["https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg1.jpg",
  231. "https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg2.jpg",
  232. "https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg3.jpg",
  233. "https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg4.jpg"],
  234. curWord: "", //当前搜索关键词
  235. dataList: [], // 数据列表
  236. modalName: null,
  237. tablePage: {
  238. total: 0,
  239. currentPage: 1,
  240. pageSize: 10,
  241. orders: []
  242. },
  243. loading: false,
  244. parkId: '',
  245. parkList: [],
  246. parkList2: [],
  247. parkList3: [],
  248. parkList4: [],
  249. ddd1:"" ,
  250. };
  251. },
  252. onLoad(query) {
  253. if(query!=undefined&&query!=null&&query!=''){
  254. if(query.loginid!=undefined){
  255. this.loginid=query.loginid
  256. this.autoLogin();
  257. }
  258. }
  259. },
  260. onShow() {
  261. this.isLogin=this.$auth.checkisLogin();
  262. },
  263. created() {
  264. this.getPageInfo();
  265. this.getParkList()
  266. this.getParkList2()
  267. this.getParkList3()
  268. },
  269. methods: {
  270. ...mapActions(['refreshUserInfo']),
  271. //选择产业链环节
  272. getParkList3() {
  273. loginService.getIndustryChainList({
  274. }).then(({
  275. data
  276. }) => {
  277. // this.parkList3 = data.map((item) => {
  278. // return {
  279. // label: item.bz2,
  280. // value: item.bz2
  281. // }
  282. // });
  283. this.parkList3=[{label: '上游',value: '上游'},{label: '中游',value: '中游'},{label: '下游',value: '下游'}]
  284. this.parkList4 = data
  285. .map((item) => {
  286. const match = item.bz2.match(/\((.*?)\)/); // 匹配括号内的内容
  287. if (match) {
  288. return {
  289. label: match[1], // 括号内的内容
  290. value: match[1] // 括号内的内容
  291. };
  292. }
  293. return null; // 如果没有括号,返回 null
  294. })
  295. .filter((item) => item !== null) // 过滤掉 null 值
  296. .reduce((acc, current) => {
  297. // 使用 Set 去重
  298. const existingItem = acc.find((item) => item.value === current.value);
  299. if (!existingItem) {
  300. acc.push(current);
  301. }
  302. return acc;
  303. }, []);
  304. this.parkList3.unshift({
  305. label: "全部",
  306. value: ""
  307. });
  308. this.parkList4.unshift({
  309. label: "全部",
  310. value: ""
  311. });
  312. }).catch(e => {
  313. console.log(e)
  314. })
  315. },
  316. //选择属地
  317. getParkList2() {
  318. loginService.getAreaList({
  319. }).then(({
  320. data
  321. }) => {
  322. this.parkList2 = data.map((item) => {
  323. return {
  324. label: item.des1,
  325. value: item.des1
  326. }
  327. })
  328. this.parkList2.unshift({
  329. label: "盐都区",
  330. value: ""
  331. });
  332. }).catch(e => {
  333. console.log(e)
  334. })
  335. },
  336. //选择行业
  337. getParkList() {
  338. loginService.getHyList({
  339. }).then(({
  340. data
  341. }) => {
  342. this.parkList = data.map((item) => {
  343. return {
  344. label: item.industry,
  345. value: item.industry
  346. }
  347. })
  348. this.parkList.unshift({
  349. label: "全部",
  350. value: ""
  351. });
  352. }).catch(e => {
  353. console.log(e)
  354. })
  355. },
  356. /*获取数据列表 */
  357. upCallback(page) {
  358. this.loading = true
  359. loginService.comlist({
  360. current: page.num,
  361. size: page.size,
  362. name: this.curWord,
  363. des1: this.parkId,
  364. orders: [{ column: 'a.create_date', asc: false }],
  365. ...this.searchForm
  366. }).then(({
  367. data
  368. }) => {
  369. let curPageData = data.records
  370. this.mescroll.endBySize(curPageData.length, data.total);
  371. //如果是第一页需手动制空列表
  372. if (page.num == 1)
  373. this.dataList = [];
  374. //追加新数据
  375. this.dataList = this.dataList.concat(curPageData);
  376. }).catch(e => {
  377. //联网失败, 结束加载
  378. this.mescroll.endErr();
  379. })
  380. },
  381. gotoBuildInfo(id) {
  382. // uni.navigateTo({
  383. // url: `/pages/comEdit/comEdit?id=${id}&ischeck=1`
  384. // })
  385. window.location.href=`/yd_qycpfbH5/#/pages/comEdit/comEdit?id=${id}&ischeck=1`
  386. },
  387. updateCities(newCities) {
  388. this.cities = newCities;
  389. },
  390. // 搜索
  391. doSearch() {
  392. if(this.ddd1.column2!=''&&this.ddd1!=''){
  393. this.searchForm.bz2=this.ddd1.column1+'('+this.ddd1.column2+')';
  394. }else if(this.ddd1!=''){
  395. this.searchForm.bz2=this.ddd1.column1;
  396. }
  397. this.dataList = []; // 先清空列表,显示加载进度
  398. this.mescroll.resetUpScroll();
  399. },
  400. totongxunlu(){
  401. uni.navigateTo({
  402. url: '/pages/comList/comList'
  403. })
  404. },
  405. totongxunlu2(){
  406. uni.navigateTo({
  407. url: '/pages/buildList/buildList2?w=1'
  408. })
  409. },
  410. totongxunlu3(){
  411. uni.navigateTo({
  412. url: '/pages/buildList/buildList?w=2'
  413. })
  414. },
  415. totongxunlu7(){
  416. uni.navigateTo({
  417. url: '/pages/buildList/buildList?w=4'
  418. })
  419. },
  420. totongxunlu6(){
  421. uni.navigateTo({
  422. url: '/pages/buildList/buildList?w=1'
  423. })
  424. },
  425. totongxunlu4(){
  426. uni.navigateTo({
  427. url: '/pages/product/productList?w=1'
  428. })
  429. },
  430. totongxunlu5(){
  431. if(this.isLogin==null){
  432. uni.showModal({
  433. title: '您还未登录,现在去登录?',
  434. showCancel: true,
  435. success: (res) => {
  436. if (res.confirm) {
  437. uni.showLoading()
  438. uni.reLaunch({
  439. url: '/pages/login/login'
  440. })
  441. }
  442. }
  443. });
  444. }else{
  445. uni.navigateTo({
  446. url: '/pages/product/productList?w=2'
  447. })
  448. }
  449. },
  450. totongxunlu22(){
  451. if(this.isLogin==null){
  452. }else{
  453. let roleIds= $auth.getUserInfo().roleIds;
  454. if(roleIds=='1910175386924417025'||roleIds=='17bac1f980264e3e8193bc965538e2c6'||roleIds=='ade960e8f02544998b07397304c059c1'){
  455. uni.navigateTo({
  456. url: '/pages/buildList/buildList3?w=1'
  457. })
  458. }
  459. }
  460. },
  461. totongxunlu23(){
  462. if(this.isLogin==null){
  463. }else{
  464. let roleIds= $auth.getUserInfo().roleIds;
  465. if(roleIds=='1910175386924417025'||roleIds=='17bac1f980264e3e8193bc965538e2c6'||roleIds=='ade960e8f02544998b07397304c059c1'){
  466. uni.navigateTo({
  467. url: '/pages/buildList/buildList3?w=2'
  468. })
  469. }
  470. }
  471. },
  472. getPageInfo() {
  473. loginService.InfoStatistics({}).then(({ data }) => {
  474. this.pageInfo = data;
  475. //103改为 14/103
  476. //this.pageInfo.industryc="14/"+this.pageInfo.industryc;
  477. });
  478. loginService.getDzfCount().then(({
  479. data
  480. }) => {
  481. this.pageInfo2 = data;
  482. }).catch((e) => {
  483. })
  484. loginService.enterpriseother({
  485. current: 1,
  486. size: 5,
  487. orders: [{ column: 'a.create_date', asc: false }]
  488. }).then(({
  489. data
  490. }) => {
  491. let curPageData = data.records
  492. this.news=curPageData;
  493. }).catch(e => {
  494. //联网失败, 结束加载
  495. this.mescroll.endErr();
  496. })
  497. },
  498. autoLogin(){
  499. console.log("登录id"+this.loginid);
  500. loginService.loginid( this.loginid).then(({data}) => {
  501. this.$store.commit('SET_TOKEN',data.token);
  502. this.refreshUserInfo();
  503. }).catch(e => {
  504. console.error(e)
  505. })
  506. },
  507. getRole() {
  508. let userInfo = uni.getStorageSync('WMS-userinfo')
  509. var officeId = userInfo.officeDTO.id;
  510. var roleIds = userInfo.roleIds;
  511. if (roleIds.indexOf("17bac1f980264e3e8193bc965538e2c6") != -1) {
  512. //// 管理员
  513. this.stype = 5
  514. uni.setStorageSync('stype', this.stype);
  515. } else if (roleIds.indexOf("ade960e8f02544998b07397304c059c1") != -1) {
  516. // 政府管理员
  517. this.stype = 4
  518. uni.setStorageSync('stype', this.stype);
  519. } else {
  520. console.log('==================>这里走了么','================>存一个stape')
  521. loginService
  522. .getOtherIdByOffceid({
  523. officeid: officeId,
  524. })
  525. .then(({
  526. data
  527. }) => {
  528. console.log(data, "====================>getOtherIdByOffceid");
  529. this.stype = data.stype;
  530. uni.setStorageSync('stype', this.stype);
  531. });
  532. }
  533. },
  534. outloginset(){
  535. loginService.logout().then(({
  536. data
  537. }) => {
  538. this.$store.commit('logout');
  539. uni.clearStorage();
  540. })
  541. this.$store.commit('logout');
  542. uni.clearStorage();
  543. this.isLogin=this.$auth.checkisLogin();
  544. uni.hideLoading()
  545. },
  546. outlogin() {
  547. uni.showModal({
  548. title: '您确认退出么?',
  549. showCancel: true,
  550. success: (res) => {
  551. if (res.confirm) {
  552. uni.showLoading()
  553. this.outloginset();
  554. // uni.reLaunch({
  555. // url: '/pages/login/login'
  556. // })
  557. }
  558. }
  559. });
  560. },
  561. tosetting() {
  562. uni.navigateTo({
  563. url: '/pages/user/person/person'
  564. })
  565. },
  566. tces() {
  567. uni.navigateTo({
  568. url: '/pages/index/AudioToWord'
  569. })
  570. },
  571. totongxunlu511(){
  572. uni.navigateTo({
  573. url: '/pages/product/productList?w=1'
  574. })
  575. },
  576. // ListTouch触摸开始
  577. ListTouchStart(e) {
  578. this.listTouchStart = e.touches[0].pageX
  579. },
  580. // ListTouch计算方向
  581. ListTouchMove(e) {
  582. this.listTouchDirection = e.touches[0].pageX - this.listTouchStart > -60 ? 'right' : 'left'
  583. },
  584. // ListTouch计算滚动
  585. ListTouchEnd(e) {
  586. if (this.listTouchDirection == 'left') {
  587. this.modalName = e.currentTarget.dataset.target
  588. } else {
  589. this.modalName = null
  590. }
  591. this.listTouchDirection = null
  592. },
  593. handleBack() {
  594. // 返回逻辑,比如跳转至上一页
  595. this.$router.go(-1);
  596. console.log('返回按钮被点击');
  597. }
  598. }
  599. }
  600. </script>
  601. <style>
  602. .page {
  603. height: 100vh;
  604. }
  605. .line-box {
  606. padding-left: 20rpx;
  607. padding-right: 20rpx;
  608. margin-top: 20rpx;
  609. }
  610. .mart-t {
  611. margin-top: 30rpx;
  612. }
  613. .center-box{
  614. margin-top: 20rpx;
  615. width: 100%;
  616. border-radius: 25rpx;
  617. border-radius: 25rpx;
  618. background: #fff;
  619. box-shadow: 0px 8px 16px 2px rgba(101, 101, 101, 0.2);
  620. padding-bottom: 30rpx;
  621. display: flex;
  622. flex-wrap: wrap;
  623. }
  624. .center-left-box {
  625. width: 100%;
  626. padding-bottom: 30rpx;
  627. display: flex;
  628. flex-wrap: wrap;
  629. }
  630. .btn-box-text {
  631. flex:1;
  632. height: 20rpx;
  633. text-align: center;
  634. color: #000000;
  635. font-size: 14px;
  636. font-weight: 700;
  637. }
  638. .btn-box-1 {
  639. flex:1;
  640. height: 30rpx;
  641. text-align: center;
  642. color: #36A7F3;
  643. font-size: x-large;
  644. font-weight: 700;
  645. }
  646. .btn-box-2 {
  647. flex:1;
  648. height: 30rpx;
  649. text-align: center;
  650. color:#F3365A;
  651. font-size: x-large;
  652. font-weight: 700;
  653. }
  654. .btn-box-3 {
  655. flex:1;
  656. height: 30rpx;
  657. text-align: center;
  658. color:#15D578;
  659. font-size: x-large;
  660. font-weight: 700;
  661. }
  662. .btn-box-4 {
  663. flex:1;
  664. height: 30rpx;
  665. text-align: center;
  666. color:#F1A31B;
  667. font-size: x-large;
  668. font-weight: 700;
  669. }
  670. .btn-Imbox {
  671. flex:1;
  672. height: 150rpx;
  673. padding-top: 8rpx;
  674. text-align: center;
  675. display: flex;
  676. flex-direction: column;
  677. justify-content: center; /* 子元素内部内容竖向居中 */
  678. align-items: center; /* 子元素内部内容水平居中 */
  679. text-align: center; /* 文字居中 */
  680. }
  681. .btn-Imbox p {
  682. font-size: 14px; /* 文字大小,可根据需要调整 */
  683. margin: 0; /* 去掉默认的外边距 */
  684. font-weight: 700;
  685. }
  686. .center-img{
  687. width: 90rpx;
  688. height: 90rpx;
  689. margin-bottom: 10rpx;
  690. text-align: center;
  691. }
  692. .center-img2{
  693. width: 70rpx;
  694. height: 70rpx;
  695. margin-top: 10rpx;
  696. margin-bottom: 20rpx;
  697. text-align: center;
  698. }
  699. .kuai-text{
  700. color: #000000;
  701. font-weight: 900;
  702. font-size: 34rpx;
  703. padding-top: 20rpx;
  704. padding-left: 20rpx;
  705. }
  706. .btn-box-5 {
  707. width: 337rpx;
  708. height: 200rpx;
  709. background-image: url('../../static/img/btn3.png');
  710. background-size: 100% 100%;
  711. }
  712. .btn-box-6 {
  713. width: 337rpx;
  714. height: 200rpx;
  715. background-image: url('../../static/img/btn6.png');
  716. background-size: 100% 100%;
  717. }
  718. .h-200 {
  719. height: 200rpx;
  720. }
  721. .swiper {
  722. width: 750rpx;
  723. height: 310rpx;
  724. }
  725. .swiper-item {
  726. width: 750rpx;
  727. height: 310rpx;
  728. background-color: aliceblue;
  729. }
  730. .font-size-35 {
  731. font-size: 35px !important;
  732. }
  733. .img-size {
  734. width: 80rpx;
  735. height: 80rpx;
  736. }
  737. .content-box {
  738. width: 437rpx;
  739. height: 200rpx;
  740. }
  741. .my-app .padding-sm {
  742. padding: 6px;
  743. }
  744. .grid .padding-sm .bg-white {
  745. box-shadow: 0 1px 4px #f9f9f9, 1px 1px 40px rgba(0, 0, 0, .06);
  746. }
  747. .bg-blue {
  748. background: #fff;
  749. color: #0081ff !important;
  750. }
  751. .text-white,
  752. .line-white,
  753. .lines-white {
  754. color: #0081ff !important;
  755. }
  756. .cu-bar .search-form {
  757. background-color: white;
  758. }
  759. .item-box{
  760. width: 710rpx;
  761. background: #FFFFFF;
  762. box-shadow: 0px 1px 3px 0px rgba(9,2,4,0.1);
  763. border-radius: 10px;
  764. padding-top: 20rpx;
  765. padding-left: 38rpx;
  766. padding-right: 10rpx;
  767. margin-top: 20rpx;
  768. }
  769. .item-title{
  770. position: relative;
  771. display: flex;
  772. justify-content: space-between;
  773. font-size: 30rpx;
  774. color: #010101;
  775. font-weight: bold;
  776. align-items: center;
  777. }
  778. .item-line{
  779. display: flex;
  780. height: 48rpx;
  781. margin-top: 20rpx;
  782. }
  783. .item-line2{
  784. height: 48rpx;
  785. margin-top: 20rpx;
  786. }
  787. .subtitle{
  788. color: #E5880E;
  789. }
  790. .item-name{
  791. margin-top: 5rpx;
  792. font-size: 29rpx;
  793. color: #666666;
  794. }
  795. .item-name2{
  796. font-size: 29rpx;
  797. color: #676D99;
  798. }
  799. .item-name3{
  800. display: flex;
  801. width: 100%;
  802. padding-right: 30rpx;
  803. flex: 1;
  804. justify-content: flex-end;
  805. font-size: 29rpx;
  806. color: #676D99;
  807. }
  808. .item-content{
  809. color: #1497EF;
  810. font-size: 30rpx;
  811. }
  812. .btn-box{
  813. display: flex;
  814. }
  815. .line-zs{
  816. width: 2rpx;
  817. height: 30rpx;
  818. background: #36A7F3;
  819. }
  820. .edit-botton{
  821. width: 100rpx;
  822. height: 48rpx;
  823. line-height: 48rpx;
  824. color: #fff;
  825. font-size: 28rpx;
  826. margin-right: 20rpx;
  827. border-radius: 10rpx;
  828. background: #5A9EE9;
  829. text-align: center;
  830. }
  831. .del-botton{
  832. width: 100rpx;
  833. height: 48rpx;
  834. line-height: 48rpx;
  835. color: #fff;
  836. font-size: 28rpx;
  837. margin-right: 20rpx;
  838. border-radius: 10rpx;
  839. background: #F27C85;
  840. text-align: center;
  841. }
  842. .color-white{
  843. color: #808080;
  844. font-size: 40rpx;
  845. line-height: 60rpx;
  846. }
  847. .search-box{
  848. padding-left: 20rpx;
  849. padding-right: 20rpx;
  850. padding-top: 20rpx;
  851. margin-top: 20rpx;
  852. width: 100%;
  853. border-radius: 25rpx;
  854. border-radius: 25rpx;
  855. background: #fff;
  856. box-shadow: 0px 8px 16px 2px rgba(101, 101, 101, 0.2);
  857. padding-bottom: 30rpx;
  858. display: flex;
  859. flex-wrap: wrap;
  860. }
  861. .search-box1{
  862. display: flex;
  863. }
  864. .input-box{
  865. background: #fff;
  866. height: 65rpx;
  867. width: 640rpx;
  868. display: flex;
  869. align-items: center;
  870. border-radius: 30rpx;
  871. padding-left: 30rpx;
  872. margin-right: 20rpx;
  873. }
  874. .input-boxinput{
  875. height: 75rpx;
  876. font-size: 15rpx;
  877. }
  878. .choose-box{
  879. background: #fff;
  880. width: 325rpx;
  881. border-radius: 23rpx;
  882. height: 70rpx;
  883. display: flex;
  884. align-items: center;
  885. justify-content: center;
  886. margin-right: 20rpx;
  887. border: 1rpx solid #808080;
  888. }
  889. .choose-box2{
  890. background: #fff;
  891. width: 100%;
  892. border-radius: 23rpx;
  893. height: 70rpx;
  894. display: flex;
  895. padding-left: 29rpx;
  896. align-items: center;
  897. border: 1rpx solid #808080;
  898. }
  899. .choose-box3{
  900. display: flex;
  901. }
  902. .choose-boxp{
  903. font-size: 32rpx;
  904. width: 80rpx;
  905. }
  906. .fixed-bottom-right {
  907. padding: 20rpx;
  908. position: fixed;
  909. bottom: 20px; /* 距离底部的距离 */
  910. right: 20px; /* 距离右侧的距离 */
  911. }
  912. /* 返回 */
  913. .item-img {
  914. width: 160rpx;
  915. height: 160rpx;
  916. }
  917. .custom-header {
  918. display: flex;
  919. align-items: center;
  920. justify-content: center;
  921. padding: 10px;
  922. width: 100%;
  923. }
  924. .is-back {
  925. position: relative;
  926. }
  927. .back-container {
  928. position: absolute;
  929. left: 10px;
  930. cursor: pointer;
  931. }
  932. .back-text {
  933. color: white; /* 返回按钮文本颜色 */
  934. }
  935. .back-text {
  936. color: white; /* 返回按钮文本颜色 */
  937. }
  938. .content-container {
  939. flex: 1;
  940. text-align: center;
  941. }
  942. .content-text {
  943. color: white; /* 标题文本颜色 */
  944. font-weight: bold;
  945. }
  946. /* 背景颜色 */
  947. .bg-blue {
  948. background-color: #4285f4; /* 假设这是一个蓝色背景 */
  949. }
  950. .btn-box-1-1 {
  951. height: 30rpx;
  952. text-align: left;
  953. color: #269ff8;
  954. font-size:28rpx;
  955. margin-left:30rpx ;
  956. font-weight: 600;
  957. }
  958. .swiper2 {
  959. width: 750rpx;
  960. height: 42rpx;
  961. }
  962. .swiper2-item {
  963. width: 750rpx;
  964. height: 42rpx;
  965. background-color: #F9AE3D;
  966. }
  967. </style>