Dzfindex.vue 22 KB

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