Commit 4e4eb66a by 张立顺

fix 样式问题

1 parent 3a85fb08
......@@ -41,7 +41,7 @@
</div>
</div>
</div>
<div v-else>
<div v-else class="card-empty">
<van-empty description="暂无内容" />
</div>
</div>
......@@ -70,7 +70,7 @@
</div>
</div>
</div>
<div v-else>
<div v-else class="card-empty">
<van-empty description="暂无内容" />
</div>
</div>
......@@ -123,7 +123,7 @@
</div>
</div>
</div>
<div v-else>
<div v-else class="card-empty">
<van-empty description="暂无内容" />
</div>
</div>
......@@ -154,7 +154,7 @@
</div>
</div>
</div>
<div v-else>
<div v-else class="card-empty">
<van-empty description="暂无内容" />
</div>
</div>
......@@ -234,7 +234,7 @@
<!-- 时间选择器 -->
<van-popup v-model="timeShow" position="bottom" round get-container="body" @touchmove.prevent>
<van-datetime-picker v-model="currentDate" type="date" :formatter="formatter" :min-date="minDate" :max-date="maxDate" @confirm="bindDateChange" @cancel="calcelDate" />
<van-datetime-picker v-model="currentDate" type="datetime" :formatter="formatter" :min-date="minDate" :max-date="maxDate" @confirm="bindDateChange" @cancel="calcelDate" />
</van-popup>
</div>
</template>
......@@ -381,8 +381,12 @@ export default {
const year = date.getFullYear()
const month = String(date.getMonth() + 1).padStart(2, '0')
const day = String(date.getDate()).padStart(2, '0')
const formattedDate = `${year}年${month}月${day}日`
const apiDate = `${year}-${month}-${day} 00:00:00`
const hour = String(date.getHours()).padStart(2, '0')
const minute = String(date.getMinutes()).padStart(2, '0')
const second = String(date.getSeconds()).padStart(2, '0')
const formattedDate = `${year}年${month}月${day}日 ${hour}:${minute}`
const apiDate = `${year}-${month}-${day} ${hour}:${minute}:${second}`
if (this.popupType === 'initial') {
this.formData.expectedInterviewTime = apiDate
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!