buildList.vue 23 KB

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