yaofang/pages/my/complaint.js

95 lines
3.4 KiB
JavaScript

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "pages/my/complaint" ], {
"2ab3": function(n, t, e) {
"use strict";
e.r(t);
var u = e("3d3a"), i = e.n(u);
for (var o in u) [ "default" ].indexOf(o) < 0 && function(n) {
e.d(t, n, function() {
return u[n];
});
}(o);
t["default"] = i.a;
},
"3d3a": function(n, t, e) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default = void 0;
var u = {
data: function() {
return {
rateValue: 5,
complaint: ""
};
},
methods: {
sub: function() {
"" === this.complaint ? this.x_tips("error", "请填写投诉建议内容") : this.x_request("api/user/complaint", {
rate: this.rateValue,
complaint: this.complaint
}, function(n, t) {
if (console.log(t), 0 === t.code) n.x_tips("error", t.info); else {
n.x_alert("success", "感谢您的宝贵意见,我们将再接再厉,进行调整", "subSuccess");
}
});
},
subSuccess: function() {
this.x_back();
}
}
};
t.default = u;
},
"3ea3": function(n, t, e) {
"use strict";
e.d(t, "b", function() {
return i;
}), e.d(t, "c", function() {
return o;
}), e.d(t, "a", function() {
return u;
});
var u = {
uniSection: function() {
return e.e("uni_modules/uni-section/components/uni-section/uni-section").then(e.bind(null, "79f5"));
},
uniRate: function() {
return e.e("uni_modules/uni-rate/components/uni-rate/uni-rate").then(e.bind(null, "905b"));
},
uniEasyinput: function() {
return e.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(e.bind(null, "aad6"));
},
xpop: function() {
return e.e("components/xpop/xpop").then(e.bind(null, "8c3c"));
},
bootNav: function() {
return Promise.all([ e.e("common/vendor"), e.e("components/bootNav/bootNav") ]).then(e.bind(null, "dc0f"));
}
}, i = function() {
var n = this.$createElement;
this._self._c;
}, o = [];
},
a695: function(n, t, e) {
"use strict";
e.r(t);
var u = e("3ea3"), i = e("2ab3");
for (var o in i) [ "default" ].indexOf(o) < 0 && function(n) {
e.d(t, n, function() {
return i[n];
});
}(o);
var a = e("f0c5"), c = Object(a["a"])(i["default"], u["b"], u["c"], !1, null, null, null, !1, u["a"], void 0);
t["default"] = c.exports;
},
fac1: function(n, t, e) {
"use strict";
(function(n, t) {
var u = e("4ea4");
e("94a9");
u(e("66fd"));
var i = u(e("a695"));
n.__webpack_require_UNI_MP_PLUGIN__ = e, t(i.default);
}).call(this, e("bc2e")["default"], e("543d")["createPage"]);
}
}, [ [ "fac1", "common/runtime", "common/vendor" ] ] ]);