askbot-dragon 0.6.30 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "0.6.30",
3
+ "version": "0.7.3",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
package/src/App.vue CHANGED
@@ -6,7 +6,6 @@
6
6
 
7
7
  <script>
8
8
  import ConversationContainer from './components/ConversationContainer.vue'
9
-
10
9
  export default {
11
10
  name: 'App',
12
11
  components: {
@@ -1,8 +1,8 @@
1
1
  @font-face {
2
2
  font-family: 'iconfont'; /* Project id 2913049 */
3
- src: url('//at.alicdn.com/t/font_2913049_baxww6uvzup.woff2?t=1642737399832') format('woff2'),
4
- url('//at.alicdn.com/t/font_2913049_baxww6uvzup.woff?t=1642737399832') format('woff'),
5
- url('//at.alicdn.com/t/font_2913049_baxww6uvzup.ttf?t=1642737399832') format('truetype');
3
+ src: url('//at.alicdn.com/t/font_2913049_fhimnf31slu.woff2?t=1644465476099') format('woff2'),
4
+ url('//at.alicdn.com/t/font_2913049_fhimnf31slu.woff?t=1644465476099') format('woff'),
5
+ url('//at.alicdn.com/t/font_2913049_fhimnf31slu.ttf?t=1644465476099') format('truetype');
6
6
  }
7
7
 
8
8
  .iconfont {
@@ -12,6 +12,6 @@
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
14
  }
15
- .arsenalchess-pawn-solid:before {
16
- content: "\e718";
15
+ .guoran-arsenalchess-pawn-solid1:before {
16
+ content: "\e77f";
17
17
  }
@@ -19,6 +19,8 @@
19
19
  </div>
20
20
  </voice-component>-->
21
21
  <!-- 点选 -->
22
+ <div v-html="htmlContainer">
23
+ </div>
22
24
  <answer-radio :msg="answerRadios"></answer-radio>
23
25
  <action-send-to-bot :msg="answerRadios"></action-send-to-bot>
24
26
  <ticket-message :content="contents"></ticket-message>
@@ -33,6 +35,7 @@
33
35
  <answer-dissatisfaction :msg="answerDiss"></answer-dissatisfaction>
34
36
  <feed-back :feedBack="feedBack"></feed-back>
35
37
  <voice-compontent></voice-compontent>
38
+
36
39
  <!-- <FileType :urls="urls" :color="black"></FileType>-->
37
40
  <!-- <FileType :urls="urls" :color="black"></FileType>
38
41
  <chat-content :messageList="messageList"></chat-content>-->
@@ -1157,7 +1160,8 @@ export default {
1157
1160
  }
1158
1161
  },
1159
1162
  type:'answer_radio'
1160
- }
1163
+ },
1164
+ htmlContainer:'<input placeholder="请输入"></input>'
1161
1165
  };
1162
1166
  },
1163
1167
  methods: {
@@ -35,6 +35,7 @@ export default {
35
35
 
36
36
  <style scoped lang="less">
37
37
  .answer-dissatisfaction{
38
+ min-width: 100px;
38
39
  .satisfaction-reply-text{
39
40
  word-wrap: break-word;
40
41
  word-break: break-all;
@@ -12,7 +12,7 @@
12
12
  :src="src"
13
13
  controls="controls"
14
14
  x5-video-player-type="h5-page"
15
- style="object-fit: contain;width: 240px;height: 160px;background-color: black;border-radius: 17px"
15
+ style="object-fit: contain;width: calc(100vw - 139px);height: 160px;background-color: black;border-radius: 17px;max-width: 230px;"
16
16
  class="video-player vjs-custom-skin"
17
17
  :id="msg.keyId"/>
18
18
  </div>
@@ -21,7 +21,7 @@
21
21
  <!-- LPY 原生宽度适配有bug,弃用 -->
22
22
  <img
23
23
  :src="msg.content.url"
24
- style="height: auto; width: auto;max-width: 240px;border-radius: 17px"
24
+ style="height: auto; width: calc(100vw - 137px);border-radius: 17px;max-width: 230px"
25
25
  @click="onImageClick(msg.content.url)"
26
26
  class="img-class"
27
27
  />
@@ -51,12 +51,11 @@
51
51
  const regex = new RegExp("<img", "gi");
52
52
  return html.replace(
53
53
  regex,
54
- "<img style='max-width: 100%;' onclick='imageOnClick(this)'"
54
+ "<img style='max-width: 230px;' onclick='imageOnClick(this)'"
55
55
  );
56
56
  },
57
57
  },
58
58
  mounted() {
59
- console.debug('msg',this.msg)
60
59
  },
61
60
  methods:{
62
61
  // 将匹配结果替换表情图片
@@ -87,8 +86,8 @@
87
86
 
88
87
  }
89
88
  .answer-rich-text{
90
- padding-bottom: 10px;
91
- border-bottom: 1px solid #EEEEEE;
89
+ /*padding-bottom: 10px;
90
+ border-bottom: 1px solid #EEEEEE;*/
92
91
  }
93
92
  }
94
93
 
@@ -1631,7 +1631,7 @@ export default {
1631
1631
  }
1632
1632
  }
