This commit is contained in:
dzc committed 2025-09-29 09:16:44 +08:00
commit 1603778a39
3 files changed
+11 -18

No files matched your search

@@ -113,7 +113,7 @@
</view>
<view class="flex-col justify-center items-center">
<image src="@/static/page/order-select.png" class="w-50rpx h-50rpx" />
<view class="text-center text-24 c-#1977FD">邀约记录</view>
<view class="text-center text-24 c-#1977FD">访客记录</view>
</view>
</view>
</template>
+2 -2
View File
@@ -69,7 +69,7 @@
<tm-form-item name="isDrive" label="是否可驾驶车辆" direction="horizontal" labelWidth="500">
<tm-switch v-model="form.isDrive" />
</tm-form-item>
<tm-button class="mt-4" form-type="submit" block>提交</tm-button>
<tm-button class="mt-4" form-type="submit" block>提 交</tm-button>
</tm-form>
</tm-sheet>
@@ -112,7 +112,7 @@
</view>
<view class="flex-col justify-center items-center" @click="goInvitationRecord">
<image src="@/static/page/order.png" class="w-50rpx h-50rpx" />
<view class="text-center text-24 c-#999999">邀约记录</view>
<view class="text-center text-24 c-#999999">访客记录</view>
</view>
</view>
</template>
+8 -15
View File
@@ -12,14 +12,16 @@
</view>
</view>
<view class="day-time-point-list">
<button
:class="selectedTimePointIndex == index ? 'active' : ''"
<tm-button
class="day-time-button"
size="m"
:color="selectedTimePointIndex == index ? '' : 'info'"
v-for="(item, index) in dayTimePointList"
:key="index"
@click="selectTimePoint(item, index)"
>
{{ item.slice(0, 5) }}
</button>
</tm-button>
</view>
<view class="px-20rpx py-2 flex justify-between">
<tm-button skin="thin" block @click="emit('cancel')">取消</tm-button>
@@ -101,6 +103,7 @@ function onConfirm() {
border-radius: 12rpx;
text-align: center;
white-space: nowrap;
transition: all 0.1s linear;
}
.date-time-range .active {
background: #0779fd;
@@ -113,17 +116,7 @@ function onConfirm() {
gap: 10rpx;
margin-bottom: 20rpx;
}
.day-time-point-list button {
flex: 1 0 calc(100vw / 9);
padding: 6rpx;
border: none;
background: #eeeeee;
border-radius: 12rpx;
font-size: 26rpx;
cursor: pointer;
}
.day-time-point-list .active {
background-color: #0779fd;
color: white;
.day-time-button {
flex: 1 0 calc(100vw / 4);
}
</style>