30 lines
719 B
Vue
30 lines
719 B
Vue
<template>
|
|
<p-layout
|
|
title="首页"
|
|
navbar="normal"
|
|
tabbar="/pages/index/index"
|
|
:bgStyle="bgStyle"
|
|
opacityBgUi="bg-red"
|
|
color="orange"
|
|
></p-layout>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { onLoad, onPageScroll, onPullDownRefresh } from '@dcloudio/uni-app'
|
|
import $share from '@/peach/platform/share'
|
|
|
|
const bgStyle = {
|
|
backgroundImage:
|
|
'http://101.43.181.163:9001/mall-backend/24dd085ca57fbfaa27c3e16788237b1d7a95c854c01b5e3e219aad6709bbb748.jpg',
|
|
backgroundColor: '',
|
|
description: '',
|
|
}
|
|
|
|
onLoad((options) => {
|
|
// 解析分享信息
|
|
if (options.spm) {
|
|
$share.decryptSpm(options.spm)
|
|
}
|
|
})
|
|
</script>
|