Skip to content

Commit e675b57

Browse files
AnnaBeiyanBeiyanYunyi
authored andcommitted
调换联系方式和意见内容的位置 & 调整意见内容提示词
1 parent 4379f23 commit e675b57

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/App.vue

+10-10
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const props = withDefaults(
1818
sendingButtonText: '发送中...',
1919
sentSuccessButtonText: '发送成功,谢谢反馈',
2020
sentFailedButtonText: '发送失败,请稍后再试',
21-
textContentPlaceholder: '输入内容',
21+
textContentPlaceholder: '留下您的建议内容,以便我们进行改进',
2222
contactContentPlaceholder: '(可选)留下您的联系方式,方便我们直接与您联系',
2323
targetUrl: '',
2424
},
@@ -153,15 +153,6 @@ async function handleSubmit() {
153153
border="2 solid zinc-200 dark:zinc-800"
154154
@submit.prevent="() => {}"
155155
>
156-
<label>
157-
<input
158-
v-model="contactContent"
159-
class="min-h-0 w-full resize-none rounded-t-md border-none p-2 text-inherit outline-none"
160-
bg="zinc-100 dark:zinc-900"
161-
text="sm"
162-
:placeholder="contactContentPlaceholder"
163-
>
164-
</label>
165156
<label class="inline-grid items-stretch sb-auto-height">
166157
<textarea
167158
v-model="textContent"
@@ -171,6 +162,15 @@ async function handleSubmit() {
171162
:placeholder="textContentPlaceholder"
172163
/>
173164
</label>
165+
<label>
166+
<input
167+
v-model="contactContent"
168+
class="min-h-0 w-full resize-none border-none p-2 text-inherit outline-none"
169+
bg="zinc-100 dark:zinc-900"
170+
text="sm"
171+
:placeholder="contactContentPlaceholder"
172+
>
173+
</label>
174174
<div class="m-2">
175175
<details v-if="imageUrls.length !== 0">
176176
<summary class="cursor-pointer appearance-none m-0!">

0 commit comments

Comments
 (0)