You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dandelionPlatformToB-uni-v3/pages/apply/index.vue

55 lines
1.3 KiB
Vue

3 months ago
<template>
3 weeks ago
<view v-if="!isLogin" class="m-log g_flex_column_start g_bg_page" style="padding-bottom: calc(50px + env(safe-area-inset-bottom)); min-height: 100vh; opacity: 0; animation: fadeIn 0.2s ease forwards;">
3 months ago
<view>
<rh-login-false-list loginUrl="/root/login/index" />
</view>
</view>
3 weeks ago
<view class="p-root-home-quick g_w_all g_bg_f_5 g_kuaishou" v-else style="padding-bottom: calc(50px + env(safe-area-inset-bottom)); min-height: 100vh; opacity: 0; animation: fadeIn 0.2s ease forwards;">
3 months ago
<rh-apply useform="pages"></rh-apply>
</view>
3 weeks ago
<custom-tabbar :current="2" />
3 months ago
</template>
<script>
export default {
data() {
return {
isLogin: false,
};
},
onShow() {
let that = this;
this.isLogin = uni.getStorageSync("apply-token") ? true : false;
},
2 months ago
onShareAppMessage() {
let that = this;
let path;
path = `/pages/apply/index`;
let appInfo = uni.getStorageSync("miniApp-info");
return {
3 weeks ago
title: appInfo.slogan || "为劳动者创造价值",
2 months ago
imageUrl: appInfo.sharePoster,
path,
};
},
2 months ago
onShareTimeline() {
let that = this;
let appInfo = uni.getStorageSync("miniApp-info");
return {
3 weeks ago
title: appInfo.slogan || "为劳动者创造价值",
2 months ago
imageUrl: appInfo.logo,
2 months ago
};
},
3 months ago
};
</script>
3 weeks ago
<style lang="scss">
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>