提交 05934abe authored 作者: huaxinzhu's avatar huaxinzhu

bug修复

上级 6df3539b
<template> <template>
<div class="content"> <div class="content">
<div class="yc-content pc-hide" ref="searchBar"> <div class="yc-content pc-content" ref="searchBar">
<!-- 头部 --> <!-- 头部 -->
<header :class="{ 'head-scroll': isScroll }"> <header :class="{ 'head-scroll': isScroll }" calss="pc-content">
<div class="header-con"> <div class="header-con">
<ul class="nav"> <ul class="nav">
<li v-if="settitle && settitle.topLogo"> <li v-if="settitle && settitle.topLogo">
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</div> </div>
</div> </div>
</header> </header>
<section class="banner"> <section class="banner pc-content">
<swiper :options="swiperOption" v-if="bannerList && bannerList.length > 0"> <swiper :options="swiperOption" v-if="bannerList && bannerList.length > 0">
<swiper-slide v-for="(item,index) in bannerList" :key="index"> <swiper-slide v-for="(item,index) in bannerList" :key="index">
<a :href="aLinkRes(item.redirect_url) " :target="returnBlank(item.redirect_url)"> <a :href="aLinkRes(item.redirect_url) " :target="returnBlank(item.redirect_url)">
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</swiper> </swiper>
</section> </section>
<!-- 主体 --> <!-- 主体 -->
<section style="margin-bottom: 100px;"> <section style="margin-bottom: 100px;" class="pc-content">
<div class="advantage" :class="{ 'mgB100': isAdHover }"> <div class="advantage" :class="{ 'mgB100': isAdHover }">
<p class="advantage-title">核心优势</p> <p class="advantage-title">核心优势</p>
<div class="advantage-con" :class="{ 'mgT20' : isAdHover }"> <div class="advantage-con" :class="{ 'mgT20' : isAdHover }">
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</div> </div>
</section> </section>
<!-- 入驻流程 --> <!-- 入驻流程 -->
<section style="padding-bottom: 90px;background-color: #f9f9fa;"> <section style="padding-bottom: 90px;background-color: #f9f9fa;" class="pc-content">
<p class="process-title">入驻流程和材料</p> <p class="process-title">入驻流程和材料</p>
<div class="process-con"> <div class="process-con">
<div class="process-steps"> <div class="process-steps">
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
</div> </div>
</section> </section>
<!-- 入驻品牌 --> <!-- 入驻品牌 -->
<section class="brand"> <section class="brand pc-content">
<p class="brands-title">这些品牌都已入驻</p> <p class="brands-title">这些品牌都已入驻</p>
<p class="brands-tip">我们已与各行业领域的优秀品牌达成合作</p> <p class="brands-tip">我们已与各行业领域的优秀品牌达成合作</p>
<div> <div>
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
</div> </div>
</section> </section>
<!-- 底部 --> <!-- 底部 -->
<footer> <footer class="pc-content">
<div class="contact"> <div class="contact">
<p>如果你想要更多的<span>了解</span>,请联系我们</p> <p>如果你想要更多的<span>了解</span>,请联系我们</p>
<p>{{ settitle.contactTel }}</p> <p>{{ settitle.contactTel }}</p>
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
</ul> </ul>
</el-drawer> </el-drawer>
<!-- banner --> <!-- banner -->
<swiper class="mb-banner-con" :options="swiperOption" v-if="bannerList && bannerList.length > 0"> <swiper class="mb-banner-con mobile-content" :options="swiperOption" v-if="bannerList && bannerList.length > 0">
<swiper-slide v-for="(item,index) in bannerList" :key="index"> <swiper-slide v-for="(item,index) in bannerList" :key="index">
<a :href="aLinkRes(item.redirect_url) " :target="returnBlank(item.redirect_url)"> <a :href="aLinkRes(item.redirect_url) " :target="returnBlank(item.redirect_url)">
<img :src="item.image_url" alt=""> <img :src="item.image_url" alt="">
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</swiper> </swiper>
<!-- 核心优势 --> <!-- 核心优势 -->
<div class="mb-advantage-con"> <div class="mb-advantage-con mobile-content">
<p class="mb-ad-title">核心优势</p> <p class="mb-ad-title">核心优势</p>
<swiper class="mb-advantage-con-swiper" :options="swiperADOption" <swiper class="mb-advantage-con-swiper" :options="swiperADOption"
v-if="cloud_advantage_lst && cloud_advantage_lst.length > 0"> v-if="cloud_advantage_lst && cloud_advantage_lst.length > 0">
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
</div> </div>
<!-- 入驻流程 --> <!-- 入驻流程 -->
<div class="mb-process-con"> <div class="mb-process-con mobile-content">
<p class="mb-process-con-title">入驻流程和材料</p> <p class="mb-process-con-title">入驻流程和材料</p>
<div class="mb-process"> <div class="mb-process">
<div class="mb-pre-process-con"> <div class="mb-pre-process-con">
...@@ -325,7 +325,7 @@ ...@@ -325,7 +325,7 @@
</div> </div>
<!-- 品牌入驻 --> <!-- 品牌入驻 -->
<div class="mb-brand-con"> <div class="mb-brand-con mobile-content">
<p class="mb-brand-title">这些品牌都已入驻</p> <p class="mb-brand-title">这些品牌都已入驻</p>
<div class="mb-brand-con-bg"> <div class="mb-brand-con-bg">
<p class="mb-brand-type"> <p class="mb-brand-type">
...@@ -360,7 +360,7 @@ ...@@ -360,7 +360,7 @@
</div> </div>
<!-- 底部 --> <!-- 底部 -->
<div class="mb-footer"> <div class="mb-footer mobile-content">
<div class="mb-about-list"> <div class="mb-about-list">
<ul> <ul>
<li v-for="(footerItem,index) in footerMbList" :key="index" @click="goToUser(footerItem.id)">{{ <li v-for="(footerItem,index) in footerMbList" :key="index" @click="goToUser(footerItem.id)">{{
...@@ -826,7 +826,7 @@ ...@@ -826,7 +826,7 @@
<style lang="scss" type="text/stylus" scoped> <style lang="scss" type="text/stylus" scoped>
/* 手机竖屏时,可视区域的最大宽度为 480 */ /* 手机竖屏时,可视区域的最大宽度为 480 */
//@media screen and (max-width: 480px) and (orientation: portrait) { //@media screen and (max-width: 480px) and (orientation: portrait) {
// .pc-hide { // .pc-content {
// display: none!important; // display: none!important;
// } // }
// .mobile-show { // .mobile-show {
...@@ -837,7 +837,7 @@ ...@@ -837,7 +837,7 @@
/* 手机横屏和pc最小宽度为 812px */ /* 手机横屏和pc最小宽度为 812px */
/* 手机横屏 812px 为iphoneX 横屏的设备独立像素*/ /* 手机横屏 812px 为iphoneX 横屏的设备独立像素*/
//@media screen and (max-width: 961px) and (orientation: landscape) { //@media screen and (max-width: 961px) and (orientation: landscape) {
// .pc-hide { // .pc-content {
// display: none !important; // display: none !important;
// } // }
// //
...@@ -878,7 +878,7 @@ ...@@ -878,7 +878,7 @@
} }
@media screen and (max-width: 961px) { @media screen and (max-width: 961px) {
.pc-hide { .pc-content {
display: none !important; display: none !important;
} }
...@@ -888,7 +888,7 @@ ...@@ -888,7 +888,7 @@
} }
@media screen and (min-width: 960px) { @media screen and (min-width: 960px) {
.pc-hide { .pc-content {
display: block !important; display: block !important;
} }
...@@ -1234,6 +1234,7 @@ ...@@ -1234,6 +1234,7 @@
} }
.optional > ul > li { .optional > ul > li {
font-size: 16px;
margin: 15px 0; margin: 15px 0;
text-indent: 20px; text-indent: 20px;
background: url("../../assets/image/website/arrow.png") no-repeat 0 center; background: url("../../assets/image/website/arrow.png") no-repeat 0 center;
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" @click="getList">搜索</el-button> <el-button type="primary" icon="el-icon-search" @click="search">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button> <el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</el-form-item> </el-form-item>
...@@ -141,7 +141,8 @@ ...@@ -141,7 +141,8 @@
// 查询参数 // 查询参数
queryParams: { // 查询参数 queryParams: { // 查询参数
cashTime: [], cashTime: [],
order_sn: '' order_sn: '',
change_type: 1
}, },
total: 0, total: 0,
currentPage: 1, currentPage: 1,
...@@ -159,7 +160,7 @@ ...@@ -159,7 +160,7 @@
}, // data end }, // data end
created() { created() {
/** 查询 提现记录 列表 */ /** 查询 提现记录 列表 */
this.getList(); this.search();
this.$nextTick(() => { this.$nextTick(() => {
this.fullHeight = document.getElementsByClassName('box-card')[0].clientHeight this.fullHeight = document.getElementsByClassName('box-card')[0].clientHeight
}) })
...@@ -171,11 +172,17 @@ ...@@ -171,11 +172,17 @@
} }
}, },
methods: { methods: {
/** 有搜索条件是,初始化到第一页 */
search() {
this.currentPage = 1;
this.getList();
},
/** 查询 提现记录 列表 */ /** 查询 提现记录 列表 */
getList() { getList() {
let params = { let params = {
page: this.currentPage, page: this.currentPage,
limit: this.pageSize, limit: this.pageSize,
change_type: 1,
} }
if (this.queryParams.order_sn != '') { if (this.queryParams.order_sn != '') {
...@@ -231,7 +238,8 @@ ...@@ -231,7 +238,8 @@
resetQuery() { resetQuery() {
this.queryParams = { this.queryParams = {
cashTime: [], cashTime: [],
order_sn: '' order_sn: '',
change_type: 1
} }
this.currentPage = 1 this.currentPage = 1
this.pageSize = 20 this.pageSize = 20
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论