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
15 KiB
1 lines
15 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/sports/pages/index/print.vue?61f6","webpack:///C:/Users/Administrator/Desktop/sports/pages/index/print.vue?17f4","webpack:///C:/Users/Administrator/Desktop/sports/pages/index/print.vue?6795","webpack:///C:/Users/Administrator/Desktop/sports/pages/index/print.vue?f226","uni-app:///pages/index/print.vue","webpack:///C:/Users/Administrator/Desktop/sports/pages/index/print.vue?c33e","webpack:///C:/Users/Administrator/Desktop/sports/pages/index/print.vue?4b47"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","id","type","slist","youzailishi","onLoad","methods","get_api_squirrel_list","cage_id","uid","errorcode"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACsC;;;AAG1F;AACuM;AACvM,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAsxB,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eC4D1yB;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACA;IACA;EACA;EACAC;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;kBACAC;kBACAN;kBACAO;gBACA;cAAA;gBAAA;gBAJAC;gBAAAV;gBAKA;kBACA;kBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACxFA;AAAA;AAAA;AAAA;AAAy+C,CAAgB,07CAAG,EAAC,C;;;;;;;;;;;ACA7/C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/print.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/print.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./print.vue?vue&type=template&id=cd1bb972&scoped=true&\"\nvar renderjs\nimport script from \"./print.vue?vue&type=script&lang=js&\"\nexport * from \"./print.vue?vue&type=script&lang=js&\"\nimport style0 from \"./print.vue?vue&type=style&index=0&id=cd1bb972&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../Downloads/HBuilderX.3.99.2023122611/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 \"cd1bb972\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/print.vue\"\nexport default component.exports","export * from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./print.vue?vue&type=template&id=cd1bb972&scoped=true&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./print.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./print.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"add\">\r\n\t\t<view class=\"add-hd\">\r\n\t\t\t<view class=\"a\">\r\n\t\t\t\t<view class=\"h1\">繁殖笼:002</view>\r\n\t\t\t\t<view class=\"text\">实验室:张三</view>\r\n\t\t\t\t<view class=\"text\">负责人:李小</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"b\">\r\n\t\t\t\t<image src=\"@/static/1@2x.png\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"add-bd\">\r\n\t\t\t<view class=\"a\">\r\n\t\t\t\t<view class=\"th\">\r\n\t\t\t\t\t<view class=\"item\">编号</view>\r\n\t\t\t\t\t<view class=\"item\">性别</view>\r\n\t\t\t\t\t<view class=\"item\">生日</view>\r\n\t\t\t\t\t<view class=\"item\">品系</view>\r\n\t\t\t\t\t<view class=\"item\">备注</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"item\">ABC01</view>\r\n\t\t\t\t\t<view class=\"item\">♂</view>\r\n\t\t\t\t\t<view class=\"item\">2023.01.28</view>\r\n\t\t\t\t\t<view class=\"item\">ABCDEF</view>\r\n\t\t\t\t\t<view class=\"item\"></view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"item\">ABC01</view>\r\n\t\t\t\t\t<view class=\"item\">♀</view>\r\n\t\t\t\t\t<view class=\"item\">2023.01.28</view>\r\n\t\t\t\t\t<view class=\"item\">ABCDEF</view>\r\n\t\t\t\t\t<view class=\"item\">喂药</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"b\">\r\n\t\t\t\t<view class=\"th\">\r\n\t\t\t\t\t<view class=\"item\">数量</view>\r\n\t\t\t\t\t<view class=\"item\">性别</view>\r\n\t\t\t\t\t<view class=\"item\">父亲</view>\r\n\t\t\t\t\t<view class=\"item\">母亲</view>\r\n\t\t\t\t\t<view class=\"item\">品系</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"item\">23</view>\r\n\t\t\t\t\t<view class=\"item\">2023.01.28</view>\r\n\t\t\t\t\t<view class=\"item\">ABC01</view>\r\n\t\t\t\t\t<view class=\"item\">ABC02</view>\r\n\t\t\t\t\t<view class=\"item\">ABCDEF</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"add-fd\">\r\n\t\t\t<view class=\"btn\">打印</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tid: \"\",\r\n\t\t\t\ttype: 1,\r\n\t\t\t\tslist: [],\r\n\t\t\t\tyouzailishi: [],\r\n\t\t\t};\r\n\t\t},\r\n\t\tonLoad(o) {\r\n\t\t\tthis.id = o.id\r\n\t\t\tthis.type = o.type;\r\n\t\t\tthis.get_api_squirrel_list();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tasync get_api_squirrel_list() {\r\n\t\t\t\tconst { errorcode, data } = await this.$api.api_squirrel_list({\r\n\t\t\t\t\tcage_id: this.id,\r\n\t\t\t\t\ttype: this.type,\r\n\t\t\t\t\tuid: uni.getStorageSync(\"userInfo\").uid\r\n\t\t\t\t})\r\n\t\t\t\tif(errorcode == 200){\r\n\t\t\t\t\tthis.slist = data.slist\r\n\t\t\t\t\tthis.isShow = data.slist.length == 0?true:false\r\n\t\t\t\t\tthis.youzailishi = data.youzailishi\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.add{\r\n\tpadding-bottom: calc(env(safe-area-inset-bottom)+140rpx);\r\n\toverflow: hidden;\r\n\t&-hd{\r\n\t\tpadding: 0 35rpx;\r\n\t\toverflow: hidden;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\t.a{\r\n\t\t\tflex: 1;\r\n\t\t\tpadding: 40rpx 0 20rpx;\r\n\t\t\t.h1{\r\n\t\t\t\tfont-size: 40rpx;\r\n\t\t\t\tcolor: #000;\r\n\t\t\t}\r\n\t\t\t.text{\r\n\t\t\t\tline-height: 50rpx;\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tcolor: #000;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.b{\r\n\t\t\twidth: 150rpx;\r\n\t\t\theight: 150rpx;\r\n\t\t\timage{\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&-bd{\r\n\t\tpadding: 0 35rpx;\r\n\t\toverflow: hidden;\r\n\t\t.a{\r\n\t\t\tborder-top: 1px solid #c0c2c2;\r\n\t\t\toverflow: hidden;\r\n\t\t\t.th{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tpadding: 40rpx 0;\r\n\t\t\t\tborder-bottom: 1px solid #c0c2c2;\r\n\t\t\t\t.item{\r\n\t\t\t\t\twidth: 20%;\r\n\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\tcolor: #000;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.tr{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tpadding: 40rpx 0;\r\n\t\t\t\tborder-bottom: 1px solid #c0c2c2;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tcolor: #000;\r\n\t\t\t\tborder-bottom: 1px solid #c0c2c2;\r\n\t\t\t\t.item{\r\n\t\t\t\t\twidth: 20%;\r\n\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\tcolor: #000;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.b{\r\n\t\t\tborder-top: 1px solid #c0c2c2;\r\n\t\t\toverflow: hidden;\r\n\t\t\t.th{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tpadding: 40rpx 0;\r\n\t\t\t\tborder-bottom: 1px solid #c0c2c2;\r\n\t\t\t\t.item{\r\n\t\t\t\t\twidth: 20%;\r\n\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\tcolor: #000;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.tr{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tpadding: 40rpx 0;\r\n\t\t\t\tborder-bottom: 1px solid #c0c2c2;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tcolor: #000;\r\n\t\t\t\tborder-bottom: 1px solid #c0c2c2;\r\n\t\t\t\t.item{\r\n\t\t\t\t\twidth: 20%;\r\n\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\tcolor: #000;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t&-fd{\r\n\t\twidth: 100%;\r\n\t\tpadding: 20rpx 35rpx;\r\n\t\tbox-sizing: border-box;\r\n\t\tbackground-color: #f3f5f6;\r\n\t\tposition: fixed;\r\n\t\tleft: 0;\r\n\t\tbottom: 0;\r\n\t\tz-index: 22;\r\n\t\t.btn{\r\n\t\t\twidth: 100%;\r\n\t\t\tline-height: 90rpx;\r\n\t\t\ttext-align: center;\r\n\t\t\tbackground-color: #009944;\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tcolor: #ffffff;\r\n\t\t\tborder-radius: 10rpx;\r\n\t\t}\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./print.vue?vue&type=style&index=0&id=cd1bb972&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./print.vue?vue&type=style&index=0&id=cd1bb972&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1716544227114\n var cssReload = require(\"C:/Users/Administrator/Downloads/HBuilderX.3.99.2023122611/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":""} |