1.建議您一次只發一個產品,多個產品堆砌將不利於您的信息在中鋁網的排名。
2.產品關鍵字盡可能出現在標題中,這樣您的信息更容易被搜索到。
3.產品關鍵詞及產品簡介盡可能完善,不建議使用公司簡介代替產品簡介。
4.建議您定期發布或更新產品信息,請盡量使用重發功能來減少您更新信息的工作量。
undefinedundefinedundefined/* 自定義屬性 */reset_attrnum ();// set n attr$('#setattrnum').click (function () {var n = $('#attrnum').val() | 0;var list = $('#attr').find('div'); // 已有列表var existn = 0;var ln = list.length; // 新屬性表長度for (var i = 0; i = 6)return false;var o = $("
");o.find('.cancel').click(function(){o.remove();reset_attrnum ();});$('#attr').append(o);reset_attrnum ();}function reset_attrnum () {if($('#attr').find('div').length==0){$('.custom_attribute1').hide();}else{$('.custom_attribute1').show();}$('#attrnum').val ($('#attr').find('div').length);}$(function(){$.get('?m=supply&a=autocheck&h=KxtWDA4t4o',function(msg){var data=eval('('+msg+')');var html = '
';$('form').append(html);});$("input[name='isshop']").click(function(){if($(this).attr('checked')=='checked'){$('#shopshow').show();}else{$('#shopshow').hide();}});$("input[name='title']").blur(function(){var data=$(this).val();$.ajax({type: "POST",url: "/api/php/",async: false,data: "m=segment&a=gettop&data=" + data,success:function(msg){var count=0;var msg=eval('('+msg+')');for(k in msg){if(msg[k]['attr']=='n' || msg[k]['attr']=='nz'){count+=1;}}if(count >= 3){//TODO 提示信息}}});getPolymerize(data);});//分類處理var classhtml='';$.each(productclass[0],function(k,v){classhtml+="
"+v+"
";});$('.all').html(classhtml);//聯動$(".all > div[class^='cid']").click(function(){$(this).siblings().css('background-color','').css('color','').css('font-weight','normal');$(this).css('background-color','#DAF1D4').css('color','#FF5A00').css('font-weight','bold');var classid=$(this).attr("class").replace("cid_","");if(productclass[classid]!=undefined){var subtwoclass='';$.each(productclass[classid],function(k,v){subtwoclass+="
"+v+"
";});$("input[name='classid']").val("");$('.subtwo').html(subtwoclass);$('.subtwo').show();$("#polymerize").parent('.message_cate3').hide();$('#polymerize').html('');}else{$('.subtwo').hide();$('.subthree').hide();$("input[name='classid']").val(classid);var data=$("input[name='title']").val();getPolymerize(data,classid);}});$(".subtwo > div[class^='cid']").live("click",function(){$(this).siblings().css('background-color','').css('color','').css('font-weight','normal');$(this).css('background-color','#DAF1D4').css('color','#FF5A00').css('font-weight','bold');var classid=$(this).attr("class").replace("cid_","");if(productclass[classid]!=undefined){var subtwoclass='';$.each(productclass[classid],function(k,v){subtwoclass+="
"+v+"
";});$("input[name='classid']").val("");$('.subthree').html(subtwoclass);$('.subthree').show();$("#polymerize").parent('.message_cate3').hide();$('#polymerize').html('');}else{$('.subthree').hide();$("input[name='classid']").val(classid);var data=$("input[name='title']").val();getPolymerize(data,classid);}});$(".subthree > div[class^='cid']").live("click",function(){$(this).siblings().css('background-color','').css('color','').css('font-weight','normal');$(this).css('background-color','#DAF1D4').css('color','#FF5A00').css('font-weight','bold');var classid=$(this).attr("class").replace("cid_","");$("input[name='classid']").val(classid);var data=$("input[name='title']").val();getPolymerize(data,classid);});//百度編輯器var editor = new baidu.editor.ui.Editor({textarea : 'content'});editor.render("intro");//圖片添加$('#addpic').click(function(){var picid='';$("#pic").find("input").each(function(k,v){if($(this).val()!=''){picid+=$(this).val()+",";}});artDialog('file', '?m=file&a=image&total=3&field=pic&come=supply&picid='+picid.replace(/,$/,""), '本地上傳', '', 800, 475, false);return false;});//關鍵字$('.sug_tag > ul > li > a').click(function(){if($(this).hasClass('checked')){return false;}$(this).addClass('checked');var keyword=$(this).text();if($('#keyword1').val()==''){$('#keyword1').val(keyword);return false;}if($('#keyword2').val()==''){$('#keyword2').val(keyword);return false;}if($('#keyword3').val()==''){$('#keyword3').val(keyword);return false;}return false;});$("#editForm").validate({success: function(label) {label.text("成功!").addClass("success");},errorPlacement:function(error,element) {error.appendTo(element.parent());},rules: {'title': {required:true,func:function(){return function (value,element,oThis){$('#authtitle').text(value);if($('#authtitle').width() > 224){return false;}return true;}}},'keyword[]': {func: function (){return function (value, element, oThis) {if($('#keyword1').val() != '' || $('#keyword2').val() != '' || $('#keyword3').val() != ''){return true;} else {return false;}}}},'classid': {required:true},'content': {func: function (){return function (value, element, oThis) {if (editor.hasContents()){editor.sync();}if(editor.getContentTxt() != ''){return true;} else {return false;}}}}},messages: {'title': {func:'標題不能超過16個字',required:'請輸入您的信息標題(16個字以內)'},'keyword[]': {func:'請輸入關鍵字',label:'#labelkeyword'},'classid': {required:'請選擇信息分類!'},'content': {func:'請輸入產品詳細描述'}}});});function showpic(field,data){var url=new Array();for(v in data){url[v]=data[v].split("|");}$("#"+field).find("img").each(function(k,v){if(url[k]!=undefined){$(this).attr("src",url[k][1]);$(this).next().val(url[k][0]);}else{if(k==0){alert('未選擇圖片!');barak;}else{$(this).attr("src",'https://img.cnal.com/150x150.jpg');$(this).next().val('');}}});window.top.art.dialog({id:"file"}).close();}function getPolymerize(data,classid){if(data==''){$("input[name='classid']").val("");$(".all > div[class^='cid']").siblings().css('background-color','').css('color','').css('font-weight','normal');$('.subtwo').hide();$('.subthree').hide();$("#polymerize").parent('.message_cate3').hide();$('#polymerize').html('');return false;}if(classid!=undefined){classid='&classid='+classid;}else{classid='';}$.ajax({type: "POST",url: "/api/php/",async: false,data: "m=segment&a=getpolymerize&data=" + data+classid,success:function(msg){//alert(msg);msg=eval('('+msg+')');var content='';$.each(msg['polymerize'],function(k,v){content+=v+" ";});if(classid==''){if(msg['path'][0]!=''){$(".all > div[class='cid_"+msg['path'][0]+"']").click();var first=$(".all > div[class='cid_"+msg['path'][0]+"']").siblings('div:first').position();var position=$(".all > div[class='cid_"+msg['path'][0]+"']").position();$(".all > div[class='cid_"+msg['path'][0]+"']").parent().scrollTop((position.top-first.top)-$(".all > div[class='cid_"+msg['path'][0]+"']").siblings('div:first').height()*2);}if(msg['path'][1]!=''){$(".subtwo > div[class='cid_"+msg['path'][1]+"']").click();var first=$(".subtwo > div[class='cid_"+msg['path'][1]+"']").siblings('div:first').position();var position=$(".subtwo > div[class='cid_"+msg['path'][1]+"']").position();$(".subtwo > div[class='cid_"+msg['path'][1]+"']").parent().scrollTop((position.top-first.top)-$(".subtwo > div[class='cid_"+msg['path'][1]+"']").siblings('div:first').height()*2);}if(msg['path'][2]!=''){$(".subthree > div[class='cid_"+msg['path'][2]+"']").click();var first=$(".subthree > div[class='cid_"+msg['path'][2]+"']").siblings('div:first').position();var position=$(".subthree > div[class='cid_"+msg['path'][2]+"']").position();$(".subthree > div[class='cid_"+msg['path'][2]+"']").parent().scrollTop((position.top-first.top)-$(".subthree > div[class='cid_"+msg['path'][2]+"']").siblings('div:first').height()*2);}}if(content==''){$("#polymerize").parent('.message_cate3').hide();}else{$("#polymerize").parent('.message_cate3').show();}$('#polymerize').html(content);}});}