|
@@ -11,7 +11,7 @@
|
|
|
:placeholder="t('feedback.settext')"
|
|
|
/>
|
|
|
</a-form-item>
|
|
|
- <a-form-item name="problemFile" style="margin-top: 32px">
|
|
|
+ <a-form-item name="problemFile" style="margin-top: 2px">
|
|
|
<a-upload
|
|
|
v-model:file-list="formData.problemDescImgs"
|
|
|
accept=".jpg,.png,.mp4"
|
|
@@ -21,7 +21,7 @@
|
|
|
@preview="handlePreview"
|
|
|
>
|
|
|
<div>
|
|
|
- <PlusOutlined />
|
|
|
+ <PlusOutlined style="color:#D9D9D9" color="#D9D9D9" />
|
|
|
<!-- <div style="margin-top: 8px">{{ t('feedback.upload') }}</div> -->
|
|
|
</div>
|
|
|
</a-upload>
|
|
@@ -37,11 +37,11 @@
|
|
|
:placeholder="t('feedback.settext')"
|
|
|
/>
|
|
|
</a-form-item>
|
|
|
- <a-form-item name="problemFile" style="margin-top: 32px">
|
|
|
+ <a-form-item name="problemFile" style="margin-top: 2px">
|
|
|
<a-upload v-model:file-list="formData.solutionImgs" action="/service/sale/upload/file" list-type="picture-card">
|
|
|
<div>
|
|
|
- <PlusOutlined />
|
|
|
- <div style="margin-top: 8px">{{ t('feedback.upload') }}</div>
|
|
|
+ <PlusOutlined style="color:#D9D9D9" color="#D9D9D9" />
|
|
|
+ <!-- <div style="margin-top: 8px">{{ t('feedback.upload') }}</div> -->
|
|
|
</div>
|
|
|
</a-upload>
|
|
|
<div class="tips">{{ t('feedback.fileTips') }}</div>
|
|
@@ -130,17 +130,21 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
- import { ref } from 'vue';
|
|
|
+ import { ref, watch } from 'vue';
|
|
|
import { PlusOutlined } from '@ant-design/icons-vue';
|
|
|
import cityList from './area.json';
|
|
|
import countryList from './country.json';
|
|
|
// import { createImgPreview } from '/@/components/Preview/index';
|
|
|
- const props = defineProps(['formData', 'columns']);
|
|
|
+ const props = defineProps(['formData', 'columns', 'addres']);
|
|
|
import { message, Upload } from 'ant-design-vue';
|
|
|
import { useI18n } from 'vue-i18n';
|
|
|
const { t, locale } = useI18n();
|
|
|
const emit = defineEmits(['submit']);
|
|
|
- // eslint-disable-next-line vue/no-setup-props-destructure
|
|
|
+ watch(() => props.addres, (newValue, oldValue) => {
|
|
|
+ console.log('addreswatch', newValue);
|
|
|
+ formData.value.country = newValue.country;
|
|
|
+ formData.value.countries = newValue.mccountries;
|
|
|
+ });
|
|
|
const formData = ref({
|
|
|
problemDesc: '',
|
|
|
problemDescImgs: [],
|
|
@@ -283,6 +287,9 @@
|
|
|
font-family: SimSun, sans-serif;
|
|
|
line-height: 1;
|
|
|
content: '*';
|
|
|
+ position: absolute;
|
|
|
+ left: -11px;
|
|
|
+ top: 4.5px;
|
|
|
}
|
|
|
}
|
|
|
</style>
|