修改用户编辑弹出框

master
于肖磊 2024-12-16 15:57:31 +08:00
parent 947f8017ff
commit ecba5dea0e
3 changed files with 21 additions and 19 deletions

View File

@ -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);

View File

@ -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) {
// //

View File

@ -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();