Skip to content

Commit 428cfd7

Browse files
committed
Revert "Revert "Revert "CLOUD-14729 前端 - 希望会话结束的时候 ,可以让用户先打问题是否解决的标签,在打满意度评分"""
This reverts commit 209a9c0.
1 parent 89b4784 commit 428cfd7

File tree

7 files changed

+2
-395
lines changed

7 files changed

+2
-395
lines changed

src/font/iconfont.eot

-32.1 KB
Binary file not shown.

src/font/iconfont.svg

Lines changed: 2 additions & 324 deletions
Loading

src/font/iconfont.ttf

-32.1 KB
Binary file not shown.

src/font/iconfont.woff

-20.6 KB
Binary file not shown.

src/js/app/pages/main/satisfaction.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ var loading = require("./uikit/loading");
99

1010
var dom;
1111
var starsUl;
12-
var resolvedBtn;
1312
var commentDom;
1413
var tagContainer;
1514
var dialog;
@@ -33,9 +32,6 @@ function _init(){
3332
apiHelper.getSatisfactionTipWord().then(function(tipWord){
3433
dom = utils.createElementFromHTML([
3534
"<div class=\"wrapper\">",
36-
"<div class=\"resolveCon\"><span class=\"title\">问题解决评价引导语?</span>",
37-
"<div><span class=\"resolve-btn selected resolved\" data-num = \"1\"><i class=\"icon-resolved\"></i>已解决</span>",
38-
"<span class=\"resolve-btn unresolved\" data-num = \"2\"><i class=\"icon-unresolved\"></i>未解决</span></div></div>",
3935
"<span class=\"title\">" + tipWord + "</span>",
4036
"<ul></ul>",
4137
"<div class=\"tag-container\"></div>",
@@ -45,13 +41,6 @@ function _init(){
4541
starsUl = dom.querySelector("ul");
4642
commentDom = dom.querySelector("textarea");
4743
tagContainer = dom.querySelector(".tag-container");
48-
resolvedBtn = dom.querySelectorAll(".resolve-btn");
49-
50-
utils.live(".resolve-btn", "click", function(){
51-
utils.removeClass(resolvedBtn, "selected");
52-
utils.addClass(this, "selected");
53-
console.log(this.dataset.num);
54-
});
5544

5645
utils.live("li", "click", function(){
5746
var level = +this.getAttribute("data-level");

src/scss/icon.scss

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,3 @@
510510
content: "\a025";
511511
}
512512
}
513-
.icon-resolved{
514-
&:before {
515-
@extend .icon-base;
516-
content: "\e661";
517-
}
518-
}
519-
.icon-unresolved{
520-
&:before {
521-
@extend .icon-base;
522-
content: "\e621";
523-
}
524-
}

src/scss/ui.scss

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -200,54 +200,6 @@
200200
width: 95%;
201201
max-width: 400px;
202202
margin: auto;
203-
.resolveCon{
204-
margin-bottom:15px;
205-
>div{
206-
width: 305px;
207-
margin: 0 auto;
208-
}
209-
.title{
210-
margin-bottom:15px;
211-
}
212-
.resolved{
213-
margin-right: 40px;
214-
i{
215-
margin-right: 8px;
216-
position: relative;
217-
top: -2px;
218-
}
219-
}
220-
.unresolved{
221-
i{
222-
margin-right: 8px;
223-
position: relative;
224-
top:1px;
225-
}
226-
}
227-
.resolved,.unresolved{
228-
text-align: center;
229-
display: inline-block;
230-
width: 130px;
231-
height: 40px;
232-
line-height: 40px;
233-
font-size: 15px;
234-
border-radius: 5px;
235-
border:1px solid #ccc;
236-
cursor:pointer;
237-
i{color:#666}
238-
}
239-
.selected{
240-
background: #1ba8ed;
241-
border:1px solid #1ba8ed;
242-
color: #fff;
243-
i{color:#fff}
244-
}
245-
i{
246-
margin-right: 8px;
247-
position: relative;
248-
top: -2px;
249-
}
250-
}
251203
.title{
252204
font-size: 14px;
253205
display: inline-block;

0 commit comments

Comments
 (0)