aicfe-answer-card 0.2.9 → 0.2.11

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/lib/mark-point.js CHANGED
@@ -1 +1 @@
1
- module.exports=function(t){var a={};function e(n){if(a[n])return a[n].exports;var o=a[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=a,e.d=function(t,a,n){e.o(t,a)||Object.defineProperty(t,a,{enumerable:!0,get:n})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,a){if(1&a&&(t=e(t)),8&a)return t;if(4&a&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&a&&"string"!=typeof t)for(var o in t)e.d(n,o,function(a){return t[a]}.bind(null,o));return n},e.n=function(t){var a=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(a,"a",a),a},e.o=function(t,a){return Object.prototype.hasOwnProperty.call(t,a)},e.p="/",e(e.s="13ed")}({"13ed":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t._self._c;return a("div",{staticClass:"mark-point"},[a("div",{staticClass:"mark-point__top-left",style:3===t.layout&&{top:"20px",left:"20px"},attrs:{"data-export_name":"左上标志点","data-scan-type":"absolute"}},[a("div",{staticClass:"mark-point__box"},t._l(t.pageShiftBinary,(function(t,e){return a("div",{staticClass:"mark-point__group"},[a("div",{key:e,class:[Number(t)?"mark-point__half":"mark-point__full"]})])})),0)]),a("div",{staticClass:"mark-point__top-right",style:3===t.layout&&{top:"20px",right:"20px"},attrs:{"data-export_name":"右上标志点","data-scan-type":"absolute"}},[a("div",{staticClass:"mark-point__box"},t._l(t.pageShiftBinary,(function(t,e){return a("div",{staticClass:"mark-point__group"},[a("div",{key:e,class:[Number(t)?"mark-point__half":"mark-point__full"]})])})),0)]),a("div",{staticClass:"mark-point__bottom-left",style:3===t.layout&&{bottom:"20px",left:"20px"},attrs:{"data-export_name":"左下标志点","data-scan-type":"absolute"}},[a("div",{staticClass:"mark-point__box"},t._l(t.pageShiftBinary,(function(t,e){return a("div",{staticClass:"mark-point__group"},[a("div",{key:e,class:[Number(t)?"mark-point__half":"mark-point__full"]})])})),0)]),a("div",{staticClass:"mark-point__bottom-center",style:3===t.layout&&{bottom:"20px"},attrs:{"data-export_name":"底部中心标志点_".concat(t.pageIndex),"data-scan-type":"absolute"}},[a("div",{staticClass:"mark-point__full"})]),a("div",{staticClass:"mark-point__bottom-right",style:3===t.layout&&{bottom:"20px",right:"20px"},attrs:{"data-export_name":"右下标志点","data-scan-type":"absolute"}},[a("div",{staticClass:"mark-point__box"},t._l(t.pageShiftBinary,(function(t,e){return a("div",{staticClass:"mark-point__group"},[a("div",{key:e,class:[Number(t)?"mark-point__half":"mark-point__full"]})])})),0)]),1===t.layout?a("div",{staticClass:"mark-point__top-center__one mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}}):t._e(),2===t.layout?a("div",[a("div",{staticClass:"mark-point__center-left__two mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-right__two mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_1"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-zero mark-point__full",attrs:{"data-export_name":"分栏中心标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center mark-point__full",attrs:{"data-export_name":"分栏中心标志点_".concat(t.pageIndex,"_1"),"data-scan-type":"absolute"}})]):t._e(),3===t.layout?a("div",[a("div",{staticClass:"mark-point__center-left__three mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-right__three mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_1"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-center__three mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_2"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-three__zero mark-point__full",attrs:{"data-export_name":"分栏中心标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-three__left mark-point__full",attrs:{"data-export_name":"分栏中心标志点_".concat(t.pageIndex,"_1"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-three__right mark-point__full",attrs:{"data-export_name":"分栏中心标志点_".concat(t.pageIndex,"_2"),"data-scan-type":"absolute"}})]):t._e(),a("div",{staticClass:"mark-point__left-one mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__left-two mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__right-one mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__right-two mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),2===t.layout?a("div",[a("div",{staticClass:"mark-point__center-one mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-two mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}})]):t._e(),3===t.layout?a("div",[a("div",{staticClass:"mark-point__center-left_one mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-left_two mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-right_one mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-right_two mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}})]):t._e()])},o=[],s={name:"AcMarkPoint",props:{pageIndex:{type:Number}},computed:{pageShiftBinary:function(){var t=this.pageIndex.toString(2).padStart(4,"0");return t.split("")},layout:function(){return this.$store.getters["AC/layout"]},positionStyle:function(){var t={"--coords":3===this.layout?"20px":"30px"};return t}}},r=s,i=e("2877"),_=Object(i["a"])(r,n,o,!1,null,null,null),l=_.exports;l.install=function(t){t.component(l.name,l)};a["default"]=l},2877:function(t,a,e){"use strict";function n(t,a,e,n,o,s,r,i){var _,l="function"===typeof t?t.options:t;if(a&&(l.render=a,l.staticRenderFns=e,l._compiled=!0),n&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),r?(_=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},l._ssrRegister=_):o&&(_=i?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),_)if(l.functional){l._injectStyles=_;var p=l.render;l.render=function(t,a){return _.call(a),p(t,a)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,_):[_]}return{exports:t,options:l}}e.d(a,"a",(function(){return n}))}});
1
+ module.exports=function(t){var a={};function e(n){if(a[n])return a[n].exports;var o=a[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=a,e.d=function(t,a,n){e.o(t,a)||Object.defineProperty(t,a,{enumerable:!0,get:n})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,a){if(1&a&&(t=e(t)),8&a)return t;if(4&a&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&a&&"string"!=typeof t)for(var o in t)e.d(n,o,function(a){return t[a]}.bind(null,o));return n},e.n=function(t){var a=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(a,"a",a),a},e.o=function(t,a){return Object.prototype.hasOwnProperty.call(t,a)},e.p="/",e(e.s="13ed")}({"13ed":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t._self._c;return a("div",{staticClass:"mark-point"},[a("div",{staticClass:"mark-point__top-left",style:3===t.layout&&{top:"20px",left:"20px"},attrs:{"data-export_name":"左上标志点","data-scan-type":"absolute"}},[a("div",{staticClass:"mark-point__box"},t._l(t.pageShiftBinary,(function(t,e){return a("div",{staticClass:"mark-point__group"},[a("div",{key:e,class:[Number(t)?"mark-point__half":"mark-point__full"]})])})),0)]),a("div",{staticClass:"mark-point__top-right",style:3===t.layout&&{top:"20px",right:"20px"},attrs:{"data-export_name":"右上标志点","data-scan-type":"absolute"}},[a("div",{staticClass:"mark-point__box"},t._l(t.pageShiftBinary,(function(t,e){return a("div",{staticClass:"mark-point__group"},[a("div",{key:e,class:[Number(t)?"mark-point__half":"mark-point__full"]})])})),0)]),a("div",{staticClass:"mark-point__bottom-left",style:3===t.layout&&{bottom:"20px",left:"20px"},attrs:{"data-export_name":"左下标志点","data-scan-type":"absolute"}},[a("div",{staticClass:"mark-point__box"},t._l(t.pageShiftBinary,(function(t,e){return a("div",{staticClass:"mark-point__group"},[a("div",{key:e,class:[Number(t)?"mark-point__half":"mark-point__full"]})])})),0)]),a("div",{staticClass:"mark-point__bottom-center",style:3===t.layout&&{bottom:"20px"},attrs:{"data-export_name":"底部中心标志点_".concat(t.pageIndex),"data-scan-type":"absolute"}},[a("div",{staticClass:"mark-point__full"})]),a("div",{staticClass:"mark-point__bottom-right",style:3===t.layout&&{bottom:"20px",right:"20px"},attrs:{"data-export_name":"右下标志点","data-scan-type":"absolute"}},[a("div",{staticClass:"mark-point__box"},t._l(t.pageShiftBinary,(function(t,e){return a("div",{staticClass:"mark-point__group"},[a("div",{key:e,class:[Number(t)?"mark-point__half":"mark-point__full"]})])})),0)]),1===t.layout?[a("div",{staticClass:"mark-point__top-left__one mark-point__full",attrs:{"data-export_name":"顶部左侧标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__top-right__one mark-point__full",attrs:{"data-export_name":"顶部右侧标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}})]:t._e(),2===t.layout?a("div",[a("div",{staticClass:"mark-point__center-left__two mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-right__two mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_1"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-zero mark-point__full",attrs:{"data-export_name":"分栏中心标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center mark-point__full",attrs:{"data-export_name":"分栏中心标志点_".concat(t.pageIndex,"_1"),"data-scan-type":"absolute"}})]):t._e(),3===t.layout?a("div",[a("div",{staticClass:"mark-point__center-left__three mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-right__three mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_1"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-center__three mark-point__full",attrs:{"data-export_name":"顶部中心标志点_".concat(t.pageIndex,"_2"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-three__zero mark-point__full",attrs:{"data-export_name":"分栏中心标志点_".concat(t.pageIndex,"_0"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-three__left mark-point__full",attrs:{"data-export_name":"分栏中心标志点_".concat(t.pageIndex,"_1"),"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-three__right mark-point__full",attrs:{"data-export_name":"分栏中心标志点_".concat(t.pageIndex,"_2"),"data-scan-type":"absolute"}})]):t._e(),a("div",{staticClass:"mark-point__left-one mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__left-two mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__right-one mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__right-two mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),2===t.layout?a("div",[a("div",{staticClass:"mark-point__center-one mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-two mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}})]):t._e(),3===t.layout?a("div",[a("div",{staticClass:"mark-point__center-left_one mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-left_two mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-right_one mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}}),a("div",{staticClass:"mark-point__center-right_two mark-point__pencil",style:t.positionStyle,attrs:{"data-scan-type":"absolute"}})]):t._e()],2)},o=[],s={name:"AcMarkPoint",props:{pageIndex:{type:Number}},computed:{pageShiftBinary:function(){var t=this.pageIndex.toString(2).padStart(4,"0");return t.split("")},layout:function(){return this.$store.getters["AC/layout"]},positionStyle:function(){var t={"--coords":3===this.layout?"20px":"30px"};return t}}},r=s,i=e("2877"),_=Object(i["a"])(r,n,o,!1,null,null,null),l=_.exports;l.install=function(t){t.component(l.name,l)};a["default"]=l},2877:function(t,a,e){"use strict";function n(t,a,e,n,o,s,r,i){var _,l="function"===typeof t?t.options:t;if(a&&(l.render=a,l.staticRenderFns=e,l._compiled=!0),n&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),r?(_=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},l._ssrRegister=_):o&&(_=i?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),_)if(l.functional){l._injectStyles=_;var p=l.render;l.render=function(t,a){return _.call(a),p(t,a)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,_):[_]}return{exports:t,options:l}}e.d(a,"a",(function(){return n}))}});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aicfe-answer-card",
3
3
  "private": false,
4
- "version": "0.2.9",
4
+ "version": "0.2.11",
5
5
  "description": "edu answer card for aicfe",
6
6
  "keywords": [
7
7
  "aicfe",
@@ -95,15 +95,29 @@
95
95
  color: #262626;
96
96
  letter-spacing: 0;
97
97
  line-height: 16px;
98
- padding: 24px 0px 16px 0;
98
+ height: 56px;
99
99
  display: flex;
100
100
  column-gap: 10px;
101
+
102
+ span {
103
+ padding-top: 24px;
104
+ }
101
105
  }
102
106
 
103
107
  .line {
104
108
  flex: 1;
105
- border-bottom: 1px solid #333333;
106
- transform: translateY(6px);
109
+ padding-bottom: 10px;
110
+ position: relative;
111
+
112
+ &::after {
113
+ content: '';
114
+ width: 100%;
115
+ height: 1px;
116
+ background-color: #333333;
117
+ position: absolute;
118
+ bottom: 10px;
119
+ left: 0;
120
+ }
107
121
  }
108
122
  }
109
123
  }
@@ -81,6 +81,19 @@
81
81
  transform: translateX(-50%);
82
82
  }
83
83
 
84
+ &__top-left__one {
85
+ position: absolute;
86
+ top: 30px;
87
+ left: 33.3%;
88
+ transform: translateX(-50%);
89
+ }
90
+ &__top-right__one {
91
+ position: absolute;
92
+ top: 30px;
93
+ right: 33.3%;
94
+ transform: translateX(50%);
95
+ }
96
+
84
97
  // 两栏布局 -- 顶部中心标志点
85
98
  &__center-left__two {
86
99
  position: absolute;