一体机放大效果开发

This commit is contained in:
冯辉
2026-03-12 17:10:34 +08:00
parent 0c63175816
commit e7ef23ad5d
83 changed files with 3034 additions and 2899 deletions

View File

@@ -84,16 +84,16 @@ function nextDetail(job) {
<style lang="stylus" scoped>
.date-jobTitle{
font-weight: 400;
font-size: 28rpx;
font-size: 42rpx;
color: #495265;
padding: 28rpx 0 0 20rpx
padding: 42rpx 0 0 30rpx
}
.cards{
padding: 32rpx;
padding: 48rpx;
background: #FFFFFF;
box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(0,0,0,0.04);
border-radius: 20rpx 20rpx 20rpx 20rpx;
margin-top: 22rpx;
border-radius: 30rpx 30rpx 30rpx 30rpx;
margin-top: 33rpx;
.card-company{
display: flex
justify-content: space-between
@@ -101,21 +101,21 @@ function nextDetail(job) {
.company{
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
font-weight: 500;
font-size: 32rpx;
font-size: 48rpx;
color: #333333;
}
.salary{
font-family: DIN-Medium;
font-weight: 500;
font-size: 28rpx;
font-size: 42rpx;
color: #4C6EFB;
white-space: nowrap
line-height: 48rpx
line-height: 72rpx
}
}
.card-companyName{
font-weight: 400;
font-size: 28rpx;
font-size: 42rpx;
color: #6C7282;
}
.card-tags{
@@ -124,25 +124,25 @@ function nextDetail(job) {
.tag{
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
width: fit-content;
height: 30rpx;
height: 45rpx;
background: #F4F4F4;
border-radius: 4rpx;
padding: 6rpx 20rpx;
line-height: 30rpx;
border-radius: 6rpx;
padding: 9rpx 30rpx;
line-height: 45rpx;
font-weight: 400;
font-size: 24rpx;
font-size: 36rpx;
color: #6C7282;
text-align: center;
margin-top: 14rpx;
margin-top: 21rpx;
white-space: nowrap
margin-right: 20rpx
margin-right: 30rpx
}
}
.card-bottom{
margin-top: 32rpx
margin-top: 48rpx
display: flex
justify-content: space-between
font-size: 28rpx;
font-size: 42rpx;
color: #6C7282;
}
}

View File

@@ -136,12 +136,12 @@ defineExpose({
// 新增样式
.cards {
position: relative;
padding-left: 60rpx; /* 给复选框留出空间 */
padding-left: 90rpx; /* 给复选框留出空间 */
}
.checkbox {
// position: absolute;
// left: 20rpx;
// left: 30rpx;
// top: 50%;
// transform: translateY(-50%);
// z-index: 10;
@@ -153,22 +153,22 @@ defineExpose({
// 选中状态样式
.card-selected {
border: 2rpx solid #4C6EFB;
border: 3rpx solid #4C6EFB;
background-color: #F0F5FF;
}
.date-jobTitle{
font-weight: 400;
font-size: 28rpx;
font-size: 42rpx;
color: #495265;
padding: 28rpx 0 0 20rpx
padding: 42rpx 0 0 30rpx
}
.cards{
padding: 32rpx;
padding: 48rpx;
background: #FFFFFF;
box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(0,0,0,0.04);
border-radius: 20rpx 20rpx 20rpx 20rpx;
margin-top: 22rpx;
border-radius: 30rpx 30rpx 30rpx 30rpx;
margin-top: 33rpx;
.card-company{
display: flex
justify-content: space-between
@@ -176,22 +176,22 @@ defineExpose({
.company{
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
font-weight: 500;
font-size: 32rpx;
font-size: 48rpx;
color: #333333;
flex: 1
}
.salary{
font-family: DIN-Medium;
font-weight: 500;
font-size: 28rpx;
font-size: 42rpx;
color: #4C6EFB;
white-space: nowrap
line-height: 48rpx
line-height: 72rpx
}
}
.card-companyName{
font-weight: 400;
font-size: 28rpx;
font-size: 42rpx;
color: #6C7282;
}
.card-tags{
@@ -204,25 +204,25 @@ defineExpose({
.tag{
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
width: fit-content;
height: 30rpx;
height: 45rpx;
background: #F4F4F4;
border-radius: 4rpx;
padding: 6rpx 20rpx;
line-height: 30rpx;
border-radius: 6rpx;
padding: 9rpx 30rpx;
line-height: 45rpx;
font-weight: 400;
font-size: 24rpx;
font-size: 36rpx;
color: #6C7282;
text-align: center;
margin-top: 14rpx;
margin-top: 21rpx;
white-space: nowrap
margin-right: 20rpx
margin-right: 30rpx
}
}
.card-bottom{
margin-top: 32rpx
margin-top: 48rpx
display: flex
justify-content: space-between
font-size: 28rpx;
font-size: 42rpx;
color: #6C7282;
}
}
@@ -231,7 +231,7 @@ defineExpose({
.checkbox {
/* 保留之前的定位样式,确保复选框在正确位置 */
position: absolute;
left: 20rpx;
left: 30rpx;
top: 50%;
transform: translateY(-50%);
z-index: 10;
@@ -239,10 +239,10 @@ defineExpose({
/* 自定义圆形复选框样式 */
.custom-checkbox {
width: 40rpx; /* 宽度 */
height: 40rpx; /* 高度(与宽度一致形成圆形) */
width: 60rpx; /* 宽度 */
height: 60rpx; /* 高度(与宽度一致形成圆形) */
border-radius: 50%; /* 圆角设为50%变成圆形 */
border: 2rpx solid #ccc; /* 未选中时的边框 */
border: 3rpx solid #ccc; /* 未选中时的边框 */
display: flex;
align-items: center;
justify-content: center;
@@ -257,11 +257,11 @@ defineExpose({
}
/* 选中时的对勾图标 */
.check-icon {
margin-top: -4rpx;
width: 20rpx;
height: 10rpx;
border-bottom: 3rpx solid #fff; /* 对勾下边框 */
border-left: 3rpx solid #fff; /* 对勾左边框 */
margin-top: -6rpx;
width: 30rpx;
height: 15rpx;
border-bottom: 4.5rpx solid #fff; /* 对勾下边框 */
border-left: 4.5rpx solid #fff; /* 对勾左边框 */
transform: rotate(-45deg); /* 旋转形成对勾形状 */
}
</style>