部分页面适配

This commit is contained in:
2025-12-11 18:12:47 +08:00
parent 3c8176f84e
commit 60b4d2bef0
8 changed files with 28 additions and 10 deletions

View File

@@ -92,6 +92,7 @@ const handleScrollToLower = () => {
width: 100vw; width: 100vw;
height: calc(100% - var(--window-bottom)); height: calc(100% - var(--window-bottom));
overflow: hidden; overflow: hidden;
} }
.app-container { .app-container {
// background-image: url('@/static/icon/background2.png'); // background-image: url('@/static/icon/background2.png');
@@ -102,6 +103,8 @@ const handleScrollToLower = () => {
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
width: 100%; width: 100%;
box-sizing: border-box;
padding-top: calc(var(--window-top) + var(--status-bar-height));
.container-header { .container-header {
min-height: calc(88rpx - 14rpx); min-height: calc(88rpx - 14rpx);
text-align: center; text-align: center;

View File

@@ -184,10 +184,13 @@ function getThirdPartyJobsList(type = 'add') {
let params = { let params = {
current: pageState.current, current: pageState.current,
pageSize: pageState.pageSize, pageSize: pageState.pageSize,
gsID:companyId,
gsmc:companyName,
zphID:zphId
}; };
$api.createRequest( $api.createRequest(
`/app/internal/jobThirdPart?gsID=${companyId}&gsmc=${companyName}&zphID=${zphId}`, `/app/internal/jobThirdPart`,
params, params,
'GET', 'GET',
true true

View File

@@ -153,9 +153,11 @@ function getCompanyList(type = 'add') {
let params = { let params = {
current: pageState.current, current: pageState.current,
pageSize: pageState.pageSize, pageSize: pageState.pageSize,
zphID:jobFairId,
zphmc:jobFairName,
}; };
$api.createRequest( $api.createRequest(
`/app/internal/companyThirdPart/?zphID=${jobFairId}&zphmc=${jobFairName}`, `/app/internal/companyThirdPart/`,
params, params,
'GET', 'GET',
true true

View File

@@ -285,7 +285,12 @@ function getCompanyIsAJobs(...args) {
if (dataType.value === 2) { if (dataType.value === 2) {
// 第三方数据获取公司职位数量 // 第三方数据获取公司职位数量
const [gsID, gsmc, zphID] = args; const [gsID, gsmc, zphID] = args;
$api.createRequest(`/app/internal/jobThirdPart?gsID=${gsID}&gsmc=${gsmc}&zphID=${zphID}`).then((resData) => { const params = {
gsID:gsID,
gsmc:gsmc,
zphID:zphID
}
$api.createRequest(`/app/internal/jobThirdPart`,params).then((resData) => {
companyCount.value = resData.total; companyCount.value = resData.total;
}); });
} else { } else {

View File

@@ -45,7 +45,9 @@
<view class="container-main"> <view class="container-main">
<scroll-view scroll-y class="main-scroll" @scrolltolower="handleScrollToLower"> <scroll-view scroll-y class="main-scroll" @scrolltolower="handleScrollToLower">
<view class="cards"> <view class="cards">
<!-- #ifdef H5 -->
<transition-group name="stagger" tag="view" :css="true"> <transition-group name="stagger" tag="view" :css="true">
<!-- #endif -->
<view <view
class="card press-button" class="card press-button"
v-for="(item, index) in fairList" v-for="(item, index) in fairList"
@@ -95,7 +97,9 @@
<view class="recommend-card-line"></view> <view class="recommend-card-line"></view>
<view class="card-footer">内容简介{{ item.zphjj }}</view> <view class="card-footer">内容简介{{ item.zphjj }}</view>
</view> </view>
<!-- #ifdef H5 -->
</transition-group> </transition-group>
<!-- #endif -->
</view> </view>
<empty v-if="!fairList.length" content="暂时没有结果,下一天也许就有惊喜"></empty> <empty v-if="!fairList.length" content="暂时没有结果,下一天也许就有惊喜"></empty>
</scroll-view> </scroll-view>
@@ -336,6 +340,8 @@ function getNextDates({ startDate = '', count = 6 }) {
.container-header { .container-header {
background: url('@/static/icon/background2.png') 0 0 no-repeat; background: url('@/static/icon/background2.png') 0 0 no-repeat;
background-size: 100% 400rpx; background-size: 100% 400rpx;
box-sizing: border-box;
padding-top: calc(var(--window-top) + var(--status-bar-height));
.header-top{ .header-top{
display: flex; display: flex;
line-height: calc(88rpx - 14rpx); line-height: calc(88rpx - 14rpx);

View File

@@ -110,7 +110,7 @@
</tabcontrolVue> </tabcontrolVue>
<SelectJobs ref="selectJobsModel"></SelectJobs> <SelectJobs ref="selectJobsModel"></SelectJobs>
<!-- 后门 --> <!-- 后门 -->
<view class="backdoor" @click="loginbackdoor"> <view class="backdoor" @click="loginbackdoor">
<uni-icons type="gift-filled" size="30"></uni-icons> <uni-icons type="gift-filled" size="30"></uni-icons>
</view> </view>
</AppLayout> </AppLayout>
@@ -315,7 +315,7 @@ function complete() {
.backdoor{ .backdoor{
position: fixed; position: fixed;
left: 24rpx; left: 24rpx;
top: 10rpx; top: 100rpx;
} }
.input-nx .input-nx
position: relative position: relative

View File

@@ -180,16 +180,14 @@ function changeSwiperMsgType(e) {
height: 100%; height: 100%;
width: 100%; width: 100%;
.container-header { .container-header {
height: calc(88rpx - 14rpx);
text-align: center;
line-height: calc(88rpx - 14rpx);
font-size: 32rpx;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
padding: 16rpx 44rpx 36rpx 44rpx; padding: 16rpx 44rpx 36rpx 44rpx;
background: url('@/static/icon/msgTopbg.png') 0 0 no-repeat; background: url('@/static/icon/msgTopbg.png') 0 0 no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
box-sizing: border-box;
padding-top: calc(var(--window-top) + var(--status-bar-height) + 20rpx);
.header-title { .header-title {
color: #000000; color: #000000;
font-weight: bold; font-weight: bold;

View File

@@ -81,9 +81,10 @@ export function createRequest(url, data = {}, method = 'GET', loading = false, h
mask: true mask: true
}) })
} }
console.log(url,'____')
let header = { let header = {
...headers, ...headers,
'X-Target-URI': url 'X-Target-URI': encodeURI(url)
}; };
const userStore = useUserStore(); const userStore = useUserStore();
const token = userStore.token; const token = userStore.token;