增加情况分析,修改毛色改为症状

This commit is contained in:
caiyuhao 2024-09-14 16:19:31 +08:00
parent cd1e23550d
commit 67baea2cb2

View File

@ -82,13 +82,24 @@
<!-- 毛色 --> <!-- 毛色 -->
<view class="mb-4"> <view class="mb-4">
<text class="text-gray-800">宠物毛色</text> <text class="text-gray-800">宠物症状</text>
<wd-picker <wd-picker
class="w-full mt-2 p-2 border border-gray-300 rounded" class="w-full mt-2 p-2 border border-gray-300 rounded"
:columns="colorOptions" :columns="colorOptions"
v-model="petColor" v-model="petColor"
/> />
</view> </view>
<!-- 情况分析-->
<view class="mb-4">
<text class="text-gray-800">情况分析</text>
<input
class="w-full mt-2 p-2 border border-gray-300 rounded"
style="height: 65rpx"
:max="100"
v-model="analysis"
/>
</view>
</view> </view>
<!-- 提交按钮 --> <!-- 提交按钮 -->
@ -123,6 +134,7 @@ const petBirthday = ref('')
const gender = ref('') const gender = ref('')
const petBreed = ref('') const petBreed = ref('')
const petColor = ref('') const petColor = ref('')
const analysis = ref('')
const imageSrc = ref('https://via.placeholder.com/150') const imageSrc = ref('https://via.placeholder.com/150')
const userId = ref('') const userId = ref('')
const petId = ref(null) const petId = ref(null)