feat: 替换sass版本,定义全局样式,实现简单的页面布局操作,比如颜色、边距、圆角等

This commit is contained in:
duanshuwen
2025-10-06 13:13:16 +08:00
parent e0f0e90635
commit c8e51e4975
108 changed files with 366 additions and 517 deletions

View File

@@ -48,5 +48,5 @@ const openMap = () => {
</script>
<style scoped lang="scss">
@use "./styles/index.scss";
@import "./styles/index.scss";
</style>

View File

@@ -7,8 +7,8 @@
background-size: cover;
background-position: center;
border-radius: 20px;
font-size: 14px;
color: #333;
font-size: $uni-font-size-base;
color: $uni-text-color;
position: relative;
overflow: hidden;
@@ -30,15 +30,15 @@
}
.location-label {
color: #333;
font-size: 14px;
color: $uni-text-color;
font-size: $uni-font-size-base;
font-weight: 500;
}
.address-text {
margin-top: 4px;
color: #666;
font-size: 12px;
font-size: $uni-font-size-sm;
font-weight: 400;
}