修改个人资料展示页面UI和修改页面默认允许运行用户选中文本

Signed-off-by: 小胡 <3203164629@qq.com>
This commit is contained in:
小胡
2024-06-17 14:05:17 +00:00
committed by Gitee
Unverified
parent d41694561d
commit 7dfce12381
2 changed files with 25 additions and 23 deletions

View File

@@ -4526,28 +4526,30 @@ input[type=file] {
}
}
html,body {
margin: 0;
padding:0;
width: 100%;
height: 100%;
font-family: var(--bs-body-font-family);
font-size: var(--bs-body-font-size);
font-weight: var(--bs-body-font-weight);
line-height: var(--bs-body-line-height);
color: var(--bs-body-color);
text-align: var(--bs-body-text-align);
background-color: var(--bs-body-bg);
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
-webkit-overflow-scrolling: touch;
background:#fff;
word-break:break-all;
overflow:hidden;
-moz-user-select: none; /* 火狐 */
-webkit-user-select: none; /* webkit浏览器 */
-ms-user-select: none; /* IE10 */
-khtml-user-select: none; /* 早期浏览器 */
user-select: none;
margin: 0;
padding:0;
width: 100%;
height: 100%;
font-family: var(--bs-body-font-family);
font-size: var(--bs-body-font-size);
font-weight: var(--bs-body-font-weight);
line-height: var(--bs-body-line-height);
color: var(--bs-body-color);
text-align: var(--bs-body-text-align);
background-color: var(--bs-body-bg);
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
-webkit-overflow-scrolling: touch;
background:#fff;
word-break:break-all;
overflow:hidden;
/* 是否允许用户选中文本,默认关闭
-moz-user-select: none; // 火狐
-webkit-user-select: none; //webkit浏览器
-ms-user-select: none; //IE10
-khtml-user-select: none; //早期浏览器
user-select: none;
*/
}
hr {

View File

@@ -39,7 +39,7 @@ $profiles['usergroup']=array('title'=>lang('usergroup'),'value'=>$usergroup['gro
$department='';
foreach(C::t('organization_user')->fetch_orgids_by_uid($uid) as $orgid){
$orgpath=getPathByOrgid($orgid);
$department.='<span class="label label-primary">'.implode('-',($orgpath)).'</span>';
$department.='<span class="badge rounded-pill bg-primary me-1">'.implode('-',($orgpath)).'</span>';
}
if(empty($department)) $department=lang('not_join_agency_department');
$profiles['department']=array('title'=>lang('category_department'),'value'=>$department);