1633
1633
  .pcFormClass{
1634
- /* width: 300px;*/
1634
+ width: 400px;
1635
1635
  margin: 0 auto;
1636
1636
  .field-item{
1637
1637
  padding: 8px 0;
@@ -1710,9 +1710,8 @@ export default {
1710
1710
  }
1711
1711
  .remPhoneClassForm{
1712
1712
  .mobileFormClass{
1713
- /* width: 80vw;*/
1713
+ width: calc(100vw - 120px);
1714
1714
  .form-field-item{
1715
- /* border-bottom: 1px solid #ebebeb;*/
1716
1715
  .form-field-item-value{
1717
1716
  /deep/.van-cell{
1718
1717
  flex-direction: column;
@@ -1808,24 +1807,24 @@ export default {
1808
1807
  }
1809
1808
  /deep/.van-radio-group--horizontal{
1810
1809
  .van-radio{
1811
- min-width: 130px;
1810
+ min-width: 100px;
1812
1811
  max-width: 260px;
1813
1812
  flex: none;
1814
1813
  }
1815
1814
  .van-radio--horizontal{
1816
1815
  padding: 0.3rem 0;
1817
- margin-right: 0;
1816
+ margin-right: 6px;
1818
1817
  }
1819
1818
  }
1820
1819
  /deep/.van-checkbox-group--horizontal{
1821
1820
  .van-checkbox{
1822
- min-width: 130px;
1821
+ min-width: 100px;
1823
1822
  max-width: 260px;
1824
1823
  flex: none;
1825
1824
  }
1826
1825
  .van-checkbox--horizontal{
1827
1826
  padding: 0.3rem 0;
1828
- margin-right: 0;
1827
+ margin-right: 6px;
1829
1828
  }
1830
1829
  }
1831
1830
  /deep/.van-button--info{
@@ -62,16 +62,6 @@
62
62
  /* this.increaseNumber(display, dec, 'dec');*/
63
63
  })
64
64
  },1000)
65
- /* const displays = document.querySelectorAll('.note-display');
66
- displays.forEach(display => {
67
- let note = parseFloat(display.dataset.note);
68
- let [int, dec] = display.dataset.note.split('.');
69
- [int, dec] = [Number(int), Number(dec)];
70
- this.strokeTransition(display, note);
71
- this.increaseNumber(display, this.dataNote, 'int');
72
- /!* this.increaseNumber(display, dec, 'dec');*!/
73
- })*/
74
-
75
65
  },
76
66
  watch:{
77
67
  dataNote:{
@@ -101,7 +91,6 @@
101
91
  #loading-process{
102
92
  height: 100px;
103
93
  width: 100px;
104
- position: relative;
105
94
  .bg-color{
106
95
  background-color:#000000 ;
107
96
  opacity: 0.4;
@@ -11,11 +11,11 @@
11
11
  <el-button plain size="small" @click="submitClick" :disabled="disableds" >{{submitValue}}</el-button>
12
12
  </div>
13
13
  <div v-if="isCompany">
14
- <div v-if="single === true" style="border-top: 1px dashed #ebebeb;display: flex;justify-content: space-between" class="editMessage">
14
+ <div v-if="single === true" class="editMessage">
15
15
  <el-input v-model="input" placeholder="请输入内容" class="inputClass" @input="testClick" @blur="inputBlur"></el-input>
16
16
  <!-- <span @click="quedingClick" style="display: flex;align-items: center"><i class="el-icon-success" style="color: #4C61E1;font-size: 32px;cursor: pointer"></i></span>
17
17
  --> </div>
18
- <div v-if="date" style="border-top: 1px dashed #ebebeb;display: flex;justify-content: space-between" class="editMessage">
18
+ <div v-if="date" class="editMessage">
19
19
  <el-date-picker
20
20
  v-model="dateValue"
21
21
  type="date"
@@ -28,7 +28,7 @@
28
28
  </el-date-picker>
29
29
  <!-- <span @click="quedingClick" style="display: flex;align-items: center"><i class="el-icon-success" style="color: #4C61E1;font-size: 32px;cursor: pointer"></i></span>
30
30
  --> </div>
31
- <div v-if="time" style="border-top: 1px dashed #ebebeb;display: flex;justify-content: space-between" class="editMessage">
31
+ <div v-if="time" class="editMessage">
32
32
  <el-time-picker
33
33
  v-model="timeValue"
34
34
  placeholder="任意时间点"
@@ -39,7 +39,7 @@
39
39
  </el-time-picker>
40
40
  <!-- <span @click="quedingClick" style="display: flex;align-items: center"><i class="el-icon-success" style="color: #4C61E1;font-size: 32px;cursor: pointer"></i></span>
41
41
  --> </div>
42
- <div v-if="dateTime" style="border-top: 1px dashed #ebebeb;" class="editMessage">
42
+ <div v-if="dateTime" class="editMessage">
43
43
  <el-date-picker
44
44
  v-model="dateTimeValue"
45
45
  type="datetime"
@@ -91,7 +91,7 @@
91
91
  </div>-->
92
92
  </div>
93
93
  <div v-if="isPhone">
94
- <div v-if="single" style="border-top: 1px dashed #ebebeb;" class="editMessage">
94
+ <div v-if="single" class="editMessage">
95
95
  <el-input v-model="input" placeholder="请输入内容" class="inputClass" @input="testClick" @blur="inputBlur"></el-input>
96
96
  <!-- <span @click="quedingClick" style="display: flex;align-items: center"><i class="el-icon-success" style="color: #4C61E1;font-size: 32px;cursor: pointer"></i></span>
97
97
  --> </div>
@@ -845,6 +845,13 @@ export default {
845
845
  <style lang="less">
846
846
  @import "../../assets/less/common.css";
847
847
  #textMessage{
848
+ min-width: 200px;
849
+ .editMessage{
850
+ display: flex;
851
+ justify-content: space-between;
852
+ margin-top: 10px;
853
+ border-top: 1px dashed #ebebeb;
854
+ }
848
855
  #submit{
849
856
  margin-top: 10px;
850
857
  display: flex;
@@ -903,10 +910,7 @@ export default {
903
910
  }
904
911
  }
905
912
 
906
- .editMessage{
907
- display: flex;
908
- justify-content: space-between;
909
- }
913
+
910
914
  }
911
915
  .van-cell::after{
912
916
  content: none!important;
@@ -3,7 +3,7 @@
3
3
  <div id="voice-component-container">
4
4
  <div id="voice-component-c">
5
5
  <div class="voice-btn">
6
- <i class="iconfont arsenalchess-pawn-solid"></i>
6
+ <i class="iconfont guoran-arsenalchess-pawn-solid1"></i>
7
7
  </div>
8
8
  </div>
9
9
  <div class="close-voice" @click="closeVoice">
@@ -45,7 +45,7 @@ export default {
45
45
  #voice-component-container{
46
46
  position: relative;
47
47
  #voice-component-c{
48
- height: 120px;
48
+ height: 90px;
49
49
  width: 130%;
50
50
  position: relative;
51
51
  left: -15%;
@@ -62,7 +62,7 @@ export default {
62
62
  justify-content: center;
63
63
  i{
64
64
  color: #366aff;
65
- font-size: 30px;
65
+ font-size: 38px;
66
66
  }
67
67
  }
68
68
  }