index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  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">
  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">
  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'],
  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 != '劣势信息') {
  172. return e
  173. }
  174. })
  175. return data
  176. } catch (error) {
  177. }
  178. },
  179. mainAData2 () {
  180. try {
  181. let data = this.mainAreaData.filter(e=>{
  182. if(e.label == '备注' || e.label == '优势信息' || e.label == '劣势信息') {
  183. return e
  184. }
  185. })
  186. return data
  187. } catch (error) {
  188. }
  189. },
  190. ...mapGetters({
  191. activeApp:"activeApp",
  192. svlistData:'svlistData'
  193. })
  194. },
  195. components:{
  196. cpEdit,
  197. followUp,
  198. group,
  199. tagTemp,
  200. tabTemp,
  201. taskTemp,
  202. reportCenter
  203. },
  204. methods:{
  205. // async queryData (pageNumber) {
  206. // this.$emit('updateParam',this.param)
  207. // this.param.id = this.turnPageId
  208. // this.param.content.pageNumber = pageNumber
  209. // const res = await this.$api.requested(this.param)
  210. // this.total = res.total
  211. // this.$refs['tag']?this.$refs['tag'].queryTag():''
  212. // this.refresh()
  213. // },
  214. async nextData(param,fn) {
  215. this.rowStatus = null
  216. const res = await this.$api.requested(param)
  217. this.$store.dispatch('saveListData',{listData:res.data,param:param,pageTotal:res.pageTotal})
  218. fn?fn():''
  219. },
  220. /* 获取是否有报表数据 */
  221. async getSystemAppid () {
  222. let res = await this.$api.requested({
  223. "id":20221213094401,
  224. "content": {
  225. "systemappid":this.systemappid,
  226. }
  227. })
  228. this.reportCenterLsit = res.data || []
  229. console.log('报表',this.reportCenterLsit);
  230. },
  231. async printBtn (data,data2) {
  232. let res = await this.$api.requested({
  233. "id":20221213094501,
  234. "content": {
  235. sys_reportid:data2.sys_reportid,
  236. dataid:data[this.idName]
  237. }
  238. })
  239. this.tool.showMessage(res,() => {
  240. window.open(this.tool.getBaseUrl() + res.data + `&${this.idname}=${data}`)
  241. })
  242. },
  243. async next () {
  244. if (this.$route.query.listqueryid === 'undefined' || !this.$route.query.listqueryid){
  245. this.nextOld()
  246. }else {
  247. let listqueryid = sessionStorage.getItem('listqueryid')
  248. if (this.time !== null) {
  249. clearTimeout(this.time)
  250. }
  251. this.time = setTimeout(() => {
  252. this.upPageData(1,listqueryid)
  253. }, 0);
  254. }
  255. },
  256. async previous () {
  257. if (this.$route.query.listqueryid === 'undefined' || !this.$route.query.listqueryid){
  258. this.previousOld()
  259. }else {
  260. let rowindex = this.$route.query.rowindex
  261. let listqueryid = sessionStorage.getItem('listqueryid')
  262. if (rowindex >= 1) {
  263. if (rowindex = 1){
  264. if (this.time !== null) {
  265. clearTimeout(this.time)
  266. }
  267. this.time = setTimeout(() => {
  268. this.upPageData(0,listqueryid)
  269. }, 0);
  270. this.isPrevious = true
  271. }else {
  272. if (this.time !== null) {
  273. clearTimeout(this.time)
  274. }
  275. this.time = setTimeout(() => {
  276. this.upPageData(0,listqueryid)
  277. }, 0);
  278. this.isPrevious = false
  279. }
  280. } else {
  281. /*message.warn('已经是第一条了!')*/
  282. this.isPrevious = true
  283. }
  284. }
  285. },
  286. async nextOld () {
  287. const rs = await this.checkPaginationData()
  288. if (rs == 0 && this.svlistData.listData.length == 1) return false
  289. if (rs == 1 && this.svlistData.param.content.pageNumber == this.svlistData.pageTotal) return false
  290. let fun = (rs) =>{
  291. let nowId = this.$route.query.id
  292. let changeId = ''
  293. if (rs == 1) {
  294. changeId = this.svlistData.listData[0][this.idname]
  295. } else {
  296. this.svlistData.listData.forEach((e,index)=>{
  297. if (e[this.idname] == nowId) {
  298. changeId = this.svlistData.listData[index + 1][this.idname]
  299. }
  300. })
  301. }
  302. this.$emit('pageChange',changeId,this.idx)
  303. this.refresh()
  304. }
  305. if (rs == 1) {
  306. this.svlistData.param.content.pageNumber ++
  307. this.nextData(this.svlistData.param,(rs)=>{
  308. fun(1)
  309. })
  310. } else {
  311. fun()
  312. }
  313. },
  314. async previousOld () {
  315. const res = await this.checkPaginationData()
  316. if (res == 0 && this.svlistData.param.content.pageNumber == 1) return false
  317. const fun = (rs)=>{
  318. let nowId = this.$route.query.id
  319. let changeId = ''
  320. if (rs == 0) {
  321. changeId = this.svlistData.listData[this.svlistData.listData.length - 1][this.idname]
  322. } else {
  323. this.svlistData.listData.forEach((e,index)=>{
  324. if (e[this.idname] == nowId) {
  325. changeId = this.svlistData.listData[index - 1][this.idname]
  326. }
  327. })
  328. }
  329. this.$emit('pageChange',changeId,this.idx)
  330. this.refresh()
  331. }
  332. if (res == 0) {
  333. this.svlistData.param.content.pageNumber --
  334. this.nextData(this.svlistData.param,()=>{
  335. fun(0)
  336. })
  337. } else {
  338. fun()
  339. }
  340. },
  341. async upPageData (forward,listqueryid){
  342. /*const hide = message.loading({content:'正在查询数据,请稍等..',duration:0,key:1});*/
  343. const res = await this.$api.requested({
  344. "classname": "system.tools",
  345. "method":"querylistdatabyrowindex",
  346. "content": {
  347. "uniqueid":this.$route.query.id,
  348. "rowindex": this.$route.query.rowindex,
  349. "forward":forward,
  350. "listqueryid": listqueryid,
  351. "fieldname":this.$route.query.fieldname
  352. }
  353. })
  354. if (res.data.data) {
  355. sessionStorage.setItem('total',res.data.total)
  356. this.$router.replace({path:this.$route.path,query:{id:res.data.data,rowindex:res.data.rowindex,listqueryid:listqueryid,fieldname:this.$route.query.fieldname}})
  357. this.$emit('pageChange',res.data.data,this.$route.query.rowindex)
  358. } else {
  359. /* message.warn('已经是最后一条了!')*/
  360. }
  361. },
  362. onSuccess () {
  363. this.$emit('onEditSuccess')
  364. },
  365. deleteData () {
  366. this.$confirm(this.$t('确定删除当前数据吗') + '?', this.$t('提示'), {
  367. confirmButtonText: this.$t('确定'),
  368. cancelButtonText: this.$t('取消'),
  369. type: 'warning'
  370. }).then(async () => {
  371. let param = {
  372. "id": this.delApiId,
  373. "content":{}
  374. }
  375. if (this.isBatch === false){
  376. param.content[`${this.idname}`] = this.editData[this.idname]
  377. }else {
  378. if (this.idname instanceof Array) { //判断传入的类型是多个还是单个idname
  379. let obj = {}
  380. this.idname.forEach(e=>{
  381. obj[e] = ''
  382. })
  383. param.content[`${this.idname[0]}s`] = [Object.keys(obj).map((key,item)=>{
  384. obj[key] = this.editData[key]
  385. })]
  386. } else if(this.isDelete){
  387. param.content[`${this.idname}`] = this.editData[this.idname]
  388. } else {
  389. param.content[`${this.idname}s`] = [this.editData[this.idname]]
  390. }
  391. }
  392. const res = await this.$api.requested(param)
  393. this.tool.showMessage(res,()=>{
  394. this.$store.dispatch('changeDetailDrawer',false)
  395. })
  396. }).catch((err) => {
  397. console.log(err)
  398. this.$message({
  399. type: 'info',
  400. message: this.$t('已取消删除')
  401. });
  402. });
  403. },
  404. checkDisabled () {
  405. if (this.isAdmin){
  406. const accountno = JSON.parse(sessionStorage.getItem('active_account')).accountno
  407. if (accountno == 'admin' || accountno == 'hyadmin' || accountno == 'tzadmin' || accountno == 'nbadmin'){
  408. return false
  409. }else {
  410. if (this.statusCheck) {
  411. let _isSame = this.statusCheck.some(item=>item.value === this.editData[item.key])
  412. return _isSame
  413. } else {
  414. return false
  415. }
  416. }
  417. }else {
  418. if (this.statusCheck) {
  419. let _isSame = this.statusCheck.some(item=>item.value === this.editData[item.key])
  420. return _isSame
  421. } else {
  422. return false
  423. }
  424. }
  425. },
  426. onTabClick (val) {
  427. this.$emit('onTabClick',val)
  428. },
  429. onCollapse () {
  430. this.collapse?this.collapse = false:this.collapse = true
  431. },
  432. refresh () {
  433. this.refreshPage = false
  434. setTimeout(() => {
  435. this.refreshPage = true
  436. }, 10);
  437. },
  438. refreshTag () {
  439. this.$refs.tag.queryTag()
  440. },
  441. closeTags() {
  442. this.$refs.tag?this.$refs.tag.closeTag():''
  443. },
  444. checkPaginationData () {
  445. return new Promise((reslove,reject)=>{
  446. let id = this.$route.query.id
  447. let n = 0
  448. this.svlistData.listData.filter((e,index)=>{
  449. if (e[this.idname] == id){
  450. n = index
  451. }
  452. })
  453. if (n == 0) {
  454. reslove(0)
  455. } else if (n == this.svlistData.listData.length - 1) {
  456. reslove(1)
  457. } else {
  458. reslove(-1)
  459. }
  460. })
  461. },
  462. sysTag(val){
  463. this.$emit('sysTag',val)
  464. },
  465. /*任务页面跳转*/
  466. onGoto(){
  467. let path = this.mainData.path
  468. let route = this.$route
  469. if (route.path !== path.slice(1)){
  470. this.oldRoute = {path:route.path,query:route.query}
  471. this.$store.dispatch('setHistoryRouter',this.oldRoute)
  472. }
  473. this.$router.push({
  474. path:path,
  475. query:{
  476. id:this.mainData.ownerid,
  477. rowindex:this.mainData.rowindex
  478. }
  479. })
  480. },
  481. /*任务协助人*/
  482. teamList(val){
  483. this.$emit('teamList',val)
  484. },
  485. onGoContract(){
  486. this.$store.dispatch('changeDetailDrawer',false)
  487. this.$nextTick(()=>{
  488. setTimeout(()=>{
  489. let route = this.$route
  490. if (route.path !== 'orderdetail' || route.path !== 'saler_orderDetails') {
  491. this.oldRoute = {path:route.path,query:route.query}
  492. this.$store.dispatch('setHistoryRouter',this.oldRoute)
  493. }
  494. let type = this.editData.contract_type == '项目'?this.editData.contract_typemx == '直销'?'直销项目':'经销项目':this.editData.contract_type
  495. this.$router.push({
  496. path:'/contractDetail',
  497. query:{id:this.editData.sa_contractid,rowindex:this.editData.rowindex, type:type}
  498. })
  499. this.$store.dispatch('changeDetailDrawer',true)
  500. },500)
  501. })
  502. },
  503. onGoDetail(){
  504. let route = this.$route
  505. if (route.path == this.nowDetailPath) {
  506. this.oldRoute = {path:route.path,query:route.query}
  507. this.$store.dispatch('setHistoryRouter',this.oldRoute)
  508. }
  509. this.$router.push({
  510. path:this.detailPath,
  511. query:{id:this.detailId,rowindex:this.editData.rowindex}
  512. })
  513. },
  514. logSuccess(){
  515. this.$emit('logSuccess')
  516. },
  517. newFollow(){
  518. setTimeout(()=>{
  519. this.$refs.follow.queryLogs()
  520. },1000)
  521. },
  522. onMore(val){
  523. this.$refs.tabRef.$refs.followRef.listData()
  524. if (val == '查看更多'){
  525. this.$refs.tabRef.activeName = 'follow'
  526. }
  527. },
  528. followAdd(){
  529. this.$emit('followAdd')
  530. }
  531. },
  532. mounted () {
  533. // this.checkPaginationData()
  534. this.idx = this.$route.query.rowindex
  535. },
  536. created () {
  537. this.$emit('detailCreate',this.param)
  538. this.routerName = this.$route.meta.title
  539. this.rowindex = Number(this.$route.query.rowindex)
  540. this.getSystemAppid()
  541. },
  542. watch:{
  543. mainAreaData () {
  544. // console.log(this.mainAData,'mainAData')
  545. // this.checkPaginationData()
  546. }
  547. }
  548. }
  549. </script>
  550. <style>
  551. .detail__head__label{
  552. display: inline-block;
  553. width: 70px;
  554. }
  555. .my-label-layout{
  556. font-size: 14px;
  557. color: #999;
  558. }
  559. </style>
  560. <style scoped>
  561. .appname{
  562. display: inline;
  563. background: #FA8C19;
  564. color:#fff;
  565. border-radius: 4px;
  566. padding: 2px 10px;
  567. font-size: 12px;
  568. }
  569. .my-tabs{
  570. background:#eeeeee
  571. }
  572. .sticky{
  573. position: sticky;
  574. top:0;
  575. box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  576. }
  577. .no-wrap{
  578. flex-wrap:nowrap !important;
  579. }
  580. .main_title{
  581. font-size:30px;
  582. font-weight:300;
  583. margin-right:16px;
  584. line-height: 32px;
  585. }
  586. </style>