jiayufei 4 лет назад
Родитель
Сommit
9cbd1beaeb

+ 6 - 1
src/views/modules/account-config/account-config.less

@@ -32,7 +32,12 @@
 /deep/ .mode-modal-class {
     width: 600px !important;
     .ant-form-item-label {
-        width: 100px;
+        width: 130px;
+    }
+    .icon-span {
+        display: inline-block;
+        margin-top: 8px;
+        margin-left: 15px;
     }
     .dp-link-start {
         display: inline-block;

+ 5 - 4
src/views/modules/account-config/account-config.vue

@@ -104,10 +104,11 @@
                             v-model="configForm.adCpaBid"
                             :min="0.1"
                             :step="0.01"
+                            placeholder="请输入"
                         />
                     </a-form-model-item>
                     <div v-if="updateModTxt.adBidCreateType === 'RAND'">
-                        <a-form-model-item label="目标转化出价"
+                        <a-form-model-item label="目标转化出价范围"
                         class="dp-link-start" prop="adMinBid">
                             <a-input-number
                                 class="common-input"
@@ -117,8 +118,8 @@
                                 placeholder="请输入最小值"
                             />
                         </a-form-model-item>
+                        <span class="icon-span">~</span>
                         <a-form-model-item class="dp-link-end" prop="adMaxBid">
-                            <span style="margin-right: 16px;">~</span>
                             <a-input-number
                                 class="common-input"
                                 v-model="configForm.adMaxBid"
@@ -129,7 +130,7 @@
                         </a-form-model-item>
                     </div>
                     <div v-if="updateModTxt.adBidCreateType === 'STEP'">
-                        <a-form-model-item label="目标转化出价" class="dp-link-start" prop="adMinBid">
+                        <a-form-model-item label="目标转化出价范围" class="dp-link-start" prop="adMinBid">
                             <a-input-number
                                 class="common-input"
                                 v-model="configForm.adMinBid"
@@ -138,8 +139,8 @@
                                 placeholder="请输入最小值"
                             />
                         </a-form-model-item>
+                        <span class="icon-span">~</span>
                         <a-form-model-item class="dp-link-end" prop="adMaxBid">
-                            <span style="margin-right: 16px;">~</span>
                             <a-input-number
                                 class="common-input"
                                 v-model="configForm.adMaxBid"

+ 0 - 13
src/views/modules/account-config/components/configuration-modal.vue

@@ -1147,18 +1147,6 @@ export default {
     methods: {
         ...mapGetters(['nickname', 'avatar', 'userInfo']),
         moment,
-        // disabledDate(current) {
-        //     console.log(this.choiceDate, 'this.choiceDate--this.choiceDate');
-        //     // if (this.modalTitle === 'edit' && this.configForm.launchDateRange.length) {
-        //     //     return current && current < new Date(this.configForm.launchDateRange[0]);
-        //     // }
-        //     // else if (this.choiceDate) {
-        //     //     return current && current < this.choiceDate;
-        //     // }
-        //     if (this.choiceDate) {
-        //         return current && current < this.choiceDate;
-        //     }
-        // },
         handleGetAdAudiencePackage() {
             const params = {
                 accountId: this.configForm.accountId
@@ -1692,7 +1680,6 @@ export default {
             reader.readAsDataURL(img);
         },
         beforeUpload(info) {
-            console.log(info, '----info----');
             const isZip = info.type.includes('png') || info.type.includes('jpeg');
             const fileOvesize = info.size > (1024 * 1024);
             if (!isZip) {