Commit 6e2f5a58 by doszhang

dos

parent 95cfe2ea
...@@ -105,16 +105,10 @@ $(document).ready(function () { ...@@ -105,16 +105,10 @@ $(document).ready(function () {
imgInfo = {}; imgInfo = {};
img = ''; img = '';
bindUpload(this, uploadCtx, uploadCanvas, 1, function (img) { bindUpload(this, uploadCtx, uploadCanvas, 1, function (img) {
avatar = img; $('.btn-upload').css('left', '53px');
$('.btn-upload').appendTo('.bottom'); $('.btn-createposter').show();
$('.btn-upload').css({ $('.upload-before').show();
top: '-73px', $('.upload-after').show();
left: '59px',
width: '206px',
height: '50px'
});
$('.after').show();
$('.before').hide();
var mc = new Hammer($('#uploadCanvas').get(0)); var mc = new Hammer($('#uploadCanvas').get(0));
bindMc(mc, uploadCtx, uploadCanvas, img, imgInfo); bindMc(mc, uploadCtx, uploadCanvas, img, imgInfo);
}, imgInfo); }, imgInfo);
...@@ -138,6 +132,10 @@ $(document).ready(function () { ...@@ -138,6 +132,10 @@ $(document).ready(function () {
function toUploadPage() { function toUploadPage() {
$('.page1').hide(); $('.page1').hide();
$('.upload-page').show(); $('.upload-page').show();
$('.cat').hide();
$('.cat' + level).show();
$('.btn-createposter').hide();
$('.btn-upload').css('left', 200);
} }
function checkInfo() { function checkInfo() {
......
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