style: update flex alignment classes and clean up UI styles
Replace all deprecated `flex-items-center` utility classes with standard `items-center` across components. Additionally, update font weight classes from `font-900` to `font-bold`, standardize hex color class syntax to use bracket notation, and remove unused SCSS styles from the SharedVisual component.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="create-service-order">
|
||||
<div class="w-full bg-white border-ff overflow-hidden rounded-20">
|
||||
<div class=" order-header w-vw flex flex-items-center flex-justify-between bg-theme-color-50">
|
||||
<div class=" order-header w-vw flex items-center flex-justify-between bg-theme-color-50">
|
||||
<span class="text-[18px] font-medium text-[#171717] text-left ml-12">
|
||||
{{ isCallSuccess ? "服务已创建" : "呼叫服务" }}
|
||||
</span>
|
||||
@@ -9,12 +9,12 @@
|
||||
</div>
|
||||
|
||||
<div v-if="!isCallSuccess" class=" p-[12px]">
|
||||
<div class="bg-F5F7FA flex flex-items-center p-[12px] rounded-10 text-[14px] text-[#171717] mb-[12px]">
|
||||
<div class="bg-F5F7FA flex items-center p-[12px] rounded-10 text-[14px] text-[#171717] mb-[12px]">
|
||||
<span class="font-medium line-height-22 mr-20">所在位置</span>
|
||||
<input placeholder="请填写所在位置" v-model="roomId" />
|
||||
</div>
|
||||
|
||||
<div class="bg-F5F7FA flex flex-items-center p-[12px] rounded-10 text-[14px] text-[#171717] mb-[12px]">
|
||||
<div class="bg-F5F7FA flex items-center p-[12px] rounded-10 text-[14px] text-[#171717] mb-[12px]">
|
||||
<span class="font-medium line-height-22 mr-20">联系电话</span>
|
||||
<input placeholder="请填写联系电话" v-model="contactPhone" @input="handleContactPhoneInput" />
|
||||
</div>
|
||||
@@ -28,7 +28,7 @@
|
||||
<div class="bg-F5F7FA p-[12px] rounded-10 text-[14px] font-medium text-[#171717] mb-[12px]">
|
||||
<div class="font-medium line-height-22 mb-[12px]">照片上传</div>
|
||||
|
||||
<div class="w-80 h-80 bg-white rounded-8 overflow-hidden flex flex-items-center flex-justify-center">
|
||||
<div class="w-80 h-80 bg-white rounded-8 overflow-hidden flex items-center flex-justify-center">
|
||||
<div v-if="contentImgUrl" class="w-full h-full relative inline-block">
|
||||
<img class="w-full h-full block" :src="contentImgUrl" mode="aspectFill" />
|
||||
<uni-icons class="close-btn absolute z-10" type="close" size="20" color="#6A717F"
|
||||
@@ -36,14 +36,14 @@
|
||||
</uni-icons>
|
||||
</div>
|
||||
|
||||
<div v-else class="w-full h-full flex flex-items-center flex-justify-center" @click="handleChooseImage">
|
||||
<div v-else class="w-full h-full flex items-center flex-justify-center" @click="handleChooseImage">
|
||||
<zn-icon name="zn-camera" size="24" color="#6A717F"></zn-icon>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-else class=" card-content flex flex-items-center p-[12px]">
|
||||
<div v-else class=" card-content flex items-center p-[12px]">
|
||||
<div class=" left flex-1 pr-20">
|
||||
<div class="text-[12px] text-ink-600 leading-[20px] mb-4">
|
||||
所在位置:{{ roomId }}
|
||||
@@ -59,8 +59,7 @@
|
||||
<img v-if="contentImgUrl" class="right rounded-6" :src="contentImgUrl" mode="aspectFill" />
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="btn rounded-[5px]0 text-white bg-button flex flex-items-center flex-justify-center ml-12 mr-12 mb-[12px]"
|
||||
<div class="btn rounded-[5px]0 text-white bg-button flex items-center flex-justify-center ml-12 mr-12 mb-[12px]"
|
||||
@click="handleCall">
|
||||
{{ isCallSuccess ? "查看服务" : "立即呼叫" }}
|
||||
</div>
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
<template>
|
||||
<div class=" flex flex-items-center flex-justify-between mb-[12px]">
|
||||
<div class="left flex flex-items-center">
|
||||
<div class=" flex items-center flex-justify-between mb-[12px]">
|
||||
<div class="left flex items-center">
|
||||
<span class="text-[12px] text-ink-400 mr-[4px]">入住</span>
|
||||
<span class="text-[12px] text-[#171717] mr-16">
|
||||
{{ selectedDate.startDate }}
|
||||
</span>
|
||||
<span class="total rounded-[5px]0 flex flex-items-center text-[11px] color-43669A relative">{{
|
||||
<span class="total rounded-[5px]0 flex items-center text-[11px] color-43669A relative">{{
|
||||
selectedDate.totalDays }}晚</span>
|
||||
<span class="text-[12px] text-ink-400 ml-16">离店</span>
|
||||
<span class="text-[12px] text-[#171717] ml-4">
|
||||
{{ selectedDate.endDate }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex flex-items-center" v-if="showBtn" @click="emit('click')">
|
||||
<div class="flex items-center" v-if="showBtn" @click="emit('click')">
|
||||
<span class="text-[12px] theme-color-500 leading-[16px]">房间详情</span>
|
||||
<van-icon name="arrow-right" size="15" color="#99A0AE" />
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<uni-popup ref="popupRef" type="bottom" :safe-area="false" @maskClick="handleClose">
|
||||
<div class="refund-popup bg-F5F7FA ">
|
||||
<div class=" flex flex-items-center justify-between pt-[12px] pb-[12px] relative">
|
||||
<div class=" flex items-center justify-between pt-[12px] pb-[12px] relative">
|
||||
<div class="flex-1 text-[16px] text-[#171717] leading-[24px] text-center">
|
||||
明细详情
|
||||
</div>
|
||||
@@ -10,11 +10,11 @@
|
||||
</div>
|
||||
<!-- 内容区域 -->
|
||||
<div class="rounded-[12px] bg-white ml-12 mr-12 mb-40">
|
||||
<div class=" border-bottom flex flex-items-center flex-justify-between pt-[12px] pb-[12px] ml-12 mr-12">
|
||||
<div class=" border-bottom flex items-center flex-justify-between pt-[12px] pb-[12px] ml-12 mr-12">
|
||||
<span class="text-[16px] font-medium text-[#171717]">在线支付</span>
|
||||
<span class="text-[14px] text-[#171717]">239</span>
|
||||
</div>
|
||||
<div class=" flex flex-items-center flex-justify-between pt-[12px] pb-[12px] ml-12 mr-12">
|
||||
<div class=" flex items-center flex-justify-between pt-[12px] pb-[12px] ml-12 mr-12">
|
||||
<span class="text-[16px] font-medium text-[#171717]">房费</span>
|
||||
<span class="text-[14px] text-[#171717]">239</span>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="create-service-order">
|
||||
<div class="w-full bg-white border-ff overflow-hidden rounded-20">
|
||||
<div class=" order-header w-vw flex flex-items-center flex-justify-between bg-theme-color-50">
|
||||
<div class=" order-header w-vw flex items-center flex-justify-between bg-theme-color-50">
|
||||
<span class="text-[18px] font-medium text-[#171717] text-left ml-12">
|
||||
{{ isCallSuccess ? "反馈已创建" : "反馈意见" }}
|
||||
</span>
|
||||
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
|
||||
<div v-if="!isCallSuccess" class=" p-[12px]">
|
||||
<div class="bg-F5F7FA flex flex-items-center p-[12px] rounded-10 text-[14px] text-[#171717] mb-[12px]">
|
||||
<div class="bg-F5F7FA flex items-center p-[12px] rounded-10 text-[14px] text-[#171717] mb-[12px]">
|
||||
<span class="font-medium line-height-22 mr-20">联系电话</span>
|
||||
<input placeholder="请填写联系电话" v-model="contactPhone" />
|
||||
</div>
|
||||
@@ -19,8 +19,7 @@
|
||||
v-model="contactText" />
|
||||
</div>
|
||||
|
||||
<div class="btn rounded-[5px]0 text-white bg-button flex flex-items-center flex-justify-center"
|
||||
@click="handleCall">
|
||||
<div class="btn rounded-[5px]0 text-white bg-button flex items-center flex-justify-center" @click="handleCall">
|
||||
立即提交
|
||||
</div>
|
||||
</div>
|
||||
@@ -34,7 +33,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-help flex flex-items-center pl-12 mb-[12px]">
|
||||
<div class="footer-help flex items-center pl-12 mb-[12px]">
|
||||
<img class="help-icon mr-[4px]" src="./images/icon_volume.png" />
|
||||
<span class="text-[12px] font-medium color-FA7319">
|
||||
{{ appName }}收到您的意见将第一时间为您处理!
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
.commodityPurchaseInstructionModuleEntityList.length -
|
||||
1,
|
||||
}">
|
||||
<div class="flex flex-items-center flex-row flex-shrink-0 mr-8">
|
||||
<div class="flex items-center flex-row flex-shrink-0 mr-[8px]">
|
||||
<zn-icon :name="moduleItem.moduleIcon" size="20" color="#333"></zn-icon>
|
||||
<span class="ml-4 text-[14px] text-[#171717] leading-[20px]">
|
||||
{{ moduleItem.moduleTitle }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<uni-popup ref="popupRef" type="bottom" :safe-area="false" @maskClick="handleClose">
|
||||
<div class="refund-popup bg-F5F7FA ">
|
||||
<div class=" flex flex-items-center justify-between pt-[12px] pb-[12px] relative">
|
||||
<div class=" flex items-center justify-between pt-[12px] pb-[12px] relative">
|
||||
<div class="flex-1 text-[16px] text-[#171717] leading-[24px] text-center">
|
||||
取消政策
|
||||
</div>
|
||||
@@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<!-- 内容区域 -->
|
||||
<div class=" rounded-[12px] bg-white p-[12px] ml-12 mr-12 mb-40">
|
||||
<div class="flex flex-items-center mb-8">
|
||||
<div class="flex items-center mb-8">
|
||||
<uni-icons fontFamily="znicons" size="20" color="#333">
|
||||
{{ iconsMap["zn-refund"] }}
|
||||
</uni-icons>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="stepper-wrapper flex flex-items-center rounded-8">
|
||||
<div class="stepper-wrapper flex items-center rounded-8">
|
||||
<uni-icons type="minus" size="24" color="#D1D1D1" @click="decrease" />
|
||||
<text class="stepper-text text-center text-[14px] font-medium text-black ml-4 mr-[4px]">
|
||||
{{ value }} {{ unit }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="survey-questionnaire w-vw-24">
|
||||
<div class="bg-white border-ff overflow-hidden rounded-20">
|
||||
<div class=" flex flex-items-center flex-justify-between bg-theme-color-50">
|
||||
<div class=" flex items-center flex-justify-between bg-theme-color-50">
|
||||
<span class="text-[18px] font-medium text-[#171717] text-left ml-12">
|
||||
调查问卷
|
||||
</span>
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<img class="w-full" :src="surveyData.bannerUrl" mode="widthFix" />
|
||||
|
||||
<div class="h-44 m-[12px] rounded-[5px]0 bg-button text-white flex flex-items-center flex-justify-center"
|
||||
<div class="h-44 m-[12px] rounded-[5px]0 bg-button text-white flex items-center flex-justify-center"
|
||||
@click="handleCall">
|
||||
前往填写
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class=" text-[16px] font-medium text-black leading-[24px] p-[12px]">
|
||||
使用日期
|
||||
</div>
|
||||
<div class="flex flex-items-center ">
|
||||
<div class="flex items-center ">
|
||||
<scroll-div class="date-scroll" scroll-x>
|
||||
<div class="date-list">
|
||||
<block v-for="item in openDateRangeList" :key="item.date">
|
||||
|
||||
Reference in New Issue
Block a user