修改用户编辑弹出框
parent
947f8017ff
commit
ecba5dea0e
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view :class="theme_view">
|
<view :class="theme_view">
|
||||||
<!-- 底部菜单 -->
|
<!-- 底部菜单 -->
|
||||||
<block v-if="is_tabbar">
|
<block v-if="is_tabbar">
|
||||||
<component-diy-footer :propKey="key" :propValue="app_tabbar" @onFooterHeight="footer_height_value_event"></component-diy-footer>
|
<component-diy-footer :propKey="key" :propValue="app_tabbar" @onFooterHeight="footer_height_value_event"></component-diy-footer>
|
||||||
<view v-if="propIsFooterSeat && footer_height_value > 0" :style="'height:'+footer_height_value+'rpx;'"></view>
|
<view v-if="propIsFooterSeat && footer_height_value > 0" :style="'height:'+footer_height_value+'rpx;'"></view>
|
||||||
</block>
|
</block>
|
||||||
|
|
@ -36,16 +36,16 @@
|
||||||
<component-app-admin ref="app_admin" :propIsHideStar="true"></component-app-admin>
|
<component-app-admin ref="app_admin" :propIsHideStar="true"></component-app-admin>
|
||||||
|
|
||||||
<!-- 用户基础 -->
|
<!-- 用户基础 -->
|
||||||
<component-user-base ref="user_base" :propIsGrayscale="propIsGrayscale"></component-user-base>
|
<component-user-base ref="user_base" :propIsGrayscale="propIsGrayscale"></component-user-base>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
const app = getApp();
|
const app = getApp();
|
||||||
import componentDiyFooter from '@/components/diy/footer';
|
import componentDiyFooter from '@/components/diy/footer';
|
||||||
import componentAppAdmin from '@/components/app-admin/app-admin';
|
import componentAppAdmin from '@/components/app-admin/app-admin';
|
||||||
import componentUserBase from '@/components/user-base/user-base';
|
import componentUserBase from '@/components/user-base/user-base';
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
theme_view: app.globalData.get_theme_value_view(),
|
theme_view: app.globalData.get_theme_value_view(),
|
||||||
logo: app.globalData.get_application_logo_square(),
|
logo: app.globalData.get_application_logo_square(),
|
||||||
|
|
@ -53,10 +53,10 @@
|
||||||
is_show_privacy: false,
|
is_show_privacy: false,
|
||||||
privacy_content: null,
|
privacy_content: null,
|
||||||
key: '',
|
key: '',
|
||||||
is_tabbar: false,
|
is_tabbar: false,
|
||||||
app_tabbar: null,
|
app_tabbar: null,
|
||||||
footer_height_value: 0,
|
footer_height_value: 0,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
// 是否灰度
|
// 是否灰度
|
||||||
|
|
@ -84,11 +84,11 @@
|
||||||
componentDiyFooter,
|
componentDiyFooter,
|
||||||
componentAppAdmin,
|
componentAppAdmin,
|
||||||
componentUserBase
|
componentUserBase
|
||||||
},
|
},
|
||||||
// 页面被展示
|
// 页面被展示
|
||||||
created: function () {
|
created: function () {
|
||||||
// 初始化配置
|
// 初始化配置
|
||||||
this.init_config();
|
this.init_config();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 显示响应方法
|
// 显示响应方法
|
||||||
|
|
@ -196,9 +196,9 @@
|
||||||
exit_event(e) {
|
exit_event(e) {
|
||||||
uni.exitMiniProgram();
|
uni.exitMiniProgram();
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.agreement-page {
|
.agreement-page {
|
||||||
background-color: rgba(0, 0, 0, 0.6);
|
background-color: rgba(0, 0, 0, 0.6);
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,8 @@
|
||||||
type = Object.keys(obj)[index];
|
type = Object.keys(obj)[index];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if((type || null) == null) {
|
|
||||||
|
if((type || null) != null) {
|
||||||
// 是否需要展示弹窗提示
|
// 是否需要展示弹窗提示
|
||||||
if (!this.popup_status && this.pages.indexOf(type) != -1 && this.client.indexOf(this.application_client_type) != -1) {
|
if (!this.popup_status && this.pages.indexOf(type) != -1 && this.client.indexOf(this.application_client_type) != -1) {
|
||||||
// 当前缓存用户
|
// 当前缓存用户
|
||||||
|
|
|
||||||
|
|
@ -448,7 +448,8 @@
|
||||||
this.init();
|
this.init();
|
||||||
// 初始化配置
|
// 初始化配置
|
||||||
this.init_config();
|
this.init_config();
|
||||||
|
debugger;
|
||||||
|
console.log(this.$refs.common);
|
||||||
// 公共onshow事件
|
// 公共onshow事件
|
||||||
if ((this.$refs.common || null) != null) {
|
if ((this.$refs.common || null) != null) {
|
||||||
this.$refs.common.on_show();
|
this.$refs.common.on_show();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue