index.vue 25 KB

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