signatureBoard.js 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/order/signatureBoard"],{
  2. /***/ 239:
  3. /*!*******************************************************************************************!*\
  4. !*** D:/baozhida/baozhida-gas-cylinder/main.js?{"page":"pages%2Forder%2FsignatureBoard"} ***!
  5. \*******************************************************************************************/
  6. /*! no static exports found */
  7. /***/ (function(module, exports, __webpack_require__) {
  8. "use strict";
  9. /* WEBPACK VAR INJECTION */(function(wx, createPage) {
  10. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  11. __webpack_require__(/*! uni-pages */ 26);
  12. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  13. var _signatureBoard = _interopRequireDefault(__webpack_require__(/*! ./pages/order/signatureBoard.vue */ 240));
  14. // @ts-ignore
  15. wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
  16. createPage(_signatureBoard.default);
  17. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"]))
  18. /***/ }),
  19. /***/ 240:
  20. /*!************************************************************************!*\
  21. !*** D:/baozhida/baozhida-gas-cylinder/pages/order/signatureBoard.vue ***!
  22. \************************************************************************/
  23. /*! no static exports found */
  24. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  25. "use strict";
  26. __webpack_require__.r(__webpack_exports__);
  27. /* harmony import */ var _signatureBoard_vue_vue_type_template_id_62393b30_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./signatureBoard.vue?vue&type=template&id=62393b30&scoped=true& */ 241);
  28. /* harmony import */ var _signatureBoard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./signatureBoard.vue?vue&type=script&lang=js& */ 243);
  29. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _signatureBoard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _signatureBoard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  30. /* harmony import */ var _signatureBoard_vue_vue_type_style_index_0_id_62393b30_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./signatureBoard.vue?vue&type=style&index=0&id=62393b30&lang=scss&scoped=true& */ 246);
  31. /* harmony import */ var _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 32);
  32. var renderjs
  33. /* normalize component */
  34. var component = Object(_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  35. _signatureBoard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  36. _signatureBoard_vue_vue_type_template_id_62393b30_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
  37. _signatureBoard_vue_vue_type_template_id_62393b30_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  38. false,
  39. null,
  40. "62393b30",
  41. null,
  42. false,
  43. _signatureBoard_vue_vue_type_template_id_62393b30_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
  44. renderjs
  45. )
  46. component.options.__file = "pages/order/signatureBoard.vue"
  47. /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  48. /***/ }),
  49. /***/ 241:
  50. /*!*******************************************************************************************************************!*\
  51. !*** D:/baozhida/baozhida-gas-cylinder/pages/order/signatureBoard.vue?vue&type=template&id=62393b30&scoped=true& ***!
  52. \*******************************************************************************************************************/
  53. /*! exports provided: render, staticRenderFns, recyclableRender, components */
  54. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  55. "use strict";
  56. __webpack_require__.r(__webpack_exports__);
  57. /* harmony import */ var _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_template_id_62393b30_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./signatureBoard.vue?vue&type=template&id=62393b30&scoped=true& */ 242);
  58. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_template_id_62393b30_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
  59. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_template_id_62393b30_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
  60. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_template_id_62393b30_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
  61. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_template_id_62393b30_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
  62. /***/ }),
  63. /***/ 242:
  64. /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  65. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/baozhida/baozhida-gas-cylinder/pages/order/signatureBoard.vue?vue&type=template&id=62393b30&scoped=true& ***!
  66. \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  67. /*! exports provided: render, staticRenderFns, recyclableRender, components */
  68. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  69. "use strict";
  70. __webpack_require__.r(__webpack_exports__);
  71. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
  72. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
  73. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
  74. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
  75. var components
  76. var render = function () {
  77. var _vm = this
  78. var _h = _vm.$createElement
  79. var _c = _vm._self._c || _h
  80. }
  81. var recyclableRender = false
  82. var staticRenderFns = []
  83. render._withStripped = true
  84. /***/ }),
  85. /***/ 243:
  86. /*!*************************************************************************************************!*\
  87. !*** D:/baozhida/baozhida-gas-cylinder/pages/order/signatureBoard.vue?vue&type=script&lang=js& ***!
  88. \*************************************************************************************************/
  89. /*! no static exports found */
  90. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  91. "use strict";
  92. __webpack_require__.r(__webpack_exports__);
  93. /* harmony import */ var _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./signatureBoard.vue?vue&type=script&lang=js& */ 244);
  94. /* harmony import */ var _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
  95. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  96. /* harmony default export */ __webpack_exports__["default"] = (_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
  97. /***/ }),
  98. /***/ 244:
  99. /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  100. !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/baozhida/baozhida-gas-cylinder/pages/order/signatureBoard.vue?vue&type=script&lang=js& ***!
  101. \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  102. /*! no static exports found */
  103. /***/ (function(module, exports, __webpack_require__) {
  104. "use strict";
  105. /* WEBPACK VAR INJECTION */(function(uni) {
  106. Object.defineProperty(exports, "__esModule", {
  107. value: true
  108. });
  109. exports.default = void 0;
  110. //
  111. //
  112. //
  113. //
  114. //
  115. //
  116. //
  117. //
  118. //
  119. //
  120. //
  121. //
  122. //
  123. //
  124. //
  125. //
  126. //
  127. //
  128. //
  129. //
  130. var content = null;
  131. var touchs = [];
  132. var _default = {
  133. data: function data() {
  134. return {
  135. isMove: false,
  136. createCanvas: false,
  137. outW: 0,
  138. outH: 0,
  139. windowsH: 0,
  140. windowsW: 0
  141. };
  142. },
  143. onLoad: function onLoad(options) {
  144. //获得Canvas的上下文
  145. content = uni.createCanvasContext('sign');
  146. this.windowsH = uni.getSystemInfoSync().windowHeight;
  147. this.windowsW = uni.getSystemInfoSync().windowWidth;
  148. //设置线的颜色
  149. content.setStrokeStyle('#000000');
  150. //设置线的宽度
  151. content.setLineWidth(5);
  152. //设置线两端端点样式更加圆润
  153. content.setLineCap('round');
  154. //设置两条线连接处更加圆润
  155. content.setLineJoin('round');
  156. // content.setFillStyle('white')
  157. // content.fillRect(0, 0, 750, 700)
  158. // content.draw()
  159. },
  160. methods: {
  161. backClick: function backClick() {
  162. uni.navigateBack({
  163. delta: 1
  164. });
  165. },
  166. // 画布的触摸移动开始手势响应
  167. start: function start(event) {
  168. // console.log("触摸开始" + event.changedTouches[0].x);
  169. // console.log("触摸开始" + event.changedTouches[0].y);
  170. //获取触摸开始的 x,y
  171. var point = {
  172. x: event.changedTouches[0].x,
  173. y: event.changedTouches[0].y
  174. };
  175. touchs.push(point);
  176. },
  177. // 画布的触摸移动手势响应
  178. move: function move(e) {
  179. var point = {
  180. x: e.touches[0].x,
  181. y: e.touches[0].y
  182. };
  183. touchs.push(point);
  184. if (touchs.length >= 2) {
  185. this.isMove = true;
  186. this.draw(touchs);
  187. }
  188. },
  189. // 画布的触摸移动结束手势响应
  190. end: function end(e) {
  191. console.log('触摸结束' + e);
  192. //清空轨迹数组
  193. for (var i = 0; i < touchs.length; i++) {
  194. touchs.pop();
  195. }
  196. },
  197. // 画布的触摸取消响应
  198. cancel: function cancel(e) {
  199. console.log('触摸取消' + e);
  200. },
  201. // 画布的长按手势响应
  202. tap: function tap(e) {
  203. console.log('长按手势' + e);
  204. },
  205. error: function error(e) {
  206. console.log('画布触摸错误' + e);
  207. },
  208. //绘制
  209. draw: function draw(touchs) {
  210. var point1 = touchs[0];
  211. var point2 = touchs[1];
  212. touchs.shift();
  213. content.moveTo(point1.x, point1.y);
  214. content.lineTo(point2.x, point2.y);
  215. content.stroke();
  216. content.draw(true);
  217. },
  218. //清除操作
  219. clearClick: function clearClick() {
  220. //清除画布
  221. content.clearRect(0, 0, this.windowsW, this.windowsH);
  222. content.draw(true);
  223. this.isMove = false;
  224. },
  225. //保存图片
  226. saveClick: function saveClick() {
  227. if (this.isMove == false) {
  228. uni.showToast({
  229. icon: 'none',
  230. title: '请绘制签名'
  231. });
  232. return;
  233. }
  234. var that = this;
  235. uni.showLoading({
  236. title: '请稍等'
  237. });
  238. uni.canvasToTempFilePath({
  239. canvasId: 'sign',
  240. success: function success(res) {
  241. uni.getImageInfo({
  242. src: res.tempFilePath,
  243. fail: function fail() {
  244. uni.hideLoading();
  245. uni.showToast({
  246. title: '获取图片信息失败'
  247. });
  248. },
  249. success: function success(image) {
  250. //要先设置在获取 ,加载问题
  251. image.height = parseInt(image.height);
  252. image.width = parseInt(image.width);
  253. that.outW = image.width;
  254. that.outH = image.height;
  255. //修复大屏手机无法生成图片问题
  256. var maxWidth = that.windowsW - uni.upx2px(240);
  257. var base = that.outH / that.outW;
  258. if (that.outH > maxWidth) {
  259. that.outH = maxWidth;
  260. that.outW = Math.floor(that.outH / base);
  261. }
  262. content.rotate(-Math.PI / 2);
  263. content.translate(-that.outW, 0);
  264. content.drawImage(image.path, 0, 0, that.outW, that.outH);
  265. content.translate(that.outW, 0);
  266. content.rotate(Math.PI / 2);
  267. content.draw(false, function () {
  268. uni.canvasToTempFilePath({
  269. canvasId: 'sign',
  270. fileType: 'jpg',
  271. width: that.outH,
  272. height: that.outW,
  273. sdestWidth: image.height,
  274. sdestHeight: image.width,
  275. fail: function fail(res) {
  276. uni.hideLoading();
  277. uni.showToast({
  278. title: '签名失败',
  279. icon: 'none'
  280. });
  281. },
  282. success: function success(resss) {
  283. uni.hideLoading();
  284. that.clearClick();
  285. uni.$emit('sign', resss.tempFilePath);
  286. uni.navigateBack();
  287. // let imgArr = [];
  288. // imgArr.push(resss.tempFilePath);
  289. // uni.previewImage({
  290. // urls: imgArr,
  291. // success(response) {
  292. // console.log(response);
  293. // }
  294. // });
  295. }
  296. });
  297. });
  298. }
  299. });
  300. },
  301. fail: function fail() {
  302. uni.hideLoading();
  303. }
  304. });
  305. }
  306. }
  307. };
  308. exports.default = _default;
  309. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  310. /***/ }),
  311. /***/ 246:
  312. /*!**********************************************************************************************************************************!*\
  313. !*** D:/baozhida/baozhida-gas-cylinder/pages/order/signatureBoard.vue?vue&type=style&index=0&id=62393b30&lang=scss&scoped=true& ***!
  314. \**********************************************************************************************************************************/
  315. /*! no static exports found */
  316. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  317. "use strict";
  318. __webpack_require__.r(__webpack_exports__);
  319. /* harmony import */ var _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_style_index_0_id_62393b30_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./signatureBoard.vue?vue&type=style&index=0&id=62393b30&lang=scss&scoped=true& */ 247);
  320. /* harmony import */ var _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_style_index_0_id_62393b30_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_style_index_0_id_62393b30_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
  321. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_style_index_0_id_62393b30_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_style_index_0_id_62393b30_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  322. /* harmony default export */ __webpack_exports__["default"] = (_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_Users_aaronbruin_Desktop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_signatureBoard_vue_vue_type_style_index_0_id_62393b30_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
  323. /***/ }),
  324. /***/ 247:
  325. /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  326. !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/baozhida/baozhida-gas-cylinder/pages/order/signatureBoard.vue?vue&type=style&index=0&id=62393b30&lang=scss&scoped=true& ***!
  327. \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  328. /*! no static exports found */
  329. /***/ (function(module, exports, __webpack_require__) {
  330. // extracted by mini-css-extract-plugin
  331. if(false) { var cssReload; }
  332. /***/ })
  333. },[[239,"common/runtime","common/vendor"]]]);
  334. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/order/signatureBoard.js.map