buildList.vue 23 KB

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