Dzfindex.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970
  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 >
  17. <view class="btn-box-1-1 mart-t">
  18. 涉企政策集锦
  19. </view>
  20. </view>
  21. <view @click="totongxunlu511" style="display: flex;margin-top: 30rpx;margin-left: 20rpx;padding-left:20rpx ;margin-right:20rpx ;background-color: #FFFF0021;height: 92rpx;align-items: center;">
  22. <image src="/static/img/laba.png" style="width: 42rpx;height: 42rpx;"></image>
  23. <swiper class="swiper2" vertical circular :autoplay="true" :interval="3000" :duration="800">
  24. <swiper-item v-for="(item, index) in picture" :key="index">
  25. <view style="color: #F9AE3D; font-size: 28rpx;padding-left: 10rpx;display: flex;align-items: center;"> 盐城市关于加快推进新型工业化若干政策措施的通知 </view>
  26. </swiper-item>
  27. </swiper>
  28. </view> -->
  29. <view class="line-box" style="margin-top: 80rpx;">
  30. <view class="center-box">
  31. <view class="kuai-text"></view>
  32. <view class="center-left-box">
  33. <!-- 企业 -->
  34. <view class="btn-Imbox" @click="totongxunlu3" v-if="roleIds=='38a14f1f42ed424eab4cb5d489596b0d'">
  35. <image class="center-img" src="/static/img/cd1.png"></image>
  36. <p>问题诉求{{p1}}</p>
  37. </view>
  38. <!-- 企业 -->
  39. <view class="btn-Imbox" @click="totongxunlu4" v-if="roleIds=='38a14f1f42ed424eab4cb5d489596b0d'">
  40. <image class="center-img" src="/static/img/cd2.png"></image>
  41. <p>满意度评价{{p2}}</p>
  42. </view>
  43. <!-- 企业 -->
  44. <view class="btn-Imbox" @click="totongxunlu3" v-if="roleIds=='38a14f1f42ed424eab4cb5d489596b0d'">
  45. <image class="center-img" src="/static/img/cd3.png"></image>
  46. <p>诉求记录</p>
  47. </view>
  48. <!-- 挂钩干部 -->
  49. <view class="btn-Imbox" @click="totongxunlu25" v-if="roleIds=='1915280292672946177'">
  50. <image class="center-img" src="/static/img/cd5.png"></image>
  51. <p>服务对接</p>
  52. </view>
  53. <!-- 挂钩干部或大走访办公室或交办部门 -->
  54. <view class="btn-Imbox" @click="totongxunlu3" v-if="roleIds=='1915280292672946177'||roleIds=='1910175386924417025'||roleIds=='1910175949166673921'">
  55. <image class="center-img" src="/static/img/cd4.png"></image>
  56. <p>问题处理{{p1}}</p>
  57. </view>
  58. <!-- 大走访办公室或交办部门 -->
  59. <view class="btn-Imbox" @click="totongxunlu5" v-if="roleIds=='1910175386924417025'||roleIds=='1910175949166673921'">
  60. <image class="center-img" src="/static/img/cd6.png"></image>
  61. <p>进度统计</p>
  62. </view>
  63. <view class="btn-Imbox" @click="totongxunlu7">
  64. <image class="center-img" src="/static/img/setting.png"></image>
  65. <p>个人信息</p>
  66. </view>
  67. </view>
  68. </view>
  69. <view @click="outlogin" class="fixed-bottom-right" v-if="isLogin!=null">
  70. <image class="center-img2" src="/static/img/icon_logout.png"></image>
  71. </view>
  72. </view>
  73. </view>
  74. </template>
  75. <script>
  76. import loginService from "@/api/auth/loginService";
  77. import uniFab from '@/components/uni-fab/uni-fab.vue';
  78. import DoublePicker from '@/components/DoublePicker/DoublePicker.vue'
  79. import MescrollMixin from "@/components/mescroll-uni/mescroll-mixins.js";
  80. import MescrollMoreItemMixin from "@/components/mescroll-uni/mixins/mescroll-more-item.js";
  81. import {mapActions} from 'vuex'
  82. import * as $auth from "../../common/auth"
  83. export default {
  84. mixins: [MescrollMixin, MescrollMoreItemMixin], // 使用mixin (在main.js注册全局组件)
  85. name: "apps",
  86. components: {
  87. uniFab,
  88. DoublePicker
  89. },
  90. data() {
  91. return {
  92. isBack: true, // 是否显示返回按钮
  93. backText: '返回', // 返回按钮的文本
  94. bgColor: 'bg-blue', // 背景颜色
  95. isLogin:"",
  96. roleIds:'',
  97. pageInfo: {},
  98. loginid:"",
  99. p1:"",
  100. p2:"",
  101. stype: "", // 企业 => 3 楼宇 => 2 园区 => 1 zfadmin => 4 admin=> 5
  102. searchForm: {
  103. des1:"",
  104. industry:"",
  105. name:"",
  106. },
  107. picture:["https://miniapp.huidutech.com.cn/yd_qycpfbH5/workBenchBannar.jpg",
  108. "https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg1.jpg",
  109. "https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg2.jpg",
  110. "https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg3.jpg",
  111. "https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg4.jpg"],
  112. curWord: "", //当前搜索关键词
  113. dataList: [], // 数据列表
  114. modalName: null,
  115. tablePage: {
  116. total: 0,
  117. currentPage: 1,
  118. pageSize: 10,
  119. orders: []
  120. },
  121. loading: false,
  122. parkId: '',
  123. parkList: [],
  124. parkList2: [],
  125. parkList3: [],
  126. parkList4: [],
  127. ddd1:"" ,
  128. };
  129. },
  130. onLoad(query) {
  131. if(query!=undefined&&query!=null&&query!=''){
  132. if(query.loginid!=undefined){
  133. this.loginid=query.loginid
  134. this.autoLogin();
  135. }
  136. }
  137. this.roleIds= $auth.getUserInfo().roleIds;
  138. loginService.getDelCount().then(({
  139. data
  140. }) => {
  141. if(data.qcount!='0'){
  142. this.p1="("+data.qcount+")";
  143. }
  144. if(data.pcount!='0'){
  145. this.p2="("+data.pcount+")";
  146. }
  147. }).catch((e) => {
  148. uni.hideLoading();
  149. })
  150. },
  151. onShow() {
  152. this.isLogin=this.$auth.checkisLogin();
  153. },
  154. created() {
  155. },
  156. methods: {
  157. ...mapActions(['refreshUserInfo']),
  158. //选择产业链环节
  159. getParkList3() {
  160. loginService.getIndustryChainList({
  161. }).then(({
  162. data
  163. }) => {
  164. // this.parkList3 = data.map((item) => {
  165. // return {
  166. // label: item.bz2,
  167. // value: item.bz2
  168. // }
  169. // });
  170. this.parkList3=[{label: '上游',value: '上游'},{label: '中游',value: '中游'},{label: '下游',value: '下游'}]
  171. this.parkList4 = data
  172. .map((item) => {
  173. const match = item.bz2.match(/\((.*?)\)/); // 匹配括号内的内容
  174. if (match) {
  175. return {
  176. label: match[1], // 括号内的内容
  177. value: match[1] // 括号内的内容
  178. };
  179. }
  180. return null; // 如果没有括号,返回 null
  181. })
  182. .filter((item) => item !== null) // 过滤掉 null 值
  183. .reduce((acc, current) => {
  184. // 使用 Set 去重
  185. const existingItem = acc.find((item) => item.value === current.value);
  186. if (!existingItem) {
  187. acc.push(current);
  188. }
  189. return acc;
  190. }, []);
  191. this.parkList3.unshift({
  192. label: "全部",
  193. value: ""
  194. });
  195. this.parkList4.unshift({
  196. label: "全部",
  197. value: ""
  198. });
  199. }).catch(e => {
  200. console.log(e)
  201. })
  202. },
  203. /*获取数据列表 */
  204. upCallback(page) {
  205. //this.loading = true
  206. this.mescroll.endBySize(3, 3);
  207. this.dataList=[{"name":"企业大走访","des":"企业在遇到问题时,可随时填写问题反馈,相关部门会协助企业解决问题,及时跟进相关问题,更好的服务企业。"},
  208. {"name":"都企供需","des":"企业供需、产业图谱、重点园区、产品分布是区域经济发展的重要组成部分。产业图谱解析产业链上下游关系,重点园区承载产业集聚发展,产品分布反映区域产业特色,共同推动区域经济高质量发展。"},
  209. {"name":"涉企政策","des":"对企业的相关优惠政策,我们会及时更公布,让企业更好更精准的了解相关政策优惠,决定企业走向。"}];
  210. },
  211. gotoBuildInfo(name) {
  212. if(name=='企业大走访'){
  213. uni.navigateTo({
  214. url: '/pages/question/questionList'
  215. })
  216. }else if(name=='都企供需'){
  217. uni.navigateTo({
  218. url: '/pages/index/index'
  219. })
  220. }else{
  221. uni.navigateTo({
  222. url: '/pages/policy/policyList'
  223. })
  224. }
  225. },
  226. updateCities(newCities) {
  227. this.cities = newCities;
  228. },
  229. // 搜索
  230. doSearch() {
  231. if(this.ddd1.column2!=''&&this.ddd1!=''){
  232. this.searchForm.bz2=this.ddd1.column1+'('+this.ddd1.column2+')';
  233. }else if(this.ddd1!=''){
  234. this.searchForm.bz2=this.ddd1.column1;
  235. }
  236. this.dataList = []; // 先清空列表,显示加载进度
  237. this.mescroll.resetUpScroll();
  238. },
  239. totongxunlu(){
  240. uni.navigateTo({
  241. url: '/pages/comList/comList'
  242. })
  243. },
  244. totongxunlu2(){
  245. uni.navigateTo({
  246. url: '/pages/buildList/buildList2?w=1'
  247. })
  248. },
  249. totongxunlu3(){
  250. //window.location.href = "https://dlt.yczgsz.com/mini/pageEnterpriseVisit/workbench/workbench"
  251. uni.navigateTo({
  252. url: '/pages/question/questionList'
  253. })
  254. },
  255. totongxunlu6(){
  256. uni.navigateTo({
  257. url: '/pages/buildList/buildList?w=1'
  258. })
  259. },
  260. totongxunlu4(){
  261. uni.navigateTo({
  262. url: '/pages/question/questionList?w=2'
  263. })
  264. },
  265. totongxunlu5(){
  266. uni.navigateTo({
  267. url: '/pages/progress/progressStatistics'
  268. })
  269. },
  270. totongxunlu7(){
  271. uni.navigateTo({
  272. url: '/pages/user/person/person'
  273. })
  274. },
  275. totongxunlu511(){
  276. uni.navigateTo({
  277. url: '/pages/policy/policyList'
  278. })
  279. },
  280. totongxunlu25(){
  281. uni.navigateTo({
  282. url: '/pages/service/LyService'
  283. })
  284. },
  285. totongxunlu22(){
  286. uni.navigateTo({
  287. url: '/pages/buildList/buildList3?w=1'
  288. })
  289. },
  290. totongxunlu23(){
  291. uni.navigateTo({
  292. url: '/pages/buildList/buildList3?w=2'
  293. })
  294. },
  295. getPageInfo() {
  296. loginService.InfoStatistics({}).then(({ data }) => {
  297. this.pageInfo = data;
  298. //103改为 14/103
  299. //this.pageInfo.industryc="14/"+this.pageInfo.industryc;
  300. });
  301. },
  302. autoLogin(){
  303. console.log("登录id"+this.loginid);
  304. loginService.loginid( this.loginid).then(({data}) => {
  305. this.$store.commit('SET_TOKEN',data.token);
  306. this.refreshUserInfo();
  307. }).catch(e => {
  308. console.error(e)
  309. })
  310. },
  311. getRole() {
  312. let userInfo = uni.getStorageSync('WMS-userinfo')
  313. var officeId = userInfo.officeDTO.id;
  314. var roleIds = userInfo.roleIds;
  315. if (roleIds.indexOf("17bac1f980264e3e8193bc965538e2c6") != -1) {
  316. //// 管理员
  317. this.stype = 5
  318. uni.setStorageSync('stype', this.stype);
  319. } else if (roleIds.indexOf("ade960e8f02544998b07397304c059c1") != -1) {
  320. // 政府管理员
  321. this.stype = 4
  322. uni.setStorageSync('stype', this.stype);
  323. } else {
  324. console.log('==================>这里走了么','================>存一个stape')
  325. loginService
  326. .getOtherIdByOffceid({
  327. officeid: officeId,
  328. })
  329. .then(({
  330. data
  331. }) => {
  332. console.log(data, "====================>getOtherIdByOffceid");
  333. this.stype = data.stype;
  334. uni.setStorageSync('stype', this.stype);
  335. });
  336. }
  337. },
  338. toOut() {
  339. //window.location.href = "https://miniapp.huidutech.com.cn/yd_qycpfbH5/#/"
  340. window.location.href = "https://dlt.yczgsz.com/mini/pageEnterpriseVisit/workbench/workbench"
  341. },
  342. outloginset(){
  343. loginService.logout().then(({
  344. data
  345. }) => {
  346. this.$store.commit('logout');
  347. uni.clearStorage();
  348. })
  349. this.$store.commit('logout');
  350. uni.clearStorage();
  351. this.isLogin=this.$auth.checkisLogin();
  352. uni.hideLoading()
  353. },
  354. outlogin() {
  355. uni.showModal({
  356. title: '您确认退出么?',
  357. showCancel: true,
  358. success: (res) => {
  359. if (res.confirm) {
  360. uni.showLoading()
  361. this.outloginset();
  362. // uni.reLaunch({
  363. // url: '/pages/login/login'
  364. // })
  365. }
  366. }
  367. });
  368. },
  369. tces() {
  370. uni.navigateTo({
  371. url: '/pages/index/AudioToWord'
  372. })
  373. },
  374. // ListTouch触摸开始
  375. ListTouchStart(e) {
  376. this.listTouchStart = e.touches[0].pageX
  377. },
  378. // ListTouch计算方向
  379. ListTouchMove(e) {
  380. this.listTouchDirection = e.touches[0].pageX - this.listTouchStart > -60 ? 'right' : 'left'
  381. },
  382. // ListTouch计算滚动
  383. ListTouchEnd(e) {
  384. if (this.listTouchDirection == 'left') {
  385. this.modalName = e.currentTarget.dataset.target
  386. } else {
  387. this.modalName = null
  388. }
  389. this.listTouchDirection = null
  390. },
  391. handleBack() {
  392. // 返回逻辑,比如跳转至上一页
  393. this.$router.go(-1);
  394. console.log('返回按钮被点击');
  395. }
  396. }
  397. }
  398. </script>
  399. <style>
  400. .page {
  401. height: 100vh;
  402. }
  403. .line-box {
  404. padding-left: 20rpx;
  405. padding-right: 20rpx;
  406. margin-top: 20rpx;
  407. }
  408. .mart-t {
  409. margin-top: 30rpx;
  410. }
  411. .center-box{
  412. margin-top: 20rpx;
  413. width: 100%;
  414. border-radius: 25rpx;
  415. border-radius: 25rpx;
  416. background: #fff;
  417. box-shadow: 0px 8px 16px 2px rgba(101, 101, 101, 0.2);
  418. padding-bottom: 30rpx;
  419. display: flex;
  420. flex-wrap: wrap;
  421. }
  422. .center-left-box {
  423. width: 100%;
  424. margin-top: 20rpx;
  425. padding-bottom: 30rpx;
  426. display: flex;
  427. flex-wrap: wrap;
  428. }
  429. .btn-box-text {
  430. flex:1;
  431. height: 20rpx;
  432. text-align: center;
  433. color: #000000;
  434. font-size: 14px;
  435. font-weight: 700;
  436. }
  437. .btn-box-1 {
  438. flex:1;
  439. height: 30rpx;
  440. text-align: center;
  441. color: #36A7F3;
  442. font-size: x-large;
  443. font-weight: 700;
  444. }
  445. .btn-box-1-1 {
  446. height: 30rpx;
  447. text-align: left;
  448. color: #269ff8;
  449. font-size:large;
  450. margin-left:30rpx ;
  451. font-weight: 600;
  452. }
  453. .btn-box-2 {
  454. flex:1;
  455. height: 30rpx;
  456. text-align: center;
  457. color:#F3365A;
  458. font-size: x-large;
  459. font-weight: 700;
  460. }
  461. .btn-box-3 {
  462. flex:1;
  463. height: 30rpx;
  464. text-align: center;
  465. color:#15D578;
  466. font-size: x-large;
  467. font-weight: 700;
  468. }
  469. .btn-box-4 {
  470. flex:1;
  471. height: 30rpx;
  472. text-align: center;
  473. color:#F1A31B;
  474. font-size: x-large;
  475. font-weight: 700;
  476. }
  477. .btn-Imbox {
  478. flex:1;
  479. height: 150rpx;
  480. padding-top: 8rpx;
  481. text-align: center;
  482. display: flex;
  483. flex-direction: column;
  484. justify-content: center; /* 子元素内部内容竖向居中 */
  485. align-items: center; /* 子元素内部内容水平居中 */
  486. text-align: center; /* 文字居中 */
  487. }
  488. .btn-Imbox p {
  489. font-size: 14px; /* 文字大小,可根据需要调整 */
  490. margin: 0; /* 去掉默认的外边距 */
  491. font-weight: 700;
  492. }
  493. .center-img{
  494. width: 70rpx;
  495. height: 70rpx;
  496. margin-bottom: 10rpx;
  497. text-align: center;
  498. }
  499. .center-img2{
  500. width: 70rpx;
  501. height: 70rpx;
  502. margin-top: 10rpx;
  503. margin-bottom: 20rpx;
  504. text-align: center;
  505. }
  506. .kuai-text{
  507. color: #000000;
  508. font-weight: 900;
  509. font-size: 34rpx;
  510. padding-top: 20rpx;
  511. padding-left: 20rpx;
  512. margin-bottom: 20rpx;
  513. }
  514. .btn-box-5 {
  515. width: 337rpx;
  516. height: 200rpx;
  517. background-image: url('../../static/img/btn3.png');
  518. background-size: 100% 100%;
  519. }
  520. .btn-box-6 {
  521. width: 337rpx;
  522. height: 200rpx;
  523. background-image: url('../../static/img/btn6.png');
  524. background-size: 100% 100%;
  525. }
  526. .h-200 {
  527. height: 200rpx;
  528. }
  529. .swiper {
  530. width: 750rpx;
  531. height: 310rpx;
  532. }
  533. .swiper-item {
  534. width: 750rpx;
  535. height: 310rpx;
  536. background-color: aliceblue;
  537. }
  538. .swiper2 {
  539. width: 750rpx;
  540. height: 42rpx;
  541. }
  542. .swiper2-item {
  543. width: 750rpx;
  544. height: 42rpx;
  545. background-color: #F9AE3D;
  546. }
  547. .font-size-35 {
  548. font-size: 35px !important;
  549. }
  550. .img-size {
  551. width: 80rpx;
  552. height: 80rpx;
  553. }
  554. .content-box {
  555. width: 437rpx;
  556. height: 200rpx;
  557. }
  558. .my-app .padding-sm {
  559. padding: 6px;
  560. }
  561. .grid .padding-sm .bg-white {
  562. box-shadow: 0 1px 4px #f9f9f9, 1px 1px 40px rgba(0, 0, 0, .06);
  563. }
  564. .bg-blue {
  565. background: #fff;
  566. color: #0081ff !important;
  567. }
  568. .text-white,
  569. .line-white,
  570. .lines-white {
  571. color: #0081ff !important;
  572. }
  573. .cu-bar .search-form {
  574. background-color: white;
  575. }
  576. .item-box{
  577. width: 710rpx;
  578. background: #FFFFFF;
  579. box-shadow: 0px 1px 3px 0px rgba(9,2,4,0.1);
  580. border-radius: 10px;
  581. padding-top: 20rpx;
  582. padding-left: 38rpx;
  583. padding-right: 10rpx;
  584. margin-top: 20rpx;
  585. }
  586. .item-title{
  587. position: relative;
  588. display: flex;
  589. justify-content: space-between;
  590. font-size: 30rpx;
  591. color: #010101;
  592. font-weight: bold;
  593. align-items: center;
  594. }
  595. .item-line{
  596. display: flex;
  597. height: 48rpx;
  598. margin-top: 20rpx;
  599. }
  600. .item-line2{
  601. height: 48rpx;
  602. margin-top: 20rpx;
  603. }
  604. .subtitle{
  605. color: #E5880E;
  606. }
  607. .item-name{
  608. margin-top: 5rpx;
  609. font-size: 29rpx;
  610. color: #666666;
  611. }
  612. .item-name2{
  613. font-size: 29rpx;
  614. color: #676D99;
  615. }
  616. .item-name3{
  617. display: flex;
  618. width: 100%;
  619. padding-right: 30rpx;
  620. flex: 1;
  621. justify-content: flex-end;
  622. font-size: 29rpx;
  623. color: #676D99;
  624. }
  625. .item-content{
  626. color: #1497EF;
  627. font-size: 30rpx;
  628. }
  629. .btn-box{
  630. display: flex;
  631. }
  632. .line-zs{
  633. width: 2rpx;
  634. height: 30rpx;
  635. background: #36A7F3;
  636. }
  637. .edit-botton{
  638. width: 100rpx;
  639. height: 48rpx;
  640. line-height: 48rpx;
  641. color: #fff;
  642. font-size: 28rpx;
  643. margin-right: 20rpx;
  644. border-radius: 10rpx;
  645. background: #5A9EE9;
  646. text-align: center;
  647. }
  648. .del-botton{
  649. width: 100rpx;
  650. height: 48rpx;
  651. line-height: 48rpx;
  652. color: #fff;
  653. font-size: 28rpx;
  654. margin-right: 20rpx;
  655. border-radius: 10rpx;
  656. background: #F27C85;
  657. text-align: center;
  658. }
  659. .color-white{
  660. color: #808080;
  661. font-size: 40rpx;
  662. line-height: 60rpx;
  663. }
  664. .search-box{
  665. padding-left: 20rpx;
  666. padding-right: 20rpx;
  667. padding-top: 20rpx;
  668. margin-top: 20rpx;
  669. width: 100%;
  670. border-radius: 25rpx;
  671. border-radius: 25rpx;
  672. background: #fff;
  673. box-shadow: 0px 8px 16px 2px rgba(101, 101, 101, 0.2);
  674. padding-bottom: 30rpx;
  675. display: flex;
  676. flex-wrap: wrap;
  677. }
  678. .search-box1{
  679. display: flex;
  680. }
  681. .input-box{
  682. background: #fff;
  683. height: 65rpx;
  684. width: 640rpx;
  685. display: flex;
  686. align-items: center;
  687. border-radius: 30rpx;
  688. padding-left: 30rpx;
  689. margin-right: 20rpx;
  690. }
  691. .input-boxinput{
  692. height: 75rpx;
  693. font-size: 15rpx;
  694. }
  695. .choose-box{
  696. background: #fff;
  697. width: 325rpx;
  698. border-radius: 23rpx;
  699. height: 70rpx;
  700. display: flex;
  701. align-items: center;
  702. justify-content: center;
  703. margin-right: 20rpx;
  704. border: 1rpx solid #808080;
  705. }
  706. .choose-box2{
  707. background: #fff;
  708. width: 100%;
  709. border-radius: 23rpx;
  710. height: 70rpx;
  711. display: flex;
  712. padding-left: 29rpx;
  713. align-items: center;
  714. border: 1rpx solid #808080;
  715. }
  716. .choose-box3{
  717. display: flex;
  718. }
  719. .choose-boxp{
  720. font-size: 32rpx;
  721. width: 80rpx;
  722. }
  723. .fixed-bottom-right {
  724. padding: 20rpx;
  725. position: fixed;
  726. bottom: 20px; /* 距离底部的距离 */
  727. right: 20px; /* 距离右侧的距离 */
  728. }
  729. .item-box{
  730. display: flex;
  731. width: 710rpx;
  732. margin-left: 20rpx;
  733. background: #FFFFFF;
  734. box-shadow: 0px 1px 3px 0px rgba(9,2,4,0.1);
  735. border-radius: 10px;
  736. padding-top: 20rpx;
  737. padding-left: 20rpx;
  738. padding-right: 10rpx;
  739. padding-bottom: 20rpx;
  740. margin-top: 20rpx;
  741. }
  742. .item-title-L{
  743. display: flex;
  744. width: 70%;
  745. margin-left: 28rpx;
  746. flex-direction: column;
  747. }
  748. .item-title{
  749. font-size: 30rpx;
  750. color: #333;
  751. font-weight: bold;
  752. align-items: center;
  753. }
  754. .item-des{
  755. margin-top: 10rpx;
  756. color: #565656;
  757. font-size: 24rpx;
  758. overflow: hidden; /* 超出部分隐藏 */
  759. text-overflow: ellipsis; /* 超出部分显示省略号 */
  760. display: -webkit-box; /* 使用Webkit的行盒模型 */
  761. -webkit-line-clamp: 3; /* 限制最多显示2行 */
  762. -webkit-box-orient: vertical; /* 垂直排列 */
  763. }
  764. /* 返回 */
  765. .item-img {
  766. width: 100rpx;
  767. height: 100rpx;
  768. }
  769. /* 返回 */
  770. .item-img {
  771. width: 160rpx;
  772. height: 160rpx;
  773. }
  774. .custom-header {
  775. display: flex;
  776. align-items: center;
  777. justify-content: center;
  778. padding: 10px;
  779. width: 100%;
  780. }
  781. .is-back {
  782. position: relative;
  783. }
  784. .back-container {
  785. position: absolute;
  786. left: 10px;
  787. cursor: pointer;
  788. }
  789. .back-text {
  790. color: white; /* 返回按钮文本颜色 */
  791. }
  792. .back-text {
  793. color: white; /* 返回按钮文本颜色 */
  794. }
  795. .content-container {
  796. flex: 1;
  797. text-align: center;
  798. }
  799. .content-text {
  800. color: white; /* 标题文本颜色 */
  801. font-weight: bold;
  802. }
  803. /* 背景颜色 */
  804. .bg-blue {
  805. background-color: #4285f4; /* 假设这是一个蓝色背景 */
  806. }
  807. </style>