feat: 一些调整
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="flex h-screen flex-col overflow-hidden bg-[#06111f]">
|
||||
<view class="relative z-0 h-[38vh] shrink-0 overflow-hidden bg-[#173a34]">
|
||||
<view class="relative z-0 h-[34vh] shrink-0 overflow-hidden bg-[#173a34]">
|
||||
<DuohuaMediaSwiper
|
||||
:media-list="heroMediaList"
|
||||
class="absolute inset-0 h-full w-full"
|
||||
|
||||
@@ -13,25 +13,33 @@
|
||||
</view>
|
||||
|
||||
<view class="bg-white px-[16px] pb-[18px] pt-[16px]">
|
||||
<text class="block text-[22px] font-bold leading-[30px] text-[#172033]">
|
||||
{{ item.name }}
|
||||
</text>
|
||||
<view class="flex items-center gap-[8px]">
|
||||
<text class="min-w-0 text-[22px] font-bold leading-[30px] text-[#172033]">
|
||||
{{ item.name }}
|
||||
</text>
|
||||
<text
|
||||
v-if="item.grade"
|
||||
class="shrink-0 rounded-[5px] bg-[#e9f7f1] px-[7px] py-[3px] text-[11px] font-semibold text-[#149474]"
|
||||
>
|
||||
{{ item.grade }}
|
||||
</text>
|
||||
</view>
|
||||
<text
|
||||
v-if="item.name_en"
|
||||
class="mt-[3px] block text-[12px] leading-[18px] text-[#808997]"
|
||||
>
|
||||
{{ item.name_en }}
|
||||
</text>
|
||||
<view v-if="displayAddress" class="mt-[10px] flex items-start">
|
||||
<uni-icons class="mt-[2px] shrink-0" type="location" size="15" color="#808997" />
|
||||
<view v-if="displayAddress" class="mt-[10px] flex items-center">
|
||||
<uni-icons class="shrink-0" type="location" size="15" color="#808997" />
|
||||
<text class="ml-[4px] min-w-0 flex-1 text-[12px] leading-[19px] text-[#6f7884]">
|
||||
{{ displayAddress }}
|
||||
</text>
|
||||
</view>
|
||||
|
||||
<view v-if="contactText || canOpenLocation" class="mt-[14px] flex items-center gap-[10px]">
|
||||
<view v-if="contactText" class="flex min-w-0 flex-1 items-center gap-[10px]">
|
||||
<text class="min-w-0 flex-1 text-[13px] font-medium text-[#4f5966]">
|
||||
<view v-if="contactText" class="flex min-w-0 items-center gap-[8px]">
|
||||
<text class="min-w-0 text-[13px] font-medium text-[#4f5966]">
|
||||
{{ contactText }}
|
||||
</text>
|
||||
<view
|
||||
|
||||
Reference in New Issue
Block a user