ソースを参照

词云停用词表修改

natasha 1 年間 前
コミット
4ebea91013
1 ファイル変更6 行追加5 行削除
  1. 6 5
      public/ciyun/ciyunindex.html

+ 6 - 5
public/ciyun/ciyunindex.html

@@ -140,7 +140,7 @@
         }
         
         .stop_word_table .bottom button {
-            width: 173.5px;
+            width: 100%;
             height: 48px;
             font-weight: bold;
             font-size: 16px;
@@ -325,8 +325,8 @@
                     <img id="closeWord" src="./img/close.png" alt="">
                 </div>
                 <div class="top">
-                    <input type="" name="" value="" id="wordContent" />
-                    <button id="seekWordBtn">检索</button>
+                    <input type="" name="" value="" id="addwordContent" />
+                    <button id="addSubmit">添加</button>
                 </div>
                 <p style="text-align: right; margin-top: 16px; font-size: 16px; color: #000000">
@@ -344,7 +344,7 @@
                 </div>
                 <div class="bottom">
                     <button class="close" id="emptyWord">清空</button>
-                    <button class="add" id="addWord">添加</button>
+                    <!-- <button class="add" id="addWord">添加</button> -->
                 </div>
             </div>
             <div class="stop_word_table" id="addwordDom" style="display: none;">
@@ -817,11 +817,12 @@
                 stopWordList = JSON.parse(JSON.stringify(oldstopWordList));
             }
             $("#stop_word_table").empty()
+
+            // < span style = "margin-right: 24px" id = "edit${i}" @click="edit(item)" > 编辑</span >
             for (let i = 0; i < stopWordList.length; i++) {
                 let node = ` <div class="one">
                         <div>${stopWordList[i]}</div>
                         <div class="right">
-                            <span style="margin-right: 24px" id="edit${i}" @click="edit(item)">编辑</span>
                             <span @click="deleteOne(item, i)" id="delete${i}">删除</span>
                         </div>
                     </div>`