index.vue 24 KB

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