部分页面适配

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

View File

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

View File

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

View File

@@ -285,7 +285,12 @@ function getCompanyIsAJobs(...args) {
if (dataType.value === 2) {
// 第三方数据获取公司职位数量
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;
});
} else {

View File

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

View File

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

View File

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

View File

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