You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
14 KiB
1 lines
14 KiB
{"version":3,"sources":["webpack:////Users/wanghousheng/www/question-bank/components/pop-card/pop-card.vue?9adb","webpack:////Users/wanghousheng/www/question-bank/components/pop-card/pop-card.vue?c48a","webpack:////Users/wanghousheng/www/question-bank/components/pop-card/pop-card.vue?bbb3","webpack:////Users/wanghousheng/www/question-bank/components/pop-card/pop-card.vue?80bb","uni-app:///components/pop-card/pop-card.vue","webpack:////Users/wanghousheng/www/question-bank/components/pop-card/pop-card.vue?c399","webpack:////Users/wanghousheng/www/question-bank/components/pop-card/pop-card.vue?caef"],"names":["name","props","showPop","type","successNum","errorNum","list","default","data","show","watch","methods","close","selItem"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;AACc;;;AAGrE;AAC6M;AAC7M,gBAAgB,iNAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5CA;AAAA;AAAA;AAAA;AAAuzB,CAAgB,syBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBC4B30B;EACAA;EACAC;IACAC;MACAC;IACA;IACAC;MACAD;IACA;IACAE;MACAF;IACA;IACAG;MACAH;MACAI;QAAA;MAAA;IACA;EACA;EACAC;IACA;MACAC;IACA;EACA;EACAC;IACAR;MACA;IACA;EACA;EACAS;IACAC;MACA;IACA;IACAC;MACA;IACA;EACA;AACA;AAAA,4B;;;;;;;;;;;;AC/DA;AAAA;AAAA;AAAA;AAA0gD,CAAgB,q6CAAG,EAAC,C;;;;;;;;;;;ACA9hD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/pop-card/pop-card.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./pop-card.vue?vue&type=template&id=c08e10f8&\"\nvar renderjs\nimport script from \"./pop-card.vue?vue&type=script&lang=js&\"\nexport * from \"./pop-card.vue?vue&type=script&lang=js&\"\nimport style0 from \"./pop-card.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/pop-card/pop-card.vue\"\nexport default component.exports","export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./pop-card.vue?vue&type=template&id=c08e10f8&\"","var components\ntry {\n components = {\n uPopup: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-popup/u-popup\" */ \"@/uni_modules/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 = _vm.staticUrl(\"/static/icon-study-yes.png\")\n var m1 = _vm.staticUrl(\"/static/icon-study-no.png\")\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n m1: m1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./pop-card.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./pop-card.vue?vue&type=script&lang=js&\"","<template>\r\n <view>\r\n <u-popup :show=\"show\" round=\"10\" @close=\"close\" :closeable=\"true\">\r\n <view class=\"pop-card\">\r\n <view class=\"card-title\">\r\n <text>答题卡</text>\r\n <view class=\"a\">\r\n <image :src=\"staticUrl('/static/icon-study-yes.png')\"></image>{{successNum}}\r\n </view>\r\n <view class=\"b\">\r\n <image :src=\"staticUrl('/static/icon-study-no.png')\"></image>{{errorNum}}\r\n </view>\r\n </view>\r\n <view class=\"card-content\">\r\n <view v-for=\"(item,index) in list\" \n class=\"item\"\n :class=\"{'correct':item.is_correct,'error': !item.is_correct}\"\n @click=\"selItem(index)\">\r\n {{index + 1}}\r\n </view>\r\n </view>\r\n </view>\r\n </u-popup>\r\n\r\n </view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n name: \"pop-card\",\n props: {\n showPop: {\n type: Boolean \n },\n successNum: {\n \ttype: Number | String\n },\n errorNum: {\n \ttype: Number | String\n },\n list: {\n type: Array,\n default: () => [] \n }\n },\r\n data() {\r\n return {\r\n show: false\r\n };\r\n },\n watch: {\n showPop(val) {\n this.show = val\n }\n },\n methods: {\n close() {\n this.$emit('close')\n },\n selItem(index) {\n this.$emit('selItem',index)\n }\n }\r\n }\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n .pop-card {\r\n height: 600rpx;\r\n display: flex;\r\n flex-direction: column;\r\n\r\n .card-title {\r\n display: flex;\r\n padding: 30rpx;\r\n\r\n .a {\r\n display: flex;\r\n align-items: center;\r\n margin: 0 30rpx;\r\n font-size: 30rpx;\r\n color: #37C594;\r\n }\r\n\r\n .b {\r\n display: flex;\r\n align-items: center;\r\n font-size: 30rpx;\r\n color: #F01B1B;\r\n }\r\n\r\n image {\r\n width: 44rpx;\r\n height: 44rpx;\r\n margin-right: 10rpx;\r\n }\r\n }\r\n\r\n .card-content {\r\n flex: 1;\r\n display: flex;\r\n flex-wrap: wrap;\r\n overflow-y: auto;\r\n\r\n .item {\r\n margin: 20rpx;\r\n width: 80rpx;\r\n height: 80rpx;\r\n text-align: center;\r\n line-height: 80rpx;\r\n border: 1px solid rgba(0, 0, 0, 0.2);\r\n color: rgba(0, 0, 0, 0.6);\r\n border-radius: 50%;\r\n\r\n &.correct {\r\n color: #49c99c;\r\n background-color: #f3f8f6;\n border: 1px solid transparent;\r\n }\r\n\r\n &.error {\r\n color: #fa6e6e;\r\n background-color: #fff3f3;\n border: 1px solid transparent;\r\n }\r\n }\r\n }\r\n }\r\n</style>\n","import mod from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./pop-card.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./pop-card.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1724401329942\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |