index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  1. <template>
  2. <div v-if="refreshPage" style="min-width:1200px">
  3. <div style="margin:10px 10px 0 10px;border-radius:5px;position:relative" class="container normal-panel sticky" @click="closeTags">
  4. <div class="flex-align-start flex-between normal-margin" style="flex-wrap:nowrap">
  5. <div>
  6. <p class="main_title mt-10">{{titleText?$t(titleText):'##'}}</p>
  7. <tagTemp v-if="activeApp.isdatatag" ref="tag" :categories="editData.categories" :modelName="modelName" :ownertable="ownertable?ownertable:idname.slice(0, this.idname.length - 2)" @onSuccess="onSuccess" @sysTag="sysTag"></tagTemp>
  8. </div>
  9. <div class="flex-align-center" style="display:flex;flex-wrap: wrap;">
  10. <div class="mt-10">
  11. <slot name="customOperationBef"></slot>
  12. </div>
  13. <cpEdit class="mt-10" v-if="tool.checkAuth($route.name,'update')" :formPath="formPath" :oldFormPath="oldFormPath" :data="editData" btnType="default" @onAddSuccess="onSuccess" v-on="$listeners"></cpEdit>
  14. <!-- 打印 -->
  15. <reportCenter size="mini" position="detail" class="inline-16 mt-10" :data="reportCenterLsit.filter(item => item.type == 'printinfo')" v-if="reportCenterLsit.filter(item => item.type == 'printinfo').length > 0 && systemappid != 163" :btnName="btnNameReport">
  16. <template v-slot:print="scope2">
  17. <el-button @click="printBtn($route.query.id,scope2.data)" type="text" size="mini">{{$t('打 印')}}</el-button>
  18. </template>
  19. </reportCenter>
  20. <div class="mt-10">
  21. <slot name="customOperation" class="inline-16"></slot>
  22. </div>
  23. <el-button v-if="isAdmin || (tool.checkAuth($route.name,'delete') && delApiId)" :type="checkDisabled()?'':'primary'" class="inline-16" size="mini" :disabled="checkDisabled()" @click="deleteData" style="margin-top: -10px">{{$t('删 除')}}</el-button>
  24. <div v-if="!pageChange" class="mt-10">
  25. <el-button size="mini" icon="el-icon-arrow-left" @click="previous()" :disabled="$route.query.rowindex == 1"></el-button>
  26. <el-button size="mini" @click="next()" :disabled="turnTotal?$route.query.rowindex == turnTotal:false"><i class="el-icon-arrow-right" ></i></el-button>
  27. </div>
  28. </div>
  29. </div>
  30. <div>
  31. <slot name="d_head"></slot>
  32. </div>
  33. <div v-show="isTop">
  34. <el-descriptions :column="column?column:5" size="mini">
  35. <el-descriptions-item label-class-name="my-label-layout" content-class-name="my-content" v-for="item in mainAData" :key="item.index" >
  36. <template slot="label">
  37. {{$t(item.label)}}
  38. <el-tooltip class="item" effect="dark" :content="item.tooltip" placement="top-start" v-if="item.tooltip">
  39. <img
  40. width="14px"
  41. height="14px"
  42. src="../../../assets/icons/prompt_icon.svg"
  43. />
  44. </el-tooltip>
  45. </template>
  46. <span v-if="item.label === '关联应用数据'" :style="item.style?item.style():''">
  47. <span v-if="item.value !== ''">
  48. <el-button v-if="item.value !== '--'" type="text" @click="onGoto()" style="margin: 0;padding: 0">
  49. {{$t(item.value)}}
  50. </el-button>
  51. <span v-else>--</span>
  52. </span>
  53. <span v-else>--</span>
  54. </span>
  55. <span v-else-if="item.label === '关联合同'" :style="item.style?item.style():''">
  56. <span v-if="item.value !== ''" >
  57. <el-button v-if="item.value !== '--'" type="text" @click="onGoContract" style="margin: 0;padding: 0;width:200px;word-break:break-all;white-space: normal;text-align: left">
  58. {{$t(item.value)}}
  59. </el-button>
  60. <span v-else>--</span>
  61. </span>
  62. <span v-else>--</span>
  63. </span>
  64. <span v-else-if="item.label == '订单号' && isGoDetail">
  65. <el-button v-if="item.value !== '--'" type="text" @click="onGoDetail" style="margin: 0;padding: 0">
  66. {{$t(item.value)}}
  67. </el-button>
  68. <span v-else>--</span>
  69. </span>
  70. <span v-else :style="item.style?item.style():''">{{item.value !== ''?$t(item.value):'--'}}</span>
  71. </el-descriptions-item>
  72. </el-descriptions>
  73. <el-descriptions :column="1" size="mini">
  74. <el-descriptions-item label-class-name="my-label-layout" content-class-name="my-content" v-for="item in mainAData2" :key="item.index" :label="$t(item.label)">
  75. <span :style="item.style?item.style():''">{{item.value !== ''?$t(item.value):'--'}}</span>
  76. </el-descriptions-item>
  77. </el-descriptions>
  78. <slot name="headerBottom"></slot>
  79. </div>
  80. <span @click="isTop=!isTop" style="color:#3874f6;position:absolute;right:10px;bottom:10px;cursor: pointer;">
  81. <i :class="isTop ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i>
  82. {{ isTop ? $t('收起') : $t('展开') }}
  83. </span>
  84. </div>
  85. <div style="box-sizing: border-box;padding:10px">
  86. <el-row class="flex-align-stretch no-wrap" :gutter="activeApp.isdatateam?10:activeApp.isdatafollowup?10:0">
  87. <el-col style="flex:1 0 auto;" :span="activeApp.isdatateam?18:activeApp.isdatafollowup?18:24">
  88. <slot name="customBefore"></slot>
  89. <tabTemp ref="tabRef" :disabled="disabled" :status="status" :tabs="tabs" :editData="editData" :idname="idname" :attachmentDisabled="attachmentDisabled" :ownertable="ownertable?ownertable:idname.slice(0, this.idname.length - 2)" @onTabClick="onTabClick" @newFollow="newFollow" :isFollow="activeApp.isdatafollowup">
  90. <div :slot="'slot' + index" v-for="(tab,index) in tabs" :key="tab.index">
  91. <slot :name="'slot' + index"></slot>
  92. </div>
  93. </tabTemp>
  94. <slot name="custom"></slot>
  95. </el-col>
  96. <el-col v-if="collapse" :span="6">
  97. <taskTemp ref="task" v-if="activeApp.istask" :status="status" :disabled="disabled" :ownertable="ownertable?ownertable:idname.slice(0, this.idname.length - 2)" :typeTask="typeTask" :editData="editData" :idname="idname">
  98. <el-button slot="collapse" type="text" icon="el-icon-s-unfold" class="inline-16" @click="onCollapse"></el-button>
  99. </taskTemp>
  100. <group v-if="activeApp.isdatateam" :isGroup="isGroup" :status="status" :disabled="disabled" ref="group" style="margin-bottom:10px" :justsaler="justsaler" :ownertable="ownertable?ownertable:idname.slice(0, this.idname.length - 2)" @onSuccess="onSuccess" @teamList="teamList">
  101. <el-button slot="collapse" type="text" icon="el-icon-s-unfold" class="inline-16" @click="onCollapse"></el-button>
  102. </group>
  103. <follow-up v-if="activeApp.isdatafollowup" :status="status" ref="follow" :disabled="disabled" :ownertable="ownertable?ownertable:idname.slice(0, this.idname.length - 2)" :editData="editData" :idname="idname" @logSuccess="logSuccess" @onMore="onMore"
  104. @followAdd="followAdd" :bindData="{ ownertable: ownertable, ownerid: editData[idname], usetype: 'default' }">
  105. <el-button slot="collapse" type="text" icon="el-icon-s-unfold" class="inline-16" @click="onCollapse"></el-button>
  106. </follow-up>
  107. </el-col>
  108. <div v-else style="text-align-center" class="container normal-panel">
  109. <el-button slot="collapse" type="text" icon="el-icon-s-fold" @click="onCollapse"></el-button>
  110. </div>
  111. </el-row>
  112. </div>
  113. <el-drawer
  114. :visible.sync="drawer"
  115. :with-header="false"
  116. direction="rtl"
  117. size="90%"
  118. append-to-body
  119. >
  120. <div class="detail__panel">
  121. <router-view :key='$route.path'/>
  122. </div>
  123. </el-drawer>
  124. </div>
  125. </template>
  126. <script>
  127. import cpEdit from '../modules/cpEdit.vue'
  128. import followUp from './modules/followUp/followUp.vue'
  129. import tagTemp from './modules/tags/tag.vue'
  130. import tabTemp from './modules/tabs/tab.vue'
  131. import group from './modules/group/group.vue'
  132. import taskTemp from './modules/task/index.vue'
  133. import reportCenter from '../reportCenter/index'
  134. import {mapGetters} from 'vuex'
  135. export default {
  136. props:['titleText','mainAreaData','turnPageId','delApiId','idname','ownertable','formPath','oldFormPath','editData','tags','tabs','statusCheck','pageChange','justsaler',
  137. 'mainData','status','typeTask','isGroup','isBatch','modelName','isDelete','column','attachmentDisabled','disabled','isGoDetail','detailPath','nowDetailPath','detailId',
  138. 'isAdmin','btnNameReport'],
  139. data () {
  140. return {
  141. drawer:false,
  142. isTop:true,
  143. routerName:'',
  144. rowindex:0,
  145. total:0,
  146. isPrevious:false,
  147. turnTotal:sessionStorage.getItem('total'),
  148. param:{
  149. "id": '',
  150. "content": {
  151. "isExport":false,
  152. "pageNumber": 1,
  153. "pageSize": 1,
  154. "nocache": true,
  155. "where": {
  156. "condition": ""
  157. }
  158. }
  159. },
  160. collapse:true,
  161. refreshPage:true,
  162. reportCenterLsit:[],
  163. systemappid:JSON.parse(sessionStorage.getItem('activeApp')).systemappid,
  164. time:null
  165. }
  166. },
  167. computed:{
  168. mainAData () {
  169. try {
  170. let data = this.mainAreaData.filter(e=>{
  171. if(e.label != '备注' && e.label != '对外备注' && e.label != '对内备注' && e.label != '优势信息' && e.label != '劣势信息') {
  172. return e
  173. }
  174. })
  175. data = data.filter(e=>e.label != '')
  176. return data
  177. } catch (error) {
  178. }
  179. },
  180. mainAData2 () {
  181. try {
  182. let data = this.mainAreaData.filter(e=>{
  183. if(e.label == '备注' || e.label == '优势信息' || e.label == '劣势信息' || e.label == '对外备注' || e.label == '对内备注') {
  184. return e
  185. }
  186. })
  187. data = data.filter(e=>e.label != '')
  188. return data
  189. } catch (error) {
  190. }
  191. },
  192. ...mapGetters({
  193. activeApp:"activeApp",
  194. svlistData:'svlistData'
  195. })
  196. },
  197. components:{
  198. cpEdit,
  199. followUp,
  200. group,
  201. tagTemp,
  202. tabTemp,
  203. taskTemp,
  204. reportCenter
  205. },
  206. methods:{
  207. // async queryData (pageNumber) {
  208. // this.$emit('updateParam',this.param)
  209. // this.param.id = this.turnPageId
  210. // this.param.content.pageNumber = pageNumber
  211. // const res = await this.$api.requested(this.param)
  212. // this.total = res.total
  213. // this.$refs['tag']?this.$refs['tag'].queryTag():''
  214. // this.refresh()
  215. // },
  216. async nextData(param,fn) {
  217. this.rowStatus = null
  218. const res = await this.$api.requested(param)
  219. this.$store.dispatch('saveListData',{listData:res.data,param:param,pageTotal:res.pageTotal})
  220. fn?fn():''
  221. },
  222. /* 获取是否有报表数据 */
  223. async getSystemAppid () {
  224. let res = await this.$api.requested({
  225. "id":20221213094401,
  226. "content": {
  227. "systemappid":this.systemappid,
  228. }
  229. })
  230. this.reportCenterLsit = res.data || []
  231. console.log('报表',this.reportCenterLsit);
  232. },
  233. async printBtn (data,data2) {
  234. let res = await this.$api.requested({
  235. "id":20221213094501,
  236. "content": {
  237. sys_reportid:data2.sys_reportid,
  238. dataid:data[this.idName]
  239. }
  240. })
  241. this.tool.showMessage(res,() => {
  242. window.open(this.tool.getBaseUrl() + res.data + `&${this.idname}=${data}`)
  243. })
  244. },
  245. async next () {
  246. if (this.$route.query.listqueryid === 'undefined' || !this.$route.query.listqueryid){
  247. this.nextOld()
  248. }else {
  249. let listqueryid = sessionStorage.getItem('listqueryid')
  250. if (this.time !== null) {
  251. clearTimeout(this.time)
  252. }
  253. this.time = setTimeout(() => {
  254. this.upPageData(1,listqueryid)
  255. }, 0);
  256. }
  257. },
  258. async previous () {
  259. if (this.$route.query.listqueryid === 'undefined' || !this.$route.query.listqueryid){
  260. this.previousOld()
  261. }else {
  262. let rowindex = this.$route.query.rowindex
  263. let listqueryid = sessionStorage.getItem('listqueryid')
  264. if (rowindex >= 1) {
  265. if (rowindex = 1){
  266. if (this.time !== null) {
  267. clearTimeout(this.time)
  268. }
  269. this.time = setTimeout(() => {
  270. this.upPageData(0,listqueryid)
  271. }, 0);
  272. this.isPrevious = true
  273. }else {
  274. if (this.time !== null) {
  275. clearTimeout(this.time)
  276. }
  277. this.time = setTimeout(() => {
  278. this.upPageData(0,listqueryid)
  279. }, 0);
  280. this.isPrevious = false
  281. }
  282. } else {
  283. /*message.warn('已经是第一条了!')*/
  284. this.isPrevious = true
  285. }
  286. }
  287. },
  288. async nextOld () {
  289. const rs = await this.checkPaginationData()
  290. if (rs == 0 && this.svlistData.listData.length == 1) return false
  291. if (rs == 1 && this.svlistData.param.content.pageNumber == this.svlistData.pageTotal) return false
  292. let fun = (rs) =>{
  293. let nowId = this.$route.query.id
  294. let changeId = ''
  295. if (rs == 1) {
  296. changeId = this.svlistData.listData[0][this.idname]
  297. } else {
  298. this.svlistData.listData.forEach((e,index)=>{
  299. if (e[this.idname] == nowId) {
  300. changeId = this.svlistData.listData[index + 1][this.idname]
  301. }
  302. })
  303. }
  304. this.$emit('pageChange',changeId,this.idx)
  305. this.refresh()
  306. }
  307. if (rs == 1) {
  308. this.svlistData.param.content.pageNumber ++
  309. this.nextData(this.svlistData.param,(rs)=>{
  310. fun(1)
  311. })
  312. } else {
  313. fun()
  314. }
  315. },
  316. async previousOld () {
  317. const res = await this.checkPaginationData()
  318. if (res == 0 && this.svlistData.param.content.pageNumber == 1) return false
  319. const fun = (rs)=>{
  320. let nowId = this.$route.query.id
  321. let changeId = ''
  322. if (rs == 0) {
  323. changeId = this.svlistData.listData[this.svlistData.listData.length - 1][this.idname]
  324. } else {
  325. this.svlistData.listData.forEach((e,index)=>{
  326. if (e[this.idname] == nowId) {
  327. changeId = this.svlistData.listData[index - 1][this.idname]
  328. }
  329. })
  330. }
  331. this.$emit('pageChange',changeId,this.idx)
  332. this.refresh()
  333. }
  334. if (res == 0) {
  335. this.svlistData.param.content.pageNumber --
  336. this.nextData(this.svlistData.param,()=>{
  337. fun(0)
  338. })
  339. } else {
  340. fun()
  341. }
  342. },
  343. async upPageData (forward,listqueryid){
  344. /*const hide = message.loading({content:'正在查询数据,请稍等..',duration:0,key:1});*/
  345. const res = await this.$api.requested({
  346. "classname": "system.tools",
  347. "method":"querylistdatabyrowindex",
  348. "content": {
  349. "uniqueid":this.$route.query.id,
  350. "rowindex": this.$route.query.rowindex,
  351. "forward":forward,
  352. "listqueryid": listqueryid,
  353. "fieldname":this.$route.query.fieldname
  354. }
  355. })
  356. if (res.data.data) {
  357. sessionStorage.setItem('total',res.data.total)
  358. this.$router.replace({path:this.$route.path,query:{id:res.data.data,rowindex:res.data.rowindex,listqueryid:listqueryid,fieldname:this.$route.query.fieldname}})
  359. this.$emit('pageChange',res.data.data,this.$route.query.rowindex)
  360. } else {
  361. /* message.warn('已经是最后一条了!')*/
  362. }
  363. },
  364. onSuccess () {
  365. this.$emit('onEditSuccess')
  366. },
  367. deleteData () {
  368. this.$confirm(this.$t('确定删除当前数据吗') + '?', this.$t('提示'), {
  369. confirmButtonText: this.$t('确定'),
  370. cancelButtonText: this.$t('取消'),
  371. type: 'warning'
  372. }).then(async () => {
  373. let param = {
  374. "id": this.delApiId,
  375. "content":{}
  376. }
  377. if (this.isBatch === false){
  378. param.content[`${this.idname}`] = this.editData[this.idname]
  379. }else {
  380. if (this.idname instanceof Array) { //判断传入的类型是多个还是单个idname
  381. let obj = {}
  382. this.idname.forEach(e=>{
  383. obj[e] = ''
  384. })
  385. param.content[`${this.idname[0]}s`] = [Object.keys(obj).map((key,item)=>{
  386. obj[key] = this.editData[key]
  387. })]
  388. } else if(this.isDelete){
  389. param.content[`${this.idname}`] = this.editData[this.idname]
  390. } else {
  391. param.content[`${this.idname}s`] = [this.editData[this.idname]]
  392. }
  393. }
  394. const res = await this.$api.requested(param)
  395. this.tool.showMessage(res,()=>{
  396. this.$store.dispatch('changeDetailDrawer',false)
  397. })
  398. }).catch((err) => {
  399. console.log(err)
  400. this.$message({
  401. type: 'info',
  402. message: this.$t('已取消删除')
  403. });
  404. });
  405. },
  406. checkDisabled () {
  407. if (this.isAdmin){
  408. const accountno = JSON.parse(sessionStorage.getItem('active_account')).accountno
  409. if (accountno == 'admin' || accountno == 'hyadmin' || accountno == 'tzadmin' || accountno == 'nbadmin'){
  410. return false
  411. }else {
  412. if (this.statusCheck) {
  413. let _isSame = this.statusCheck.some(item=>item.value === this.editData[item.key])
  414. return _isSame
  415. } else {
  416. return false
  417. }
  418. }
  419. }else {
  420. if (this.statusCheck) {
  421. let _isSame = this.statusCheck.some(item=>item.value === this.editData[item.key])
  422. return _isSame
  423. } else {
  424. return false
  425. }
  426. }
  427. },
  428. onTabClick (val) {
  429. this.$emit('onTabClick',val)
  430. },
  431. onCollapse () {
  432. this.collapse?this.collapse = false:this.collapse = true
  433. },
  434. refresh () {
  435. this.refreshPage = false
  436. setTimeout(() => {
  437. this.refreshPage = true
  438. }, 10);
  439. },
  440. refreshTag () {
  441. this.$refs.tag.queryTag()
  442. },
  443. closeTags() {
  444. this.$refs.tag?this.$refs.tag.closeTag():''
  445. },
  446. checkPaginationData () {
  447. return new Promise((reslove,reject)=>{
  448. let id = this.$route.query.id
  449. let n = 0
  450. this.svlistData.listData.filter((e,index)=>{
  451. if (e[this.idname] == id){
  452. n = index
  453. }
  454. })
  455. if (n == 0) {
  456. reslove(0)
  457. } else if (n == this.svlistData.listData.length - 1) {
  458. reslove(1)
  459. } else {
  460. reslove(-1)
  461. }
  462. })
  463. },
  464. sysTag(val){
  465. this.$emit('sysTag',val)
  466. },
  467. /*任务页面跳转*/
  468. onGoto(){
  469. let path = this.mainData.path
  470. let route = this.$route
  471. if (route.path !== path.slice(1)){
  472. this.oldRoute = {path:route.path,query:route.query}
  473. this.$store.dispatch('setHistoryRouter',this.oldRoute)
  474. }
  475. this.$router.push({
  476. path:path,
  477. query:{
  478. id:this.mainData.ownerid,
  479. rowindex:this.mainData.rowindex
  480. }
  481. })
  482. },
  483. /*任务协助人*/
  484. teamList(val){
  485. this.$emit('teamList',val)
  486. },
  487. onGoContract(){
  488. this.$store.dispatch('changeDetailDrawer',false)
  489. this.$nextTick(()=>{
  490. setTimeout(()=>{
  491. let route = this.$route
  492. if (route.path !== 'orderdetail' || route.path !== 'saler_orderDetails') {
  493. this.oldRoute = {path:route.path,query:route.query}
  494. this.$store.dispatch('setHistoryRouter',this.oldRoute)
  495. }
  496. let type = this.editData.contract_type == '项目'?this.editData.contract_typemx == '直销'?'直销项目':'经销项目':this.editData.contract_type
  497. this.$router.push({
  498. path:'/contractDetail',
  499. query:{id:this.editData.sa_contractid,rowindex:this.editData.rowindex, type:type}
  500. })
  501. this.$store.dispatch('changeDetailDrawer',true)
  502. },500)
  503. })
  504. },
  505. onGoDetail(){
  506. let route = this.$route
  507. if (route.path == this.nowDetailPath) {
  508. this.oldRoute = {path:route.path,query:route.query}
  509. this.$store.dispatch('setHistoryRouter',this.oldRoute)
  510. }
  511. this.$router.push({
  512. path:this.detailPath,
  513. query:{id:this.detailId,rowindex:this.editData.rowindex}
  514. })
  515. },
  516. logSuccess(){
  517. this.$emit('logSuccess')
  518. },
  519. newFollow(){
  520. setTimeout(()=>{
  521. this.$refs.follow.queryLogs()
  522. },1000)
  523. },
  524. onMore(val){
  525. this.$refs.tabRef.$refs.followRef.listData()
  526. if (val == '查看更多'){
  527. this.$refs.tabRef.activeName = 'follow'
  528. }
  529. },
  530. followAdd(){
  531. this.$emit('followAdd')
  532. }
  533. },
  534. mounted () {
  535. // this.checkPaginationData()
  536. this.idx = this.$route.query.rowindex
  537. },
  538. created () {
  539. this.$emit('detailCreate',this.param)
  540. this.routerName = this.$route.meta.title
  541. this.rowindex = Number(this.$route.query.rowindex)
  542. this.getSystemAppid()
  543. },
  544. watch:{
  545. mainAreaData () {
  546. // console.log(this.mainAData,'mainAData')
  547. // this.checkPaginationData()
  548. }
  549. }
  550. }
  551. </script>
  552. <style>
  553. .detail__head__label{
  554. display: inline-block;
  555. width: 70px;
  556. }
  557. .my-label-layout{
  558. font-size: 14px;
  559. color: #999;
  560. }
  561. </style>
  562. <style scoped>
  563. .appname{
  564. display: inline;
  565. background: #FA8C19;
  566. color:#fff;
  567. border-radius: 4px;
  568. padding: 2px 10px;
  569. font-size: 12px;
  570. }
  571. .my-tabs{
  572. background:#eeeeee
  573. }
  574. .sticky{
  575. position: sticky;
  576. top:0;
  577. box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  578. }
  579. .no-wrap{
  580. flex-wrap:nowrap !important;
  581. }
  582. .main_title{
  583. font-size:30px;
  584. font-weight:300;
  585. margin-right:16px;
  586. line-height: 32px;
  587. }
  588. </style>