Authored by yyq

change scroll

1 <template> 1 <template>
2 <LayoutApp :show-back="true" :hideHeader="hideHeader"> 2 <LayoutApp :show-back="true" :hideHeader="hideHeader">
3 <div class="scroll-list-wrap"> 3 <div class="scroll-list-wrap">
4 - <LayoutScroll 4 + <Scroll
5 ref="scroll" 5 ref="scroll"
6 :options="options" 6 :options="options"
7 - :loading="loadingOptions"  
8 @pulling-up="onPullingUp" 7 @pulling-up="onPullingUp"
9 :data="newsList.list"> 8 :data="newsList.list">
10 <div class="news-content"> 9 <div class="news-content">
@@ -12,7 +11,7 @@ @@ -12,7 +11,7 @@
12 <List v-if="newsList.list && newsList.list.length > 0" isTitle :list="newsList.list || []"></List> 11 <List v-if="newsList.list && newsList.list.length > 0" isTitle :list="newsList.list || []"></List>
13 <UfoNoItem v-else :tip="`暂无数据`" style="margin-top: 60px"></UfoNoItem> 12 <UfoNoItem v-else :tip="`暂无数据`" style="margin-top: 60px"></UfoNoItem>
14 </div> 13 </div>
15 - </LayoutScroll> 14 + </Scroll>
16 </div> 15 </div>
17 </LayoutApp> 16 </LayoutApp>
18 </template> 17 </template>
@@ -69,12 +68,6 @@ export default { @@ -69,12 +68,6 @@ export default {
69 return { 68 return {
70 pullUpLoad: this.newsList.list.length > 0 ? true : false, 69 pullUpLoad: this.newsList.list.length > 0 ? true : false,
71 } 70 }
72 - },  
73 - loadingOptions() {  
74 - return {  
75 - hide: !this.newsList.list || this.newsList.list.length === 0,  
76 - noMore: !this.newsList.isMoreData  
77 - }  
78 } 71 }
79 }, 72 },
80 created() { 73 created() {
@@ -102,6 +102,8 @@ export default { @@ -102,6 +102,8 @@ export default {
102 if (this.yoho.direction === 'forword') { 102 if (this.yoho.direction === 'forword') {
103 this.$refs.filtrate.hide(); 103 this.$refs.filtrate.hide();
104 Object.assign(this.$data, this.$options.data()); 104 Object.assign(this.$data, this.$options.data());
  105 + } else {
  106 + this.scrollY && this.$refs.scroll.scrollTo(this.scrollY);
105 } 107 }
106 this.changeArrow(); 108 this.changeArrow();
107 let params = {...this.$route.query}; 109 let params = {...this.$route.query};
@@ -50,7 +50,7 @@ @@ -50,7 +50,7 @@
50 ></i> 50 ></i>
51 <span>我已阅读并同意</span> 51 <span>我已阅读并同意</span>
52 <LayoutLink 52 <LayoutLink
53 - href="//activity.yoho.cn/feature/4049.html?share_id=6729&title=UFO卖家商品质检标准" 53 + href="//activity.yoho.cn/feature/4049.html?share_id=6729&title=卖家商品质检标准"
54 >《卖家商品质检标准》</LayoutLink 54 >《卖家商品质检标准》</LayoutLink
55 > 55 >
56 </div> 56 </div>
@@ -173,7 +173,7 @@ export default { @@ -173,7 +173,7 @@ export default {
173 "dg-notice-content-title": true 173 "dg-notice-content-title": true
174 } 174 }
175 }, 175 },
176 - isChanged ? "UFO仓库调整公告" : title 176 + isChanged ? "仓库调整公告" : title
177 ), 177 ),
178 ...info.map(val => { 178 ...info.map(val => {
179 return createElement( 179 return createElement(
1 <template> 1 <template>
2 <LayoutApp class="yohoufo-real-auth-page" title="实名认证"> 2 <LayoutApp class="yohoufo-real-auth-page" title="实名认证">
3 <div class="auth-content"> 3 <div class="auth-content">
4 - <p class="auth-sub-title">UFO平台将严格保密您的认证信息,请按照种类分别填写以下信息,保证上传的图片文字清晰可见。</p> 4 + <p class="auth-sub-title">平台将严格保密您的认证信息,请按照种类分别填写以下信息,保证上传的图片文字清晰可见。</p>
5 <div class="auth-form"> 5 <div class="auth-form">
6 <p class="form-title">姓名</p> 6 <p class="form-title">姓名</p>
7 <div class="form-input-block"> 7 <div class="form-input-block">