Commit fc3496b1 authored by 杨梦雪's avatar 杨梦雪
parents e0c1e0d3 860794ee
......@@ -5,14 +5,39 @@
</template>
<script>
import {getCam} from "r/index/login";
export default {
name: "recruit",
data() {
return {};
},
created() {
this.getCam();
},
methods: {
getCam() {
getCam({}).then((res) => {
console.log(res, "getCam");
let root = document.querySelector(":root");
root.style.setProperty("--color", res.data.system_color);
root.style.setProperty("--bk_pic", res.data.background_picture); //当前营地的背景图
window.localStorage.setItem('bk_pic',res.data.background_picture)
//当前营地logo
window.localStorage.setItem("system_logo", res.data.system_logo);
window.localStorage.setItem(
"doubt_code",
res.data.fill_individual_Invitationcode
); //是否填写邀请码
window.localStorage.setItem(
"doubt_info",
res.data.fill_individual_information
); //是否填写个人资料
window.localStorage.setItem(
"doubt_check",
res.data.audit_individual_information
); //是否审核个人资料
});
},
},
};
</script>
......
This diff is collapsed.
......@@ -59,7 +59,7 @@
"index-identity",
"c59086fdb37848e7a10765812d1da349"
);
this.getCam();
// this.getCam();
},
methods: {
toLogin() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment