index.vue 23 KB

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