buildList.vue 26 KB

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