一体机放大效果开发

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

@@ -120,7 +120,7 @@ const rangeOptions = ref([
{ value: 0, text: '推荐' },
{ value: 1, text: '最热' },
{ value: 2, text: '最新发布' },
{ value: 3, text: '疆外' },
// { value: 3, text: '疆外' },
]);
function choosePosition(index) {
@@ -289,48 +289,48 @@ defineExpose({ loadData, handleFilterConfirm });
overflow: hidden;
.two-head
margin: 22rpx;
margin: 33rpx;
display: flex;
flex-wrap: wrap
// grid-template-columns: repeat(4, 1fr);
// grid-column-gap: 10rpx;
// grid-row-gap: 24rpx;
border-radius: 17rpx 17rpx 17rpx 17rpx;
// grid-column-gap: 15rpx;
// grid-row-gap: 36rpx;
border-radius: 26rpx 26rpx 26rpx 26rpx;
.head-item
margin: 10rpx
margin: 15rpx
white-space: nowrap
min-width: 156rpx
line-height: 64rpx
min-width: 234rpx
line-height: 96rpx
text-align: center;
width: fit-content;
font-size: 21rpx;
font-size: 32rpx;
font-weight: 400;
font-size: 28rpx;
font-size: 42rpx;
color: #6C7282;
background: #F6F6F6;
border-radius: 12rpx 12rpx 12rpx 12rpx;
border-radius: 18rpx 18rpx 18rpx 18rpx;
.active
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
color: #256BFA;
background: #E9F0FF;
border-radius: 12rpx 12rpx 12rpx 12rpx;
border-radius: 18rpx 18rpx 18rpx 18rpx;
.nearby-list
border-top: 2rpx solid #EBEBEB;
border-top: 3rpx solid #EBEBEB;
.one-cards{
display: flex;
flex-direction: column;
padding: 0 20rpx 20rpx 20rpx;
padding: 0 30rpx 30rpx 30rpx;
background: #f4f4f4
}
.nav-filter
padding: 16rpx 28rpx 0 28rpx
padding: 24rpx 42rpx 0 42rpx
.filter-top
display: flex
justify-content: space-between;
.tab-scroll
flex: 1;
overflow: hidden;
margin-right: 20rpx
margin-right: 30rpx
white-space: nowrap;
overflow: hidden;
text-overflow: clip;
@@ -341,45 +341,45 @@ defineExpose({ loadData, handleFilterConfirm });
flex-wrap: nowrap
.job
font-weight: 400;
font-size: 36rpx;
font-size: 54rpx;
color: #666D7F;
margin-right: 32rpx;
margin-right: 48rpx;
white-space: nowrap
.active
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
font-weight: 500;
font-size: 36rpx;
font-size: 54rpx;
color: #000000;
.jobs-add
display: flex
align-items: center;
justify-content: center;
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #666D7F;
line-height: 38rpx;
line-height: 57rpx;
.filter-bottom
display: flex
justify-content: space-between
padding: 24rpx 0
padding: 36rpx 0
.btm-left
display: flex
.filterbtm
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #666D7F;
margin-right: 40rpx
margin-right: 60rpx
.active
font-weight: 500;
font-size: 32rpx;
font-size: 48rpx;
color: #256BFA;
.btm-right
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #6C7282;
.right-sx
width: 26rpx;
height: 26rpx;
width: 39rpx;
height: 39rpx;
.active
transform: rotate(180deg)
</style>

View File

@@ -7,7 +7,7 @@
:class="{ 'map-collapsed': isMapCollapsed }"
>
<map
style="width: 100%; height: 400px"
style="width: 100%; height: 600px"
:latitude="latitudeVal"
:longitude="longitudeVal"
:markers="mapCovers"
@@ -346,31 +346,31 @@ defineExpose({ loadData, handleFilterConfirm });
<style lang="stylus" scoped>
.nearby-select{
width: 184rpx;
height: 64rpx;
width: 276rpx;
height: 96rpx;
background: #FFFFFF;
border-radius: 12rpx 12rpx 12rpx 12rpx;
border-radius: 18rpx 18rpx 18rpx 18rpx;
position: absolute
right: 28rpx;
top: 28rpx
right: 42rpx;
top: 42rpx
.select-view{
display: flex
align-items: center
justify-content: center
height: 100%
.view-sx{
width: 26rpx;
height: 26rpx;
width: 39rpx;
height: 39rpx;
}
.active{
transform: rotate(180deg)
}
}
.select-list{
border-radius: 12rpx 12rpx 12rpx 12rpx;
border-radius: 18rpx 18rpx 18rpx 18rpx;
overflow: hidden
position: absolute
top: 76rpx
top: 114rpx
left: 0
display: flex
flex-direction: column
@@ -378,9 +378,9 @@ defineExpose({ loadData, handleFilterConfirm });
text-align: center
.list-item{
width: 184rpx;
line-height: 68rpx;
height: 68rpx;
width: 276rpx;
line-height: 102rpx;
height: 102rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
}
}
@@ -393,7 +393,7 @@ defineExpose({ loadData, handleFilterConfirm });
overflow: hidden;
.nearby-map
height: 767rpx;
height: 1151rpx;
background: #e8e8e8;
overflow: hidden
transition: height 0.3s ease;
@@ -412,13 +412,13 @@ defineExpose({ loadData, handleFilterConfirm });
.one-cards{
display: flex;
flex-direction: column;
padding: 0 20rpx 20rpx 20rpx;
padding: 0 30rpx 30rpx 30rpx;
background: #f4f4f4
}
// 筛选条件样式 - 顶级选择器
.nav-filter
padding: 16rpx 28rpx 0 28rpx
padding: 24rpx 42rpx 0 42rpx
background: #ffffff
.filter-top
display: flex
@@ -426,7 +426,7 @@ defineExpose({ loadData, handleFilterConfirm });
.tab-scroll
flex: 1;
overflow: hidden;
margin-right: 20rpx
margin-right: 30rpx
white-space: nowrap;
overflow: hidden;
text-overflow: clip;
@@ -437,45 +437,45 @@ defineExpose({ loadData, handleFilterConfirm });
flex-wrap: nowrap
.job
font-weight: 400;
font-size: 36rpx;
font-size: 54rpx;
color: #666D7F;
margin-right: 32rpx;
margin-right: 48rpx;
white-space: nowrap
.active
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
font-weight: 500;
font-size: 36rpx;
font-size: 54rpx;
color: #000000;
.jobs-add
display: flex
align-items: center;
justify-content: center;
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #666D7F;
line-height: 38rpx;
line-height: 57rpx;
.filter-bottom
display: flex
justify-content: space-between
padding: 24rpx 0
padding: 36rpx 0
.btm-left
display: flex
.filterbtm
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #666D7F;
margin-right: 40rpx
margin-right: 60rpx
.active
font-weight: 500;
font-size: 32rpx;
font-size: 48rpx;
color: #256BFA;
.btm-right
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #6C7282;
.right-sx
width: 26rpx;
height: 26rpx;
width: 39rpx;
height: 39rpx;
.active
transform: rotate(180deg)
</style>

View File

@@ -388,11 +388,11 @@ defineExpose({ loadData, handleFilterConfirm });
<style lang="stylus" scoped>
.btm-right
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #6C7282;
.right-sx
width: 26rpx;
height: 26rpx;
width: 39rpx;
height: 39rpx;
.active
transform: rotate(180deg)
.tabchecked
@@ -406,15 +406,15 @@ defineExpose({ loadData, handleFilterConfirm });
.nearby-scroll
// 为scroll-view设置明确高度减去nav-filter的高度
height: calc(100vh - var(--window-top) - var(--status-bar-height) - 63rpx - 200rpx - 120rpx);
height: calc(100vh - var(--window-top) - var(--status-bar-height) - 95rpx - 300rpx - 180rpx);
.three-head
margin: 24rpx 0 0 0;
padding: 26rpx 0 0 0;
border-radius: 17rpx 17rpx 17rpx 17rpx;
margin: 36rpx 0 0 0;
padding: 39rpx 0 0 0;
border-radius: 26rpx 26rpx 26rpx 26rpx;
.one-picker
height: 100%
padding: 0 28rpx
padding: 0 42rpx
display: flex;
flex-wrap: nowrap;
align-items: center;
@@ -431,21 +431,21 @@ defineExpose({ loadData, handleFilterConfirm });
.metro
width: 100%;
.metro-one
font-size: 28rpx;
font-size: 42rpx;
color: #000000;
line-height: 33rpx;
line-height: 50rpx;
width: 100%;
min-width: 100rpx;
min-width: 150rpx;
.metro-two
font-size: 21rpx;
font-size: 32rpx;
color: #606060;
line-height: 25rpx;
margin-top: 6rpx;
line-height: 38rpx;
margin-top: 9rpx;
.metro-three
width: fit-content;
margin-top: 100rpx;
padding: 0 64rpx;
margin-top: 150rpx;
padding: 0 96rpx;
.three-background
position: relative;
.three-items
@@ -454,53 +454,53 @@ defineExpose({ loadData, handleFilterConfirm });
display: flex;
justify-content: space-between;
z-index: 2;
height: 90rpx
height: 135rpx
.three-item
margin-right: 124rpx;
margin-right: 186rpx;
position: relative
.item-dont
width: 17rpx;
height: 17rpx;
width: 26rpx;
height: 26rpx;
background: #FFFFFF;
border-radius: 50%;
position: relative;
margin-bottom: 20rpx;
margin-bottom: 30rpx;
.item-dont::before
position: absolute;
content: '';
color: #FFFFFF;
font-size: 20rpx;
font-size: 30rpx;
text-align: center;
left: 50%;
top: 50%;
transform: translate(-50%, -50%)
width: 27rpx;
height: 27rpx;
width: 41rpx;
height: 41rpx;
background: #F7B000;
border-radius: 50%;
.item-dont::after
position: absolute;
// content: '始';
content: '';
font-size: 20rpx;
font-size: 30rpx;
text-align: center;
left: 50%;
top: 50%;
transform: translate(-50%, -50%)
width: 14rpx;
height: 14rpx;
width: 21rpx;
height: 21rpx;
background: #ffffff;
border-radius: 50%;
// .donted::after
// position: absolute;
// content: '';
// font-size: 20rpx;
// font-size: 30rpx;
// text-align: center;
// left: 50%;
// top: 50%;
// transform: translate(-50%, -50%)
// width: 14rpx;
// height: 14rpx;
// width: 21rpx;
// height: 21rpx;
// background: #F7B000 !important;
// border-radius: 50%;
.item-text
@@ -508,12 +508,12 @@ defineExpose({ loadData, handleFilterConfirm });
left: 0
width: fit-content;
font-weight: 400;
font-size: 28rpx;
font-size: 42rpx;
color: #333333;
line-height: 25rpx;
line-height: 38rpx;
text-align: center;
white-space: nowrap
transform: translate(-50% + 8rpx, 0)
transform: translate(-50% + 12rpx, 0)
.textActive
color: #F7B000
.three-item:nth-child(2n)
@@ -525,28 +525,28 @@ defineExpose({ loadData, handleFilterConfirm });
left: 0;
top: -17rpx;
width: 100%;
height: 17rpx;
height: 26rpx;
background: #F7B000;
border-radius: 17rpx 17rpx 17rpx 17rpx;
border-radius: 26rpx 26rpx 26rpx 26rpx;
z-index: 1;
.nearby-list
.one-cards{
display: flex;
flex-direction: column;
padding: 0 20rpx 20rpx 20rpx;
padding: 0 30rpx 30rpx 30rpx;
background: #f4f4f4
}
.nav-filter
border-top: 2rpx solid #EBEBEB;
padding: 16rpx 28rpx 0 28rpx;
margin-top: 125rpx;
border-top: 3rpx solid #EBEBEB;
padding: 24rpx 42rpx 0 42rpx;
margin-top: 188rpx;
.filter-top
display: flex
justify-content: space-between;
.tab-scroll
flex: 1;
overflow: hidden;
margin-right: 20rpx
margin-right: 30rpx
white-space: nowrap;
overflow: hidden;
text-overflow: clip;
@@ -557,45 +557,45 @@ defineExpose({ loadData, handleFilterConfirm });
flex-wrap: nowrap
.job
font-weight: 400;
font-size: 36rpx;
font-size: 54rpx;
color: #666D7F;
margin-right: 32rpx;
margin-right: 48rpx;
white-space: nowrap
.active
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
font-weight: 500;
font-size: 36rpx;
font-size: 54rpx;
color: #000000;
.jobs-add
display: flex
align-items: center;
justify-content: center;
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #666D7F;
line-height: 38rpx;
line-height: 57rpx;
.filter-bottom
display: flex
justify-content: space-between
padding: 24rpx 0
padding: 36rpx 0
.btm-left
display: flex
.filterbtm
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #666D7F;
margin-right: 40rpx
margin-right: 60rpx
.active
font-weight: 500;
font-size: 32rpx;
font-size: 48rpx;
color: #256BFA;
.btm-right
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #6C7282;
.right-sx
width: 26rpx;
height: 26rpx;
width: 39rpx;
height: 39rpx;
.active
transform: rotate(180deg)
</style>

View File

@@ -292,7 +292,7 @@ defineExpose({ loadData, handleFilterConfirm });
overflow: hidden;
.two-head
margin: 22rpx;
margin: 33rpx;
display: flex;
flex-wrap: wrap
// grid-template-columns: repeat(4, 1fr);
@@ -304,40 +304,40 @@ defineExpose({ loadData, handleFilterConfirm });
padding: 0;
overflow: hidden;
}
// grid-column-gap: 10rpx;
// grid-row-gap: 24rpx;
// grid-column-gap: 15rpx;
// grid-row-gap: 36rpx;
border-radius: 17rpx 17rpx 17rpx 17rpx;
border-radius: 26rpx 26rpx 26rpx 26rpx;
.head-item
margin: 10rpx
margin: 15rpx
white-space: nowrap
min-width: 156rpx
line-height: 64rpx
min-width: 234rpx
line-height: 96rpx
text-align: center;
width: fit-content;
font-size: 21rpx;
font-size: 32rpx;
font-weight: 400;
font-size: 28rpx;
font-size: 42rpx;
color: #6C7282;
background: #F6F6F6;
border-radius: 12rpx 12rpx 12rpx 12rpx;
border-radius: 18rpx 18rpx 18rpx 18rpx;
.active
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
color: #256BFA;
background: #E9F0FF;
border-radius: 12rpx 12rpx 12rpx 12rpx;
border-radius: 18rpx 18rpx 18rpx 18rpx;
.nearby-list
border-top: 2rpx solid #EBEBEB;
border-top: 3rpx solid #EBEBEB;
.one-cards{
display: flex;
flex-direction: column;
padding: 0 20rpx 20rpx 20rpx;
padding: 0 30rpx 30rpx 30rpx;
background: #f4f4f4
}
// 筛选条件样式 - 顶级选择器
.nav-filter
padding: 16rpx 28rpx 0 28rpx
padding: 24rpx 42rpx 0 42rpx
background: #ffffff
.filter-top
display: flex
@@ -345,7 +345,7 @@ defineExpose({ loadData, handleFilterConfirm });
.tab-scroll
flex: 1;
overflow: hidden;
margin-right: 20rpx
margin-right: 30rpx
white-space: nowrap;
overflow: hidden;
text-overflow: clip;
@@ -356,45 +356,45 @@ defineExpose({ loadData, handleFilterConfirm });
flex-wrap: nowrap
.job
font-weight: 400;
font-size: 36rpx;
font-size: 54rpx;
color: #666D7F;
margin-right: 32rpx;
margin-right: 48rpx;
white-space: nowrap
.active
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
font-weight: 500;
font-size: 36rpx;
font-size: 54rpx;
color: #000000;
.jobs-add
display: flex
align-items: center;
justify-content: center;
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #666D7F;
line-height: 38rpx;
line-height: 57rpx;
.filter-bottom
display: flex
justify-content: space-between
padding: 24rpx 0
padding: 36rpx 0
.btm-left
display: flex
.filterbtm
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #666D7F;
margin-right: 40rpx
margin-right: 60rpx
.active
font-weight: 500;
font-size: 32rpx;
font-size: 48rpx;
color: #256BFA;
.btm-right
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #6C7282;
.right-sx
width: 26rpx;
height: 26rpx;
width: 39rpx;
height: 39rpx;
.active
transform: rotate(180deg)
</style>

View File

@@ -84,15 +84,15 @@ function handleTabChange(index) {
<style lang="stylus" scoped>
.btnback{
width: 64rpx;
height: 64rpx;
width: 96rpx;
height: 96rpx;
}
.btn {
display: flex;
justify-content: space-between;
align-items: center;
width: 52rpx;
height: 52rpx;
width: 78rpx;
height: 78rpx;
}
image {
height: 100%;
@@ -104,25 +104,25 @@ image {
display: flex;
flex-direction: column;
.nearby-head
height: 63rpx;
line-height: 63rpx;
height: 95rpx;
line-height: 95rpx;
text-align: center;
display: flex;
align-items: center;
font-weight: 400;
font-size: 32rpx;
font-size: 48rpx;
color: #666D7F;
.head-item
width: calc(100% / 4);
z-index: 9
.actived
// width: 169rpx;
// height: 63rpx;
// width: 254rpx;
// height: 95rpx;
// background: #13C57C;
// box-shadow: 0rpx 7rpx 7rpx 0rpx rgba(0,0,0,0.25);
// box-shadow: 0rpx 11rpx 11rpx 0rpx rgba(0,0,0,0.25);
// border-radius: 0rpx 0rpx 0rpx 0rpx;
font-weight: 500;
font-size: 32rpx;
font-size: 48rpx;
color: #000000;
.nearby-content
flex: 1;