部分页面适配
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user