Browse Source

代码提交

twt 3 years ago
parent
commit
b9badb211f

+ 6 - 0
pages.json

@@ -83,6 +83,12 @@
 			"style": {
 				"navigationStyle": "custom"
 			}
+		},
+		{
+			"path": "pages/pc/home",
+			"style": {
+				"navigationStyle": "custom"
+			}
 		}
     ],
 	"globalStyle": {

+ 4 - 2
pages/pc/detail.vue

@@ -26,7 +26,7 @@
 		  </view>
 		</view>
 		<view class="lbel" v-if="topName">
-			<view class="topName">{{topName}}</view>
+			<view class="topName" @click="goList">{{topName}}</view>
 		</view>
        
 	</view>
@@ -67,8 +67,9 @@
 				window.location.href=url
 			},
 			goList(){
+				var code=this.parentCode.substring(0,3)
 				uni.navigateTo({
-					url:'list?code='+this.parentCode+'&topName='+this.topName+'&comment='+this.comment
+					url:'list?code='+code+'&topName='+this.topName+'&comment='+this.comment
 				})
 			},
              goIndex(){
@@ -235,6 +236,7 @@
 		color: #3F90F7;
 		line-height: 24px;
 		text-align: center;
+		cursor: pointer;
 	}
 	.fileName{
 		text-decoration:underline;

+ 201 - 0
pages/pc/home.vue

@@ -0,0 +1,201 @@
+<template>
+	<view>
+		<view class="nav">
+			<view class="navCont">
+				<view class="logo">
+					<image :src="info.logo" mode="" class="logoImg"></image>
+				</view>
+				<view class="navTitle">{{info.title}}</view>
+				<view class="indexNav" :class="{'indexActive':data=='index'}" @click="goIndex">首页</view>
+				<view class="allCategory">
+					<view class="allCategoryLine" :class="{'indexActive':itemName==item.name}" v-for="(item,index) in allCategory" v-if="index<5" @click="goItem(item)">{{item.name}}</view>
+				    <view class="allCategoryMore" v-if="allCategory.length>1">
+					 <span @click="moreBtn" class="moreBtn">更多</span> 
+					 <image @click="moreBtn" src="../../static/pcimg/icon_arrow_xia@2x.png" mode="widthFix" class="navmoreImg"></image>
+					 <image  src="../../static/pcimg/mores.png" mode="widthFix" class="navmoreImg2"></image>
+					 <view class="navMoret" >
+					 	<view class="navMoreTline" v-for="(item,index) in allCategory" v-if="index>4" @click="goItem(item)">{{item.name}}</view>
+					 </view>
+					
+					</view>
+					
+				</view>
+				<view class="navSs" @click="gosearchlist">
+					<image src="../../static/pcimg/icon_search@2x.png" mode="widthFix" class="navSsimg"></image>
+				</view>
+			</view>
+		</view>
+		<index></index>
+
+	</view>
+</template>
+
+<script>
+	import index from './indexNew.vue'
+	export default {
+		name: "searchBox",
+		props: ['data','itemName'],
+		components: {
+			index,
+		},
+		data() {
+			return {
+				allCategory:[],
+				navMoret:false,
+				info:'',
+			};
+		},
+		onLoad() {
+			 
+		},
+		created(){
+			this.getallCategory();
+			this.getInfo()
+		},
+		methods:{
+			gosearchlist(){
+				uni.navigateTo({
+					url:'../../pages/pc/searchlist'
+				})
+			},
+			goItem(item){
+				console.log(item)
+				uni.navigateTo({
+					url:'list?code='+item.code+'&topName='+item.name+'&comment='+item.comment
+				})
+			},
+			getInfo(){
+				this.$http('/trainingOpenApi/getInfo', {}, 'GET').then(res => {
+					this.info = res.data
+				})
+			},
+			goIndex(){
+				uni.navigateTo({
+					url:'../../pages/pc/index'
+				})
+			},
+			getallCategory(){
+				this.$http('/trainingOpenApi/allCategory', {}, 'GET').then(res => {
+					this.allCategory = res.data
+				})
+			},
+			moreBtn(){
+				this.navMoret=!this.navMoret
+			},
+		}
+	}
+</script>
+
+<style scoped>
+	.nav{
+		width: 100%;
+		height: 72px;
+		background: #FFFFFF;
+		box-shadow: 0px 4px 10px 0px rgba(153, 153, 153, 0.12);
+		display: flex;
+		justify-content: center;
+		position: fixed;
+		left: 0;
+		top: 0;
+		z-index: 11;
+	}
+	.navCont{
+		width: 1200px;
+		display: flex;
+		position: relative;
+	}
+	.logoImg{
+		width: 62px;
+		height: 28px;
+		margin-top: 19px;
+	}
+	.navTitle{
+		line-height: 72px;
+		font-weight: 500;
+		color: #3C3C3C;
+		font-size: 20px;
+		padding-left: 10px;
+		font-family: PingFangSC-Medium, PingFang SC;
+	}
+	.indexNav{
+		line-height: 72px;
+		
+		color: #3C3C3C;
+		font-size: 16px;
+		padding-left: 54px;
+		cursor: pointer;
+	}
+	.indexActive{
+		color: #FF4F00 !important;
+	}
+	.allCategory{
+		display: flex;
+		line-height: 72px;
+	}
+	.allCategoryLine{
+		padding-left: 30px;
+		color: #3C3C3C;
+		font-size: 16px;
+		cursor: pointer;
+	}
+	.allCategoryMore{
+		padding-left: 30px;
+		color: #3C3C3C;
+		font-size: 16px;
+		display: flex;
+		cursor: pointer;
+		position: relative;
+	}
+	.navMoret{
+		position: absolute;
+		width: 140px;
+		background: #FFFFFF;
+		box-shadow: 0px 4px 10px 0px rgba(153, 153, 153, 0.12);
+		border-radius: 6px;
+		top: 72px;
+		left:0px ;
+		font-size: 16px;
+		display: none; 
+	}
+	.allCategoryMore:hover .navMoret{
+		display: block;
+	}
+	.navMoreTline{
+		width: 140px;
+		text-align: center;
+		font-size: 16px;
+		line-height: 50px;
+	}
+	.allCategoryMore:hover .moreBtn{
+		 color: #FF4F00; 
+	}
+	.navmoreImg{
+		width: 12px;
+		height: 8px;
+		margin-top: 32px;
+		margin-left: 10px;
+	}
+	.navmoreImg2{
+		width: 12px;
+		height: 8px;
+		margin-top: 32px;
+		margin-left: 10px;
+		display: none;
+	}
+	.allCategoryMore:hover .navmoreImg{
+		display: none;
+	}
+	.allCategoryMore:hover .navmoreImg2{
+		display: block;
+	}
+	.navSsimg{
+		width: 20px;
+		height: 20px;
+	}
+	.navSs{
+		position: absolute;
+		cursor: pointer;
+		top:24px;
+		right: 0;
+	}
+</style>

+ 3 - 0
pages/pc/index.vue

@@ -106,6 +106,9 @@
           
 		   this.getindexData()
 		},
