index.vue 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. <style lang="scss" scoped>
  2. .search-bar {
  3. display: flex;
  4. align-items: center;
  5. }
  6. .search-box p {
  7. display: inline-block;
  8. border: 1px solid #f2f2f2;
  9. border-radius: 5px;
  10. margin-right: 10px;
  11. padding: 5px 10px;
  12. cursor: pointer;
  13. }
  14. .card-person-drawer {
  15. width: 100%;
  16. height: 90%;
  17. overflow: hidden;
  18. padding: 10px 0px;
  19. display: flex;
  20. flex-wrap: wrap;
  21. margin-right: -10px;
  22. justify-content: space-between;
  23. ::v-deep .ant-card-body {
  24. padding: 0;
  25. }
  26. ::v-deep .ant-card-head {
  27. padding: 0 5px;
  28. }
  29. .card-item {
  30. width: calc(25% - 10px);
  31. margin-bottom: 10px;
  32. float: left;
  33. }
  34. .card-item-else {
  35. width: calc(20% - 10px);
  36. margin-bottom: 10px;
  37. float: left;
  38. }
  39. }
  40. </style>
  41. <style scoped>
  42. .showNumBox {
  43. margin: 10px 0;
  44. }
  45. .showNumBox .ant-card-body {
  46. display: flex;
  47. justify-content: center;
  48. }
  49. .showNumBox p,
  50. .showNumBox span {
  51. text-align: center;
  52. line-height: 40px;
  53. font-size: 30px;
  54. font-weight: 600;
  55. color: red;
  56. margin: 0;
  57. }
  58. .search-box .ant-card-body {
  59. padding: 5px 15px;
  60. }
  61. .showNumBox .ant-card-body .styleElse {
  62. line-height: 60px;
  63. height: 40px;
  64. font-size: 16px;
  65. font-weight: 400;
  66. margin-left: 10px;
  67. }
  68. .ant-modal-wrap .yincang .ant-modal-content .ant-modal-footer {
  69. display: none !important;
  70. }
  71. .yincang .ant-col-6 p {
  72. text-align: left;
  73. color: red;
  74. font-size: 16px;
  75. font-weight: 500;
  76. }
  77. .ant-table-thead div {
  78. font-weight: 700;
  79. }
  80. .tool-tip {
  81. position: absolute;
  82. top: 65px;
  83. right: 10px;
  84. }
  85. </style>
  86. <style lang="less" scoped>
  87. .ant-card-head .ant-tabs-bar {
  88. padding: 0;
  89. }
  90. .search-box .ant-card-body {
  91. padding: 5px 15px;
  92. }
  93. .search-box {
  94. padding: 15px 10px;
  95. }
  96. .search-box p {
  97. display: inline-block;
  98. border: 1px solid #f2f2f2;
  99. border-radius: 5px;
  100. margin-right: 10px;
  101. padding: 5px 10px;
  102. cursor: pointer;
  103. }
  104. .statistics .ant-col-6 .ant-card-body .styleElse {
  105. line-height: 60px;
  106. height: 40px;
  107. font-size: 16px;
  108. font-weight: 400;
  109. margin-left: 10px;
  110. }
  111. .ant-modal-wrap .yincang .ant-modal-content .ant-modal-footer {
  112. display: none !important;
  113. }
  114. .yincang .ant-col-6 p {
  115. text-align: left;
  116. color: red;
  117. font-size: 16px;
  118. font-weight: 500;
  119. }
  120. .ant-table-thead div {
  121. font-weight: 700;
  122. }
  123. .tool-tip {
  124. position: absolute;
  125. top: 65px;
  126. right: 10px;
  127. }
  128. .statistics {
  129. .ant-card-bordered {
  130. border: none;
  131. }
  132. .ant-card-head .ant-tabs {
  133. clear: both;
  134. margin-bottom: -13px;
  135. color: rgba(0, 0, 0, 0.65);
  136. font-weight: normal;
  137. font-size: 14px;
  138. }
  139. .duibi {
  140. position: absolute;
  141. right: 24px;
  142. top: 15px;
  143. }
  144. p {
  145. margin-bottom: 0;
  146. }
  147. }
  148. </style>
  149. <style lang="less" scoped>
  150. .middle-button {
  151. margin: 0 8px;
  152. }
  153. .newPlanStatic {
  154. .divider {
  155. height: 62px;
  156. }
  157. .showNumBox {
  158. background: white;
  159. overflow: hidden;
  160. margin: 15px 0;
  161. padding: 30px 0;
  162. text-align: center;
  163. .ant-card-body {
  164. padding-top: 0;
  165. }
  166. .title {
  167. font-size: 14px;
  168. font-family: PingFangSC-Regular, PingFang SC;
  169. font-weight: 400;
  170. color: #999999;
  171. line-height: 22px;
  172. display: inline-block;
  173. }
  174. }
  175. .tabbody {
  176. background: white;
  177. padding: 0 24px;
  178. margin-bottom: 15px;
  179. .ant-tabs-bar {
  180. margin: 0;
  181. }
  182. }
  183. .chartBox {
  184. background: white;
  185. padding: 20px 0;
  186. }
  187. .tableBody {
  188. background: white;
  189. padding: 20px;
  190. }
  191. }
  192. </style>
  193. <template>
  194. <div class="newPlanStatic config-project">
  195. <div class="tabbody">
  196. <a-tabs v-model="tabKey" @change="tabChange">
  197. <a-tab-pane key="channelList" tab="渠道号"> </a-tab-pane>
  198. <a-tab-pane key="2" tab="单品" disabled> </a-tab-pane>
  199. <!-- <a-button slot="tabBarExtraContent" type="primary" @click="newCreat(null)">
  200. 创建渠道号
  201. </a-button> -->
  202. </a-tabs>
  203. </div>
  204. <component v-bind:is="currentTabComponent"></component>
  205. </div>
  206. </template>
  207. <script>
  208. import moment from 'moment'
  209. let KScolumns = []
  210. export default {
  211. components: {
  212. channelList: () => import('./components/channelList'),
  213. },
  214. data() {
  215. return {
  216. currentTabComponent: 'channelList',
  217. tabKey: 'channelList',
  218. }
  219. },
  220. methods: {
  221. moment,
  222. // 快手头条的切换
  223. tabChange(key) {
  224. this.currentTabComponent = key;
  225. },
  226. },
  227. watch: {
  228. },
  229. computed: {
  230. },
  231. mounted() {
  232. },
  233. activated: function() {},
  234. filters: {
  235. }
  236. }
  237. </script>