Top Sites享设计 - 设计作品下载平台

Machine Readiness

Stored receipt and evidence

Overall

27

Readable

90

Callable

0

Commerce

0

Payment

0

Machine Access

Inspect the site's MCP endpoint

Open MCP explorer

DialtoneApp can scan the stored discovery files for this domain, try the MCP initialize handshake, and show the raw protocol transcript.

Purchase boundary

read only

Control boundary

unknown

Payment rails

None

Payment providers

None

Payment methods

None

Payment protocols

None

Payment assets

None

Payment networks

None

Capabilities

None

Verified payment surface

No

Crypto only

No

Readable docs

robots, llms, llms-full

Products

0

Variants

0

Priced variants

0

Currencies

0

Offers

0

Priced offers

0

Priced actions

0

Samples

Offer samples

No stored offer samples.

Samples

Action samples

No stored action samples.

Samples

Product samples

No stored product samples.

Document

robots.txt

Open robots.txt
User-agent: DotBot
Disallow: /

User-agent: MJ12bot
Disallow: /

User-agent: *
Disallow: /test.php
Disallow: /home/test/*
Disallow: /home/upload/*
Disallow: /des*
Disallow: /dep*
Disallow: /home/pic/*
Disallow: /Api/*

Document

llms.txt

Open llms.txt
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="renderer" content="webkit">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>享设计404</title>
<meta name="keywords" content="免费下载,PSD素材,PSD源文件,设计作品" />
<meta name="description" content="享设计(DESIGN006),是一个专为设计师用户,提供免费下载,PSD素材,设计精品,设计源文件,设计作品,分享作品并获得收益的共享平台。" />
<link rel="shortcut icon" href="/Public/statics/homepage/images/favicon.ico" />
<link rel="bookmark" href="/Public/statics/homepage/images/favicon.ico" />
<link rel="apple-touch-icon" href="/Public/statics/homepage/images/bookmark.png">
<link rel="stylesheet" href="/Public/statics/homepage/plugin/swiper/css/swiper.min.css">
<link rel="stylesheet" href="/Public/statics/homepage/iconfont/iconfont.css">
<link rel="stylesheet" href="/Public/statics/homepage/css/base.css?v=186">
<link rel="stylesheet" href="/Public/statics/homepage/css/index.css?v=3.33">
<link rel="stylesheet" href="/Public/statics/homepage/css/animate.min.css">
<link rel="stylesheet" href="/Public/statics/homepage/css/page404.css?v=1.22">
<script src="/Public/statics/homepage/plugin/jquery/jquery-3.2.1.min.js"></script>
</head>
<body>
<div class="header headerlog">
<div class="search_relative">
<div class="wrap clearfix">
<a href="/"><img width="150" height="36" src="/Public/statics/homepage/images/web_logo2.png?v=0506"></a>
<span class="home-my" style="padding-top: 11px; padding-bottom: 4px;">
<a href="javascript:;" class="top-reg register_panel" data-modal="#reg" style="border: 1px solid #2e2e30; padding:0 20px; display: inline-block; height:36px; line-height: 36px; margin-left: 10px;">注册</a><a href="javascript:void(0);" class="top-log login_class" data-modal="#log" style="padding:0 20px; display: inline-block; height:36px; line-height: 36px;margin-left: 10px;">登录</a>
</span>
<a href="javascript:void(0);" class="login_class top-money" data-modal="#log">我的邀请</a>
<span class="catelog">目录</span>
<span class="catelog2">
<a href="/search-more_works-all-all-1-all-all-all-1-all">热门</a><a href="/search-more_works-all-all-2-all-all-all-1-all">最新</a><a href="https://www.miao333.com/?invite=xsj" target="_blank" ref="nofollow">图片</a><a href="https://www.miao3.cn/" target="_blank" ref="nofollow">字体</a>
<span class="free_flag"></span>
</span>
<div class="ipt search_havetext " id="searchBox_top">
<input name="search_top" type="text" class="search_keywords" placeholder="搜索作品或编号" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" value=""/>
<a href="javascript:void(0);" class="btn_search"><img width="18" height="17" src="https://imgs.design006.com/homepage/images/search2.png"></a>
<a href="javascript:void(0);" id="btnLoginHead" class="similar_camera"></a> <span class="search_text" data-type=""><i class="search_text_close"></i></span> <div class="search_term" id="search_top">
<div class="clearfix search_type">
<div class="search_type__item" data-type="1">搜索<span>画板</span></div>
<div class="search_type__item" data-type="2">搜索<span>用户</span></div>
</div>
<div class="clearfix search_new">
<p>最近搜索<img class="search_index_delete" width="16" height="16" src="/Public/statics/homepage/images/delete.png"></p>
<div class="search_term__list">
</div>
</div>
<div class="clearfix search_hot">
<p>热门搜索</p>
<div class="search_term__list"></div>
</div>
<div class="clearfix search_album">
<p>推荐画板</p>
<div class="search_term__imgs"></div>
</div>
</div>
<div class="search_similar upfile " id="containerHead" style="display: none;">
<div class="search_similar_box search_similar_no">
<button class="btn-upfile" style="background-color: #B3B3B3; cursor: default;">上传图片</button>
<p class="text-error">普通用户仅可体验1次,<a href="/recharge" style="margin: 0; color: #F85659;">VIP会员</a>可每天体验10次</p> <p>图片格式支持JPG、JPEG、PNG,最大不超过5M</p>
</div>
<div class="search_similar_loading">
<div style="margin-bottom: 20px;"><img width="16" height="16" src="/Public/statics/homepage/images/loading2.gif"></div>
<p>正在上传图片</p>
</div>
</div>
<div class="search_words" id="search_words">
<div class="clearfix search_type">
<div class="search_type__item" data-type="1">搜索<span>画板</span></div>
<div class="search_type__item" data-type="2">搜索<span>用户</span></div>
</div>
<div class="words_item clearfix"></div>
</div>
</div>
<input type="text" style="background-color: transparent;margin:0;padding:0;border: 0;height:0;width: 0;">
</div>
<div class="search_catelog" style="display: none;">
<div class="catelog_main">
<div class="catelog_left clearfix" id="cemnu">
<a href="/search-more_works-all-all-1-all-all-all-1-all">热门<img src="/Public/statics/homepage/images/Shape1.png" /></a><a href="/search-more_works-all-all-2-all-all-all-1-all">最新<img src="/Public/statics/homepage/images/Shape1.png" /></a><a href="/keywords-地产">地产<img src="/Public/statics/homepage/images/Shape1.png" /></a><a href="/keywords-医美">医美<img src="/Public/statics/homepage/images/Shape1.png" /></a><a href="/keywords-旅游">旅游<img src="/Public/statics/homepage/images/Shape1.png" /></a><a href="/keywords-节日">节日<img src="/Public/statics/homepage/images/Shape1.png" /></a><a href="/keywords-节气">节气<img src="/Public/statics/homepage/images/Shape1.png" /></a> </div>
<div class="catelog_right">
<div class="catelog_title">
<p>目录中心</p>
<p><span>300W+</span>&nbsp;优秀作品,实时更新。有所想,不如我所享!</p>
</div>
<div class="catelog_menu">
<div class="cmenu">
<a class="cimg" href="/keywords-海报">
<img src="https://imgs.design006.com/202305/Design006_hGYyEx8PB7.jpg" alt="类型">
<p>类型<img src="/Public/statics/homepage/images/Shape2.png"></p>
</a>
<ul>
<li><a href="/keywords-广告" title="广告">广告</a></li><li><a href="/keywords-海报" title="海报">海报</a></li><li><a href="/keywords-背景板" title="背景板">背景板</a></li><li><a href="/keywords-电商" title="电商">电商</a></li><li><a href="/keywords-长图" title="长图">长图</a></li><li><a href="/keywords-主画面" title="主画面">主画面</a></li><li><a href="/keywords-美陈" title="美陈">美陈</a></li><li><a href="/keywords-插画" title="插画">插画</a></li><li><a href="/keywords-手举牌" title="手举牌">手举牌</a></li><li><a href="/keywords-展架" title="展架">展架</a></li><li><a href="/keywords-包装" title="包装">包装</a></li><li><a href="/keywords-文化墙" title="文化墙">文化墙</a></li><li><a href="/keywords-画册" title="画册">画册</a></li><li><a href="/keywords-网站" title="网站">网站</a></li><li><a href="/keywords-九宫格" title="九宫格">九宫格</a></li><li><a href="/keywords-折页" title="折页">折页</a></li><li><a href="/keywords-门头" title="门头">门头</a></li><li><a href="/keywords-Banner" title="Banner">Banner</a></li><li><a href="/keywords-PPT" title="PPT">PPT</a></li><li><a href="/keywords-VI" title="VI">VI</a></li><li><a href="/keywords-UI" title="UI">UI</a></li><li><a href="/keywords-" title=""></a></li><li><a href="/keywords-" title=""></a></li> </ul>
</div><div class="cmenu">
<a class="cimg" href="/keywords-医美">
<img src="https://imgs.design006.com/202305/Design006_DwbS4hYX2t.jpg" alt="主题">
<p>主题<img src="/Public/statics/homepage/images/Shape2.png"></p>
</a>
<ul>
<li><a href="/keywords-地产" title="地产">地产</a></li><li><a href="/keywords-医美" title="医美">医美</a></li><li><a href="/keywords-发布会" title="发布会">发布会</a></li><li><a href="/keywords-旅游" title="旅游">旅游</a></li><li><a href="/keywords-活动" title="活动">活动</a></li><li><a href="/keywords-互联网" title="互联网">互联网</a></li><li><a href="/keywords-招聘" title="招聘">招聘</a></li><li><a href="/keywords-汽车" title="汽车">汽车</a></li><li><a href="/keywords-邀请函" title="邀请函">邀请函</a></li><li><a href="/keywords-节气" title="节气">节气</a></li><li><a href="/keywords-节日" title="节日">节日</a></li><li><a href="/keywords-周年庆" title="周年庆">周年庆</a></li><li><a href="/keywords-教育" title="教育">教育</a></li><li><a href="/keywords-直播" title="直播">直播</a></li><li><a href="/keywords-城市" title="城市">城市</a></li><li><a href="/keywords-科技" title="科技">科技</a></li><li><a href="/keywords-金融" title="金融">金融</a></li><li><a href="/keywords-会议" title="会议">会议</a></li><li><a href="/keywords-人物" title="人物">人物</a></li><li><a href="/keywords-运动" title="运动">运动</a></li><li><a href="/keywords-餐饮" title="餐饮">餐饮</a></li><li><a href="/keywords-酒店" title="酒店">酒店</a></li><li><a href="/keywords-早安" title="早安">早安</a></li> </ul>
</div><div class="cmenu">
<a class="cimg" href="/keywords-清新插画">
<img src="https://imgs.design006.com/202305/Design006_BBBndhSBks.jpg" alt="风格">
<p>风格<img src="/Public/statics/homepage/images/Shape2.png"></p>
</a>
<ul>
<li><a href="/keywords-中式" title="中式">中式</a></li><li><a href="/keywords-高端" title="高端">高端</a></li><li><a href="/keywords-大字报" title="大字报">大字报</a></li><li><a href="/keywords-国潮" title="国潮">国潮</a></li><li><a href="/keywords-质感" title="质感">质感</a></li><li><a href="/keywords-中国风" title="中国风">中国风</a></li><li><a href="/keywords-红金" title="红金">红金</a></li><li><a href="/keywords-黑金" title="黑金">黑金</a></li><li><a href="/keywords-镭射" title="镭射">镭射</a></li><li><a href="/keywords-创意" title="创意">创意</a></li><li><a href="/keywords-系列" title="系列">系列</a></li><li><a href="/keywords-手绘" title="手绘">手绘</a></li><li><a href="/keywords-清新" title="清新">清新</a></li> </ul>
</div><div class="cmenu">
<a class="cimg" href="/keywords-红金地产">
<img src="https://imgs.design006.com/202305/Design006_wcbQQNCXwM.jpg" alt="地产">
<p>地产<img src="/Public/statics/homepage/images/Shape2.png"></p>
</a>
<ul>
<li><a href="/keywords-车位" title="车位">车位</a></li><li><a href="/keywords-热销" title="热销">热销</a></li><li><a href="/keywords-价值点" title="价值点">价值点</a></li><li><a href="/keywords-单页" title="单页">单页</a></li><li><a href="/keywords-楼书" title="楼书">楼书</a></li><li><a href="/keywords-倒计时" title="倒计时">倒计时</a></li><li><a href="/keywords-商业" title="商业">商业</a></li><li><a href="/keywords-围挡" title="围挡">围挡</a></li><li><a href="/keywords-三宫格" title="三宫格">三宫格</a></li><li><a href="/keywords-户型" title="户型">户型</a></li><li><a href="/keywords-商铺" title="商铺">商铺</a></li><li><a href="/keywords-开盘" title="开盘">开盘</a></li><li><a href="/keywords-销冠" title="销冠">销冠</a></li><li><a href="/keywords-学区" title="学区">学区</a></li><li><a href="/keywords-物业" title="物业">物业</a></li><li><a href="/keywords-喜报" title="喜报">喜报</a></li> </ul>
</div> </div>
</div>
</div>
</div>
</div>
</div>
<div id="Toast">
<div class="toast-btn">
<i class="icon-success"></i>
<span>复制成功</span>
</div>
</div>
<script type="text/javascript" src="/Public/statics/aceadmin/oss_test/lib/plupload-2.1.2/js/plupload.full.min.js"></script>
<script>
// 搜索框
$(function(){
    //按关键字搜索
    $(".btn_search").click(function(){
        var keywords = $.trim($(this).prev().val());
        keywords = keywords.myReplace(/\./g,'·');   //转.替换成中间的点号
        if(keywords==''){
            alert('请输入关键词');
            return false;
        }
        
        // 判断是否选择搜索类型
        var _boxtype = $('.search_havetext').hasClass('active') ? $(this).siblings('.search_text').attr('data-type') : null;
        var searchUrl;
        switch(_boxtype) {
            case "1":
                var strs= new Array();
                keywords = keywords.myReplace('-','');
                strs=keywords.split(" ");
                searchUrl = "/search_board-" + keywords.split(" ").join('_');
                break;
            case "2":
                var strs= new Array();
                keywords = keywords.myReplace('-','');
                strs=keywords.split(" ");
                searchUrl = "/search_user-" + keywords.split(" ").join('_');
                break;
            case "3":
                searchUrl = "/Home/Collection/search/label_id/all?wd="+keywords;
                break;
            case "4":
                searchUrl = "/Home/Collection/search/label_id/label_all?wd="+keywords;
                break;
            case "5":
                searchUrl = "/homepage-?wd="+keywords;
                break;
            default:
                var strs= new Array();
                keywords = keywords.myReplace('-','');
                strs=keywords.split(" ");
                searchUrl = "/keywords-"+strs.join('_');
        }
        location.href = searchUrl;
    });

    $(".search_keywords").keyup(function(e){
        var keywords = $(this).val();
        if(e.keyCode==13){
            keywords = keywords.myReplace(/\./g,'·');  //转.替换成中间的点号
            $(".search_keywords").val(keywords);
            $(this).next('.btn_search').click();
        }
    });
})

$(".catelog_left").find('a').mouseover(function() {
    $(this).addClass('active');
    $(this).find('img').attr("src","/Public/statics/homepage/images/Shape2.png")
});
$(".catelog_left").find('a').mouseout(function() {
    $(this).removeClass('active');
    $(this).find('img').attr("src","/Public/statics/homepage/images/Shape1.png")
});

//浮动到目录出现下拉
var timer=null;
$(".catelog").mouseover(function() {
    $(".search_catelog").show();
});
$(".catelog").mouseout(function() {
    $(".search_catelog").hide();
});
$(".search_catelog").mouseover(function() {
    $(".search_catelog").show();
});
$(".search_catelog").mouseout(function() {
    $(".search_catelog").hide();
});


$('#btnSimilarHead').on('click', function(e) {
    e.stopPropagation();

    $('#containerHead').toggle();
    $('#container').hide();
})
$('#btnLoginHead').on('click', function(e) {
    e.stopPropagation();

    $("#login_panel").show();
    $('#container').hide();
})

var api_oss_url =  "/Api/Alioss/upload_image";
var ADMINSimilar = "";
accessid = ''
accesskey = ''
host = ''
policyBase64 = ''
signature = ''
callbackbody = ''
filename = ''
key = ''
expire = 0
g_object_name = ''
g_object_name_type = ''
now = timestamp = Date.parse(new Date()) / 1000; 
function send_request()
{
    
    var xmlhttp = null;
    if (window.XMLHttpRequest)
    {
        xmlhttp=new XMLHttpRequest();
    }
    else if (window.ActiveXObject)
    {
        xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  
    if (xmlhttp!=null)
    {
        serverUrl = api_oss_url;//'http://www.tudoodoo.com/index.php/Api/Alioss/index'
        console.log(serverUrl);
        xmlhttp.open( "GET", serverUrl, false );
        xmlhttp.send( null );
        return xmlhttp.responseText
    }
    else
    {
        alert("Your browser does not support XMLHTTP.");
    }
    
};
function check_object_radio() {
    g_object_name_type = 'random_name';
}
function get_signature()
{

    //可以判断当前expire是否超过了当前时间,如果超过了当前时间,就重新取一下.3s 做为缓冲
    now = timestamp = Date.parse(new Date()) / 1000; 
    
    if (expire < now + 3)
    {
        body = send_request()
        var obj = eval ("(" + body + ")");
        host = obj['host']
        policyBase64 = obj['policy']
        accessid = obj['accessid']
        signature = obj['signature']
        expire = parseInt(obj['expire'])
        callbackbody = obj['callback'] 
        key = obj['dir']
        return true;
    }
    return false;
};
function random_string(len) {
  len = len || 32;
  var chars = 'ABCDEFGHJKLMNPQRSTVWXYZabcdefhijkmnprstvwxyz2345678';   
  var maxPos = chars.length;
  var pwd = '';
  for (i = 0; i < len; i++) {
      pwd += chars.charAt(Math.floor(Math.random() * maxPos));
    }
    return pwd;
}
function get_suffix(filename) {
    pos = filename.lastIndexOf('.')
    suffix = ''
    if (pos != -1) {
        suffix = filename.substring(pos)
    }
    return suffix;
}
function calculate_object_name(filename)
{
    if (g_object_name_type == 'local_name')
    {
        g_object_name += "${filename}"
    }
    else if (g_object_name_type == 'random_name')
    {
        suffix = get_suffix(filename)
        g_object_name = key + 'Design006_' +random_string(12) + suffix
    }
    return ''
}
function get_uploaded_object_name(filename)
{
    if (g_object_name_type == 'local_name')
    {
        tmp_name = g_object_name
        tmp_name = tmp_name.replace("${filename}", filename);
        return tmp_name
    }
    else if(g_object_name_type == 'random_name')
    {
        return g_object_name
    }
}
function set_upload_param(up, filename, ret)
{
    if (ret == false)
    {
        ret = get_signature()
    }
    
    g_object_name = key;
    if (filename != '') {
        suffix = get_suffix(filename)
        calculate_object_name(filename)
    }
    new_multipart_params = {
        'key' : g_object_name,
        'policy': policyBase64,
        'OSSAccessKeyId': accessid, 
        'success_action_status' : '200', //让服务端返回200,不然,默认会返回204
        'callback' : callbackbody,
        'signature': signature,
    };

    up.setOption({
        'url': host,
        'multipart_params': new_multipart_params
    });

    up.start();

}
var uploaderHead = new plupload.Uploader({
    runtimes : 'html5,flash,silverlight,html4',
    browse_button : 'selectfilesHead', 
    //multi_selection: false,
    container: document.getElementById('containerHead'),
    flash_swf_url : '/Public/statics/aceadmin/oss_test/lib/plupload-2.1.2/js/Moxie.swf',
    silverlight_xap_url : '/Public/statics/aceadmin/oss_test/lib/plupload-2.1.2/js/Moxie.xap',
    url : 'https://oss.aliyuncs.com',

    filters: {
        mime_types : [ //只允许上传图片和zip,rar文件
        { title : "Image files", extensions : "jpg,jpeg,png" }, 
        ],
        max_file_size : '5mb', //最大只能上传5mb的文件
        prevent_duplicates : true //不允许选取重复文件
    },

    init: {
        PostInit: function() {
            // document.getElementById('ossfile').innerHTML = '';
        },

        FilesAdded: function(up, files) {
            
            if(up.state!=plupload.STARTED){
                set_upload_param(uploaderHead, '', false);
                $("#containerHead").find('.search_similar_box').hide();
                $("#containerHead").find('.search_similar_loading').show();
            }
        },

        BeforeUpload: function(up, file) {
            check_object_radio();
            set_upload_param(up, file.name, true);
        },

        FileUploaded: function(up, file, info) {
            if (info.status == 200)
            {
                $("#"+file.id).removeClass('unfinish').addClass('finish');
                //文件上传成功 ajax调用接口 往作品表添加一条待提交的数据
                var file_name = file.name;
                var file_size = plupload.formatSize(file.size).toUpperCase().slice(0,-1);
                var image_name = get_uploaded_object_name(file.name);
                //console.log(file_name+' '+file_size+" "+object_name);
                
                $.post("/Home/Similar/add", {'img_url':image_name,'adminSimilar':ADMINSimilar}, function(ret) {
                    if(ret.status==0){
                        if(ADMINSimilar.length > 0) {
                            window.location.href = "/similar-"+ret.data+"?adminSimilar="+ADMINSimilar
                        }else {
                            window.location.href = "/similar-"+ret.data
                        }
                    }else if(ret.status == -1) {
                        if(ret.data == 3) {
                            $('#containerHead.search_similar').html(`<div class="search_similar_box search_similar_no" style="display: block;"><button class="btn-upfile" style="background-color: #B3B3B3; cursor: default;">上传图片</button>
                                            <p class="text-error">VIP会员今日体验10次已满</p>
                                            <p>图片格式支持JPG、JPEG、PNG,最大不超过5M</p></div>`);  
                        }else {
                            $('#containerHead.search_similar').html(`<div class="search_similar_box search_similar_no" style="display: block;"><button class="btn-upfile" style="background-color: #B3B3B3; cursor: default;">上传图片</button>
                                            <p class="text-error">普通用户仅可体验1次,<a href="/recharge" style="margin: 0; color: #F85659;">VIP会员</a>可每天体验10次</p>
                                            <p>图片格式支持JPG、JPEG、PNG,最大不超过5M</p></div>`);  
                        }
                        $('#containerHead .search_similar_box').addClass('search_similar_no');
                    }else {
                        alert(ret.msg);
                    }
                });                
            }
            else
            {
                document.getElementById(file.id).getElementsByTagName('b')[0].innerHTML = info.response;
            } 
        },

        Error: function(up, err) {
            if (err.code == -600) {
                $('#containerHead').find('.text-error').addClass('on').text('出错啦!图片文件太大了');
                if(up.total.queued>0 && up.state!=plupload.STARTED){
                    up.start();
                }
            }
            else if (err.code == -601) {
                $('#containerHead').find('.text-error').addClass('on').text('出错啦!图片格式不正确');
                if(up.total.queued>0 && up.state!=plupload.STARTED){
                    up.start();
                }
            }
            else if (err.code == -602) {            
                alert(err.file.name+'已经上传过一遍了');
                if(up.total.queued>0 && up.state!=plupload.STARTED){
                    up.start();
                }
            }
            else 
            {   
                alert(err.response);
                if(up.total.queued>0 && up.state!=plupload.STARTED){
                    up.start();
                }
                
            }
        }
    }
});
uploaderHead.init();
/// 图片拖动触发上传 获取 search_similar_box 的 DOM 元素
document.addEventListener('DOMContentLoaded', function() {
    var dropZone = document.querySelector('#containerHead .search_similar_box');
    var dragCounter = 0;  // 用于追踪进入拖放区域的次数

    // 阻止默认的 dragover 和 drop 行为
    dropZone.addEventListener('dragover', function(e) {
        e.preventDefault(); // 阻止默认行为以允许拖动
    }, false);

    // 当文件进入拖放区域时
    dropZone.addEventListener('dragenter', function(e) {
        e.preventDefault();
        dragCounter++;  // 增加计数器,表示文件进入区域
        dropZone.classList.add('dragging'); // 添加视觉反馈样式
    }, false);

    // 当文件离开拖放区域时
    dropZone.addEventListener('dragleave', function(e) {
        dragCounter--;  // 减少计数器
        if (dragCounter === 0) {  // 只有当计数器为 0 时,才移除视觉效果
            dropZone.classList.remove('dragging');
        }
    }, false);

    // 当文件在区域中释放时
    dropZone.addEventListener('drop', function(e) {
        e.preventDefault();
        dragCounter = 0;  // 重置计数器
        dropZone.classList.remove('dragging'); // 移除视觉效果

        // 处理文件上传逻辑
        var files = e.dataTransfer.files; // 获取拖入的文件
        if (files.length > 0) {
            // 获取 FileList 中的第一张图片
            uploaderHead.addFile(files[0]);
        }
    }, false);
});
function handleClick(event) {
    event.preventDefault();  // 阻止 <a> 标签的跳转
    event.stopPropagation();  // 阻止事件冒泡,防止触发 <a> 标签的点击事件
    
    // 执行你希望的跳转操作
    location.href = '/Home/Account/notice';  // 自定义跳转
}
</script>
<div id="banner_div" onclick="window.open('https://www.design006.com/Home/union')" style="margin-top:58px;height:60px;background:center center no-repeat;background-image:url('https://imgs.design006.com/202604/Design006_7NWjaBTpP3.jpg');background-size:1920px 60px;cursor:pointer;">
</div>
<div class="error_img"><img width="490" height="196" src="https://imgs.design006.com/homepage/images/404.png"></div>
<div class="error_text">
Error,页面找不到啦!请点击返回首页~</div>
<div class="error_href"><a href="http://www.design006.com/" title="享设计">返回首页</a></div>
<link rel="stylesheet" href="/Public/statics/homepage/css/common_footer.css?v=1.32">
<div class="div_footer">
<div class="site_about" style="margin-bottom: 20px;">
<div class="left_about">
<a href="/about" target="_blank">关于我们</a>
<a href="/upload_read" target="_blank">供稿必读</a>
<a href="/pay_protocol" target="_blank">支付协议</a><br/>
<a href="/suggestion" target="_blank">联系客服</a>
<a href="/withdraw-notice" target="_blank">收益须知</a>
<a href="/copyright" target="_blank">版权声明</a><br/>
<a href="/instruction" target="_blank">下载说明</a>
<a href="/protocol" target="_blank">网站协议</a>
<a href="/help" target="_blank">帮助中心</a>
</div>
<div class="center_about">
<p class="cp">客服邮箱</p>
<div class="hezuo">
<span class="span1">kefu@design006.com (工作日9:00-18:00)</span>
<span class="span2"><a href="mailto:kefu@design006.com"><img src="https://imgs.design006.com//homepage/images/footer_email.png" width="24" height="24"/></a></span>
</div>
</div>
<div class="right_about">
<span>
<img src="https://imgs.design006.com//homepage/images/code_phone.png" width="74"/><br />移动端网站
</span>
<span>
<img src="https://imgs.design006.com//homepage/images/code_wechat.png" width="74"/><br />微信公众号
</span>
</div>
</div>
<div class="foot_links">
<div class="links">
<span>享设计作为网络服务平台方,平台上的作品均由供稿设计师上传并发布,若您的权利被侵害,请联系客服邮箱:<span style="color:#B3B3B3;">kefu@design006.com</span>,我们将及时为您处理<span class="bar">|</span>本站法律顾问:陆晨奇律师</span>
<br/>
<a href="https://beian.miit.gov.cn" target="_blank" rel="nofollow">沪ICP备18025094号-1</a><span class="bar">|</span><span>增值电信业务经营许可证:沪B2-20210673</span><span class="bar">|</span><span>沪公网安备31010602002795号</span><span class="bar">|</span><span>Copyright © 2026 享设计</span>
</div>
<input type="text" style="background-color: transparent;margin:0;padding:0;border: 0;height:0;width: 0;"/>
</div>
</div>
<script src="/Public/statics/layer/layer.js"></script>
<div class="help" style="bottom:234px;">
<a href="javascript:toTop();" rel="nofollow"><img src="https://imgs.design006.com/homepage/images/right-top.png"></a>
<a href="javascript:void(0)" id="f_upload_works" rel="nofollow"><img src="https://imgs.design006.com/homepage/images/float_upload.png"></a>
<a href="/help" target="_blank" id="use_intro"><img src="https://imgs.design006.com/homepage/images/right-list.png"></a>
<a href="/suggestion" target="_blank"><img src="https://imgs.design006.com/homepage/images/right-feedback.png"></a>
</div>
<div class="modal log" id="login_nosame_div" style="display:none;">
<div class="modal-wrapper">
<div class="modal-content">
<div class="success">
<p class="img"><img width="36" height="36" src="https://imgs.design006.com/homepage/images/del.png"></p>
<p class="info">安全提醒</p>
<p style="margin-top:10px;font-size:12px;color:#B3B3B3;height:36px;line-height:18px;">您的账号已在另一个地方登录</p>
</div>
</div>
</div>
</div>
<script type="text/javascript">
	$("#f_upload_works").click(function(event) {
		/* Act on the event */
					$.post("/Home/User/status", {'t':Math.random()}, function(ret) {
              if(ret.status==0){
                  //$("#f_upload_works2").click();
              }else if(ret.status==-1){
              	  if($("#login_panel").length>0){
              	  	 $("#login_panel").show();
                  	 return true;
              	  }
              	  location.reload();                 
              }         
        	});	});
	let images_before = {0:"right-top.png",1:"float_upload.png",2:"right-list.png",3:"right-feedback.png"};
	let images_hover = {0:"right-top_h.png",1:"float_upload_gg.png",2:"right-list_h.png",3:"right-feedback_h.png"};
	$('div.help > a').hover(function() {
		/* Stuff to do when the mouse enters the element */
		let index = $(this).index();
		$(this).find('img').attr('src','/Public/statics/homepage/images/'+images_hover[index]);
	}, function() {
		/* Stuff to do when the mouse leaves the element */
		let index = $(this).index();
		$(this).find('img').attr('src','https://imgs.design006.com/homepage/images/'+images_before[index]);
	});
	function toTop() {
		$("html,body").animate({scrollTop: 0},"normal");
	}

	$(function () {
		//登录码错误
		var code_same = document.cookie.replace(/(?:(?:^|.*;\s*)code_same\s*=\s*([^;]*).*$)|^.*$/, "$1");
		if(code_same==2){
			$("#login_nosame_div").show();
			document.cookie = 'code_same=' + JSON.stringify([]) + '; path=/';  //防止再次弹窗
			setTimeout('$("#login_nosame_div").hide(); location.href="/Home/User/logout"',3000);
			return false;
		}
	});

