|
|
|
@ -38,7 +38,7 @@ |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="lookBtn" @click="backtop"> |
|
|
|
|
<view class="lookBtn" @click="backtop" v-if="scrollTop>200"> |
|
|
|
|
再挑挑看<u-icon name="arrow-upward" color="#242424" size="30"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
<view class="lookJie" v-html="content"> |
|
|
|
@ -66,7 +66,8 @@ |
|
|
|
|
}, |
|
|
|
|
backgroundImg: '', |
|
|
|
|
list: [], |
|
|
|
|
content: '' |
|
|
|
|
content: '', |
|
|
|
|
scrollTop: 0 |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
/** |
|
|
|
@ -79,14 +80,13 @@ |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
methods: { |
|
|
|
|
// 获取预售规则 |
|
|
|
|
getCarousel(type) { |
|
|
|
|
const app = this; |
|
|
|
|
help.getAgreement({ |
|
|
|
|
type: 'copyright' |
|
|
|
|
}) |
|
|
|
|
.then(result => { |
|
|
|
|
let content = result.data.detail.content || ''; |
|
|
|
|
let content = result.data.detail?result.data.detail.content:''; |
|
|
|
|
this.content = content |
|
|
|
|
}) |
|
|
|
|
.finally(() => app.isLoading = false) |
|
|
|
@ -104,7 +104,7 @@ |
|
|
|
|
} |
|
|
|
|
Api.brandList(pamars) |
|
|
|
|
.then(result => { |
|
|
|
|
app.list = result.data.data; |
|
|
|
|
app.list = result.data.data |
|
|
|
|
}) |
|
|
|
|
.finally(() => app.isLoading = false) |
|
|
|
|
}, |
|
|
|
@ -129,9 +129,10 @@ |
|
|
|
|
scrollTop: 0 |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
onPageScroll(e) { |
|
|
|
|
this.scrollTop = e.scrollTop; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|