index.vue 23 KB

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