Tabindex.vue 19 KB

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