no message
parent
1ab412b5c7
commit
6d19de2924
@ -0,0 +1,53 @@
|
|||||||
|
<template>
|
||||||
|
<view class="g_flex_c" style="height: 100vh;width: 100%;background-color: #f2f2f2;">
|
||||||
|
下游代理
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
/* 自定义空页面
|
||||||
|
*/
|
||||||
|
export default {
|
||||||
|
onShareAppMessage() {
|
||||||
|
return this.G.shareFun();
|
||||||
|
},
|
||||||
|
onLoad(options) {
|
||||||
|
console.log(options);
|
||||||
|
if (options.type) {
|
||||||
|
uni.setNavigationBarTitle({
|
||||||
|
title: options.type,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
cdnBaseImg: this.G.store().cdnBaseImg,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
props: {
|
||||||
|
text: {
|
||||||
|
type: String,
|
||||||
|
default: () => {
|
||||||
|
return "暂无数据";
|
||||||
|
},
|
||||||
|
},
|
||||||
|
subText: {
|
||||||
|
type: String,
|
||||||
|
default: () => {
|
||||||
|
return "";
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
goLogin() {
|
||||||
|
let that = this;
|
||||||
|
if (that.text == "请登录") {
|
||||||
|
uni.reLaunch({
|
||||||
|
url: "/root/login/index?path=" + that.G.getPath().path + "&level=" + that.G.getPath().level,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style></style>
|
||||||
Loading…
Reference in New Issue