空白格 3 年之前
父節點
當前提交
0d0eac7876

+ 1 - 1
h5_web/pages/businessDetails/businessDetails.scss

@@ -244,7 +244,7 @@
 							&:first-child {
 								flex: 1;
 								color: #EE5A10;
-								font-weight: 500;
+								font-weight: 600;
 							}
 						}
 					}

+ 2 - 2
h5_web/pages/businessDetails/businessDetails.vue

@@ -11,7 +11,7 @@
 				<!-- <image :src="companyInfo.logoUrl" mode=""></image> -->
 				<u-image :src="companyInfo.logoUrl" width="140" height="140" border-radius="70">
 					<view slot="error">
-						<u-image src="../../static/img/default-company.jpg" width="140" height="140" border-radius="70"/>
+						<u-image src="../../static/img/default-company.png" width="140" height="140" border-radius="70"/>
 					</view>
 				</u-image>
 			</view>
@@ -91,7 +91,7 @@
 								<u-image :src="item.companyLogoUrl" mode="aspectFill" width="112" height="112"
 									border-radius="10">
 									<view slot="error">
-										<u-image src="../../static/img/default-company.jpg" width="112" height="112" border-radius="10"/>
+										<u-image src="../../static/img/default-company.png" width="112" height="112" border-radius="10"/>
 									</view>
 								</u-image>
 							</view>

+ 1 - 1
h5_web/pages/cooperativeEnterprise/cooperativeEnterprise.vue

@@ -48,7 +48,7 @@
 						<view class="image">
 							<u-image :src="item.logoUrl" width="112" height="112" border-radius="10">
 								<view slot="error">
-									<u-image src="../../static/img/default-company.jpg" width="112" height="112" border-radius="10"/>
+									<u-image src="../../static/img/default-company.png" width="112" height="112" border-radius="10"/>
 								</view>
 							</u-image>
 						</view>

+ 40 - 0
h5_web/pages/entrepreneurshipGuidelines/previewPdf/previewPdf2.vue

