index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839
  1. <template>
  2. <view class="content">
  3. <!-- 搜索框 -->
  4. <view class="sousuo">
  5. <view class="iconfont icon-sousuo" style="margin: 0 30rpx 0 30rpx;"></view>
  6. <input class="sou-text" placeholder="请输入查询内容" v-model="keyword" @blur="changeKey"></input>
  7. </view>
  8. <!-- 筛选 -->
  9. <view class="select2">
  10. <view class="wei-title1 title1" v-if="select==5 && create==1">
  11. <view>我创建的</view>
  12. <view class="wei-line1"></view>
  13. </view>
  14. <view v-if="select!=5 && create==1" class="title1" style="rgba(0, 0, 0, 1)" @click="selectChange(5)">
  15. 我创建的
  16. <view class="wei-line1" style="background: rgba(255, 255, 255, 1);"></view>
  17. </view>
  18. <view v-if="select!=5 && create==0" class="title2 nontitle">
  19. 我创建的
  20. <view class="wei-line1" style="background: rgba(255, 255, 255, 1);"></view>
  21. </view>
  22. <view class="wei-title1 title2" v-if="select==6 && fenguan==1">
  23. <view>我分管的</view>
  24. <view class="wei-line1"></view>
  25. </view>
  26. <view v-if="select!=6 && fenguan==1" class="title2" style="rgba(0, 0, 0, 1)" @click="selectChange(6)">
  27. 我分管的
  28. <view class="wei-line1" style="background: rgba(255, 255, 255, 1);"></view>
  29. </view>
  30. <view v-if="select!=6 && fenguan==0" class="title2 nontitle">
  31. 我分管的
  32. <view class="wei-line1" style="background: rgba(255, 255, 255, 1);"></view>
  33. </view>
  34. <view class="wei-title1 title3" v-if="select==3">
  35. <view>我负责的</view>
  36. <view class="wei-line1"></view>
  37. </view>
  38. <view class="title3" style="rgba(0, 0, 0, 1)" v-else @click="selectChange(3)">
  39. 我负责的
  40. <view class="wei-line1" style="background: rgba(255, 255, 255, 1);"></view>
  41. </view>
  42. <view class="wei-title1 title4" v-if="select==4">
  43. <view>我协办的</view>
  44. <view class="wei-line1"></view>
  45. </view>
  46. <view class="title4" style="rgba(0, 0, 0, 1)" v-else @click="selectChange(4)">
  47. 我协办的
  48. <view class="wei-line1" style="background: rgba(255, 255, 255, 1);"></view>
  49. </view>
  50. </view>
  51. <view class="search" style="margin: 20rpx 0 0 0;background-color: rgba(255, 255, 255, 1);display: flex;">
  52. <uni-data-select style="border: 1px solid; width: 350rpx;border-radius: 85px;"
  53. v-model="typeid"
  54. :localdata="zhuangtai"
  55. @change="changeType"
  56. ></uni-data-select>
  57. <uni-data-select style="border: 1px solid; width: 350rpx;border-radius: 85px;margin-left: 20px;"
  58. v-model="typeid2"
  59. :localdata="zhuangtai2"
  60. @change="changeType2"
  61. ></uni-data-select>
  62. </view>
  63. <!-- 数据列表 -->
  64. <view class="kuang">
  65. <view class="all-select">
  66. <view class="all-list" style="margin-left: 15rpx;" v-if="change==3">超时在办</view>
  67. <view class="all-list2" style="margin-left: 15rpx;" v-else @click="changeTime(3)">超时在办</view>
  68. <view class="all-list" style="margin-left: 15rpx;" v-if="change==2">预警在办</view>
  69. <view class="all-list2" style="margin-left: 15rpx;" v-else @click="changeTime(2)">预警在办</view>
  70. <view class="all-list" style="margin-left: 15rpx;" v-if="change==1">正常在办</view>
  71. <view class="all-list2" style="margin-left: 15rpx;" v-else @click="changeTime(1)">正常在办</view>
  72. <view class="all-list" style="margin-left: 15rpx;" v-if="change==4">正常办结</view>
  73. <view class="all-list2" style="margin-left: 15rpx;" v-else @click="changeTime(4)">正常办结</view>
  74. <view class="all-list" style="margin-left: 15rpx;" v-if="change==5">超时办结</view>
  75. <view class="all-list2" style="margin-left: 15rpx;" v-else @click="changeTime(5)">超时办结</view>
  76. </view>
  77. <!-- 数据列表循环 -->
  78. <view class="list" v-for="(item,index) in list" :key="index" @click="XiangPro(item)">
  79. <view class="list-proname">
  80. <view>
  81. {{item.projectName| ellipsis}}
  82. </view>
  83. <view class="list-kua">{{item.projectFrom}}</view>
  84. <view style="margin-left: 12%;width: 200px;">
  85. <view style="margin-left: 25%;display: flex;margin-top: 10rpx;">
  86. <view class="bu-shou yishou" v-if="item.collect==1" @click.stop="Qushoucang(item)">已收藏</view>
  87. <view class="bu-shou shou" v-if="item.collect==0 &&shouxiang==1" @click.stop="shoucang(item)">收藏</view>
  88. <view class="bu-shou norl" v-if="item.projectLevel=='正常'">正常</view>
  89. <view class="bu-shou jinji" v-else>紧急</view>
  90. <view class="bu-shou more">
  91. <view @click.stop="dianMore(item)">更多</view>
  92. <view class="xiala" v-if="item.isChecked">
  93. <!-- <view>复制</view> -->
  94. <view @click.stop="changePro(item)" v-if="(item.progress!=1 && upxiang==1) && (select==5 || select==3)">编辑</view>
  95. <view @click.stop="deletePro(item)" v-if="delexiang==1 && (select==5 || select==3)">删除</view>
  96. <view @click.stop="score(item)" v-if="pingxiang==1 && (select==5 || select==3|| select==6)">评分</view>
  97. </view>
  98. </view>
  99. </view>
  100. </view>
  101. </view>
  102. <view class="list-dan">主办单位:{{item.organize}}</view>
  103. <view class="list-dan">主办人:{{item.sposonerName}}</view>
  104. <view class="list-dan">协办人:{{item.coSposonerName}}</view>
  105. <view class="list-dan">项目周期:{{item.startTime}}-{{item.endTime}}</view>
  106. <view class="list-dan">任务:{{item.taskNum}}个</view>
  107. <view class="list-dan">预警次数:{{item.warnNum}}次</view>
  108. <view class="list-dan">提醒次数:{{item.remindNum}}次</view>
  109. <view class="list-dan" v-if="item.progress==1">分数:{{item.score}}分</view>
  110. <view class="list-dan" style="width: 620rpx;display: flex;">
  111. 项目进度:
  112. <progress v-if="item.progress!='/'" style="width: 380rpx;" :percent="(item.progress)*100" activeColor="rgba(0, 97, 255, 1)" border-radius="50" stroke-width="9" show-info font-size='12' active='true' />
  113. <image src="../../static/project/warn.png" style="width: 43rpx;height: 43rpx;margin-top: 10rpx;" @click.stop="cuiban(item)" v-if="(item.state==1||item.state==2||item.state==3) &&acuiban==1&& (select==5 || select==3|| select==6)"></image>
  114. </view>
  115. </view>
  116. <view style="width: 100%;height: 100rpx;"></view>
  117. </view>
  118. <!-- 添加项目 -->
  119. <view class="serviceBtn" @click.stop="addProject" v-if="(select==5 || select==3) && crexiang==1"></view>
  120. </view>
  121. </template>
  122. <script>
  123. export default {
  124. data() {
  125. return {
  126. keyword:'',//搜索框内容
  127. select:3,
  128. change:1,
  129. list:[],
  130. weidu:[],
  131. page:1,
  132. size:10,
  133. totalCount:0,
  134. //状态筛选
  135. typeid:0,
  136. zhuangtai:[
  137. { value: 1, text: "是否已评分" },
  138. { value: 2, text: "是否已关注" },
  139. { value: 3, text: "是否有任务" },
  140. { value: 4, text: "是否我评分" },
  141. ],
  142. typeid2:null,
  143. zhuangtai2:[
  144. { value: 1, text: "是" },
  145. { value: 0, text: "否" },
  146. ],
  147. fenguan:1,//是否分管
  148. allcuiban:1,//一键催办
  149. create:1,//是否创建
  150. acuiban:1,//是否催办
  151. shouxiang:1,//是否收藏项目
  152. crexiang:1,//创建项目
  153. upxiang:1,//是否修改项目
  154. delexiang:1,//是否删除项目
  155. pingxiang:1,//是否评分
  156. crerenwu:1,//添加任务
  157. uprenwu:1,//修改任务
  158. delerenwu:1,//是否删除任务
  159. cuirenwu:1,//催办任务
  160. gengrenwu:1,//是否更新任务
  161. }
  162. },
  163. filters:{
  164. ellipsis(value){
  165. if (!value) return '';
  166. if (value.length > 5) {
  167. return value.slice(0,5) + '...'
  168. }
  169. // else if (value.length ==4){
  170. // return value + '\u3000\u3000'
  171. // }else if (value.length ==3){
  172. // return value + '\u3000\u3000\u3000'
  173. // }else if (value.length ==2){
  174. // return value + '\u3000\u3000\u3000\u3000'
  175. // }else if (value.length ==1){
  176. // return value + '\u3000\u3000\u3000\u3000\u3000'
  177. // }
  178. return value
  179. }
  180. },
  181. onLoad() {
  182. this.getUser()
  183. },
  184. onShow() {
  185. this.getProject()
  186. },
  187. methods: {
  188. //获取个人信息
  189. getUser(){
  190. let that = this
  191. uni.showLoading({
  192. title: '加载中',
  193. mask: true, // 是否显示透明蒙层,防止触摸穿透
  194. });
  195. that.$Request.postT('/api/sysUser/queryOwn').then(res => {
  196. if (res.code==200) {
  197. sessionStorage.setItem('roleId',res.data.roleId)
  198. var roleId=res.data.roleId
  199. that.getRole(roleId)
  200. } else {
  201. uni.showToast({
  202. title: res.message,
  203. icon: 'none',
  204. duration:800
  205. });
  206. }
  207. uni.hideLoading();
  208. });
  209. },
  210. //查询角色权限
  211. getRole(roleId){
  212. let that = this
  213. uni.showLoading({
  214. title: '加载中',
  215. mask: true, // 是否显示透明蒙层,防止触摸穿透
  216. });
  217. var data={
  218. roleId:roleId
  219. }
  220. that.$Request.postT('/api/sysRole/queryMenuByRole',data).then(res => {
  221. if (res.code==200) {
  222. console.log(res.data)
  223. this.fenguan=res.data[1].menuLists[1].state
  224. this.allcuiban=res.data[1].menuLists[0].state
  225. this.create=res.data[1].menuLists[2].state
  226. this.acuiban=res.data[1].menuLists[3].state
  227. this.shouxiang=res.data[1].menuLists[4].state
  228. this.crexiang=res.data[1].menuLists[5].state
  229. this.upxiang=res.data[1].menuLists[6].state
  230. this.delexiang=res.data[1].menuLists[7].state
  231. this.pingxiang=res.data[1].menuLists[8].state
  232. sessionStorage.setItem('crerenwu',res.data[1].menuLists[9].state)
  233. sessionStorage.setItem('uprenwu',res.data[1].menuLists[10].state)
  234. sessionStorage.setItem('delerenwu',res.data[1].menuLists[11].state)
  235. sessionStorage.setItem('cuirenwu',res.data[1].menuLists[12].state)
  236. sessionStorage.setItem('gengrenwu',res.data[1].menuLists[13].state)
  237. } else {
  238. uni.showToast({
  239. title: res.message,
  240. icon: 'none',
  241. duration:800
  242. });
  243. }
  244. uni.hideLoading();
  245. });
  246. },
  247. //最上层切换
  248. selectChange(a){
  249. this.select=a
  250. this.getProject()
  251. },
  252. //修改时间框
  253. changeTime(a){
  254. this.change=a
  255. this.getProject()
  256. },
  257. //状态筛选
  258. changeType(e){
  259. this.typeid=e
  260. console.log(e)
  261. this.getProject()
  262. },
  263. //状态筛选
  264. changeType2(e){
  265. this.typeid2=e
  266. this.getProject()
  267. },
  268. // 新建项目
  269. addProject(){
  270. uni.navigateTo({
  271. url:'/pages/project/addProject'
  272. })
  273. },
  274. //点击查看更多
  275. dianMore(item){
  276. item.isChecked=!item.isChecked
  277. },
  278. //编辑项目
  279. changePro(item){
  280. //传参对象,使用encodeURIComponent编码
  281. let str = JSON.stringify(item)
  282. //注意这里——————————————————————
  283. str = str.replace(/%/g, '%25')
  284. //这里———————————————————————————
  285. let query = encodeURIComponent(str)
  286. let t2=JSON.stringify(this.weidu)
  287. //这里———————————————————————————
  288. let query2 = encodeURIComponent(t2)
  289. uni.navigateTo({
  290. url:'/pages/project/projectChange?data='+query+'&weidu='+query2+'&select='+this.select
  291. })
  292. },
  293. //查看项目详情
  294. XiangPro(item){
  295. //传参对象,使用encodeURIComponent编码
  296. let str = JSON.stringify(item)
  297. //注意这里——————————————————————
  298. str = str.replace(/%/g, '%25')
  299. //这里———————————————————————————
  300. let query = encodeURIComponent(str)
  301. let t2=JSON.stringify(this.weidu)
  302. //这里———————————————————————————
  303. let query2 = encodeURIComponent(t2)
  304. uni.navigateTo({
  305. url:'/pages/project/projectX?data='+query+'&weidu='+query2+'&select='+this.select
  306. })
  307. },
  308. //收藏项目
  309. shoucang(item){
  310. let that = this
  311. uni.showModal({
  312. title: '提示',
  313. content: '确定收藏项目吗?',
  314. success: function(res) {
  315. if (res.confirm) {
  316. console.log('用户点击确定');
  317. uni.showLoading({
  318. title: '加载中',
  319. mask: true, // 是否显示透明蒙层,防止触摸穿透
  320. });
  321. let data={
  322. projectId:item.id,
  323. state:1//1收藏,0取消收藏
  324. }
  325. that.$Request.postT('/api/sysProject/collect',data).then(res => {
  326. if (res.code==200) {
  327. uni.showToast({
  328. title: '收藏成功',
  329. icon: 'none',
  330. duration:800
  331. });
  332. uni.hideLoading()
  333. setTimeout(function() {
  334. that.getProject()
  335. }, 1000)
  336. } else {
  337. uni.hideLoading();
  338. uni.showToast({
  339. title: res.message,
  340. icon: 'none',
  341. duration:800
  342. });
  343. }
  344. });
  345. } else if (res.cancel) {
  346. console.log('用户点击取消');
  347. }
  348. }
  349. })
  350. },
  351. //取消收藏项目
  352. Qushoucang(item){
  353. let that = this
  354. uni.showModal({
  355. title: '提示',
  356. content: '确定取消收藏吗?',
  357. success: function(res) {
  358. if (res.confirm) {
  359. console.log('用户点击确定');
  360. uni.showLoading({
  361. title: '加载中',
  362. mask: true, // 是否显示透明蒙层,防止触摸穿透
  363. });
  364. let data={
  365. projectId:item.id,
  366. state:0//1收藏,0取消收藏
  367. }
  368. that.$Request.postT('/api/sysProject/collect',data).then(res => {
  369. if (res.code==200) {
  370. uni.showToast({
  371. title: '取消收藏成功',
  372. icon: 'none',
  373. duration:800
  374. });
  375. uni.hideLoading()
  376. setTimeout(function() {
  377. that.getProject()
  378. }, 1000)
  379. } else {
  380. uni.hideLoading();
  381. uni.showToast({
  382. title: res.message,
  383. icon: 'none',
  384. duration:800
  385. });
  386. }
  387. });
  388. } else if (res.cancel) {
  389. console.log('用户点击取消');
  390. }
  391. }
  392. })
  393. },
  394. //评分
  395. score(item){
  396. uni.navigateTo({
  397. url:'/pages/project/sorce?proId='+item.id
  398. })
  399. },
  400. // 催办
  401. cuiban(item){
  402. let that = this
  403. uni.showModal({
  404. title: '提示',
  405. content: '确定催办项目吗?',
  406. success: function(res) {
  407. if (res.confirm) {
  408. console.log('用户点击确定');
  409. uni.showLoading({
  410. title: '加载中',
  411. mask: true, // 是否显示透明蒙层,防止触摸穿透
  412. });
  413. let data={
  414. projectIds:item.id,
  415. }
  416. that.$Request.postT('/api/sysProject/urge',data).then(res => {
  417. if (res.code==200) {
  418. uni.showToast({
  419. title: '催办成功',
  420. icon: 'none',
  421. duration:800
  422. });
  423. uni.hideLoading()
  424. setTimeout(function() {
  425. that.getProject()
  426. }, 1000)
  427. } else {
  428. uni.hideLoading();
  429. uni.showToast({
  430. title: res.message,
  431. icon: 'none',
  432. duration:800
  433. });
  434. }
  435. });
  436. } else if (res.cancel) {
  437. console.log('用户点击取消');
  438. }
  439. }
  440. })
  441. },
  442. //删除项目
  443. deletePro(item){
  444. let that = this
  445. uni.showModal({
  446. title: '提示',
  447. content: '确定删除项目吗?',
  448. success: function(res) {
  449. if (res.confirm) {
  450. console.log('用户点击确定');
  451. uni.showLoading({
  452. title: '加载中',
  453. mask: true, // 是否显示透明蒙层,防止触摸穿透
  454. });
  455. let data={
  456. id:item.id,
  457. }
  458. that.$Request.postT('/api/sysProject/del',data).then(res => {
  459. if (res.code==200) {
  460. uni.showToast({
  461. title: '删除成功',
  462. icon: 'none',
  463. duration:800
  464. });
  465. uni.hideLoading()
  466. setTimeout(function() {
  467. that.getProject()
  468. }, 1000)
  469. } else {
  470. uni.hideLoading();
  471. uni.showToast({
  472. title: res.message,
  473. icon: 'none',
  474. duration:800
  475. });
  476. }
  477. });
  478. } else if (res.cancel) {
  479. console.log('用户点击取消');
  480. }
  481. }
  482. })
  483. },
  484. //查询项目名
  485. changeKey(e){
  486. this.keyword=e.detail.value
  487. this.getProject()
  488. },
  489. //查询项目列表
  490. getProject(){
  491. let that = this
  492. // that.list=[]
  493. that.weidu=[]
  494. if(that.typeid==1){
  495. if(that.typeid2==1){
  496. var pingfen=1
  497. }else if(that.typeid2==0){
  498. var pingfen=0
  499. }
  500. }else if(that.typeid==2){
  501. if(that.typeid2==1){
  502. var collet=1
  503. }else if(that.typeid2==0){
  504. var collet=0
  505. }
  506. }else if(that.typeid==3){
  507. if(that.typeid2==1){
  508. var task=1
  509. }else if(that.typeid2==0){
  510. var task=0
  511. }
  512. }else if(that.typeid==4){
  513. if(that.typeid2==1){
  514. var score=1
  515. }else if(that.typeid2==0){
  516. var score=0
  517. }
  518. }
  519. uni.showLoading({
  520. title: '加载中',
  521. mask: true, // 是否显示透明蒙层,防止触摸穿透
  522. });
  523. var data={
  524. "type": that.select, // 3我负责的、4我协办的、5创建的、6我分管的
  525. "project": {
  526. "projectName": that.keyword, // 项目名称
  527. "projectFrom": null, // 项目来源
  528. "projectLevel":null, // 项目等级
  529. "state": that.change, // 1、正常在办,2、预警在办,3、超时在办,4、正常办结,5、超时办结
  530. "organize": null, // 主办单位-单选
  531. "coOrganize": null, // 协办单位-多选
  532. "sposonerName": null, // 主办人
  533. "coSposonerName": null, // 协办人
  534. "scoreState": pingfen, // 是否已评分:1已评分,0未评分,null全部
  535. "collect": collet, // 是否已关注,1收藏,0未收藏,null全部
  536. "hasTask": task, // 是否有任务:1有任务,0没有认为,null全部
  537. "isScore": score // 是否我评分,1是我,0不是我,null全部
  538. },
  539. "t1": null, // 创建开始时间
  540. "t2": null, // 创建结束时间
  541. "t3": null, // 周期开始时间
  542. "t4": null, // 周期结束时间
  543. "t5": null, // 完成开始时间
  544. "t6": null // 完成结束时间
  545. }
  546. that.$Request.postJson('/api/sysProject/queryPage?page='+that.page+'&rows='+that.size,data).then(res => {
  547. if (res.code==200) {
  548. console.log(res,data,'项目')
  549. that.totalCount = res.data.project.total
  550. if (that.page == 1) {
  551. that.list = res.data.project.rows
  552. } else {
  553. that.list = that.list.concat(res.data.project.rows)
  554. }
  555. that.weidu=res.data.config
  556. for (let i = 0; i < that.list.length; i++) {
  557. that.$set(that.list[i], "isChecked", false);
  558. }
  559. console.log(that.list,'数据')
  560. } else {
  561. uni.showToast({
  562. title: res.message,
  563. icon: 'none',
  564. duration:800
  565. });
  566. }
  567. uni.stopPullDownRefresh();
  568. uni.hideLoading();
  569. });
  570. },
  571. // 上拉加载
  572. onReachBottom: function() {
  573. if(this.list.length < this.totalCount){
  574. this.page = this.page + 1;
  575. this.getProject()
  576. } else {
  577. uni.showToast({
  578. title: '已经最后一页啦',
  579. icon: 'none'
  580. })
  581. }
  582. },
  583. onPullDownRefresh: function() {
  584. this.page = 1;
  585. this.getProject()
  586. },
  587. }
  588. }
  589. </script>
  590. <style lang="scss" scoped>
  591. .content {
  592. display: flex;
  593. flex-direction: column;
  594. align-items: center;
  595. justify-content: center;
  596. .serviceBtn{
  597. position: fixed;
  598. right: 50rpx;
  599. bottom: 300rpx;
  600. display: flex;
  601. flex-direction: column;
  602. align-items: center;
  603. justify-content: center;
  604. width: 97rpx;
  605. height: 97rpx;
  606. background-image: url('../../static/project/add.png');
  607. background-size: 100%;
  608. }
  609. }
  610. /* 搜索框 */
  611. .sousuo{
  612. display: flex;
  613. align-items: center;
  614. margin: 20rpx 0 0 20rpx;
  615. width: 710rpx;
  616. height: 90rpx;
  617. border-radius: 98rpx;
  618. background: rgba(255, 255, 255, 1);
  619. }
  620. .sou-text{
  621. font-size: 28rpx;
  622. line-height: 40rpx;
  623. color: rgba(166, 166, 166, 1);
  624. width: 100%;
  625. }
  626. .sou-text>>>.uni-input-input {
  627. position: relative;
  628. display: block;
  629. height: 100%;
  630. background: none;
  631. color: inherit;
  632. opacity: 1;
  633. font: inherit;
  634. line-height: inherit;
  635. letter-spacing: inherit;
  636. text-align: inherit;
  637. text-indent: inherit;
  638. text-transform: inherit;
  639. text-shadow: inherit;
  640. width: 185px;
  641. height: 35px;
  642. border-radius: 85px;
  643. /* background: rgba(242, 242, 242, 1); */
  644. }
  645. /* 筛选 */
  646. .select2{
  647. display: flex;
  648. margin: 20rpx 0 0 0;
  649. width: 100%;
  650. height: 120rpx;
  651. background: rgba(255, 255, 255, 1);
  652. font-weight: 500;
  653. font-size: 26px;
  654. }
  655. .wei-title1{
  656. color: rgba(0, 97, 255, 1);
  657. }
  658. .title1{
  659. width: 25%;
  660. // margin: 41rpx 0 0 55rpx;
  661. font-size: 28rpx;
  662. text-align: center;
  663. line-height: 68px;
  664. }
  665. .title2{
  666. width: 25%;
  667. line-height: 68px;
  668. // margin: -37px 0 0 228rpx;
  669. font-size: 28rpx;
  670. text-align: center;
  671. }
  672. .nontitle{
  673. color:rgba(140, 140, 140, 1.0);
  674. }
  675. .title3{
  676. width: 25%;
  677. line-height: 68px;
  678. // margin: -37px 0 0 408rpx;
  679. font-size: 28rpx;
  680. text-align: center;
  681. }
  682. .title4{
  683. width: 25%;
  684. line-height: 68px;
  685. // margin: -38px 0 0 588rpx;
  686. font-size: 28rpx;
  687. text-align: center;
  688. }
  689. .wei-line1{
  690. // margin: 31rpx 0 0 0;
  691. // width: 79rpx;
  692. height: 8rpx;
  693. border-radius: 75rpx;
  694. background: rgba(0, 97, 255, 1);
  695. }
  696. /* 数据列表 */
  697. .kuang{
  698. margin: 0rpx 0 0 0;
  699. width: 100%;
  700. background: rgba(255, 255, 255, 1);
  701. min-height: 100vh; /* 设置最小高度为视口高度 */
  702. }
  703. .all-select{
  704. display: flex;
  705. margin: 31rpx 0 0 19rpx;
  706. width: 712rpx;
  707. height: 90rpx;
  708. border-radius: 7rpx;
  709. background: rgba(242, 247, 255, 1);
  710. align-items: center;
  711. }
  712. .all-list{
  713. width: 159rpx;
  714. height: 71rpx;
  715. border-radius: 7rpx;
  716. background: rgba(0, 97, 255, 0.1);
  717. border: 1rpx solid rgba(0, 97, 255, 1);
  718. font-size: 28rpx;
  719. line-height: 71rpx;
  720. color: rgba(0, 97, 255, 1);
  721. text-align: center;
  722. }
  723. .all-list2{
  724. width: 159rpx;
  725. height: 71rpx;
  726. border-radius: 7rpx;
  727. font-size: 28rpx;
  728. line-height: 71rpx;
  729. color: rgba(56, 56, 56, 1);
  730. text-align: center;
  731. }
  732. /* 数据列表循环 */
  733. .list{
  734. display: flex;
  735. flex-direction: column;
  736. margin: 20rpx 0 0 20rpx;
  737. width: 709rpx;
  738. // height: 422rpx;
  739. border-radius: 7rpx;
  740. background: rgba(245, 248, 255, 1);
  741. box-shadow: 0px 4rpx 6rpx rgba(0, 0, 0, 0.05);
  742. font-size: 24rpx;
  743. line-height: 35rpx;
  744. }
  745. .list-proname{
  746. margin: 13rpx 0 0 29rpx;
  747. font-size: 29rpx;
  748. font-weight: 500;
  749. display: flex;
  750. width: 709rpx;
  751. }
  752. .list-kua{
  753. margin-left: 5px;
  754. width: 45px;
  755. height: 29rpx;
  756. border-radius: 4rpx;
  757. border: 2rpx solid rgba(33, 107, 255, 1);
  758. font-size: 22rpx;
  759. line-height: 29rpx;
  760. color: rgba(33, 107, 255, 1);
  761. text-align: center;
  762. }
  763. .bu-shou{
  764. margin-right: 5rpx;
  765. width: 60px;
  766. height: 44rpx;
  767. border-radius: 7rpx;
  768. font-size: 24rpx;
  769. line-height: 44rpx;
  770. text-align: center;
  771. color: rgba(255, 255, 255, 1);
  772. }
  773. .yishou{
  774. // margin: 10rpx 0 0 180rpx;
  775. background: rgba(9, 101, 98, 1);
  776. }
  777. .shou{
  778. // margin: 10rpx 0 0 180rpx;
  779. background: rgba(0, 97, 255, 1);
  780. }
  781. .jinji{
  782. // margin: 10rpx 0 0 15rpx;
  783. background: rgba(254, 144, 51, 1);
  784. }
  785. .norl{
  786. // margin: 10rpx 0 0 15rpx;
  787. background: rgba(166, 166, 166, 1);
  788. color: rgba(255, 255, 255, 1);
  789. }
  790. .more{
  791. // margin: 10rpx 0 0 15rpx;
  792. background: rgba(0, 97, 255, 1);
  793. }
  794. .xiala{
  795. z-index: 4;
  796. position: relative;
  797. width: 87rpx;
  798. // height: 174rpx;
  799. border-radius: 2rpx;
  800. background: rgba(255, 255, 255, 1);
  801. box-shadow: 0px 4rpx 4rpx rgba(0, 0, 0, 0.1);
  802. color: rgba(0, 0, 0, 1);
  803. }
  804. .list-dan{
  805. margin: 9rpx 0 0 29rpx;
  806. }
  807. >>>.uni-progress-bar {
  808. border-radius: 9rpx;
  809. }
  810. >>>.uni-progress-inner-bar {
  811. border-radius: 9rpx;
  812. }
  813. >>>.uni-progress-info {
  814. margin-top: 0;
  815. margin-bottom: 0;
  816. min-width: 2em;
  817. margin-left: 15px;
  818. font-size: 24rpx;
  819. color: rgba(0, 0, 0, 1);
  820. }
  821. >>>uni-progress {
  822. // width: 42%;
  823. // margin: 25rpx 0 0 144rpx;
  824. }
  825. </style>