contentData.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. <template>
  2. <div class="contentDataMain">
  3. <div class="userTop">
  4. <div class="userHead">
  5. <img :src="imgUrl"/>
  6. </div>
  7. <div class="userMidle">
  8. <p class="userMidleName">Hi.</p>
  9. <p class="userMidleName">{{user.fullName}},祝你开心每一天!</p>
  10. <p class="userMidleNum">上传文件数量<span>{{myuploadNum}}</span></p>
  11. </div>
  12. <div class="userEnd">
  13. <a-cascader
  14. :options="options"
  15. :show-search="{ filter }"
  16. change-on-select
  17. :default-value="defaultCascader"
  18. placeholder="请选择分类"
  19. @change="onChange"
  20. @popupVisibleChange="popupVisibleChange"
  21. class="cascaderBox"
  22. />
  23. </div>
  24. </div>
  25. <div class="searchBoxTop">
  26. <search typeStr="content" searchWidth="auto" @searchResult="searchResult"></search>
  27. </div>
  28. <div class="tabBoxContent">
  29. <div v-if="index==0||(index==1&&number1Bas!=0)||(index==2&&number2Bas!=0)" v-for="(item, index) in tapArr" :key="index" @click="changeAction(index)">
  30. <span>{{index==0?categoryName:item}}({{index==0?number0:index==1?number1:number2}})</span>
  31. <img v-if="tapAction==index" src="../../../../image/tabAction.png"/>
  32. </div>
  33. <div class="btnAddData" @click="addData">新增知识</div>
  34. </div>
  35. <div class="searchBoxContent" v-show="(tapAction==0)">
  36. <div class="noDataBox" v-if="dataList.length==0">
  37. <img src="../../../../image/noDataNew.png" class="noData"/>
  38. <p class="noDataText">暂无搜索结果</p>
  39. </div>
  40. <div v-else class="DataBoxContent">
  41. <div class="listBox">
  42. <div class="listBoxItemContent listItemClass" v-for="(item, index) in dataList" :key="index">
  43. <pageList :showJurisdiction="true" :item="item" type="list0" v-if="type==3||type==4"></pageList>
  44. <pageList :showJurisdiction="true" v-else :item="item" :type="type!=null||categoryName=='全部分类'?'list1':'list0'"></pageList>
  45. <a-divider class="bottomBorder" v-if="(index!=dataList.length-1)"/>
  46. </div>
  47. </div>
  48. <pageBar ref="pageBarref0" @pageChange="pageChange0" :total="total" :pageSize="pageSize" class="pageBar"></pageBar>
  49. </div>
  50. </div>
  51. <div class="searchBoxContent" v-show="(tapAction==1)">
  52. <div class="noDataBox" v-if="dataList1.length==0">
  53. <img src="../../../../image/noDataNew.png" class="noData"/>
  54. <p class="noDataText">暂无搜索结果</p>
  55. </div>
  56. <div v-else class="DataBoxContent">
  57. <div class="listBox">
  58. <div class="listBoxItemContent listItemClass" v-for="(item, index) in dataList1" :key="index">
  59. <pageList :item="item" type="list1" :approval="true" @delRefresh="delRefresh"></pageList>
  60. <a-divider class="bottomBorder" v-if="(index!=dataList1.length-1)"/>
  61. </div>
  62. </div>
  63. <pageBar ref="pageBarref1" @pageChange="pageChange1" :total="total" :pageSize="pageSize" class="pageBar"></pageBar>
  64. </div>
  65. </div>
  66. <div class="searchBoxContent" v-show="(tapAction==2)">
  67. <div class="noDataBox" v-if="dataList2.length==0">
  68. <img src="../../../../image/noDataNew.png" class="noData"/>
  69. <p class="noDataText">暂无搜索结果</p>
  70. </div>
  71. <div v-else class="DataBoxContent">
  72. <div class="listBox">
  73. <div class="listBoxItemContent listItemClass" v-for="(item, index) in dataList2" :key="index">
  74. <pageList :item="item" type="list1"></pageList>
  75. <a-divider class="bottomBorder" v-if="(index!=dataList2.length-1)"/>
  76. </div>
  77. </div>
  78. <pageBar ref="pageBarref2" @pageChange="pageChange2" :total="total" :pageSize="pageSize" class="pageBar"></pageBar>
  79. </div>
  80. </div>
  81. </div>
  82. </template>
  83. <script>
  84. import contentData from '@/api/knowledge/contentData'
  85. import api from '@/api/knowledge/warehouseIndex'
  86. import search from '../components/search'
  87. import pageBar from '../components/pageBar'
  88. import pageList from '../components/pageList'
  89. import {mapState} from "vuex";
  90. export default {
  91. name: 'contentData',
  92. components: {
  93. search,
  94. pageBar,
  95. pageList
  96. },
  97. computed: {
  98. ...mapState({
  99. user: (state) => state.appSetting.user,
  100. })
  101. },
  102. data() {
  103. return {
  104. imgUrl: require('@img/avatar2.jpg'),
  105. delVisible:true,
  106. searchData:{
  107. range:0,
  108. keyword:''
  109. },
  110. categoryId:'',
  111. defaultCascader:[],
  112. categoryValue:[],
  113. categoryDataArr:[],
  114. categoryName:'请选择分类',
  115. userData:this.user,
  116. pageNum:1,
  117. pageNum0:1,
  118. pageNum1:1,
  119. pageNum2:1,
  120. total:2,
  121. pageSize:10,
  122. tapArr:['','我的审批','我的上传'],
  123. number0:0,
  124. number1:0,
  125. number2:0,
  126. number1Bas:0,
  127. number2Bas:0,
  128. myuploadNum:0,
  129. tapAction:0,
  130. dataList:[
  131. ],
  132. dataList1:[
  133. ],
  134. dataList2:[
  135. ],
  136. options: [],
  137. type:null,
  138. typeName:["最新知识","最热知识","文档排行","工作成果","经典案例","维基排行"]
  139. }
  140. },
  141. created() {
  142. if(this.$route.query.type!=undefined){
  143. this.type=this.$route.query.type
  144. this.categoryName=this.typeName[this.type]
  145. if(this.type==3){
  146. this.defaultCascader=['40']
  147. this.categoryValue=['40']
  148. }
  149. if(this.type==4){
  150. this.defaultCascader=['50']
  151. this.categoryValue=['50']
  152. }
  153. }
  154. if(this.$route.query.categoryId!=undefined){
  155. this.categoryId=this.$route.query.categoryId
  156. if(this.$route.query.parentp!=undefined){
  157. this.defaultCascader=[this.$route.query.parentp,this.$route.query.parent,this.$route.query.categoryId]
  158. this.categoryValue=[this.$route.query.parentp,this.$route.query.parent,this.$route.query.categoryId]
  159. }else if(this.$route.query.parent!=0){
  160. this.defaultCascader=[this.$route.query.parent,this.$route.query.categoryId]
  161. this.categoryValue=[this.$route.query.parent,this.$route.query.categoryId]
  162. }else{
  163. this.defaultCascader.push(this.$route.query.categoryId)
  164. this.categoryValue.push(this.$route.query.categoryId)
  165. }
  166. this.categoryName=this.$route.query.categoryName
  167. }
  168. this.getBaseData()
  169. this.getData(false)
  170. if (this.user.photo && this.user.photo != '') {
  171. this.imgUrl = '/api/api-system/system/core/sysFile/previewFile?fileId='+this.user.photo
  172. }
  173. },
  174. methods: {
  175. //搜索数据
  176. searchResult(data){
  177. this.searchData=data
  178. this.searchData.keyword=decodeURI(data.keyword)
  179. this.getData(true)
  180. },
  181. //分类修改数据
  182. onChange(value, selectedOptions) {
  183. this.categoryValue = value
  184. this.categoryDataArr = selectedOptions
  185. this.categoryId = value[value.length-1]
  186. },
  187. //分类修改数据
  188. popupVisibleChange(value){
  189. if(value==false){
  190. //if(this.type!=0&&this.type!=1&&this.type!=2&&this.type!=5){
  191. this.categoryName = this.categoryDataArr[this.categoryDataArr.length-1]['label']
  192. this.type = null
  193. //}
  194. this.getData(true);
  195. }
  196. },
  197. filter(inputValue, path) {
  198. return path.some(option => option.label.toLowerCase().indexOf(inputValue.toLowerCase()) > -1);
  199. },
  200. // 跳转添加
  201. addData(){
  202. this.$router.push({
  203. name: "knowledgeAddUpdate",
  204. query: {
  205. categoryId: this.categoryValue.join(',')
  206. }
  207. })
  208. },
  209. // 获取数据
  210. getData(type){
  211. if(this.tapAction==0||type){
  212. if(this.type==null){
  213. let param = {
  214. "pageNo": this.pageNum,
  215. "pageSize": 10,
  216. "sortField": "",
  217. "sortOrder": "asc",
  218. params: {
  219. approvalStatus: 5,
  220. "categoryId":this.categoryId,
  221. "keyword":this.searchData.keyword,
  222. }
  223. }
  224. if(this.searchData.range!=0){
  225. param.params.type=this.searchData.range
  226. }
  227. contentData.findAllKnowledge(param).then((res) => {
  228. res.result.data.forEach(element => {
  229. element.documentName = element.attachmentName
  230. element.documentRemark = element.summary
  231. element.viewNum = element.views
  232. element.uploadTime = element.createTime
  233. element.categoryArr = []
  234. this.getType(element)
  235. this.getCategory(element.categoryArr,element.knowledgeCategoryAdminVo)
  236. });
  237. this.number0 = res.result.totalCount
  238. this.dataList = res.result.data
  239. this.$nextTick(()=>{
  240. this.$refs.pageBarref0.setTotal(Number(res.result.totalCount))
  241. })
  242. })
  243. }else{
  244. if(this.type==0||this.type==1||this.type==2||this.type==5){
  245. let paramOne = {
  246. pageNo: this.pageNum,
  247. pageSize: 10,
  248. sortField: 'CREATE_TIME_',
  249. sortOrder: 'desc',
  250. params: {
  251. approvalStatus: 5,
  252. "categoryId":this.categoryId,
  253. "keyword":this.searchData.keyword,
  254. }
  255. }
  256. if(this.searchData.range!=0){
  257. paramOne.params.type=this.searchData.range
  258. }
  259. if(this.type==1){
  260. paramOne.sortField='views'
  261. }
  262. if(this.type==2){
  263. paramOne.sortField='views'
  264. paramOne.type=1
  265. }
  266. if(this.type==5){
  267. paramOne.sortField='views'
  268. paramOne.type=2
  269. }
  270. contentData.findAllKnowledge({...paramOne}).then(res => {
  271. res.result.data.forEach(element => {
  272. element.documentName = element.attachmentName
  273. element.documentRemark = element.summary
  274. element.viewNum = element.views
  275. element.uploadTime = element.createTime
  276. element.categoryArr = []
  277. this.getType(element)
  278. this.getCategory(element.categoryArr,element.knowledgeCategoryAdminVo)
  279. });
  280. this.number0 = res.result.totalCount
  281. this.dataList = res.result.data
  282. this.$nextTick(()=>{
  283. this.$refs.pageBarref0.setTotal(Number(res.result.totalCount))
  284. })
  285. })
  286. }else{
  287. let paramTwo = {
  288. pageNo: this.pageNum,
  289. pageSize: 10,
  290. sortField: 'views',
  291. sortOrder: 'desc',
  292. params: {
  293. "keyword":this.searchData.keyword,
  294. }
  295. }
  296. if(this.searchData.range!=0){
  297. paramOne.params.type=this.searchData.range
  298. }
  299. if(this.type==3){
  300. paramTwo.params.keyword='working'
  301. }
  302. if(this.type==4){
  303. paramTwo.params.keyword='experience'
  304. }
  305. api.getAllKnowledgeByCategoryId(paramTwo).then(res => {
  306. res.result.data.forEach(element => {
  307. element.documentName = element.attachmentName
  308. element.documentRemark = element.summary
  309. element.viewNum = element.views
  310. element.uploadTime = element.createTime
  311. element.categoryArr = []
  312. this.getType(element)
  313. this.getCategory(element.categoryArr,element.knowledgeCategoryAdminVo)
  314. });
  315. this.number0 = res.result.totalCount
  316. this.dataList = res.result.data
  317. this.$nextTick(()=>{
  318. this.$refs.pageBarref0.setTotal(Number(res.result.totalCount))
  319. })
  320. })
  321. }
  322. }
  323. }
  324. if(this.tapAction==1||type){
  325. let param = {
  326. "pageNo": this.pageNum,
  327. "pageSize": 10,
  328. "sortField": "APPROVAL_STATUS",
  329. "sortOrder": "asc",
  330. params: {
  331. "createBy":this.user.userId,
  332. "keyword":this.searchData.keyword,
  333. "isNotAudit":5
  334. }
  335. }
  336. if(this.searchData.range!=0){
  337. param.params.type=this.searchData.range
  338. }
  339. contentData.findAllKnowledge(param).then((res) => {
  340. res.result.data.forEach(element => {
  341. element.documentName = element.attachmentName
  342. element.documentRemark = element.summary
  343. element.viewNum = element.views
  344. element.uploadTime = element.createTime
  345. element.categoryArr = []
  346. this.getType(element)
  347. this.getCategory(element.categoryArr,element.knowledgeCategoryAdminVo)
  348. });
  349. this.number1 = res.result.totalCount
  350. this.dataList1 = res.result.data
  351. this.$nextTick(()=>{
  352. if(Number(res.result.totalCount)!=0){
  353. this.$refs.pageBarref1.setTotal(Number(res.result.totalCount))
  354. }
  355. })
  356. })
  357. }
  358. if(this.tapAction==2||type){
  359. let param0 = {
  360. "pageNo": this.pageNum,
  361. "pageSize": 10,
  362. "sortField": "CREATE_TIME_",
  363. "sortOrder": "desc",
  364. params: {
  365. "approvalStatus":5,
  366. "createBy":this.user.userId,
  367. "keyword":this.searchData.keyword
  368. }
  369. }
  370. if(this.searchData.range!=0){
  371. param0.params.type=this.searchData.range
  372. }
  373. contentData.findAllKnowledge(param0).then((res) => {
  374. res.result.data.forEach(element => {
  375. element.documentName = element.attachmentName
  376. element.documentRemark = element.summary
  377. element.viewNum = element.views
  378. element.uploadTime = element.createTime
  379. element.categoryArr = []
  380. this.getType(element)
  381. this.getCategory(element.categoryArr,element.knowledgeCategoryAdminVo)
  382. });
  383. this.number2 = res.result.totalCount
  384. this.dataList2 = res.result.data
  385. this.$nextTick(()=>{
  386. if(Number(res.result.totalCount)!=0){
  387. this.$refs.pageBarref2.setTotal(Number(res.result.totalCount))
  388. }
  389. })
  390. })
  391. }
  392. },
  393. // 删除刷新页面
  394. delRefresh(){
  395. let param = {
  396. "pageNo": this.pageNum,
  397. "pageSize": 10,
  398. "sortField": "APPROVAL_STATUS",
  399. "sortOrder": "asc",
  400. params: {
  401. "createBy":this.user.userId,
  402. "keyword":this.searchData.keyword,
  403. "isNotAudit":5
  404. }
  405. }
  406. contentData.findAllKnowledge(param).then((res) => {
  407. res.result.data.forEach(element => {
  408. element.documentName = element.attachmentName
  409. element.documentRemark = element.summary
  410. element.viewNum = element.views
  411. element.uploadTime = element.createTime
  412. element.categoryArr = []
  413. this.getType(element)
  414. this.getCategory(element.categoryArr,element.knowledgeCategoryAdminVo)
  415. });
  416. this.number1 = res.result.totalCount
  417. this.number1Bas = res.result.totalCount
  418. this.dataList1 = res.result.data
  419. this.$nextTick(()=>{
  420. if(Number(res.result.totalCount)!=0){
  421. this.$refs.pageBarref1.setTotal(Number(res.result.totalCount))
  422. }
  423. })
  424. })
  425. },
  426. // 处理分类数据展示
  427. categoryData(data){
  428. data.forEach(element => {
  429. element.label=element.name
  430. element.value=element.pkId
  431. if(element.children!=null&&element.children.length!=0){
  432. this.categoryData(element.children)
  433. }
  434. })
  435. },
  436. // 获取分类数据
  437. getBaseData(){
  438. contentData.getAllKnowledgeCategory().then((res) =>{
  439. this.categoryData(res.data)
  440. console.log(res.data)
  441. let allposition={
  442. children: [],
  443. isSys: 0,
  444. label: "全部分类",
  445. level: 1,
  446. name: "全部分类",
  447. operatorName: null,
  448. parent: "0",
  449. parents: null,
  450. pkId: "",
  451. sort: 2,
  452. updateBy: "1",
  453. updateTime: "2022-12-27 17:00:30",
  454. value: ""
  455. }
  456. res.data.unshift(allposition)
  457. this.options=res.data
  458. })
  459. this.delRefresh()
  460. let param1 = {
  461. "pageNo": 1,
  462. "pageSize": 10,
  463. "sortField": "CREATE_TIME_",
  464. "sortOrder": "desc",
  465. params: {
  466. "approvalStatus":5,
  467. "createBy":this.user.userId
  468. }
  469. }
  470. contentData.findAllKnowledge(param1).then((res) => {
  471. res.result.data.forEach(element => {
  472. element.documentName = element.attachmentName
  473. element.documentRemark = element.summary
  474. element.viewNum = element.views
  475. element.uploadTime = element.createTime
  476. element.categoryArr = []
  477. this.getType(element)
  478. this.getCategory(element.categoryArr,element.knowledgeCategoryAdminVo)
  479. });
  480. this.number2 = res.result.totalCount
  481. this.number2Bas = res.result.totalCount
  482. this.myuploadNum = res.result.totalCount
  483. this.dataList2 = res.result.data
  484. this.$nextTick(()=>{
  485. if(Number(res.result.totalCount)!=0){
  486. this.$refs.pageBarref2.setTotal(Number(res.result.totalCount))
  487. }
  488. })
  489. })
  490. },
  491. // 获取文件分类名
  492. getType(item){
  493. item.documentType = 5
  494. if(item.documentName!=null){
  495. let typeName = item.documentName.split('.')[(item.documentName.split('.').length-1)]
  496. if(typeName.indexOf("pdf")>-1){
  497. item.documentType = 1
  498. }else if(typeName.indexOf("doc")>-1){
  499. item.documentType = 2
  500. }else if(typeName.indexOf("xls")>-1){
  501. item.documentType = 3
  502. }else if(typeName.indexOf("ppt")>-1){
  503. item.documentType = 4
  504. }else{
  505. item.documentType = 5
  506. }
  507. }
  508. },
  509. // 处理分类
  510. getCategory(arr,data){
  511. arr.unshift(data.name)
  512. if(data.parents!=null){
  513. this.getCategory(arr,data.parents)
  514. }
  515. },
  516. // 修改tap页面
  517. changeAction(num){
  518. this.tapAction = num
  519. if(this.tapAction==0){
  520. this.pageNum = this.pageNum0
  521. }
  522. if(this.tapAction==1){
  523. this.pageNum = this.pageNum1
  524. }
  525. if(this.tapAction==2){
  526. this.pageNum = this.pageNum2
  527. }
  528. },
  529. // 页码处理
  530. pageChange0(num){
  531. this.pageNum = num
  532. this.pageNum0 = num
  533. this.getData(false)
  534. },
  535. // 页码处理
  536. pageChange1(num){
  537. this.pageNum = num
  538. this.pageNum1 = num
  539. this.getData(false)
  540. },
  541. // 页码处理
  542. pageChange2(num){
  543. this.pageNum = num
  544. this.pageNum2 = num
  545. this.getData(false)
  546. }
  547. }
  548. }
  549. </script>
  550. <style lang="less" scoped>
  551. .contentDataMain{
  552. position: absolute;
  553. background: #FAFAFA;
  554. height: 100%;
  555. overflow: scroll;
  556. }
  557. .searchHead{
  558. background: #fff;
  559. display: inline-grid;
  560. width: 100%;
  561. }
  562. .searchBoxContent{
  563. margin: 0px 10.94vw;
  564. border-bottom-left-radius: 10px;
  565. border-bottom-right-radius: 10px;
  566. }
  567. .searchBoxTop{
  568. margin: 0px 10.94vw;
  569. background: #fff;
  570. padding: 1.5625vw;
  571. margin-top: 1.25vw;
  572. border-radius: 10px;
  573. }
  574. .noDataBox{
  575. width: 100%;
  576. text-align: center;
  577. padding: 1.71875vw 0px 3.91vw 0px;
  578. }
  579. .noData{
  580. width:35.2vw;
  581. margin-top: 4.68vw;
  582. }
  583. .DataBoxContent{
  584. width:100%;
  585. }
  586. .noDataText{
  587. color:#C0C0C0;
  588. font-size:1.14vw;
  589. }
  590. .tabBoxContent{
  591. display: flow-root;
  592. width: 78.12vw;
  593. margin: 0px 10.94vw;
  594. background: #fff;
  595. margin-top: 1.25vw;
  596. border-bottom: 1px solid #EEEEEE;
  597. border-top-left-radius: 10px;
  598. border-top-right-radius: 10px;
  599. }
  600. .tabBoxContent div{
  601. width: 9.8vw;
  602. text-align: center;
  603. float:left;
  604. }
  605. .tabBoxContent span{
  606. padding-top: 1.5625vw;
  607. width: 100%;
  608. color: #202124;
  609. font-size: 0.9375vw;
  610. cursor: pointer;
  611. display: inline-block;
  612. }
  613. .tabBoxContent img{
  614. margin-top: 0.9375vw;
  615. width:4.64vw;
  616. }
  617. ::-webkit-scrollbar{
  618. display:none;
  619. }
  620. .btnSmall:hover{
  621. opacity: 0.73;
  622. }
  623. .listBoxItemContent{
  624. padding: 1.5625vw;
  625. padding-bottom: 0px;
  626. }
  627. .listItemClass{
  628. background: #fff;
  629. }
  630. .pageBar{
  631. background: #FAFAFA;
  632. margin-top: 2.76vw;
  633. }
  634. .btnAddData{
  635. -moz-user-select: none;
  636. -khtml-user-select: none;
  637. user-select: none;
  638. width: 5.625vw!important;
  639. height: 2.552vw;
  640. line-height: 2.552vw;
  641. text-align: center;
  642. color: #fff;
  643. background: #406CC4;
  644. border-radius: 6px 6px 6px 6px;
  645. font-size: 0.9375vw;
  646. margin-left: 0.5738vw;
  647. margin-top: 0.93vw;
  648. cursor: pointer;
  649. float: right!important;
  650. margin-right: 1.5625vw;
  651. }
  652. .btnAddData:hover{
  653. background: #385FAD;
  654. }
  655. .bottomBorder{
  656. background: #EEEEEE;
  657. margin-bottom: 0px;
  658. }
  659. .userTop{
  660. margin: 0px 10.94vw;
  661. background: #fff;
  662. padding: 1.5625vw;
  663. margin-top: 1.5104vw;
  664. display: flex;
  665. border-radius: 10px;
  666. }
  667. .userHead{
  668. margin-right: 1.09375vw;
  669. float: left;
  670. }
  671. .userHead img{
  672. width: 6vw;
  673. height: 6vw;
  674. border-radius: 6vw;
  675. }
  676. .userMidleName{
  677. color: #202124;
  678. font-size: 1.25vw;
  679. text-align: left;
  680. font-weight: 550;
  681. }
  682. .userMidleNum{
  683. margin-top: 0.7vw;
  684. color: #C0C0C0;
  685. font-size: 0.83333vw;
  686. text-align: left;
  687. }
  688. .userMidleNum span{
  689. color: #202124;
  690. font-size: 1.04166vw;
  691. margin-left: 0.4166vw;
  692. }
  693. .userEnd{
  694. margin-left: auto;
  695. }
  696. .cascaderBox{
  697. width: 20.625vw;
  698. height: 1.875vw;
  699. margin-top: 2.083vw;
  700. }
  701. .cascaderBox /deep/input{
  702. height: 1.875vw;
  703. }
  704. .listBox{
  705. padding-bottom: 1.5625vw;
  706. background: #fff;
  707. }
  708. </style>