canyin-project/yb_wm/unpackage/dist/dev/mp-weixin/components/common/sq-btn.js
2024-11-01 16:07:54 +08:00

498 lines
42 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/common/sq-btn"],{
/***/ 1121:
/*!************************************************************************!*\
!*** D:/oil/云贝全开/git-app/yb-uniapp/yb_wm/components/common/sq-btn.vue ***!
\************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _sq_btn_vue_vue_type_template_id_21327966_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./sq-btn.vue?vue&type=template&id=21327966&scoped=true& */ 1122);
/* harmony import */ var _sq_btn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sq-btn.vue?vue&type=script&lang=js& */ 1124);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _sq_btn_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 _sq_btn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _sq_btn_vue_vue_type_style_index_0_id_21327966_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sq-btn.vue?vue&type=style&index=0&id=21327966&scoped=true&lang=scss& */ 1126);
/* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 37);
var renderjs
/* normalize component */
var component = Object(_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_sq_btn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_sq_btn_vue_vue_type_template_id_21327966_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_sq_btn_vue_vue_type_template_id_21327966_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"21327966",
null,
false,
_sq_btn_vue_vue_type_template_id_21327966_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "components/common/sq-btn.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 1122:
/*!*******************************************************************************************************************!*\
!*** D:/oil/云贝全开/git-app/yb-uniapp/yb_wm/components/common/sq-btn.vue?vue&type=template&id=21327966&scoped=true& ***!
\*******************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_template_id_21327966_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./sq-btn.vue?vue&type=template&id=21327966&scoped=true& */ 1123);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_template_id_21327966_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_template_id_21327966_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_template_id_21327966_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_template_id_21327966_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 1123:
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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:/oil/云贝全开/git-app/yb-uniapp/yb_wm/components/common/sq-btn.vue?vue&type=template&id=21327966&scoped=true& ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
var render = function () {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
var s0 =
_vm.type == 1
? _vm.__get_style([
{
width: _vm.w + "rpx",
height: _vm.h + "rpx",
lineHeight: _vm.h + "rpx",
},
_vm.sname,
])
: null
var s1 =
_vm.type == 2
? _vm.__get_style([
{
width: _vm.w + "rpx",
height: _vm.h + "rpx",
lineHeight: _vm.h + "rpx",
},
_vm.sname,
])
: null
var s2 =
_vm.type == 3
? _vm.__get_style([
{
width: _vm.w + "rpx",
height: _vm.h + "rpx",
lineHeight: _vm.h + "rpx",
},
_vm.sname,
])
: null
if (!_vm._isMounted) {
_vm.e0 = function ($event) {
return this.$emit("refresh")
}
}
_vm.$mp.data = Object.assign(
{},
{
$root: {
s0: s0,
s1: s1,
s2: s2,
},
}
)
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 1124:
/*!*************************************************************************************************!*\
!*** D:/oil/云贝全开/git-app/yb-uniapp/yb_wm/components/common/sq-btn.vue?vue&type=script&lang=js& ***!
\*************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./sq-btn.vue?vue&type=script&lang=js& */ 1125);
/* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_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 _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 1125:
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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:/oil/云贝全开/git-app/yb-uniapp/yb_wm/components/common/sq-btn.vue?vue&type=script&lang=js& ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _vuex = __webpack_require__(/*! vuex */ 39);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var mgModal = function mgModal() {
__webpack_require__.e(/*! require.ensure | components/common/modal */ "components/common/modal").then((function () {
return resolve(__webpack_require__(/*! @/components/common/modal.vue */ 1032));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var _default = {
name: 'sq-btn',
components: {
mgModal: mgModal
},
props: {
cname: '',
sname: '',
w: '',
h: '',
t: '',
type: {
type: String,
default: '1'
},
//1用户信息2手机号3瓜分红包
storeid: {
type: String,
default: ''
},
value: {
type: Boolean,
default: false
}
},
data: function data() {
return {
loading: false
};
},
computed: {
ptname: function ptname() {
var t = '';
switch (this.api.platform) {
case 'mini':
t = '微信';
break;
case 'ali':
t = '支付宝';
break;
case 'baidu':
t = '百度';
break;
case 'toutiao':
t = '字节跳动';
break;
}
return t;
},
show: {
get: function get() {
return this.value;
},
set: function set(newVal) {
this.$emit("input", newVal);
}
}
},
watch: {
// sname: {
// handler(newVal) {
// console.log('newVal', newVal)
// },
// immediate: true
// },
},
methods: {
share: function share() {
uni.showModal({
title: '提示',
content: '点击右上角分享',
showCancel: false,
confirmText: '我知道了'
});
},
onGetAuthorize: function onGetAuthorize(res) {
var _this = this;
// console.log('onGetAuthorize', res)
my.getOpenUserInfo({
fail: function fail(res) {},
success: function success(res) {
// console.log('my.getOpenUserInfo', JSON.parse(res.response).response)
var result = JSON.parse(res.response).response;
_this.refreshUser({
storeId: _this.storeid,
portrait: result.avatar,
userName: result.nickName,
userId: _this.uId
}).then(function (res) {
_this.$emit('refresh');
});
}
});
},
getAlPhoneNumber: function getAlPhoneNumber() {
var _this2 = this;
my.getPhoneNumber({
success: function success(res) {
var resData = JSON.parse(res.response);
_this2.util.request({
url: _this2.api.jm,
method: 'POST',
data: {
data: resData.response
}
}).then(function (res) {
console.log('jm res', res);
if (res.data) {
_this2.show = false;
if (_this2.type == 4) {
_this2.util.message('绑定成功', 1, 1000);
} else {
_this2.$emit('refresh', res.data);
}
_this2.refreshUser({
nomask: 1,
get: 1,
now: 1
});
}
});
console.log('getAlPhoneNumber success', resData);
},
fail: function fail(res) {
console.log('getAlPhoneNumber fail', res);
}
});
},
// 获取用户信息 API 在小程序可直接使用,在 5+App 里面需要先登录才能调用
getUserInfo: function getUserInfo() {
var _this3 = this;
uni.getUserInfo({
success: function success(result) {
_this3.refreshUser({
storeId: _this3.storeid,
portrait: portrait,
userName: userName,
userId: userId
}).then(function (res) {
_this3.$emit('refresh');
});
console.log('getUserInfo success', result);
},
fail: function fail(error) {
console.log('getUserInfo fail', error);
uni.showModal({
title: '温馨提示',
content: '获取头像等信息失败',
showCancel: false
});
}
});
},
mpGetUserInfo: function mpGetUserInfo(result) {
var _this4 = this;
console.log('mpGetUserInfo', result);
if (result.detail.errMsg == 'getUserInfo:ok') {
var _portrait = result.detail.userInfo.avatarUrl,
_userName = result.detail.userInfo.nickName,
_userId = this.uId;
this.refreshUser({
storeId: this.storeid,
portrait: _portrait,
userName: _userName,
userId: _userId
}).then(function (res) {
_this4.$emit('refresh');
});
console.log(_portrait, _userName, _userId);
} else {
uni.showModal({
title: '温馨提示',
content: '获取头像等信息失败',
showCancel: false
});
return;
}
},
mpGetphonenumber: function mpGetphonenumber(result) {
var _this5 = this;
this.loading = true;
console.log('mpGetphonenumber', result);
if (result.detail.errMsg == 'getPhoneNumber:ok') {
var sessionKey = getApp().globalData.session_key,
data = result.detail.encryptedData,
iv = result.detail.iv,
_userId2 = this.uId;
this.util.request({
url: this.api.jm,
method: 'POST',
data: {
userId: _userId2,
sessionKey: sessionKey,
data: data,
iv: iv
}
}).then(function (res) {
_this5.loading = false;
if (res.data) {
_this5.show = false;
if (_this5.type == 4) {
_this5.util.message('绑定成功', 1, 1000);
} else {
_this5.$emit('refresh', res.data);
}
_this5.refreshUser({
nomask: 1,
get: 1,
now: 1
});
}
console.log(res);
}).catch(function () {
_this5.loading = false;
});
console.log(sessionKey, data, iv);
} else {
this.loading = false;
uni.showModal({
title: '温馨提示',
content: '授权手机号失败',
showCancel: false
});
return;
}
}
}
};
exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
/***/ }),
/***/ 1126:
/*!**********************************************************************************************************************************!*\
!*** D:/oil/云贝全开/git-app/yb-uniapp/yb_wm/components/common/sq-btn.vue?vue&type=style&index=0&id=21327966&scoped=true&lang=scss& ***!
\**********************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_style_index_0_id_21327966_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./sq-btn.vue?vue&type=style&index=0&id=21327966&scoped=true&lang=scss& */ 1127);
/* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_style_index_0_id_21327966_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_style_index_0_id_21327966_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_style_index_0_id_21327966_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_style_index_0_id_21327966_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_sq_btn_vue_vue_type_style_index_0_id_21327966_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 1127:
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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:/oil/云贝全开/git-app/yb-uniapp/yb_wm/components/common/sq-btn.vue?vue&type=style&index=0&id=21327966&scoped=true&lang=scss& ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/common/sq-btn.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/common/sq-btn-create-component',
{
'components/common/sq-btn-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(1121))
})
},
[['components/common/sq-btn-create-component']]
]);