refactor: migrate to tailwind arbitrary width classes
remove the unused src/static/scss/width.scss file and its import from index.scss, replace all existing custom width utility class usages with the equivalent Tailwind arbitrary width syntax
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<view class="survey-questionnaire w-vw-24">
|
||||
<view class="survey-questionnaire w-[calc(100vw_-_24px)]">
|
||||
<view class="bg-white border-ff overflow-hidden rounded-[20px]">
|
||||
<view class="border-box flex flex-items-center flex-justify-between bg-[#F0F8F3]">
|
||||
<text class="text-[18px] font-[500] text-[#171717] text-left ml-[12px]">
|
||||
调查问卷
|
||||
</text>
|
||||
<image class="w-102 h-72" :src="surveyData.logoUrl" mode="widthFix" />
|
||||
<image class="w-[102px] h-72" :src="surveyData.logoUrl" mode="widthFix" />
|
||||
</view>
|
||||
|
||||
<image class="w-full" :src="surveyData.bannerUrl" mode="widthFix" />
|
||||
|
||||
Reference in New Issue
Block a user