Commit f520cbcf by doszhang

dos

parent b245eb97
...@@ -154,6 +154,7 @@ let checkedDecorate; ...@@ -154,6 +154,7 @@ let checkedDecorate;
let checkFlagListStatus = false; let checkFlagListStatus = false;
let firstChooseFlag = true; let firstChooseFlag = true;
let colorbarLeft; let colorbarLeft;
let clickDecorate = false;
const fontSize = parseFloat($('html').css('fontSize')); const fontSize = parseFloat($('html').css('fontSize'));
...@@ -261,6 +262,10 @@ $(document).ready(function () { ...@@ -261,6 +262,10 @@ $(document).ready(function () {
}); });
function showSuggestPage() { function showSuggestPage() {
if (!clickDecorate) {
$('.personal-page .btn-tab-decorate').click();
return false;
}
$('.personal-page .personal-wrap').addClass('animate'); $('.personal-page .personal-wrap').addClass('animate');
$('.suggest-page').show(); $('.suggest-page').show();
setTimeout(function () { setTimeout(function () {
...@@ -384,6 +389,7 @@ function showBgcolor() { ...@@ -384,6 +389,7 @@ function showBgcolor() {
} }
function showDecorate() { function showDecorate() {
clickDecorate = true;
$('.personal-page .tab-bgcolor,.personal-page .tab-decorate-active,.decorate-content').show(); $('.personal-page .tab-bgcolor,.personal-page .tab-decorate-active,.decorate-content').show();
$('.personal-page .tab-bgcolor-active,.personal-page .tab-decorate,.bgcolor-content').hide(); $('.personal-page .tab-bgcolor-active,.personal-page .tab-decorate,.bgcolor-content').hide();
} }
......
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 sign in to comment