一体机放大效果开发
This commit is contained in:
@@ -295,14 +295,14 @@ onMounted(() => {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 100rpx;
|
||||
height: 150rpx;
|
||||
background-color: #ffffff;
|
||||
// border-top: 1rpx solid #e5e5e5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
z-index: 9999;
|
||||
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 -3rpx 15rpx rgba(0, 0, 0, 0.1);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
@@ -314,21 +314,21 @@ onMounted(() => {
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
color: #5E5F60;
|
||||
font-size: 22rpx;
|
||||
font-size: 33rpx;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
.icon-container{
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
width: 75rpx;
|
||||
height: 75rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.tabbar-icon {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
margin-bottom: 4rpx;
|
||||
width: 75rpx;
|
||||
height: 75rpx;
|
||||
margin-bottom: 6rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -338,7 +338,7 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
.tabbar-text {
|
||||
font-size: 22rpx;
|
||||
font-size: 33rpx;
|
||||
line-height: 1;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
@@ -350,17 +350,17 @@ onMounted(() => {
|
||||
|
||||
.badge {
|
||||
position: absolute;
|
||||
top: 4rpx;
|
||||
right: 20rpx;
|
||||
min-width: 32rpx;
|
||||
height: 32rpx;
|
||||
top: 6rpx;
|
||||
right: 30rpx;
|
||||
min-width: 48rpx;
|
||||
height: 48rpx;
|
||||
background-color: #ff4444;
|
||||
color: #fff;
|
||||
font-size: 19rpx;
|
||||
border-radius: 16rpx;
|
||||
font-size: 28rpx;
|
||||
border-radius: 24rpx;
|
||||
text-align: center;
|
||||
line-height: 32rpx;
|
||||
padding: 0 10rpx;
|
||||
line-height: 48rpx;
|
||||
padding: 0 15rpx;
|
||||
transform: scale(0.8);
|
||||
}
|
||||
|
||||
@@ -368,25 +368,25 @@ onMounted(() => {
|
||||
.tabbar-item.center-item {
|
||||
|
||||
.tabbar-icon {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.tabbar-icon image {
|
||||
// margin-top: -25rpx;
|
||||
// margin-top: -37.5rpx;
|
||||
width: 80%;
|
||||
animation: bounce 2s ease-in-out infinite;
|
||||
}
|
||||
.icon-container{
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
width: 75rpx;
|
||||
height: 75rpx;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
border: 2rpx solid #256BFA;
|
||||
box-shadow: 0 0 10rpx #256BFA;
|
||||
border: 3rpx solid #256BFA;
|
||||
box-shadow: 0 0 15rpx #256BFA;
|
||||
transform: scale(1.6);
|
||||
position: relative;
|
||||
top: 5rpx;
|
||||
top: 7.5rpx;
|
||||
animation: pulse 2s ease-in-out infinite;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,25 +196,26 @@ const handleClose = () => {
|
||||
z-index: 9999;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding-top: 84rpx;
|
||||
}
|
||||
|
||||
.filter-header {
|
||||
height: 96rpx;
|
||||
height: 144rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 32rpx;
|
||||
padding: 0 48rpx;
|
||||
border-bottom: 1rpx solid #eee;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0 3rpx 15rpx rgba(0, 0, 0, 0.05);
|
||||
|
||||
.back-btn {
|
||||
font-size: 36rpx;
|
||||
width: 48rpx;
|
||||
font-size: 54rpx;
|
||||
width: 72rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10rpx;
|
||||
padding: 15rpx;
|
||||
border-radius: 50%;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
@@ -224,7 +225,7 @@ const handleClose = () => {
|
||||
}
|
||||
|
||||
.filter-title {
|
||||
font-size: 34rpx;
|
||||
font-size: 51rpx;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
@@ -234,14 +235,14 @@ const handleClose = () => {
|
||||
display: flex;
|
||||
border-bottom: 1rpx solid #eee;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0 3rpx 15rpx rgba(0, 0, 0, 0.05);
|
||||
|
||||
.tab-item {
|
||||
flex: 1;
|
||||
height: 90rpx;
|
||||
line-height: 90rpx;
|
||||
height: 135rpx;
|
||||
line-height: 135rpx;
|
||||
text-align: center;
|
||||
font-size: 30rpx;
|
||||
font-size: 45rpx;
|
||||
color: #666;
|
||||
position: relative;
|
||||
transition: all 0.3s ease;
|
||||
@@ -256,9 +257,9 @@ const handleClose = () => {
|
||||
bottom: 0;
|
||||
left: 25%;
|
||||
width: 50%;
|
||||
height: 4rpx;
|
||||
height: 6rpx;
|
||||
background-color: #256BFA;
|
||||
border-radius: 2rpx;
|
||||
border-radius: 3rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -270,7 +271,7 @@ const handleClose = () => {
|
||||
|
||||
.filter-content {
|
||||
flex: 1;
|
||||
padding: 40rpx 32rpx;
|
||||
padding: 60rpx 48rpx;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
@@ -278,7 +279,7 @@ const handleClose = () => {
|
||||
.radio-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 30rpx 0;
|
||||
padding: 45rpx 0;
|
||||
border-bottom: 1rpx solid #f0f0f0;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
@@ -292,9 +293,9 @@ const handleClose = () => {
|
||||
}
|
||||
|
||||
radio {
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
margin-right: 24rpx;
|
||||
width: 42rpx;
|
||||
height: 42rpx;
|
||||
margin-right: 36rpx;
|
||||
transform: scale(1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -302,10 +303,10 @@ const handleClose = () => {
|
||||
}
|
||||
|
||||
radio .wx-radio-input {
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
width: 42rpx;
|
||||
height: 42rpx;
|
||||
border-radius: 50%;
|
||||
border: 2rpx solid #ccc;
|
||||
border: 3rpx solid #ccc;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
@@ -315,11 +316,11 @@ const handleClose = () => {
|
||||
}
|
||||
|
||||
radio .wx-radio-input::before {
|
||||
width: 16rpx;
|
||||
height: 16rpx;
|
||||
line-height: 16rpx;
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
line-height: 24rpx;
|
||||
text-align: center;
|
||||
font-size: 12rpx;
|
||||
font-size: 18rpx;
|
||||
color: #fff;
|
||||
background: transparent;
|
||||
transform: translate(-50%, -50%) scale(0);
|
||||
@@ -332,22 +333,22 @@ const handleClose = () => {
|
||||
}
|
||||
|
||||
.option-label {
|
||||
font-size: 30rpx;
|
||||
font-size: 45rpx;
|
||||
color: #333;
|
||||
flex: 1;
|
||||
font-weight: 400;
|
||||
line-height: 40rpx;
|
||||
line-height: 60rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.filter-footer {
|
||||
height: 160rpx;
|
||||
height: 240rpx;
|
||||
display: flex;
|
||||
border-top: 1rpx solid #eee;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
|
||||
padding: 20rpx 32rpx 100rpx;
|
||||
box-shadow: 0 -3rpx 15rpx rgba(0, 0, 0, 0.05);
|
||||
padding: 30rpx 48rpx 150rpx;
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
@@ -355,15 +356,15 @@ const handleClose = () => {
|
||||
.footer-btn {
|
||||
flex: 1;
|
||||
margin: 0;
|
||||
border-radius: 16rpx;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
font-size: 32rpx;
|
||||
border-radius: 24rpx;
|
||||
height: 120rpx;
|
||||
line-height: 120rpx;
|
||||
font-size: 48rpx;
|
||||
transition: all 0.3s ease;
|
||||
font-weight: 500;
|
||||
|
||||
&:first-child {
|
||||
margin-right: 20rpx;
|
||||
margin-right: 30rpx;
|
||||
background-color: #f5f5f5;
|
||||
color: #666;
|
||||
border: 1rpx solid #e0e0e0;
|
||||
|
||||
@@ -65,16 +65,16 @@ function nextDetail(company) {
|
||||
<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
|
||||
@@ -82,20 +82,20 @@ function nextDetail(company) {
|
||||
.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-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{
|
||||
@@ -104,30 +104,44 @@ function nextDetail(company) {
|
||||
.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: 4rpx
|
||||
margin-bottom: 10rpx
|
||||
margin-top: 6rpx
|
||||
margin-bottom: 15rpx
|
||||
display: flex
|
||||
justify-content: space-between
|
||||
font-size: 28rpx;
|
||||
font-size: 42rpx;
|
||||
color: #6C7282;
|
||||
}
|
||||
}
|
||||
.ris{
|
||||
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
|
||||
}
|
||||
.fs_14{
|
||||
font-size: 21rpx;
|
||||
}
|
||||
.mar_ri10{
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.line_1{
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical;
|
||||
line-height: 1.5;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user