Merge branch 'cool-team-official:main' into main
This commit is contained in:
@@ -153,7 +153,7 @@ type Form = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const form = reactive<Form>({
|
const form = reactive<Form>({
|
||||||
date1: "",
|
date1: "2023-06-24",
|
||||||
date2: "",
|
date2: "",
|
||||||
date3: "",
|
date3: "",
|
||||||
date4: "",
|
date4: "",
|
||||||
|
|||||||
@@ -180,16 +180,16 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<cl-footer>
|
<cl-footer>
|
||||||
<view class="flex-row">
|
<view class="flex flex-row h-[68rpx]">
|
||||||
<view
|
<view
|
||||||
class="flex-row items-center bg-surface-100 dark:bg-surface-700 rounded-full px-3 py-2 mr-6 w-[260rpx] h-[68rpx]"
|
class="flex-row items-center bg-surface-100 dark:bg-surface-700 rounded-full px-3 py-2 mr-6 w-[260rpx] h-full"
|
||||||
@tap="openReply"
|
@tap="openReply"
|
||||||
>
|
>
|
||||||
<cl-icon name="edit-line" color="info" :size="32"></cl-icon>
|
<cl-icon name="edit-line" color="info" :size="32"></cl-icon>
|
||||||
<cl-text color="info" :pt="{ className: 'text-sm ml-2' }">说点什么...</cl-text>
|
<cl-text color="info" :pt="{ className: 'text-sm ml-2' }">说点什么...</cl-text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="flex flex-row flex-1 justify-end">
|
<view class="flex flex-row flex-1 justify-end h-full items-center">
|
||||||
<view class="flex-row justify-center items-center mr-6">
|
<view class="flex-row justify-center items-center mr-6">
|
||||||
<cl-icon name="heart-line" :size="40"></cl-icon>
|
<cl-icon name="heart-line" :size="40"></cl-icon>
|
||||||
<cl-text :pt="{ className: 'ml-2 text-sm' }">700</cl-text>
|
<cl-text :pt="{ className: 'ml-2 text-sm' }">700</cl-text>
|
||||||
|
|||||||
@@ -794,7 +794,9 @@ function confirm() {
|
|||||||
watch(
|
watch(
|
||||||
computed(() => props.modelValue),
|
computed(() => props.modelValue),
|
||||||
(val: string) => {
|
(val: string) => {
|
||||||
|
if (!props.rangeable) {
|
||||||
setValue(val);
|
setValue(val);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
immediate: true
|
immediate: true
|
||||||
@@ -805,7 +807,9 @@ watch(
|
|||||||
watch(
|
watch(
|
||||||
computed(() => props.values),
|
computed(() => props.values),
|
||||||
(val: string[]) => {
|
(val: string[]) => {
|
||||||
|
if (props.rangeable) {
|
||||||
setValues(val);
|
setValues(val);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
immediate: true
|
immediate: true
|
||||||
|
|||||||
Reference in New Issue
Block a user