askbot-dragon 1.7.93-beta → 1.7.94-beta

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": "1.7.93-beta",
3
+ "version": "1.7.94-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -15,10 +15,10 @@
15
15
  fit="cover">
16
16
  </el-image>
17
17
  <div class="checkIcon"
18
- :class="checkImage === item.url ? 'activeCheckIcon' : 'noCheckIcon'"
18
+ :class="checkImage && checkImage.url === item.url ? 'activeCheckIcon' : 'noCheckIcon'"
19
19
  @click="selectImage(item)"
20
20
  >
21
- <div class="centerIcon" v-if="checkImage === item.url">
21
+ <div class="centerIcon" v-if="checkImage && checkImage.url === item.url">
22
22
  </div>
23
23
  </div>
24
24
  </div>
@@ -66,14 +66,13 @@ export default {
66
66
  if (this.disabled){
67
67
  return
68
68
  }
69
- this.checkImage = item.url;
70
- this.$emit('selectImage',item)
69
+ this.checkImage = item;
71
70
  },
72
71
  imageSelectionConfirm(){
73
72
  if (this.disabled){
74
73
  return
75
74
  }
76
- this.$emit('imageSelectionConfirm',this.msg,this.checkImage)
75
+ this.$emit('imageSelectionConfirm',this.checkImage,this.msg)
77
76
  }
78
77
  }
79
78
  };
@@ -53,7 +53,7 @@ export default {
53
53
  if (this.disabled){
54
54
  return
55
55
  }
56
- this.$emit('multipleChoiceConfirm',this.msg,this.checkList)
56
+ this.$emit('multipleChoiceConfirm',this.checkList,this.msg)
57
57
  }
58
58
  }
59
59
  };
@@ -62,7 +62,7 @@ export default {
62
62
  <style scoped lang="less">
63
63
  .multipleChoiceAnswer{
64
64
  .multipleText{
65
- margin-bottom: 10px;
65
+ //margin-bottom: 10px;
66
66
  }
67
67
  .multipleList{
68
68
  display: flex;
@@ -47,7 +47,7 @@ export default {
47
47
  .singleChoiceAnswer{
48
48
 
49
49
  .singleChoiceText{
50
- padding-bottom: 10px;
50
+ //padding-bottom: 10px;
51
51
  }
52
52
  .optionsList {
53
53
  padding-top: 4px;