Browse Source

修改需求

xia 4 years ago
parent
commit
4e3c91c2f4

+ 8 - 0
src/scss/index.scss

@@ -4,6 +4,14 @@
 
 // @import "./components/index.scss";
 // @import "./views/index.scss";
+
+.ant-table-row-cell-break-word p{
+  max-width: 100%;
+  overflow-wrap: break-word;
+  word-break: break-word;
+  white-space: normal;
+}
+
 body {
   min-width: 1300px;
   overflow-x: auto;

+ 8 - 3
src/views/_pageOptions/table-put.ts

@@ -614,7 +614,7 @@ export const AdgroupCloumn = [
   {
     title: "广告组名称",
     dataIndex: "campaign_name",
-    width: 100,
+    width: 150,
     slots: {
       customRender: "adgroup",
     },
@@ -671,15 +671,20 @@ export const AdCoundCloumn = [
   {
     title: "账户信息",
     dataIndex: "campaign_name",
-    width: 150,
+    width: 200,
     slots: {
       customRender: "info",
     },
   },
   {
+    title: "账户余额",
+    dataIndex: "balance",
+    width: 100,
+  },
+  {
     title: "账户预算(最低1000元)",
     dataIndex: "firle",
-    width: 180,
+    width: 130,
     slots: {
       customRender: "budget",
     },

+ 3 - 1
src/views/put/ad-countdata.vue

@@ -18,8 +18,10 @@
     <a-table
       :columns="columns"
       :data-source="list"
-      :scroll="{ y: 800, x: 1000 }"
+      :pagination="tablePageOptions"
+      :scroll="{ y: 700, x: 1000 }"
       @change="handleTableChange"
+      rowKey="id"
     >
       <template #info="{ text, record }">
         <p @click="goAdlgroup(record.advertiser_id)">

+ 3 - 1
src/views/put/ad-group.vue

@@ -19,7 +19,9 @@
     <a-table
       :columns="columns"
       :data-source="list"
-      :scroll="{ x: true }"
+      :pagination="tablePageOptions"
+      rowKey="id"
+       :scroll="{ x: 1300,y:700 }"
       @change="handleTableChange"
     >
       <template #adgroup="{ text, record }">

+ 1 - 1
src/views/put/put-ad-count.vue

@@ -7,7 +7,7 @@
       :pagination="tablePageOptions"
       :loading="loading.value"
       @change="handleTableChange"
-      :scroll="{ x: 1500 }"
+      :scroll="{ x: 1500,y:700 }"
     >
     </a-table>
   </div>

+ 1 - 1
src/views/put/put-ad-plan.vue

@@ -52,7 +52,7 @@
       :loading="loading.value"
       @change="handleTableChange"
       rowKey="id"
-      :scroll="{ x: 1800,y:800 }"
+      :scroll="{ x: 1800,y:700 }"
     >
       <template #switch="{ text, record }">
         <a-switch