Dzfindex.vue 21 KB

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