Dzfindex.vue 20 KB

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