diff --git a/upload/source/function/function_profile.php b/upload/source/function/function_profile.php index 4f9750f975e1177b608c13b8b283f4a07af2af7b..502cc8584a83995815b78b92fa2fb4474c582815 100644 --- a/upload/source/function/function_profile.php +++ b/upload/source/function/function_profile.php @@ -79,17 +79,17 @@ function profile_setting($fieldid, $space=array(), $showstatus=false, $ignoreunc $selectstr = $i == $space['birthday']?' selected':''; $birthdayhtml .= "$i"; } - $html = '' + $html = '' .''.lang('space', 'year').'' .$birthyeayhtml .'' .' ' - .'' + .'' .''.lang('space', 'month').'' .$birthmonthhtml .'' .' ' - .'' + .'' .''.lang('space', 'day').'' .$birthdayhtml .''; @@ -99,7 +99,7 @@ function profile_setting($fieldid, $space=array(), $showstatus=false, $ignoreunc return ''.lang('space', 'gender_'.intval($space[$fieldid])).''; } $selected = array($space[$fieldid]=>' selected="selected"'); - $html = ''; + $html = ''; if($field['unchangeable']) { $html .= ''.lang('space', 'gender').''; } else { @@ -137,7 +137,7 @@ function profile_setting($fieldid, $space=array(), $showstatus=false, $ignoreunc $html = ''.showdistrict($values, $elems, 'residedistrictbox', 1, 'reside').''; } } elseif($fieldid=='qq') { - $html = "".lang('spacecp', 'qq_set_status').""; + $html = "".lang('spacecp', 'qq_set_status').""; } else { if($field['unchangeable'] && $space[$fieldid]!='') { if($field['formtype']=='file') { @@ -186,7 +186,7 @@ function profile_setting($fieldid, $space=array(), $showstatus=false, $ignoreunc $html .= " ".lang('spacecp', 'delete').""; } } else { - $html = ""; + $html = ""; } } $html .= !$ignoreshowerror ? "" : ''; diff --git a/upload/static/image/mobile/style.css b/upload/static/image/mobile/style.css index 7c8e0da733ac3795ae5a56f04185e73af56f9818..001d2d8457576a70210f6ad8378ca00684f6562f 100644 --- a/upload/static/image/mobile/style.css +++ b/upload/static/image/mobile/style.css @@ -871,6 +871,7 @@ body.pg_logging, body.pg_register {background-color:var(--dz-BG-0)} .post_box li.mli .input-append {position:absolute;right:15px;color:#495057;font-size:1rem;} .post_box .sort_sel {width:100%;background:url('touch/arrow.svg') no-repeat right center;background-size:16px 16px;padding-left:14px;height:30px;line-height:30px;font-size:16px;border:none;color:graytext;appearance:none;-moz-appearance:none;-webkit-appearance:none;overflow:hidden} .post_box .attqx .sort_sel {font-size:14px;} +.post_box .multisel .sort_sel {background: url('touch/arrow.svg') no-repeat right center;background-size: 14px 14px;padding-right: 16px;font-size: 14px;border: none;color: graytext;appearance: none;-moz-appearance: none;-webkit-appearance: none;overflow: hidden;width:auto;} .post_btn {padding:15px} .post_box .sec_code {padding:5px 15px;border-bottom:1px solid var(--dz-BOR-ed)} .post_box li .post_attbtn { margin-left:5px;} @@ -983,6 +984,13 @@ body.pg_logging, body.pg_register {background-color:var(--dz-BG-0)} .plc .pi .message .rate ul li img {width:32px;height:32px;border-radius:50%;overflow:hidden} .plc .pi .message .rate ul li a span {display:inline-block;text-align:center;font-size:14px;width:32px;height:32px;line-height:26px;overflow:hidden;border-radius:50%} +.plc .pi .message table {border: 1px solid var(--dz-BOR-ed);} +.plc .pi .message table td {overflow-wrap: anywhere;} + +.plc .pi .message .blockcode { overflow: hidden; margin: 10px 0; padding: 5px 10px 5px 43px; font-size:12px; border-radius:4px; background: var(--dz-BG-5) repeat-y 0 0;background-image: linear-gradient(90deg,#EDEDED,#EDEDED);background-size: 43px; color: var(--dz-FC-666); } +.plc .pi .message .blockcode code { font-family: Monaco, Consolas, 'Lucida Console', 'Courier New', serif; font-size: 12px; line-height: 1.8em; } +.plc .pi .message .blockcode ol li {padding-left: 10px;list-style-type: decimal-leading-zero;line-height: 1.8em;} + /*----- 特殊主题-投票 -----*/ .poll {margin:10px auto;padding:10px 15px;background-color:var(--dz-BG-5);font-size:14px;border-radius:6px} .poll_txt {line-height:28px;color:var(--dz-FC-666)} @@ -1317,4 +1325,4 @@ body.pg_logging, body.pg_register {background-color:var(--dz-BG-0)} .pll .c { margin: 0 84px 0 74px; } .pll ol { margin: 5px 0 0 20px; } - .pll ol li { list-style-type: decimal; padding: 0; border-bottom: none; } + .pll ol li { list-style-type: decimal; padding: 0; border-bottom: none; } \ No newline at end of file diff --git a/upload/template/default/touch/member/register.htm b/upload/template/default/touch/member/register.htm index 98fb1e0b9ad0ad5561cda5f9d66a4c1f379eee0d..a3f4ef645f1a599a7e717e27673a51ff11a0570e 100644 --- a/upload/template/default/touch/member/register.htm +++ b/upload/template/default/touch/member/register.htm @@ -35,11 +35,17 @@ - + - $field['title']$htmls[$field['fieldid']] + + {$field['title']}$htmls[$field['fieldid']] + + {$field['title']}$htmls[$field['fieldid']] + + $htmls[$field['fieldid']] +
'.showdistrict($values, $elems, 'residedistrictbox', 1, 'reside').'
".lang('spacecp', 'qq_set_status')."