1 |
- {"remainingRequest":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\babel-loader\\lib\\index.js!D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\wnmp\\www\\vue\\seaBlueAdmin\\src\\views\\CashierShop\\component\\Keyboard.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\src\\views\\CashierShop\\component\\Keyboard.vue","mtime":1678954023523},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\babel.config.js","mtime":1681371897685},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1681371913603},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\babel-loader\\lib\\index.js","mtime":1681371912860},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1681371913603},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\vue-loader\\lib\\index.js","mtime":1681371925849}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KZXhwb3J0IGRlZmF1bHQgewogIG5hbWU6ICJLZXlib2FyZCIsCiAgcHJvcHM6IHsKICAgIHRpcE51bTogewogICAgICB0eXBlOiBbU3RyaW5nLCBOdW1iZXJdLAogICAgICBkZWZhdWx0OiAiIgogICAgfSwKICAgIGxiTnVtOiB7CiAgICAgIHR5cGU6IFtTdHJpbmcsIE51bWJlciwgQm9vbGVhbl0sCiAgICAgIGRlZmF1bHQ6ICItIgogICAgfQogIH0sCgogIGRhdGEoKSB7CiAgICByZXR1cm4gewogICAgICBrZXlib2FyZF9rZXk6ICIiLAogICAgICBpbnB1dDogIiIsCiAgICAgIHRhcmdldF9udW06ICIiLAogICAgICBudW1fbGlzdDogW10sCiAgICAgIHdyaXRlb2ZmX2xpc3Q6IFtdCiAgICB9OwogIH0sCgogIGNyZWF0ZWQoKSB7CiAgICBjb25zb2xlLmxvZyh0aGlzLnRpcE51bSk7CiAgfSwKCiAgbWV0aG9kczogewogICAgbnVtRm5PbmUoZSkgewogICAgICBjb25zdCBudW0gPSBlLnRhcmdldC50ZXh0Q29udGVudDsKICAgICAgaWYgKG51bSA9PT0gIiIpIHJldHVybjsKICAgICAgaWYgKG51bS5sZW5ndGggPj0gMykgcmV0dXJuOwogICAgICB0aGlzLiRlbWl0KCJjbGljayIsIGUsIG51bSk7CiAgICB9CgogIH0KfTs="},{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA;EACAA,gBADA;EAEAC;IACAC;MACAC,sBADA;MAEAC;IAFA,CADA;IAKAC;MACAF,+BADA;MAEAC;IAFA;EALA,CAFA;;EAYAE;IACA;MACAC,gBADA;MAEAC,SAFA;MAGAC,cAHA;MAIAC,YAJA;MAKAC;IALA;EAOA,CApBA;;EAqBAC;IACAC;EACA,CAvBA;;EAwBAC;IACAC;MACA;MACA;MACA;MACA;IACA;;EANA;AAxBA","names":["name","props","tipNum","type","default","lbNum","data","keyboard_key","input","target_num","num_list","writeoff_list","created","console","methods","numFnOne"],"sourceRoot":"src/views/CashierShop/component","sources":["Keyboard.vue"],"sourcesContent":["<template>\n <div class=\"keyboard-content\" @click=\"numFnOne($event)\">\n <div class=\"keyboard-left\">\n <div>7</div>\n <div>8</div>\n <div>9</div>\n <div>4</div>\n <div>5</div>\n <div>6</div>\n <div>1</div>\n <div>2</div>\n <div>3</div>\n <div>{{ !lbNum ? \"\" : lbNum }}</div>\n <div>0</div>\n <div>.</div>\n </div>\n <div class=\"keyboard-right\">\n <div style=\"color: #333333\">\n <span>清除</span>\n </div>\n <div class=\"del\" style=\"border-bottom: 0\">\n <span style=\"display: block; color: #333333\">x</span>\n </div>\n <div class=\"flex1\">\n <span>确定</span>\n </div>\n </div>\n </div>\n</template>\n\n<script>\n export default {\n name: \"Keyboard\",\n props: {\n tipNum: {\n type: [String, Number],\n default: \"\",\n },\n lbNum: {\n type: [String, Number, Boolean],\n default: \"-\",\n },\n },\n data() {\n return {\n keyboard_key: \"\",\n input: \"\",\n target_num: \"\",\n num_list: [],\n writeoff_list: [],\n };\n },\n created() {\n console.log(this.tipNum);\n },\n methods: {\n numFnOne(e) {\n const num = e.target.textContent;\n if (num === \"\") return;\n if (num.length >= 3) return;\n this.$emit(\"click\", e, num);\n },\n },\n };\n</script>\n\n<style scoped>\n .keyboard-input_one {\n width: 480px;\n height: 60px;\n margin: 0 auto;\n }\n .keyboard-input {\n width: 590px;\n height: 60px;\n /*margin-left: 296px;*/\n position: relative;\n text-align: center;\n }\n .keyboard-input-wrapper {\n display: inline-block;\n vertical-align: middle;\n line-height: normal;\n }\n .keyboard-input-input {\n height: 60px;\n border: 1px solid #dcdee2;\n border-radius: 4px;\n font-size: 18px;\n color: #808695;\n padding: 6px 18px;\n }\n .input-input {\n height: 60px;\n font-size: 18px;\n padding: 6px 18px;\n display: inline-block;\n width: 590px;\n border: 1px solid #dcdee2;\n border-radius: 4px;\n color: #808695;\n cursor: text;\n }\n .keyboard-content {\n width: 596px;\n height: 264px;\n margin: 24px auto 0;\n background: #f5f6fa;\n border: 1px solid #dcdee2;\n border-right: 0;\n border-bottom: 0;\n text-align: center;\n line-height: 66px;\n display: flex;\n box-sizing: content-box;\n cursor: pointer;\n user-select: none;\n }\n\n .keyboard-left {\n flex: 1;\n }\n .keyboard {\n display: flex;\n align-items: center;\n flex-direction: column;\n }\n .keyboard-left div {\n display: inline-block;\n width: 150px;\n height: 66px;\n border: 1px solid #dcdee2;\n border-left: 0;\n border-top: 0;\n vertical-align: bottom;\n color: #333333;\n }\n\n .keyboard-left_one div {\n display: inline-block;\n width: 117px;\n height: 66px;\n border: 1px solid #dcdee2;\n border-left: 0;\n border-top: 0;\n vertical-align: bottom;\n }\n\n .keyboard-right {\n flex-direction: column;\n }\n\n .keyboard-right div {\n height: 66px;\n line-height: 66px;\n width: 146px;\n border: 1px solid #dcdee2;\n border-left: 0;\n border-top: 0;\n }\n .keyboard-right .flex1 {\n height: 133px;\n line-height: 133px;\n background: #409eff;\n border-color: #409eff;\n color: #fff;\n flex: 1;\n }\n .keyboard-right_one div {\n width: 117px;\n border: 1px solid #dcdee2;\n border-left: 0;\n border-top: 0;\n }\n</style>\n"]}]}
|