+		/* created(){
+			this.getindexData()
+		}, */
 		methods: {
 			goList(item){
 				console.log(item)

+ 433 - 0
pages/pc/indexNew.vue

@@ -0,0 +1,433 @@
+<template>
+	<view class="content">
+	<!-- 	<pcNav :data="'index'"></pcNav> -->
+		<view style="height: 72px;"></view>
+		<view class="swiperBox">
+			<view class="swiperCont">
+				<view class="tuijbox">
+					<image src="../../static/pcimg/icon_tuijian@2x.png" mode="" class="tuijImg"></image>
+					<span class="tuijTitle">推荐文章</span>
+				</view>
+				 <swiper class="swiper"  :autoplay="false"   :circular="true" :current="swpIndex">
+					<swiper-item v-for="(item,index) in recommendList" v-if="(index+1)%2!=0">
+						<view class="swpCont">
+							<view class="swiper-item" @click="goDetail(item)">
+								<view class="swpimgBox swpBr">
+									<image :src="item.logoImg" mode="" class="swpimg"></image>
+								</view>
+								<view class="swpTitleBox">
+									<view class="swpTitle">{{item.title}}</view>
+									<view class="categoryName" @click.stop="goList(item)">{{item.categoryName.substring(0,5)}}</view>
+								</view>
+								
+							</view>
+							<view class="swiper-item" v-if="(index+1)<recommendList.length" @click="goDetail(recommendList[index+1])">
+								<view class="swpimgBox swpBr">
+								   <image :src="recommendList[index+1].logoImg" mode="" class="swpimg"></image>
+								</view>
+								<view class="swpTitleBox">
+									<view class="swpTitle">{{recommendList[index+1].title}}</view>
+									<view class="categoryName">{{recommendList[index+1].categoryName.substring(0,5)}}</view>
+								</view>
+							</view>
+						</view>
+						
+					</swiper-item>
+					
+				</swiper>
+				<image src="../../static/pcimg/icon_arrow_zuo_sel@2x.png" mode="" class="swpImgleft" @click="swpBtnLeft"></image>
+				<image src="../../static/pcimg/legtspx.png" mode="" class="swpImgright" @click="swpBtnRight"></image>
+			</view>
+		</view>
+		
+		<view class="main">
+			<view class="mainCont">
+				<view class="mainline" :class="{'mainline1':index==0}" v-for="(item,index) in indexData.categoryList" v-if="item.children.length>0">
+					<view class="mainlineTop">
+						<view class="mainlineTopleft">
+							<view class="mainlineTitle">{{item.name}}</view>
+							<view class="mainlinecount">共{{item.count}}篇文章</view>
+						</view>
+						<view class="mainlineMore" @click="mainMore(item)">查看更多
+						  <image src="../../static/pcimg/icon_list_arrow_def@2x.png" mode="" class="linegdImg1"></image>
+						  <image src="../../static/pcimg/icon_list_arrow_sel@2x.png" mode="" class="linegdImg2"></image>
+						</view>
+					</view>
+					<view class="mainwzbox" v-if="item.children.length>0">
+						<view class="mainwzline" v-for="(wz,wzindex) in item.children" @click="goDetail2(wz,item)" v-if="wzindex<4" :class="{'mainwzlineR':wzindex!=3}">
+							<view class="mainwzImgBox">
+							  <img :src="wz.logoImg" alt="" class="mainwzImg">	
+							</view>
+							<view class="wztitle">{{wz.title}}</view>
+							<view class="wztime">2022-3-30</view>
+						</view>
+						
+					</view>
+					
+					
+				</view>
+				
+				
+			</view>
+			
+		</view>
+		
+		
+		<view class="gotop" @click="gotoTop">
+			<image src="../../static/pcimg/btn_top@2x.png" mode="" class="gotopImg"></image>
+		</view>
+		
+		
+		
+		<!-- <view>
+			<a class="table-btn" href="http://phone.66km.cn:8088/marketing/training/940C4BF0A2E04542A1A1AD244EAFB6E2.xlsx" target='_blank'>下载入口</a>
+		</view> -->
+		
+	</view>
+</template>
+
+<script>
+	import pcNav from '../../components/pcNav/pcNav.vue'
+	export default {
+		components: {
+			pcNav,
+		},
+		data() {
+			return {
+				title: 'Hello',
+				allCategory:[],
+				navMoret:false,
+				swpIndex:0,
+				indexData:'',
+				recommendList:[],
+			}
+		},
+		onLoad() {
+          
+		   this.getindexData()
+		},
+		created(){
+			this.getindexData()
+		},
+		methods: {
+			goList(item){
+				console.log(item)
+				uni.navigateTo({
+					url:'list?code='+item.code+'&topName='+item.categoryName//+'&comment='+item.comment
+				})
+			},
+			goDetail(item){
+				console.log(item)
+				uni.navigateTo({
+					url:'detail?id='+item.id+'&topName='+item.categoryName+"&comment="+item.comment+'&parentCode='+item.code
+				})
+			},
+			goDetail2(wz,item){
+				/* console.log(item)
+				console.log(wz) */
+				 uni.navigateTo({
+					url:'detail?id='+wz.id+'&topName='+item.name+"&comment="+item.comment+'&parentCode='+item.code
+				}) 
+			},
+			gotoTop(){
+				uni.pageScrollTo({ 
+				   scrollTop: 0, duration: 300 
+				}); 
+			},
+			
+			swpBtnRight(){
+				var length=this.recommendList.length
+				var num=Math.ceil(length/2)
+				if(this.swpIndex<num){
+					this.swpIndex++
+				}
+				
+			},
+			swpBtnLeft(){
+				if(this.swpIndex==0){
+					
+				}else{
+					this.swpIndex--
+				}
+				
+			},
+           
+			getindexData(){
+				uni.showLoading({
+					title: '加载中'
+				})
+				this.$http('/trainingOpenApi/indexData', {}, 'GET').then(res => {
+					uni.hideLoading();
+					this.indexData = res.data;
+					this.recommendList=this.indexData.recommendList
+				})
+			},
+			mainMore(item){
+				console.log(item)
+				uni.navigateTo({
+					url:'list?code='+item.code+'&topName='+item.name+'&comment='+item.comment
+				})
+			}
+		}
+	}
+</script>
+
+<style scoped>
+	.content{
+		background: #F4F5F7;
+		min-height: 100vh;
+		font-family: PingFangSC-Regular, PingFang SC;
+	}
+	.swiperBox{
+		/* height: 280px; */
+		/* background: #F3F8FF; */
+		width: 100%;
+	}
+	.swiperCont{
+		width: 1236px;
+		margin: 0 auto;
+		position: relative;
+	}
+	.tuijImg{
+		width: 24px;height: 24px;
+		
+	}
+	.tuijbox{
+		display: flex;padding-top: 32px;padding-bottom: 20px;
+		padding-left: 15px;
+	}
+	.tuijTitle{
+		font-size: 22px;
+		font-family: PingFangSC-Medium, PingFang SC;
+		font-weight: 500;
+		color: #3C3C3C;
+		padding-left: 7px;
+		line-height: 24px;
+	}
+	.swpImgleft{
+		width: 44px;
+		height: 44px;
+		position: absolute;
+		top: 145px;
+		left: -60px;
+		cursor: pointer;
+	}
+	.swpImgright{
+		width: 44px;
+		height: 44px;
+		position: absolute;
+		top: 145px;
+		right: -60px;
+		cursor: pointer;
+	}
+	.swiper-item{
+		width: 590px;
+		height: 163px;
+		background: #FFFFFF;
+		margin-left: 16px;
+		margin-right: 12px;
+		border-radius: 6px;
+		margin-top: 14px;
+		position: relative;
+		cursor: pointer;
+	}
+	.swiper-item:hover{
+		box-shadow: 0px 0px 16px 0px rgba(153, 153, 153, 0.25);
+	}
+	.swpCont{
+		display: flex;
+		height: 210px;
+		justify-content: space-between;
+	}
+	.swpimg{
+		width: 284px;
+		height: 160px;
+	}
+	.swpimgBox{
+		width: 284px;
+		height: 160px;
+		position: absolute;
+		left: 0;
+		top: -14px;
+		
+	}
+	.swpBr{
+		width: 284px;
+		height: 160px;
+		border-radius: 7px;
+		overflow: hidden;
+	}
+	.swiper{
+		height: 190px;
+	}
+	.swpTitleBox{
+		padding-left: 304px;
+		display: flex;
+		flex-direction: column;
+		justify-content: space-between;
+		height: 140px;
+		padding-top: 10px;
+		
+	}
+	
+	.swpTitle{
+		width: 240px;
+		height: 44px;
+		font-size: 16px;
+		color: #3C3C3C;
+		line-height: 22px;
+		 text-overflow: -o-ellipsis-lastline;
+		  overflow: hidden;
+		  text-overflow: ellipsis;
+		  display: -webkit-box;
+		  -webkit-line-clamp: 2;
+		  line-clamp: 2;
+		  -webkit-box-orient: vertical;
+	}
+	.swpTitleBox:hover .swpTitle{
+		color: #FF4F00;
+	}
+	.categoryName{
+		line-height: 24px;
+		width: 84px;
+		height: 24px;
+		background: rgba(63, 144, 247, 0.1);
+		border-radius: 14px;
+		font-size: 14px;
+		color: #3F90F7;
+		text-align: center;
+		white-space: nowrap; 
+		overflow: hidden; 
+		text-overflow: ellipsis; 
+	}
+	.mainCont{
+		width: 1200px;
+		margin: 0 auto;
+		padding-bottom: 20px;
+	}
+	.mainline{
+		padding-top: 34px;
+	}
+	.mainlineTop{
+		display: flex;
+		justify-content: space-between;
+	}
+	.mainlineTopleft{
+		display: flex;
+	}
+	.mainlineTitle{
+		font-size: 22px;
+		font-weight: 500;
+		color: #3C3C3C;
+		line-height: 33px;
+		font-family: PingFangSC-Medium, PingFang SC;
+	}
+	.mainlinecount{
+		font-size: 14px;
+		font-weight: 400;
+		color: #999999;
+        line-height: 33px;
+		padding-left: 16px;
+	}
+	.mainlineMore{
+		font-size: 14px;
+		color: #999999;
+	}
+	.mainwzbox{
+		display: flex;
+		padding-top: 20px;
+		
+	}
+	.mainwzImg{
+		width: 284px;
+		height: 160px;
+	}
+	.mainwzImgBox{
+		border-top-left-radius: 6px;
+		border-top-right-radius: 6px;
+	    overflow: hidden;
+		height: 160px;
+		border: 1px solid #eeeeee;
+	}
+	.mainwzline{
+		width: 284px;
+		height: 244px;
+		background: #FFFFFF;
+		border-radius: 6px;
+	}
+	.mainwzlineR{
+	  margin-right: 22px;	
+	}
+	.wztitle{
+		width: 256px;
+		font-size: 16px;
+		color: #333333;
+		line-height: 22px;
+		height: 22px;
+		text-overflow: -o-ellipsis-lastline;
+		 overflow: hidden;
+		 text-overflow: ellipsis;
+		 display: -webkit-box;
+		 -webkit-line-clamp: 1;
+		 line-clamp: 1;
+		 -webkit-box-orient: vertical;
+		 padding:0 13px ;
+		 padding-top: 16px;
+		
+		
+	}
+	.wztime{
+		font-size: 14px;
+		color: #999999;
+		padding-left: 14px;
+		padding-top: 10px;
+	}
+	.mainwzline:hover{
+		background: #FFFFFF;
+		box-shadow: 0px 0px 16px 0px rgba(153, 153, 153, 0.2);
+		border-radius: 6px;
+		cursor: pointer;
+	}
+	.mainwzline:hover .wztitle{
+		color: #FF4F00;
+	}
+	.mainlineMore:hover{
+		color: #FF4F00;
+		cursor: pointer;
+	}
+	.gotopImg{
+		width: 60px;
+		height: 60px;
+	}
+	.gotop{
+		position: fixed;
+		right:5vh ;
+		bottom: 60px;
+		cursor: pointer;
+	}
+	.linegdImg1{
+		width: 6px;
+		height: 10px;
+		margin-top: 5px;
+		margin-left: 4px;
+	}
+	.linegdImg2{
+		width: 6px;
+		height: 10px;
+		display: none;
+		margin-top: 5px;
+		margin-left: 4px;
+	}
+	.mainlineMore{
+		display: flex;
+	}
+	.mainlineMore:hover .linegdImg1{
+		display: none;
+	}
+	.mainlineMore:hover .linegdImg2{
+		display: block;
+	}
+	.mainline1{
+		padding-top: 20px;
+	}
+</style>

+ 1 - 1
pages/pc/list.vue

@@ -94,7 +94,7 @@
            this.topName=opt.topName;
 		   this.comment=opt.comment;
 		   this.topCode=opt.code;
-		   this.parentCode='';
+		   this.parentCode=opt.code;
 		   this.getcategoryPageData();
 		   uni.setNavigationBarTitle({
 		       title: this.topName

+ 1 - 1
uni_modules/page-pagination/components/page-pagination/icon/iconfont.css

@@ -8,7 +8,7 @@
 
 .icon {
 	font-family: "icon" !important;
-	font-size: 32rpx;
+	font-size: 14px;
 	font-style: normal;
 	-webkit-font-smoothing: antialiased;
 	-moz-osx-font-smoothing: grayscale;

+ 41 - 38
uni_modules/page-pagination/components/page-pagination/page-pagination.vue

@@ -14,7 +14,7 @@
 						<text v-else class="icon icon-left"></text>
 					</view>
 					<!-- 简单模式 -->
-					<view v-if="mode=='simple'" class="page-num simple"><text :style="{color}" style="margin-right: 10rpx;">{{nowPage}}</text>/ {{pageNum}}</view>
+					<view v-if="mode=='simple'" class="page-num simple"><text :style="{color}" style="margin-right: 10px;">{{nowPage}}</text>/ {{pageNum}}</view>
 					<!-- 复杂模式 -->
 					<view class="page-num" v-else>
 						<template v-if="pageNum <= showPageSize">
@@ -305,33 +305,33 @@
 	.page-pagination .page-con .page-scroll-child {
 		display: flex;
 		white-space: nowrap;
-		height: 62rpx;
-		line-height: 62rpx;
+		height: 62px;
+		line-height: 62px;
 	}
 
 	.page-pagination .page-con .page-scroll-child .pag-btn {
 		background-color: #FFF;
 		color: #1989FA;
-		font-size: 24rpx;
+		font-size: 24px;
 		border: 1px solid #EBEEF5;
 		border-left: none;
-		padding: 0 22rpx;
+		padding: 0 22px;
 	}
 
 	.page-pagination .page-con .page-scroll-child .pag-btn.start,
 	.page-pagination .page-con .page-scroll-child .pag-btn.prev,
 	.page-pagination .page-con .page-scroll-child .pag-btn.next,
 	.page-pagination .page-con .page-scroll-child .pag-btn.end {
-		padding: 0 14rpx;
+		padding: 0 14px;
 	}
 
 	.page-pagination .page-con .page-scroll-child .ellipsis-btn {
-		padding: 0 10rpx;
+		padding: 0 10px;
 		color: #999999 !important;
 	}
 
 	.page-pagination .page-con .page-scroll-child .pag-btn:has(> .icon-more) {
-		padding: 0 14rpx;
+		padding: 0 14px;
 	}
 
 	.page-pagination .page-con .page-scroll-child .pag-btn:first-child {
@@ -354,24 +354,24 @@
 	}
 
 	.page-pagination .page-con .page-scroll-child .page-num.simple {
-		padding: 0 80rpx;
-		line-height: 68rpx;
+		padding: 0 80px;
+		line-height: 68px;
 		color: #303133;
-		font-size: 32rpx;
+		font-size: 32px;
 	}
 
 	.page-pagination .page-con .page-scroll-child .icon-right,
 	.page-pagination .page-con .page-scroll-child .icon-left {
-		font-size: 26rpx;
+		font-size: 14px;
 	}
 
 	.page-pagination .page-info {
 		display: flex;
 		justify-content: center;
-		line-height: 56rpx;
-		margin-top: 10rpx;
+		line-height: 56px;
+		margin-top: 10px;
 		color: #606266;
-		font-size: 28rpx;
+		font-size: 28px;
 		text-align: center;
 	}
 
@@ -381,48 +381,48 @@
 
 	.page-pagination .page-info .page-go {
 		position: relative;
-		top: -2rpx;
+		top: -2px;
 	}
 
 	.page-pagination .page-info .page-go .page-input {
 		display: inline-block;
-		width: 80rpx;
-		height: 52rpx;
-		line-height: 52rpx;
+		width: 80px;
+		height: 52px;
+		line-height: 52px;
 		border: 1px solid #dcdfe6;
-		border-radius: 8rpx;
+		border-radius: 8px;
 		background-color: #FFF;
-		padding: 0px 10rpx;
-		margin: 0 10rpx;
-		font-size: 28rpx;
+		padding: 0px 10px;
+		margin: 0 10px;
+		font-size: 28px;
 		overflow: inherit;
 		box-sizing: border-box;
 		vertical-align: middle;
 	}
 
 	.page-pagination .page-info .page-go .page-input-btn {
-		height: 52rpx;
-		line-height: 52rpx;
-		padding: 4rpx 14rpx;
+		height: 52px;
+		line-height: 52px;
+		padding: 4px 14px;
 		border-width: 1px;
 		border-style: solid;
 		border-radius: 3px;
 		border-color: #DCDFE6;
 		color: #303133;
-		margin-left: 10rpx;
+		margin-left: 10px;
 		opacity: 0.8;
 		background-color: #FFF;
 	}
 
 	// 大号按钮
 	.page-pagination.size-large .page-con .page-scroll-child {
-		height: 78rpx;
-		line-height: 78rpx;
+		height: 78px;
+		line-height: 78px;
 	}
 
 	.page-pagination.size-large .page-con .page-scroll-child .pag-btn {
-		padding: 0 30rpx;
-		font-size: 30rpx;
+		padding: 0 30px;
+		
 	}
 
 	.page-pagination.size-large .page-con .page-scroll-child .pag-btn.start,
@@ -430,32 +430,35 @@
 	.page-pagination.size-large .page-con .page-scroll-child .pag-btn.next,
 	.page-pagination.size-large .page-con .page-scroll-child .pag-btn.end,
 	.page-pagination.size-large .page-con .page-scroll-child .ellipsis-btn {
-		padding: 0 24rpx;
+		padding: 0 24px;
 	}
 
 	.page-pagination.size-large .page-con .page-scroll-child .pag-btn.btn-text {
-		padding: 0 12rpx;
+		padding: 0 12px;
 	}
 
 	// 小型按钮
 	.page-pagination.size-small .page-con .page-scroll-child {
-		height: 52rpx;
-		line-height: 52rpx;
+		height: 30px;
+		line-height: 30px;
 	}
 
 	.page-pagination.size-small .page-con .page-scroll-child .pag-btn {
-		padding: 0 14rpx;
+		padding: 0 8px;
+		font-size: 14px;
+		margin-left:5px ;
+		margin-right: 5px;
 	}
 
 	.page-pagination.size-small .page-con .page-scroll-child .pag-btn.start,
 	.page-pagination.size-small .page-con .page-scroll-child .pag-btn.prev,
 	.page-pagination.size-small .page-con .page-scroll-child .pag-btn.next,
 	.page-pagination.size-small .page-con .page-scroll-child .pag-btn.end {
-		padding: 0 10rpx;
+		padding: 0 5px;
 	}
 
 	.page-pagination.size-small .page-con .page-scroll-child .ellipsis-btn {
-		padding: 0 10rpx;
+		padding: 0 5px;
 	}
 
 	//解决nvue页面下不能正常显示问题