Commit 6e2f5a58 by doszhang

dos

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