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