@@ -0,0 +1,40 @@
+<template>
+	<view class="pdf-container">
+		<view id="demo"></view>
+	</view>
+</template>
+<script>
+	import Pdfh5 from "pdfh5";
+	export default {
+		name: 'App',
+		data() {
+			return {
+				pdfh5: null,
+				pdfUrl: ''
+			};
+		},
+		onLoad(page) {
+			if (page.fileUrl) {
+				this.pdfUrl = page.fileUrl
+			}
+		},
+		mounted() {
+			//实例化
+			this.pdfh5 = new Pdfh5("#demo", {
+				pdfurl: this.pdfUrl
+			});
+			//监听完成事件
+			this.pdfh5.on("complete", function(status, msg, time) {
+				console.log("状态:" + status + ",信息:" + msg + ",耗时:" + time + "毫秒,总页数:" + this.totalNum)
+			})
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	@import "./pdfh5.css";
+	.pdf-container {
+		width: 100%;
+		min-height: calc(100vh - 88rpx);
+	}
+</style>

+ 1 - 1
h5_web/pages/jobDetails/jobDetails.vue

@@ -31,7 +31,7 @@
 							<view class="container-image">
 								<u-image :src="recruitmentData.companyLogoUrl" width="96" height="96" border-radius="10" mode="aspectFill">
 									<view slot="error">
-										<u-image src="../../static/img/default-company.jpg" width="96" height="96" border-radius="10" mode="aspectFill"/>
+										<u-image src="../../static/img/default-company.png" width="96" height="96" border-radius="10" mode="aspectFill"/>
 									</view>
 								</u-image>
 							</view>

+ 8 - 4
h5_web/pages/policyInfo/policyInfo.vue

@@ -5,11 +5,13 @@
 
 <template>
 	<view class="policyInfo">
-		<u-navbar back-text="" title="" back-icon-color="#FFFFFF" :background="{background: '#3D5D4C' }"></u-navbar>
 		<z-paging ref="policyInfoPaging" v-model="policyInfoList" @query="policyInfoQueryList">
+			<u-navbar slot="top" back-text="" title="" back-icon-color="#FFFFFF" :background="{background: '#3D5D4C' }" :border-bottom="false">
+			</u-navbar>
 			<view class="policyInfo-banner" slot="top">
-				<u-swiper :list="bannerList" name="bannerUrl" border-radius="0" :mode="bannerList.length > 1 ? 'round' : 'none'" height="300"
-					img-mode="scaleToFill" @click="swiperClick" @change="swiperChange"></u-swiper>
+				<u-swiper :list="bannerList" name="bannerUrl" border-radius="0"
+					:mode="bannerList.length > 1 ? 'round' : 'none'" height="300" img-mode="scaleToFill"
+					@click="swiperClick" @change="swiperChange"></u-swiper>
 			</view>
 
 			<view class="policyInfo-title" slot="top">
@@ -86,7 +88,9 @@
 				});
 			},
 			getBannerList() {
-				this.$u.api.indexApi.indexBannerListApi({ type: 2 }).then(res => {
+				this.$u.api.indexApi.indexBannerListApi({
+					type: 2
+				}).then(res => {
 					if (!res) return;
 					this.bannerList = res?.data || [];
 				})

+ 3 - 3
h5_web/pages/policyInfo/scss/policyInfo.scss

@@ -1,9 +1,9 @@
 .policyInfo{
 	min-height: calc(100vh - 88rpx);
 	background-color: #f2f2f2;
-	&-banner {
-		margin-top: 88rpx;
-	}
+	// &-banner {
+	// 	margin-top: 88rpx;
+	// }
   &-title{
     width: 100%;
     height: 82rpx;

+ 3 - 4
h5_web/pages/recruitment/recruitment.vue

@@ -7,9 +7,8 @@
 	<view class="recruitment">
 		<!-- <u-navbar title-color="#FFFFFF" :customBack="navbarCustomBack" :bpay-bottom="false" back-icon-color="#FFFFFF"
 			:background="{background: '#3D5D4C' }" title="招聘就业" class="recruitment-unavbar" /> -->
-		<u-navbar back-text="" title="" back-icon-color="#FFFFFF" :background="{ background: '#3D5D4C' }" :border-bottom="false"></u-navbar>
 		<z-paging ref="recruitmentPaging" v-model="recruitmentJobList" @query="recruitmentQueryList">
-
+			<u-navbar slot="top" back-text="" title="" back-icon-color="#FFFFFF" :background="{ background: '#3D5D4C' }" :border-bottom="false"></u-navbar>
 			<!-- ###################################-- 轮播图 -- ################################### -->
 			<view class="recruitment-banner" slot="top">
 				<u-swiper :list="bannerList" name="bannerUrl" border-radius="0" mode="round" height="300"
@@ -47,7 +46,7 @@
 												height="140" border-radius="10" /> -->
 											<u-image :src="recommendItem.logoUrl" width="140" height="140" border-radius="10" mode="aspectFill">
 												<view slot="error">
-													<u-image src="../../static/img/default-company.jpg" width="140" height="140" border-radius="10" mode="aspectFill"/>
+													<u-image src="../../static/img/default-company.png" width="140" height="140" border-radius="10" mode="aspectFill"/>
 												</view>
 											</u-image>
 										</view>
@@ -85,7 +84,7 @@
 							border-radius="10" /> -->
 						<u-image :src="item.companyLogoUrl" width="120" height="120" border-radius="10" mode="aspectFill">
 							<view slot="error">
-								<u-image src="../../static/img/default-company.jpg" width="120" height="120" border-radius="10" mode="aspectFill"/>
+								<u-image src="../../static/img/default-company.png" width="120" height="120" border-radius="10" mode="aspectFill"/>
 							</view>
 						</u-image>
 					</view>

+ 3 - 3
h5_web/pages/recruitment/scss/recruitment.scss

@@ -7,9 +7,9 @@ page{
       border-bottom-width: 0 !important;
     }
   }
-  &-banner {
-		margin-top: 88rpx;
-	}
+ //  &-banner {
+	// 	margin-top: 88rpx;
+	// }
   &-usearch{
     margin: 20rpx 30rpx 0;
   }

+ 1 - 1
h5_web/pages/schoolDetails/schoolDetails.vue

@@ -8,7 +8,7 @@
 			<view class="school-details-content-logo">
 				<u-image :src="schoolInfo.schoolLogoUrl" width="140" height="140" border-radius="70" mode="aspectFill">
 					<view slot="error">
-						<u-image src="../../static/img/default-company.jpg" width="140" height="140" border-radius="70" mode="aspectFill"/>
+						<u-image src="../../static/img/default-company.png" width="140" height="140" border-radius="70" mode="aspectFill"/>
 					</view>
 				</u-image>
 			</view>

+ 1 - 1
h5_web/pages/schools/schools.vue

@@ -14,7 +14,7 @@
 						<view class="image">
 							<u-image :src="item.schoolLogoUrl" width="112" height="112" border-radius="10" mode="aspectFill">
 								<view slot="error">
-									<u-image src="../../static/img/default-company.jpg" width="122" height="112" border-radius="10" mode="aspectFill"/>
+									<u-image src="../../static/img/default-school.png" width="122" height="112" border-radius="10" mode="aspectFill"/>
 								</view>
 							</u-image>
 						</view>

+ 2 - 2
h5_web/pages/skillsTraining/skillsPackage/skillsPackage.vue

@@ -15,7 +15,7 @@
 				<view class="left">
 					<u-image :src="details.img" width="204" height="220" border-radius="10">
 						<view slot="error">
-							<u-image src="../../../static/img/default-company.jpg" height="220" width="204"
+							<u-image src="../../../static/img/default-company.png" height="220" width="204"
 								border-radius="10" mode="aspectFill" />
 						</view>
 					</u-image>
@@ -64,7 +64,7 @@
 								<view class="img">
 									<u-image :src="item.img" width="90%" height="196" border-radius="10" mode="aspectFill">
 										<view slot="error">
-											<u-image src="../../../static/img/default-company.jpg" height="220" width="95%"
+											<u-image src="../../../static/img/default-company.png" height="220" width="95%"
 												border-radius="10" mode="aspectFill" />
 										</view>
 									</u-image>

+ 2 - 2
h5_web/pages/skillsTraining/skillsTraining.vue

@@ -41,7 +41,7 @@
 							<view class="left">
 								<u-image :src="item.img" mode="aspectFill" border-radius="10" height="220" width="204">
 									<view slot="error">
-										<u-image src="../../static/img/default-company.jpg" width="204" height="220"
+										<u-image src="../../static/img/no-image.png" width="204" height="220"
 											border-radius="10" mode="aspectFill" />
 									</view>
 								</u-image>
@@ -75,7 +75,7 @@
 					<view class="border-1">
 						<u-image :src="item.img" mode="aspectFill" border-radius="10" height="180" width="294">
 							<view slot="error">
-								<u-image src="../../static/img/default-company.jpg" height="190" width="300"
+								<u-image src="../../static/img/no-image.png" height="190" width="300"
 									border-radius="10" mode="aspectFill" />
 							</view>
 						</u-image>

二進制
h5_web/static/img/default-company.png


二進制
h5_web/static/img/default-school.png


二進制
h5_web/static/img/no-image.png