index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065
  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="outlogin">
  98. <image class="center-img" src="/static/img/icon7.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/icon6.png"></image>
  103. <p>立即登录</p>
  104. </view>
  105. <view class="btn-Imbox" >
  106. </view>
  107. </view>
  108. </view>
  109. <!-- <view :style="[{top:CustomBar + 'px'}]">
  110. <view class="search-box">
  111. <view class="search-box1">
  112. <view class="choose-box">
  113. <input type="text" placeholder="输入或选择属地" v-model="searchForm.des1" confirm-type="search" style="padding-left: 28rpx;"
  114. ></input>
  115. <jp-picker class="choose-boxp" v-model="searchForm.des1" rangeKey="label" rangeValue="value"
  116. :range="parkList2" >
  117. </jp-picker>
  118. </view>
  119. <view class="choose-box">
  120. <input type="text" placeholder="输入或选择行业" v-model="searchForm.industry" confirm-type="search" style="padding-left: 28rpx;"
  121. ></input>
  122. <jp-picker class="choose-boxp" v-model="searchForm.industry" rangeKey="label" rangeValue="value"
  123. :range="parkList" >
  124. </jp-picker>
  125. </view>
  126. </view>
  127. <view class="choose-box2" style="margin-top: 20rpx;">
  128. <view class="choose-box3">
  129. <view style="width: 300rpx;display: flex;align-items: center;color: #666666;font-size: 33rpx;">
  130. 产业链环节:
  131. </view>
  132. <DoublePicker
  133. :column1Label="''"
  134. :column2Label="''"
  135. :column1Data="parkList3"
  136. :column2Data="parkList4"
  137. v-model="ddd1"
  138. @update:column2Data="updateCities"
  139. />
  140. </view>
  141. </view>
  142. <view class="choose-box2" style="margin-top: 20rpx;">
  143. <view style="width: 520rpx;">
  144. <input type="text" placeholder="输入关键词产品或企业名称" v-model="searchForm.name" confirm-type="search"
  145. ></input>
  146. </view>
  147. <text style="padding-left: 40rpx;flex: 1;" class="cuIcon-search color-white" @click="doSearch"></text>
  148. </view>
  149. </view>
  150. <mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" :up="upOption" @up="upCallback">
  151. <view class="cu-item" :class="modalName=='move-box-'+ index?'move-cur':''"
  152. v-for="(item, index) in dataList" :key="index" @touchstart="ListTouchStart"
  153. @touchmove="ListTouchMove" @touchend="ListTouchEnd" :data-target="'move-box-' + index">
  154. <view class="item-box" @click="gotoBuildInfo(item.id)">
  155. <view class="item-title">
  156. <view>
  157. {{item.name}}
  158. </view>
  159. </view>
  160. <view class="item-line">
  161. <view v-if="item.bz3!=''&&item.bz3!=undefined" class="item-name">{{item.bz1}}、{{item.bz3}}</view>
  162. <view v-if="item.bz3==''||item.bz3==undefined" class="item-name">{{item.bz1}}</view>
  163. </view>
  164. <view class="item-line">
  165. <view class="item-name2">{{item.industry}}</view>
  166. <view class="item-name3">{{item.des1}}</view>
  167. </view>
  168. </view>
  169. </view>
  170. </mescroll-body>
  171. <uni-fab :pattern=" {
  172. color: '#7A7E83',
  173. backgroundColor: '#fff',
  174. selectedColor: '#007AFF',
  175. buttonColor: '#007AFF'
  176. }" horizontal="right" vertical="bottom" @fabClick="add" v-if="stype == 5"></uni-fab>
  177. </view> -->
  178. <view @click="outlogin" class="fixed-bottom-right" v-if="isLogin!=null">
  179. <image class="center-img2" src="/static/img/icon_logout.png"></image>
  180. </view>
  181. </view>
  182. </view>
  183. </template>
  184. <script>
  185. import loginService from "@/api/auth/loginService";
  186. import uniFab from '@/components/uni-fab/uni-fab.vue';
  187. import DoublePicker from '@/components/DoublePicker/DoublePicker.vue'
  188. import MescrollMixin from "@/components/mescroll-uni/mescroll-mixins.js";
  189. import MescrollMoreItemMixin from "@/components/mescroll-uni/mixins/mescroll-more-item.js";
  190. import {mapActions} from 'vuex'
  191. export default {
  192. mixins: [MescrollMixin, MescrollMoreItemMixin], // 使用mixin (在main.js注册全局组件)
  193. name: "apps",
  194. components: {
  195. uniFab,
  196. DoublePicker
  197. },
  198. data() {
  199. return {
  200. isBack: true, // 是否显示返回按钮
  201. backText: '返回', // 返回按钮的文本
  202. bgColor: 'bg-blue', // 背景颜色
  203. isLogin:"",
  204. pageInfo: {},
  205. loginid:"",
  206. stype: "", // 企业 => 3 楼宇 => 2 园区 => 1 zfadmin => 4 admin=> 5
  207. searchForm: {
  208. des1:"",
  209. industry:"",
  210. name:"",
  211. },
  212. picture:["https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg1.jpg",
  213. "https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg2.jpg",
  214. "https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg3.jpg",
  215. "https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg4.jpg"],
  216. curWord: "", //当前搜索关键词
  217. dataList: [], // 数据列表
  218. modalName: null,
  219. tablePage: {
  220. total: 0,
  221. currentPage: 1,
  222. pageSize: 10,
  223. orders: []
  224. },
  225. loading: false,
  226. parkId: '',
  227. parkList: [],
  228. parkList2: [],
  229. parkList3: [],
  230. parkList4: [],
  231. ddd1:"" ,
  232. };
  233. },
  234. onLoad(query) {
  235. if(query!=undefined&&query!=null&&query!=''){
  236. if(query.loginid!=undefined){
  237. this.loginid=query.loginid
  238. this.autoLogin();
  239. }
  240. }
  241. },
  242. onShow() {
  243. this.isLogin=this.$auth.checkisLogin();
  244. },
  245. created() {
  246. this.getPageInfo();
  247. this.getParkList()
  248. this.getParkList2()
  249. this.getParkList3()
  250. },
  251. methods: {
  252. ...mapActions(['refreshUserInfo']),
  253. //选择产业链环节
  254. getParkList3() {
  255. loginService.getIndustryChainList({
  256. }).then(({
  257. data
  258. }) => {
  259. // this.parkList3 = data.map((item) => {
  260. // return {
  261. // label: item.bz2,
  262. // value: item.bz2
  263. // }
  264. // });
  265. this.parkList3=[{label: '上游',value: '上游'},{label: '中游',value: '中游'},{label: '下游',value: '下游'}]
  266. this.parkList4 = data
  267. .map((item) => {
  268. const match = item.bz2.match(/\((.*?)\)/); // 匹配括号内的内容
  269. if (match) {
  270. return {
  271. label: match[1], // 括号内的内容
  272. value: match[1] // 括号内的内容
  273. };
  274. }
  275. return null; // 如果没有括号,返回 null
  276. })
  277. .filter((item) => item !== null) // 过滤掉 null 值
  278. .reduce((acc, current) => {
  279. // 使用 Set 去重
  280. const existingItem = acc.find((item) => item.value === current.value);
  281. if (!existingItem) {
  282. acc.push(current);
  283. }
  284. return acc;
  285. }, []);
  286. this.parkList3.unshift({
  287. label: "全部",
  288. value: ""
  289. });
  290. this.parkList4.unshift({
  291. label: "全部",
  292. value: ""
  293. });
  294. }).catch(e => {
  295. console.log(e)
  296. })
  297. },
  298. //选择属地
  299. getParkList2() {
  300. loginService.getAreaList({
  301. }).then(({
  302. data
  303. }) => {
  304. this.parkList2 = data.map((item) => {
  305. return {
  306. label: item.des1,
  307. value: item.des1
  308. }
  309. })
  310. this.parkList2.unshift({
  311. label: "盐都区",
  312. value: ""
  313. });
  314. }).catch(e => {
  315. console.log(e)
  316. })
  317. },
  318. //选择行业
  319. getParkList() {
  320. loginService.getHyList({
  321. }).then(({
  322. data
  323. }) => {
  324. this.parkList = data.map((item) => {
  325. return {
  326. label: item.industry,
  327. value: item.industry
  328. }
  329. })
  330. this.parkList.unshift({
  331. label: "全部",
  332. value: ""
  333. });
  334. }).catch(e => {
  335. console.log(e)
  336. })
  337. },
  338. /*获取数据列表 */
  339. upCallback(page) {
  340. this.loading = true
  341. loginService.comlist({
  342. current: page.num,
  343. size: page.size,
  344. name: this.curWord,
  345. des1: this.parkId,
  346. orders: [{ column: 'a.create_date', asc: false }],
  347. ...this.searchForm
  348. }).then(({
  349. data
  350. }) => {
  351. let curPageData = data.records
  352. this.mescroll.endBySize(curPageData.length, data.total);
  353. //如果是第一页需手动制空列表
  354. if (page.num == 1)
  355. this.dataList = [];
  356. //追加新数据
  357. this.dataList = this.dataList.concat(curPageData);
  358. }).catch(e => {
  359. //联网失败, 结束加载
  360. this.mescroll.endErr();
  361. })
  362. },
  363. gotoBuildInfo(id) {
  364. // uni.navigateTo({
  365. // url: `/pages/comEdit/comEdit?id=${id}&ischeck=1`
  366. // })
  367. window.location.href=`/yd_qycpfbH5/#/pages/comEdit/comEdit?id=${id}&ischeck=1`
  368. },
  369. updateCities(newCities) {
  370. this.cities = newCities;
  371. },
  372. // 搜索
  373. doSearch() {
  374. if(this.ddd1.column2!=''&&this.ddd1!=''){
  375. this.searchForm.bz2=this.ddd1.column1+'('+this.ddd1.column2+')';
  376. }else if(this.ddd1!=''){
  377. this.searchForm.bz2=this.ddd1.column1;
  378. }
  379. this.dataList = []; // 先清空列表,显示加载进度
  380. this.mescroll.resetUpScroll();
  381. },
  382. totongxunlu(){
  383. uni.navigateTo({
  384. url: '/pages/comList/comList'
  385. })
  386. },
  387. totongxunlu2(){
  388. uni.navigateTo({
  389. url: '/pages/buildList/buildList2?w=1'
  390. })
  391. },
  392. totongxunlu3(){
  393. uni.navigateTo({
  394. url: '/pages/buildList/buildList?w=2'
  395. })
  396. },
  397. totongxunlu7(){
  398. uni.navigateTo({
  399. url: '/pages/buildList/buildList?w=4'
  400. })
  401. },
  402. totongxunlu6(){
  403. uni.navigateTo({
  404. url: '/pages/buildList/buildList?w=1'
  405. })
  406. },
  407. totongxunlu4(){
  408. uni.navigateTo({
  409. url: '/pages/product/productList?w=1'
  410. })
  411. },
  412. totongxunlu5(){
  413. if(this.isLogin==null){
  414. uni.showModal({
  415. title: '您还未登录,现在去登录?',
  416. showCancel: true,
  417. success: (res) => {
  418. if (res.confirm) {
  419. uni.showLoading()
  420. uni.reLaunch({
  421. url: '/pages/login/login'
  422. })
  423. }
  424. }
  425. });
  426. }else{
  427. uni.navigateTo({
  428. url: '/pages/product/productList?w=2'
  429. })
  430. }
  431. },
  432. totongxunlu22(){
  433. uni.navigateTo({
  434. url: '/pages/buildList/buildList3?w=1'
  435. })
  436. },
  437. totongxunlu23(){
  438. uni.navigateTo({
  439. url: '/pages/buildList/buildList3?w=2'
  440. })
  441. },
  442. getPageInfo() {
  443. loginService.InfoStatistics({}).then(({ data }) => {
  444. this.pageInfo = data;
  445. //103改为 14/103
  446. //this.pageInfo.industryc="14/"+this.pageInfo.industryc;
  447. });
  448. },
  449. autoLogin(){
  450. console.log("登录id"+this.loginid);
  451. loginService.loginid( this.loginid).then(({data}) => {
  452. this.$store.commit('SET_TOKEN',data.token);
  453. this.refreshUserInfo();
  454. }).catch(e => {
  455. console.error(e)
  456. })
  457. },
  458. getRole() {
  459. let userInfo = uni.getStorageSync('WMS-userinfo')
  460. var officeId = userInfo.officeDTO.id;
  461. var roleIds = userInfo.roleIds;
  462. if (roleIds.indexOf("17bac1f980264e3e8193bc965538e2c6") != -1) {
  463. //// 管理员
  464. this.stype = 5
  465. uni.setStorageSync('stype', this.stype);
  466. } else if (roleIds.indexOf("ade960e8f02544998b07397304c059c1") != -1) {
  467. // 政府管理员
  468. this.stype = 4
  469. uni.setStorageSync('stype', this.stype);
  470. } else {
  471. console.log('==================>这里走了么','================>存一个stape')
  472. loginService
  473. .getOtherIdByOffceid({
  474. officeid: officeId,
  475. })
  476. .then(({
  477. data
  478. }) => {
  479. console.log(data, "====================>getOtherIdByOffceid");
  480. this.stype = data.stype;
  481. uni.setStorageSync('stype', this.stype);
  482. });
  483. }
  484. },
  485. outloginset(){
  486. loginService.logout().then(({
  487. data
  488. }) => {
  489. this.$store.commit('logout');
  490. uni.clearStorage();
  491. })
  492. this.$store.commit('logout');
  493. uni.clearStorage();
  494. this.isLogin=this.$auth.checkisLogin();
  495. uni.hideLoading()
  496. },
  497. outlogin() {
  498. uni.showModal({
  499. title: '您确认退出么?',
  500. showCancel: true,
  501. success: (res) => {
  502. if (res.confirm) {
  503. uni.showLoading()
  504. this.outloginset();
  505. // uni.reLaunch({
  506. // url: '/pages/login/login'
  507. // })
  508. }
  509. }
  510. });
  511. },
  512. tces() {
  513. uni.navigateTo({
  514. url: '/pages/index/AudioToWord'
  515. })
  516. },
  517. // ListTouch触摸开始
  518. ListTouchStart(e) {
  519. this.listTouchStart = e.touches[0].pageX
  520. },
  521. // ListTouch计算方向
  522. ListTouchMove(e) {
  523. this.listTouchDirection = e.touches[0].pageX - this.listTouchStart > -60 ? 'right' : 'left'
  524. },
  525. // ListTouch计算滚动
  526. ListTouchEnd(e) {
  527. if (this.listTouchDirection == 'left') {
  528. this.modalName = e.currentTarget.dataset.target
  529. } else {
  530. this.modalName = null
  531. }
  532. this.listTouchDirection = null
  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. /* 返回 */
  854. .item-img {
  855. width: 160rpx;
  856. height: 160rpx;
  857. }
  858. .custom-header {
  859. display: flex;
  860. align-items: center;
  861. justify-content: center;
  862. padding: 10px;
  863. width: 100%;
  864. }
  865. .is-back {
  866. position: relative;
  867. }
  868. .back-container {
  869. position: absolute;
  870. left: 10px;
  871. cursor: pointer;
  872. }
  873. .back-text {
  874. color: white; /* 返回按钮文本颜色 */
  875. }
  876. .back-text {
  877. color: white; /* 返回按钮文本颜色 */
  878. }
  879. .content-container {
  880. flex: 1;
  881. text-align: center;
  882. }
  883. .content-text {
  884. color: white; /* 标题文本颜色 */
  885. font-weight: bold;
  886. }
  887. /* 背景颜色 */
  888. .bg-blue {
  889. background-color: #4285f4; /* 假设这是一个蓝色背景 */
  890. }
  891. </style>