- 分析数据:
-
- {{ text }}
-
-
-
-
-
- 情感分析
- 清空
+
+
+
-
+ 分析数据:
+
-
+ {{ text.name }}
+
+
+
+
+
+ 情感分析
+ 清空
+
- 分析结果:
- 下载
-
+
词频列表
-你可以对词频词语进行修改删除以及增加,频次数越大,显示越大,最多200关键词。
-
-
-
-
-
- 频次>=
-
+
+ 分析结果:
+ 下载
+
-
-
-
-
+
+
+
+
+
+
+
+
+ 词频列表
+你可以对词频词语进行修改删除以及增加,频次数越大,显示越大,最多200关键词。
+
+
+
+
+ 频次>=
+
+
+
+ 词语长度>=
+
+
+
+
-
- 词语长度>=
-
+
-
+
+
+
+
+
+ 正向情感
+
+
+
+
+
+ 负向情感
+
+ {{ g_emotionAnalysis == 0 ? "情感偏负向" : g_emotionAnalysis == 1 ? "情感偏中性" : "情感偏正向" }}
+
+
+
+
{{ sentiment == 0 ? "负向评价" : sentiment == 1 ? "中性评价" : "正向评价" }}:
+
+ {{ items.prop + items.adj }}
+
+
+
实训任务提交
@@ -112,42 +144,33 @@
-
-
-
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
@@ -160,14 +183,21 @@
@@ -421,8 +634,6 @@ const sentimentAnalysis = () => {
}
}
.app-main {
- // background-color: #f5f5f5;
- min-height: 965px;
margin: 5px 20px 0;
height: 100%;
display: flex;
@@ -430,7 +641,7 @@ const sentimentAnalysis = () => {
.main-left {
//水平居中
flex-direction: column;
- min-height: 965px;
+ // min-height: 965px;
display: flex;
width: 205px;
height: 100%;
@@ -476,9 +687,9 @@ const sentimentAnalysis = () => {
}
}
.main-right {
- width: 1639px;
+ width: 100%;
// height: 100%;
- padding: 20px;
+ // padding: 20px;
border: 1px solid #0452c6;
.text-type {
margin: 29px 0 20px 0px;
@@ -489,16 +700,26 @@ const sentimentAnalysis = () => {
--el-button-bg-color: #041d3b;
--el-button-border-color: #1983dd;
}
+ .btnActive {
+ background: #409eff;
+ color: #ffffff;
+ }
}
.analysis {
- .el-textarea {
+ margin-top: 10px;
+ :deep(.el-textarea) {
height: 343px;
background: #002652;
border-radius: 10px;
- :deep(.el-textarea__inner) {
+ .el-textarea__inner {
min-height: 343px !important;
background: transparent;
- box-shadow: 0 0 0 1px #1983dd;
+ box-shadow: 0 0 0 0px #1983dd !important;
+ border: 1px solid #1983dd;
+ color: #ffffff;
+ }
+ .el-input__count {
+ background: transparent !important;
color: #ffffff;
}
}
@@ -530,6 +751,8 @@ const sentimentAnalysis = () => {
}
}
.analysisResults {
+ transition: all 6s;
+
.el-button {
width: 89px;
height: 31px;
@@ -570,6 +793,109 @@ const sentimentAnalysis = () => {
margin-right: 55px;
}
}
+ .emotion_analysis {
+ position: relative;
+ display: flex;
+ // align-items: center;
+ justify-content: center;
+ gap: 30px;
+ color: #ffffff;
+ font-size: 14px;
+ height: 180px;
+ margin-top: 40px;
+ .emotion_analysis-ani-in-ri,
+ .emotion_analysis-ani-in-le {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+ .emotion_analysis_title {
+ position: absolute;
+ top: 0px;
+ right: 48%;
+ font-size: 24px;
+ font-weight: normal;
+ }
+ :deep(.el-progress-bar__outer) {
+ background-color: #036fe2;
+ }
+ }
+ .comment-opinion {
+ padding: 30px 20px 0px 90px !important;
+
+ .result {
+ height: 40px;
+ -webkit-text-size-adjust: 100%;
+ font: 14px BlinkMacSystemFont, Roboto, Helvetica Neue, Helvetica, PingFangSC-Regular, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
+ -webkit-tap-highlight-color: transparent;
+ -webkit-font-smoothing: antialiased;
+ font-family: -apple-system, BlinkMacSystemFont, SF Pro SC, SF Pro Text, Helvetica Neue, Helvetica, PingFang SC, Segoe UI, Roboto, Hiragino Sans GB, arial, microsoft yahei ui, Microsoft YaHei, SimSun, sans-serif;
+ font-weight: 400;
+ position: relative;
+ padding: 8px 0 8px 55px;
+ margin-right: 1px;
+ color: #ffffff;
+ .result-img {
+ -webkit-text-size-adjust: 100%;
+ font: 14px BlinkMacSystemFont, Roboto, Helvetica Neue, Helvetica, PingFangSC-Regular, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
+ -webkit-tap-highlight-color: transparent;
+ -webkit-font-smoothing: antialiased;
+ font-family: -apple-system, BlinkMacSystemFont, SF Pro SC, SF Pro Text, Helvetica Neue, Helvetica, PingFang SC, Segoe UI, Roboto, Hiragino Sans GB, arial, microsoft yahei ui, Microsoft YaHei, SimSun, sans-serif;
+ font-weight: 400;
+ position: absolute;
+ top: 8px;
+ left: 0;
+ width: 26px;
+ height: 26px;
+ border-radius: 50%;
+ background-size: contain;
+ background-repeat: no-repeat;
+ background-image: url(../../../assets/images/笑脸.png);
+ background-color: #ff6b0f;
+ }
+ .result-neg {
+ position: absolute;
+ top: 8px;
+ left: 0;
+ width: 26px;
+ height: 26px;
+ border-radius: 50%;
+ background-size: contain;
+ background-repeat: no-repeat;
+ background-image: url(../../../assets/images/哭脸.png);
+ background-color: #60aefd;
+ }
+ .result-title {
+ line-height: 26px;
+ font-size: 14px;
+ }
+ .result-view {
+ position: relative;
+ display: inline-block;
+ padding: 0 10px;
+ margin-right: 2px;
+ line-height: 26px;
+ font-size: 14px;
+ top: -26px;
+ left: 61px;
+ .result-bar {
+ position: absolute;
+ top: 50%;
+ right: -1px;
+ transform: translateY(-50%);
+ height: 15px;
+ width: 1px;
+ color: #d8d8d8;
+ border-right: 1px solid #d8d8d8;
+ }
+ }
+ .result-view:last-child {
+ .result-bar {
+ border: none;
+ }
+ }
+ }
+ }
}
:deep(.el-form-item__label) {
color: #ffffff;
@@ -590,4 +916,13 @@ p {
color: #ffffff !important;
font-size: 14px;
}
+:deep(.pagination-container .el-pagination) {
+ // 去除定位
+ position: static;
+}
+:deep(.demo-form-inline) {
+ .el-form-item__content {
+ flex-wrap: nowrap !important;
+ }
+}