</script>
<script type="text/javascript" src="/Public/statics/homepage/js/jquery.validate.min.js?v=1.1"></script>
<script type="text/javascript" src="/Public/statics/homepage/js/jquery-validation-1.19.5/dist/localization/messages_zh.js"></script>
<script type="text/javascript" src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
<style>
.log .tit {
    /* background: url(/Public/statics/homepage/images/title-bg2.png) no-repeat center center;
    background-size:312px 2px; */
    text-align: center;
}
.log .others a:nth-child(2){ background:url(https://imgs.design006.com/homepage/images/chat-qq.png) no-repeat center center;background-size:46px 46px;}
.log .others a:nth-child(1){ background:url(https://imgs.design006.com/homepage/images/chat-wx.png) no-repeat center center;background-size:46px 46px;}
.log .others a:nth-child(3){ background:url(https://imgs.design006.com/homepage/images/chat-sina.png) no-repeat center center;background-size:46px 46px;}
 .log .others a:nth-child(2):hover{ background:url(https://imgs.design006.com/homepage/images/chat-qq-on.png) no-repeat center center;background-size:46px 46px;}
.log .others a:nth-child(1):hover{ background:url(https://imgs.design006.com/homepage/images/chat-wx-on.png) no-repeat center center;background-size:46px 46px;}
.log .others a:nth-child(3):hover{background:url(https://imgs.design006.com/homepage/images/chat-sina-on.png) no-repeat center center;background-size:46px 46px;}
.log .ctrl .question {
    background: url(https://imgs.design006.com/homepage/images/question.png) no-repeat center center;
    background-size:20px 20px;
}
/*.log .ctrl p>font a:first-child{background-size: 14px 14px !important;background:url(https://imgs.design006.com/homepage/images/radio.png) no-repeat center center;}*/
/*.log .ctrl p>font a:first-child.active{background-size: 14px 14px !important; background:url(https://imgs.design006.com/homepage/images/check-icon.png) no-repeat center center;}*/
.qrcode_bg{
  background-image:url(/Public/statics/homepage/images/qrcode_bg.png) !important;
  background-size:180px 180px;
  background-position:center;
  background-repeat:no-repeat;
}
</style>
<div class="modal log" id="login_panel">
<div class="modal-wrapper">
<div class="modal-content">
<a href="javascript:;" class="close" data-close></a>
<div class="clearfix"></div>
<div class="con" style="height:475px;">
<p class="title" style="margin-bottom:45px;margin-top:14px;">登录享设计</p>
<div class="ctrl">
<input style="border:0px;" name="" type="text" id="mobile_login" value="" placeholder="手机号码" class="error"><div id="mobile_login_error" class="msg"></div>
<input name="" type="password" id="password_login" value="" placeholder="登录密码"><div id="password_login_error" class="msg"></div>
<button id="button_login" class="link-red">登录</button>
<p style="text-align:center;"><span style="float:none;">没有账号?<a style="margin-left:0px;color:#F85659;" href="javascript:void(0)" class="register_panel">马上注册</a>|<a href="javascript:void(0)" style="color:#2E2E30;" id="forget_pass">忘记密码</a></span></p>
</div>
<div class="clearfix"></div>
<p class="tit" style="margin-top:39px;">使用第三方账号登录</p>
<p class="others" style="margin-top:10px;">
<a href="https://www.design006.com/Api/Weixin/index"></a>
<a href="https://www.design006.com/Api/Qq/index?url=page-error"></a>
<a href="https://www.design006.com/Api/Weibo/index?url=page-error"></a>
</p>
<p class="last-login"><span class="vx" style="display: none;">(上次登录)</span></p>
<p style="margin-left:24px;"><font style="color:#b3b3b3;font-size:12px;">注册登录即表明同意<a href='/protocol' target="_blank" style="color: #2E2E30;">《网站协议》</a>和<a href='/copyright' target="_blank" style="color:#2E2E30;">《版权声明》</a></font></p>
</div>
</div>
</div>
</div>
<div class="modal log" id="div_user_yz" style="display:none;">
<div class="modal-wrapper">
<div class="modal-content">
<a href="javascript:void(0);" class="close" data-close></a>
<input type="hidden" value="0" class="user_id" />
<div class="success del" style="padding:29px 33px 40px 40px;margin-left: 30px;">
<p class="info"><img width="36px" height="36px" style="vertical-align:baseline;margin:0px 3px 0px 3px;" src="https://imgs.design006.com/homepage/images/mobile.png" /></p>
<p class="info" style="height:25px;line-height:25px;font-size:18px;letter-spacing:0.46px;margin: 10px;">手机验证</p>
<p style="margin-bottom: 20px; font-size:12px;color: #B3B3B3;">为保证账号安全,本次登录需要手机验证</p>
<div style="margin-left: 5px; height: 56px;">
<input type="text" value="" placeholder="手机号码" class="auth_phone" readonly style="background: #ebebeb ;border: 1px #ebebeb solid;margin-bottom: 2px;"/>
<p class="phone_content" style="font-size:12px;color:#F85659;display: table;"></p>
</div>
<div style="margin-left: 5px; height: 56px;"><input type="text" value="" maxlength="4" class="auth_yzm" placeholder="验证码" />
<button id="get_login_yzm" style="width: 110px;height: 36px;font-size: 14px;color: #FFFFFF;background:#2E2E30;line-height: 36px;border-radius: 4px;border: 0px;">获取验证码</button>
<p class="yzm_content" style="font-size:12px;color:#F85659;margin-top:2px;display: table;"></p>
</div>
<p class="btn" style="margin-top:8px;display: inline-block;">
<button class="confirm" id="submit_login" style="margin-right:20px;width:90px;height:36px;background:#F85659;font-size:14px;">确定</button><button style="width:90px;height:36px;font-size:14px;" data-close class="cancel">取消</button>
</p>
</div>
</div>
</div>
</div>
<div class="modal log" id="register_step1">
<div class="modal-wrapper">
<div class="modal-content">
<a href="javascript:;" class="close" data-close></a>
<div class="clearfix"></div>
<div class="con" style="height:475px;">
<p class="title" style="margin-top:14px;margin-bottom:45px;">欢迎来到享设计</p>
<div class="ctrl">
<input style="border:0px;" name="" type="text" id="mobile_step1" value="" placeholder="手机号码" class="error"><div id="mobile_step1_error" class="msg"></div>
<input name="" type="password" id="password_step1" value="" placeholder="设置密码">
<div id="password_step1_error" class="msg"></div>
<button class="link-red" id="button_step1">注册</button>
<span>已有账号,<a href="javascript:void(0)" class="now_login_class">马上登录</a></span>
</div>
<div class="clearfix"></div>
<p class="tit" style="margin-top:39px;">使用第三方账号注册</p>
<p class="others" style="margin-top:10px;">
<a href="https://www.design006.com/Api/Weixin/index"></a>
<a href="https://www.design006.com/Api/Qq/index?url=page-error"></a>
<a href="https://www.design006.com/Api/Weibo/index?url=page-error"></a>
</p>
<p class="last-login"><span style="display: none;"></span></p>
<p style="margin-left:24px;"><font style="color:#b3b3b3;font-size:12px;">注册登录即表明同意<a href='/protocol' target="_blank" style="color: #2E2E30;">《网站协议》</a>和<a href='/copyright' target="_blank" style="color: #2E2E30;">《版权声明》</a></font></p>
</div>
</div>
</div>
</div>
<div class="modal log" id="wx">
<div class="modal-wrapper">
<div class="modal-content">
<a href="javascript:;" class="close" data-close></a>
<div class="clearfix"></div>
<div class="con">
<p class="title">欢迎来到享设计</p>
<p class="img"><img src="/Public/statics/homepage/images/wx.png"></p>
<p class="tip">打开微信扫二维码登录</p>
<div class="pre"><a href="">返回上一步</a></div>
</div>
</div>
</div>
</div>
<div class="modal log" id="invite">
<div class="modal-wrapper">
<div class="modal-content">
<a href="javascript:;" style="width: 22px;height: 20px;display: block;margin-top: 15px;"></a>
<div class="clearfix"></div>
<div class="con">
<p class="title">欢迎来到享设计</p>
<p class="img"><img src="/Public/statics/homepage/images/email.png"></p>
<p class="tip">如果您有邀请码,请在下方输入</p>
<div class="ctrl">
<input name="" type="text" value="" placeholder="邀请码(选填)" class="invite" style=" margin-top:40px;">
<div class="question">
<div class="invinfor">
<p class="desc">填写邀请码注册成功,邀请人可获得额外奖励</p>
<p class="sign"><img width="8" height="6" src="https://imgs.design006.com/homepage/images/tip-bg.png"></p>
</div>
</div>
<button class="link-red" style="margin-top:70px;">确定</button>
<span style="margin-bottom:40px;">没有邀请码?<a href="">跳过此步</a></span>
</div>
</div>
</div>
</div>
</div>
<div class="modal log" id="register_step2">
<div class="modal-wrapper">
<div class="modal-content">
<a href="javascript:;" class="close" data-close></a>
<div class="clearfix"></div>
<div class="con" style="height:475px;">
<p class="title" style="margin-bottom:23px;margin-top:14px;">欢迎来到享设计</p>
<div class="ctrl" style="">
<p class="inp"><span style="float:none;color: #B3B3B3;font-size:12px;height:17px;margin-bottom:5px;display:inline-block;">验证手机号<span id="mobile_yz" style="color: #000000;margin:0 3px 0 3px;"></span>的有效性</span><br/><input name="" id="mobile_yzm" type="text" value="" placeholder="手机验证码" class="phone"><button id="get_yzm2">获取验证码</button><div id="mobile_yzm_error" class="msg" style="margin-top:44px;"></div></p>
<input name="" type="text" id="nickname" value="" placeholder="设置昵称" maxlength="8">
<div id="nickname_error" class="msg"></div>
<input name="" type="text" id="invatation_code" value="" placeholder="邀请码(没有可不填)" class="invite">
<div id="invatation_code_error" style="margin-top:-16px;" class="msg"></div>
<div class="question">
<div class="invinfor" style="width:200px;margin-left:-90px;">
<p class="desc" style="font-size:12px;width:auto;">没有邀请码?请直接点击确定</p>
<p class="sign"><img width="8" height="6" src="https://imgs.design006.com/homepage/images/tip-bg.png"></p>
</div>
</div>
<button class="link-red" id="button_step2" style="margin-top:70px;">确定</button>
</div>
<div class="pre2" style="margin-bottom:49px;"><a href="javascript:void(0)" id="return_prev">返回上一步</a></div>
</div>
</div>
</div>
</div>
<div class="modal log" id="success">
<div class="modal-wrapper">
<div class="modal-content">
<div class="success">
<p class="img"><img width="36" height="36" src="https://imgs.design006.com/homepage/images/yes.png"></p>
<p class="info">注册成功!</p>
</div>
</div>
</div>
</div>
<div class="modal log" id="reset_password">
<div class="modal-wrapper">
<div class="modal-content">
<a href="javascript:;" class="close" data-close></a>
<div class="clearfix"></div>
<div class="con" style="height:475px;">
<p class="title" style="margin-top:14px;margin-bottom:45px;">重置密码</p>
<div class="ctrl">
<input name="" id="mobile_reset" type="text" value="" placeholder="手机号码" class="">
<p class="inp"><input name="" id="yzm_reset" type="text" value="" placeholder="手机验证码" class="phone"><button id="get_yzm_forget2">获取验证码</button></p>
<input name="" type="password" id="password_reset" value="" placeholder="输入新密码" class="">
<button class="link-red" id="button_reset" style="margin-top:50px;margin-bottom:0px;">重置</button>
</div>
<div class="pre2" style="margin-bottom:77px;"><a href="javascript:void(0)" id="reset_return_prev">返回上一步</a></div>
</div>
</div>
</div>
</div>
<div class="modal log" id="reset_success">
<div class="modal-wrapper">
<div class="modal-content">
<div class="success">
<p class="img"><img width="36" height="36" src="https://imgs.design006.com/homepage/images/yes.png"></p>
<p class="info">设置成功!</p>
</div>
</div>
</div>
</div>
<div class="modal log" id="wechat_oauth" style="display:none;">
<div class="modal-wrapper">
<div class="modal-content">
<a href="javascript:;" class="close" data-close></a>
<div class="clearfix"></div>
<div class="con" style="height:475px;">
<p class="title" style="margin-top:14px;margin-bottom:70px;">欢迎来到享设计</p>
<div class="ctrl">
<div id="wechat_img" class="qrcode_bg" style="padding-top:10px;width:310px;height:180px;overflow: hidden;text-align:center;"></div>
<span style="height:17px;margin-top:10px;">打开微信扫一扫</span>
<span style="position:relative;height:17px;margin:71px 0px 87px 0px;color:#F85659;"><a href="javascript:void(0)" prev_domid="" id="wechat_login_prev" onclick="wechat_login_prev_step();">返回上一步</a></span>
</div>
</div>
</div>
</div>
</div>
<div class="modal log" id="coupon">
<div style="height: 100%;width: 100%;display: flex;align-items: center;justify-content: center;">
<div style="width: 250px;">
<a href="javascript:;" class="close-bn" style="display:block;width:38px; height:38px;background-size:100% 100%;margin-bottom:40px;margin-left:106px; background-image:url(/Public/statics/homepage/images/close_bn.png);"></a>
<div class="modal-content-coupon" style="width:250px; height:400px;background-size:100% 100%; background-image: url(/Public/statics/homepage/images/couponx.png);">
<div class="clearfix"></div>
<div class="con-bn" style="margin-top: 270px;text-align: center;font-size: 12px;">
<font color="#B3B3B3">有效期至</font>
<font color="#F85659">2026/04/28</font>
</div>
<div class="clearfix"></div>
<div style="margin-top: 60px;text-align: center;font-size: 14px;">
<a href="/recharge" class="close-bn" target="_blank" style="background: #F85659;color: #fff;border-radius: 100px;padding: 8px 22px;">立即使用</a>
<a href="javascript:;" class="close-bn" style="color: #2E2E30;border: 1px #2E2E30 solid;border-radius: 100px;padding: 8px 22px;margin-left: 10px;">下次再说</a>
</div>
</div>
</div>
</div>
</div>
<div class="modal log" id="important_notice" style="display: none;">
<div class="modal-wrapper">
<div class="modal-content">
<a href="javascript:;" class="close" data-close></a>
<div class="success del">
<p class="img"><img width="36" height="36" src="https://imgs.design006.com/homepage/images/del.png"></p>
<p class="info">重要消息</p>
<p style="font-size:12px;color:#B3B3B3;line-height:17px;margin-top:8px;">您有<font class="nums" style="color:#F85659;"></font>未读,请及时查看</p>
<p class="btn">
<button class="confirm" style="margin-right:20px;background: #F85659;" onclick="location.href='/home/account/notice'">立即查看</button><button class="cancel" data-close>下次再说</button></p>
</div>
</div>
</div>
</div>
<script type="text/javascript">
  var obj = new WxLogin({
     self_redirect:false,
     id:"wechat_img",
     appid: "wxc5ea0260a96da5d4",
     scope: "snsapi_login",
     redirect_uri: "https://www.design006.com/Api/Weixin/index",
     state: "8d265c3c9a5d932b05660fee5600ee5c",
     //style: "black",
     href: "https://www.design006.com/Public/statics/homepage/css/wechat_login.css?v=1.10"
 });
//  function wechat_login_func(domId){
//     $("#"+domId).hide();
//     $("#wechat_login_prev").attr('prev_domid',domId);
//     $("#wechat_oauth").show();
//  }

     // if(!$(this).hasClass('active')){
    //   alert("请勾选底部协议!");
    //   return false;
    // }else{
    //   $(this).addClass('active')
    // }

 function wechat_login_prev_step(){
    var domId = $("#wechat_login_prev").attr('prev_domid');
    $("#wechat_oauth").hide();
    if(domId!=''){
        $("#"+domId).show();
    }
 }
</script>
<script type="text/javascript">

  $(function () {
    var important_nums = document.cookie.replace(/(?:(?:^|.*;\s*)importantNums\s*=\s*([^;]*).*$)|^.*$/, "$1");
    if(important_nums>0) {
      $("#important_notice .nums").html(important_nums+'条重要消息');
      $("#important_notice").show();
      document.cookie = 'importantNums=' + JSON.stringify([]) + '; path=/';
    }

    var lastLoginMethod_str = document.cookie.replace(/(?:(?:^|.*;\s*)lastLoginMethod\s*=\s*([^;]*).*$)|^.*$/, "$1");
    lastLoginMethod_str = decodeURIComponent(lastLoginMethod_str);    // 解码
    var lastLoginArr = lastLoginMethod_str.split("_"); //用下横杠分割
    if(lastLoginArr.length>1 && lastLoginArr[1] && lastLoginArr[0]==1) {
      //手机号登录
      $("#login_panel #mobile_login").attr("placeholder", lastLoginArr[1]+ '(上次登录)');
    }else if(lastLoginArr.length==1 && lastLoginArr[0]==2) {
      $("#login_panel .last-login").find('span').removeClass().addClass('vx').show();
    }else if(lastLoginArr.length==1 && lastLoginArr[0]==3) {
      $("#login_panel .last-login").find('span').removeClass().addClass('qq').show();
    }else if(lastLoginArr.length==1 && lastLoginArr[0]==4) {
      $("#login_panel .last-login").find('span').removeClass().addClass('wb').show();
    }

      //优惠券弹窗
     var coupon_sign = localStorage.getItem("DESIGN_COUPON");
     if(coupon_sign==1) {
        $("#coupon").fadeIn(300);
        localStorage.removeItem("DESIGN_COUPON");
     }
  });

  String.prototype.myReplace=function(f,e){
      var reg=new RegExp(f,"g");
      return this.replace(reg,e);
  }
//  function trimSpace(array){
//     for(var i = 0 ;i<array.length;i++)
//     {
//         if(array[i] == " " || array[i] == null || typeof(array[i]) == "undefined")
//         {
//                  array.splice(i,1);
//                  i= i-1;
//
//         }
//     }
//     return array;
//  }
  $(".now_login_class").click(function(){
      $("#register_step1").hide();
      $("#login_panel").show();
  });
  $(".login_class").click(function(){
      $("#login_panel").show();
  });
  //注册
  $(".register_panel").click(function(){
      $("#register_step1").show();
      $("#login_panel").hide();
  });
  //关闭优惠券弹窗
  $(".close-bn").click(function(){
      $("#coupon").fadeOut(300);
  });

  //返回上一步
  $("#return_prev").click(function(){
      $("#register_step1").show();
      $("#register_step2").hide();
  });
  //忘记密码
  $("#forget_pass").click(function(){
      $("#login_panel").hide();
      $("#reset_password").show();
  });
  //忘记密码 返回上一步
  $("#reset_return_prev").click(function(){
      $("#login_panel").show();
      $("#reset_password").hide();
  });
  //登录
  $("#mobile_login").keyup(function(event) {
      $("#mobile_login_error").html('');
  });
  $("#password_login").keyup(function(event) {
    /* Act on the event */
     $("#password_login_error").html('');
  });
  $("#button_login").click(function(){
      var mobile = $.trim($("#mobile_login").val());
      var password = $.trim($("#password_login").val());
      var flag = false;
      if(mobile==''){
          $("#mobile_login_error").html('请输入你的手机号');
          flag = true;
      }
      if(password==''){
          $("#password_login_error").html('密码不能为空');
          flag = true;
      }
      if(flag){
          return false;
      }
      $.post("/Home/User/login", {'mobile':mobile ,'password':password,'t':Math.random()}, function(ret) {
          if(ret.status==0){
              location.reload();
          }else if(ret.status==1){
              location.href = '/Home/Index/index';
          }else if(ret.status==2){
              $("#login_panel").hide();
              $("#div_user_yz .user_id").val(ret.data);
              $("#div_user_yz .auth_phone").val(mobile);
              $("#div_user_yz").show();
          }else{
              if(ret.type=='mobile'){
                  $("#mobile_login_error").html(ret.msg);
              }
              if(ret.type=='password'){
                  $("#password_login_error").html(ret.msg);
              }
          }
      });
  });

  var isClick = false;  //默认没有点击
  $("#submit_login").click(function() {
      if(isClick==true) {
          return false;
      }else{
          isClick = true;
      }
      var params = {
          login_id: $("#div_user_yz .user_id").val(),
          login_phone: $("#div_user_yz .auth_phone").val(),
          login_yzm: $("#div_user_yz .auth_yzm").val(),
      }
      $("#div_user_yz .phone_content").html('');
      $("#div_user_yz .yzm_content").html('');
      $.post("/Home/User/login_final", params, function(ret) {
        isClick = false;
        if(ret.status==0){
           location.reload();
        }else if(ret.status==-8){
            $("#div_user_yz .phone_content").html(ret.msg);
        }else if(ret.status==-9){
            $("#div_user_yz .yzm_content").html(ret.msg);
        }
       
    });
  });

  $("#mobile_login,#password_login").keydown(function(e) {
      if(e.keyCode==13){
          $("#button_login").click();
      }
  });
  //注册step1
  $("#mobile_step1,#password_step1").keydown(function(e) {
      if(e.keyCode==13){
          $("#button_step1").click();
      }
  });
  $("#mobile_step1").keyup(function(event) {
    /* Act on the event */
     $("#mobile_step1_error").html('');
  });
  $("#password_step1").keyup(function(event) {
    /* Act on the event */
      $("#password_step1_error").html('');
  });
  $("#button_step1").click(function(){
      var mobile = $.trim($("#mobile_step1").val());
      var password = $.trim($("#password_step1").val());

      var flag = false;
      if(mobile==''){
          $("#mobile_step1_error").html('请输入你的手机号');
          flag = true;
      }
      if(password.length<6){
          $("#password_step1_error").html('密码至少为6个字符');
          flag = true;
      }
      if(password==''){
          $("#password_step1_error").html('密码不能为空');
          flag = true;
      }
      if(flag){
          return false;
      }
      $.post("/Home/User/register", {'mobile':mobile ,'password':password,'step':1,'t':Math.random()}, function(ret) {
          if(ret.status==0){
              //第一步设置成功,进入第二步
              $("#register_step1").hide();
              $("#mobile_yz").html(mobile.replace(/^(\d{3})\d{4}(\d+)/,"$1****$2"));
              $("#register_step2").show();
          }else if(ret.status==-1){
              if(ret.type=='mobile'){
                  $("#mobile_step1_error").html(ret.msg);
              }
              if(ret.type=='password'){
                  $("#password_step1_error").html(ret.msg);
              }
          }else if(ret.status==1){
              location.href = "/Home/Index/index";
          }
      });
  });
  //勾选注册登录协议
  // $('.modal-content').on('click', '.read_about', function(){
  //   if($(this).hasClass('active')){
  //         $(this).removeClass('active')
  //     }else{
  //         $(this).addClass('active')
  //     }
  // })

  //注册step2
  $("#button_oauth").click(function(event) {
      var $code_obj = $("#invatation_code2");
      var code_val = $.trim($code_obj.val());
      $.post("/Home/User/oauth_register_code", {'invatation_code':code_val,'t':Math.random()}, function(ret) {
          if(ret.status==0){
              //注册成功 自动登录
              $("#oauth_login").hide();
              $("#success").show();
              localStorage.setItem("DESIGN_COUPON",1);  //要弹出优惠券标识
              setTimeout('$("#success").hide();location.reload();',3000);
          }else if(ret.status==-1){
              $("#oauth_error").html(ret.msg);
          }
      });
  });
  $("#mobile_yzm,#nickname,#invatation_code").keydown(function(e) {
      if(e.keyCode==13){
          $("#button_step2").click();
      }
  });
  $("#mobile_yzm").keyup(function(event) {
    /* Act on the event */
      $("#mobile_yzm_error").html('');
  });
  $("#nickname").keyup(function(event) {
    /* Act on the event */
      $("#nickname_error").html('');
  });
  $("#button_step2").click(function(){
      // if(!$("#read_about").hasClass('active')){
      //     return false;
      // }
      var flag = false;
      var mobile = $.trim($("#mobile_step1").val());
      var password = $.trim($("#password_step1").val());
      if(mobile=='' || password==''){
        $("#nickname_error").html('手机号或密码不能为空');
        flag = true;
      }
      var mobile_yzm = $.trim($("#mobile_yzm").val());
      var nickname = $.trim($("#nickname").val());
      var invatation_code = $.trim($("#invatation_code").val());
      if(mobile_yzm==''){
          $("#mobile_yzm_error").html('请输入你的验证码');
          flag = true;
      }
      if(nickname==''){
          $("#nickname_error").html('昵称不能为空');
          flag = true;
      }
      if(flag){
          return false;
      }
      $.post("/Home/User/register", {'mobile':mobile ,'password':password,'yzm':mobile_yzm,'nickname':nickname,'invatation_code':invatation_code,'step':2,'t':Math.random()}, function(ret) {
          if(ret.status==0){
              //注册成功 自动登录
              $("#register_step2").hide();
              $("#success").show();
              localStorage.setItem("DESIGN_COUPON",1);  //要弹出优惠券标识
              setTimeout('$("#success").hide();location.reload();',3000);
          }else if(ret.status==-1){
              if(ret.type=='nickname'){
                  $("#nickname_error").html(ret.msg);
              }
              if(ret.type=='yzm'){
                  $("#mobile_yzm_error").html(ret.msg);
              }
              if(ret.type=='code'){
                  $("#invatation_code_error").html(ret.msg);
              }
          }
      });
  });
  // 取得cookie
  function getCookie(name) {
      var nameEQ = name + '='
      var ca = document.cookie.split(';') // 把cookie分割成组
      for (var i = 0; i < ca.length; i++) {
          var c = ca[i] // 取得字符串
          while (c.charAt(0) == ' ') { // 判断一下字符串有没有前导空格
              c = c.substring(1, c.length) // 有的话,从第二位开始取
          }
          if (c.indexOf(nameEQ) == 0) { // 如果含有我们要的name
              return unescape(c.substring(nameEQ.length, c.length)) // 解码并截取我们要值
          }
      }
      return false
  }

  function setCookie(name, value, seconds) {
      seconds = seconds || 0;   //seconds有值就直接赋值,没有为0,这个根php不一样。
      var expires = "";
      if (seconds != 0 ) {      //设置cookie生存时间
          var date = new Date();
          date.setTime(date.getTime()+(seconds*1000));
          expires = "; expires="+date.toGMTString();
      }
      document.cookie = name+"="+escape(value)+expires+"; path=/";   //转码并赋值
  }


  //注册验证 获取验证码
  // $("#get_yzm").click(function(){
  //     var obj = $(this)[0];
  //     var mobile = $.trim($("#mobile_step1").val());
  //     $.post("/Home/User/get_code", {'mobile':mobile ,'t':Math.random()}, function(ret) {
  //         if(ret.status==0){
  //             //发送成功
  //             $(obj).css({"cursor":'default'});
  //             settime(obj);
  //         }else if(ret.status==-1){
  //           alert(ret.msg);
  //         }
  //     });
  // });

  //重置密码
  $("#mobile_reset,#yzm_reset,#password_reset").keydown(function(e) {
      if(e.keyCode==13){
          $("#button_reset").click();
      }
  });
  $("#button_reset").click(function(){
      var mobile = $.trim($("#mobile_reset").val());
      var yzm = $.trim($("#yzm_reset").val());
      var password = $.trim($("#password_reset").val());
      if(mobile=='' || password==''){
        alert('手机号或密码不能为空!');
        return false;
      }
      if(yzm==''){
        alert('验证码不能为空!');
        return false;
      }
      $.post("/Home/User/reset_password", {'mobile':mobile ,'password':password,'yzm':yzm,'t':Math.random()}, function(ret) {
          if(ret.status==0){
              //重置成功
              $("#reset_password").hide();
              $("#reset_success").show();
              setTimeout('$("#reset_success").hide();',3000);
          }else if(ret.status==-1){
            alert(ret.msg);
          }else if(ret.status==1){
              location.href = '/Home/Index/index';
          }
      });

  });

var countdown=60;
function settime(obj) {
    if (countdown == 0) {
        $(obj).text('获取验证码');
        $(obj).css({"cursor":'pointer'});
        countdown = 60;
    } else {
        $(obj).text(countdown+'秒');
        countdown--;
        setTimeout(function() {
            settime(obj)
        },1000)
    }
}

//重置密码 发送验证码
// $("#get_yzm_forget").click(function(){
//     var obj = $(this)[0];
//     var mobile = $.trim($("#mobile_reset").val());
//     $.post("/Home/User/get_code", {'mobile':mobile ,'t':Math.random()}, function(ret) {
//         if(ret.status==0){
//             //发送成功
//             settime(obj);
//             $(obj).css({"cursor":'default'});
//         }else if(ret.status==-1){
//           alert(ret.msg);
//         }
//     });
// });

</script>
<script src="/Public/statics/homepage/js/sm.js?v=1.01"></script>
<script src="/Public/statics/homepage/plugin/swiper/js/swiper.min.js"></script>
<script src="/Public/statics/homepage/js/base.js?v=3.33"></script>
<script>             
$(function () {
    //去除页面底部滚动条
    $("body").css({overflow:"auto"});
});

</script>
</body>
</html>

Document

llms-full.txt

Not stored for this site.