...
|
...
|
@@ -46,21 +46,21 @@ |
|
|
<link rel="stylesheet" href="/pfcms/js/emoji/emojionearea.css">
|
|
|
<script type="text/javascript" src="/pfcms/js/emoji/emojionearea.js"></script>
|
|
|
</head>
|
|
|
<body class="easyui-layout" >
|
|
|
<body class="easyui-layout " fit="true">
|
|
|
<div region="north" style="height: 100px;">
|
|
|
<script>
|
|
|
document.write(addHead('种草社区管理', '种草内容发布'));
|
|
|
</script>
|
|
|
|
|
|
</div>
|
|
|
<div region="center" id="labelGroupList" style="margin-left: 20px">
|
|
|
<div id="tt" class="easyui-layout" fit="true" style="overflow-y: scroll">
|
|
|
<div region="center" id="labelGroupList" style="margin-left: 20px;width: 100%">
|
|
|
<div id="tt" class="easyui-layout" style="overflow-y: scroll;overflow-x: auto;">
|
|
|
<form name="publishArticleForm" id="publishArticleForm" method="post" >
|
|
|
<div style="margin-top: 20px;margin-left: 30px">
|
|
|
<table border="0" style="width:95%;margin-top:5px;line-height:30px;" id="tab">
|
|
|
|
|
|
<tr style="height: 60px">
|
|
|
<td >
|
|
|
<td style="width:100% ">
|
|
|
<div style="float: left;width:60%;" >
|
|
|
<span style="color:red">*</span><label>选择用户</label> <br>
|
|
|
<input id="articleUid" name="authorUid" style="width:100% " class="easyui-textbox" /> <br>
|
...
|
...
|
@@ -72,15 +72,20 @@ |
|
|
</tr>
|
|
|
|
|
|
<tr style="height: 60px">
|
|
|
<td>
|
|
|
<td style="width:100%; word-wrap:break-word;" >
|
|
|
<span style="color:red">*</span><label>文字内容</label> <br>
|
|
|
<textarea rows="5" id="content" style="width:60%; white-space: pre-wrap;" name = "content" class="form-control" placeholder="请在这里输入1-500字的笔记" required="" maxlength="500"></textarea>
|
|
|
<span id="content-count">0</span>/500
|
|
|
<div style="width:600px; word-wrap:break-word;float: left;position: relative" >
|
|
|
<textarea rows="5" id="content" style="width:60%; white-space: pre-wrap;" name = "content" class="form-control" placeholder="请在这里输入1-500字的笔记" required="" maxlength="500"></textarea>
|
|
|
<!--<div style="position: absolute;bottom:0;right:-50px"> <span id="content-count">0</span>/500</div>-->
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<!--<div style="clear: both;"> <span id="content-count">0</span>/500</div>-->
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
<tr style="height: 60px">
|
|
|
<td>
|
|
|
<td style="width:100%;">
|
|
|
<label>选择标签</label> <br>
|
|
|
<span style="color:red">至多添加5个标签,非必填项</span><label></label><br>
|
|
|
<input id="labelId" name="labelId" class="easyui-combobox" style="width:60% "/>
|
...
|
...
|
@@ -152,33 +157,18 @@ |
|
|
// options
|
|
|
autoHideFilters: true,
|
|
|
autocomplete : false,
|
|
|
search :false,
|
|
|
recentEmojis: false,
|
|
|
tones: false,
|
|
|
filters: {
|
|
|
// see in source file
|
|
|
smileys_people: {
|
|
|
icon: "yum",
|
|
|
title: "Smileys & People",
|
|
|
emoji: "grinning grimacing grin joy smiley smile sweat_smile laughing innocent wink blush slight_smile " +
|
|
|
"upside_down relaxed yum relieved heart_eyes kissing_heart kissing kissing_smiling_eyes " +
|
|
|
"kissing_closed_eyes stuck_out_tongue_winking_eye stuck_out_tongue_closed_eyes stuck_out_tongue " +
|
|
|
"money_mouth nerd sunglasses hugging smirk no_mouth neutral_face expressionless unamused rolling_eyes " +
|
|
|
"thinking flushed disappointed worried angry rage pensive confused slight_frown frowning2 persevere " +
|
|
|
"confounded tired_face weary triumph open_mouth scream fearful cold_sweat hushed frowning anguished " +
|
|
|
"cry disappointed_relieved sleepy sweat sob dizzy_face astonished zipper_mouth mask thermometer_face " +
|
|
|
"head_bandage sleeping zzz poop smiling_imp imp japanese_ogre japanese_goblin skull ghost alien robot " +
|
|
|
"smiley_cat smile_cat joy_cat heart_eyes_cat smirk_cat kissing_cat scream_cat crying_cat_face " +
|
|
|
"pouting_cat raised_hands clap wave thumbsup thumbsdown punch fist v ok_hand raised_hand open_hands " +
|
|
|
"muscle pray point_up point_up_2 point_down point_left point_right middle_finger hand_splayed metal " +
|
|
|
"vulcan writing_hand nail_care lips tongue ear nose eye eyes bust_in_silhouette busts_in_silhouette " +
|
|
|
"speaking_head baby boy girl man woman person_with_blond_hair older_man older_woman man_with_gua_pi_mao " +
|
|
|
"man_with_turban cop construction_worker guardsman spy santa angel princess bride_with_veil walking " +
|
|
|
"runner dancer dancers couple two_men_holding_hands two_women_holding_hands bow information_desk_person " +
|
|
|
"no_good ok_woman raising_hand person_with_pouting_face person_frowning haircut massage couple_with_heart " +
|
|
|
"couple_ww couple_mm couplekiss kiss_ww kiss_mm family family_mwg family_mwgb family_mwbb family_mwgg " +
|
|
|
"family_wwb family_wwg family_wwgb family_wwbb family_wwgg family_mmb family_mmg family_mmgb family_mmbb " +
|
|
|
"family_mmgg womans_clothes shirt jeans necktie dress bikini kimono lipstick kiss footprints high_heel " +
|
|
|
"sandal boot mans_shoe athletic_shoe womans_hat tophat helmet_with_cross mortar_board crown school_satchel " +
|
|
|
"pouch purse handbag briefcase eyeglasses dark_sunglasses ring closed_umbrella"
|
|
|
}
|
|
|
animals_nature : true,
|
|
|
food_drink :true,
|
|
|
activity: true,
|
|
|
travel_places :true,
|
|
|
objects:true,
|
|
|
symbols: true,
|
|
|
flags:true
|
|
|
}
|
|
|
|
|
|
});
|
...
|
...
|
@@ -262,21 +252,25 @@ |
|
|
}
|
|
|
});
|
|
|
|
|
|
/*字数限制*/
|
|
|
$("#content").on("input propertychange", function() {
|
|
|
debugger
|
|
|
var $this = $(this);
|
|
|
var count = $this.val().length;
|
|
|
$("#content-count").text(count);
|
|
|
});
|
|
|
// /* 字数限制*/
|
|
|
// $("#content").on("input propertychange", function() {
|
|
|
// debugger
|
|
|
// var $this = $(this);
|
|
|
// var count = $this.val().length;
|
|
|
// $("#content-count").text(count);
|
|
|
// });
|
|
|
|
|
|
/*字数限制*/
|
|
|
$("#content").on("change", function() {
|
|
|
debugger
|
|
|
var $this = $(this);
|
|
|
var count = $this.val().length;
|
|
|
$("#content-count").text(count);
|
|
|
});
|
|
|
// /*字数限制*/
|
|
|
// $("#content").on("keydown keyup mousedown blur change", function() {
|
|
|
// debugger
|
|
|
// var $this = $(this);
|
|
|
// var count = $this.val().length;
|
|
|
// if(count>10){
|
|
|
// var text = $this.val().substring(0,10);
|
|
|
// $this.val(text);
|
|
|
// }
|
|
|
// $("#content-count").text(count);
|
|
|
// });
|
|
|
|
|
|
|
|
|
$("#labelId").combobox({
|
...
|
...
|
|