* 'develop' of ssh://code.juyouwu.cn:2222/pay/pay-customer: fix:更新 # Conflicts: # .env.development # ci/project.config.json # dist/build/mp-weixin/INDEX/bill/list/index.wxml # dist/build/mp-weixin/INDEX/invitation/index.js # dist/build/mp-weixin/INDEX/invitation/index.json # dist/build/mp-weixin/INDEX/invitation/index.wxml # dist/build/mp-weixin/INDEX/invitation/index.wxss # dist/build/mp-weixin/INDEX/parking_payment/index.js # dist/build/mp-weixin/INDEX/parking_payment/index.wxml # dist/build/mp-weixin/INDEX/parking_payment/index.wxss # dist/build/mp-weixin/INDEX/parking_payment_record/index.js # dist/build/mp-weixin/INDEX/parking_payment_record/index.json # dist/build/mp-weixin/INDEX/parking_payment_record/index.wxml # dist/build/mp-weixin/INDEX/parking_payment_record/index.wxss # dist/build/mp-weixin/INDEX/pay/method.js # dist/build/mp-weixin/INDEX/pay/success.js # dist/build/mp-weixin/INDEX/pay/success.wxml # dist/build/mp-weixin/INDEX/pay/success.wxss # dist/build/mp-weixin/ME/payment_pre_stored/index.js # dist/build/mp-weixin/ME/payment_pre_stored/index.wxml # dist/build/mp-weixin/ME/payment_pre_stored/index.wxss # dist/build/mp-weixin/ME/pre_stored_form/index.js # dist/build/mp-weixin/ME/pre_stored_form/index.wxml # dist/build/mp-weixin/ME/vehicle_management/add/index.js # dist/build/mp-weixin/ME/vehicle_management/add/index.wxml # dist/build/mp-weixin/ME/vehicle_management/add/index.wxss # dist/build/mp-weixin/WORKORDER/add/index.js # dist/build/mp-weixin/WORKORDER/add/index.json # dist/build/mp-weixin/WORKORDER/add/index.wxml # dist/build/mp-weixin/WORKORDER/add/method.js # dist/build/mp-weixin/WORKORDER/list/index.js # dist/build/mp-weixin/WORKORDER/list/index.wxml # dist/build/mp-weixin/WORKORDER/list/index.wxss # dist/build/mp-weixin/WORKORDER/show/index.js # dist/build/mp-weixin/WORKORDER/show/index.json # dist/build/mp-weixin/WORKORDER/show/index.wxml # dist/build/mp-weixin/WORKORDER/show/index.wxss # dist/build/mp-weixin/WORKORDER/show/method.js # dist/build/mp-weixin/WORKORDER/show/model.js # dist/build/mp-weixin/common/components/cc-scroll-loading/cc-scroll-loading.js # dist/build/mp-weixin/common/components/cc-scroll-loading/cc-scroll-loading.wxml # dist/build/mp-weixin/common/components/cc-scroll-loading/cc-scroll-loading.wxss # dist/build/mp-weixin/common/libraries/day.js # dist/build/mp-weixin/common/vendor.js # dist/build/mp-weixin/components/hs-button/hs-button.js # dist/build/mp-weixin/components/hs-button/hs-button.wxml # dist/build/mp-weixin/components/hs-button/hs-button.wxss # dist/build/mp-weixin/components/hs-popup-evaluate/hs-popup-evaluate.js # dist/build/mp-weixin/components/hs-popup-evaluate/hs-popup-evaluate.wxml # dist/build/mp-weixin/components/hs-popup-evaluate/hs-popup-evaluate.wxss # dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.js # dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxml # dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxss # dist/build/mp-weixin/gen/Apis.js # dist/build/mp-weixin/gen/Enums.js # dist/build/mp-weixin/node-modules/uview-plus/components/u-keyboard/u-keyboard.js # dist/build/mp-weixin/pages/index/components/Classification.js # dist/build/mp-weixin/pages/index/components/Classification.wxml # dist/build/mp-weixin/pages/index/components/Classification.wxss # dist/build/mp-weixin/pages/index/components/ConvenienceServices.js # dist/build/mp-weixin/pages/index/components/ConvenienceServices.json # dist/build/mp-weixin/pages/index/components/ConvenienceServices.wxml # dist/build/mp-weixin/pages/index/components/ConvenienceServices.wxss # dist/build/mp-weixin/pages/index/index.wxss # dist/build/mp-weixin/pages/me/components/AreaFunctional.js # dist/build/mp-weixin/pages/me/components/AreaFunctional.json # dist/build/mp-weixin/pages/me/components/AreaFunctional.wxml # dist/build/mp-weixin/pages/me/components/AreaFunctional.wxss # dist/build/mp-weixin/pages/transfer/index.js # dist/dev/mp-weixin/INDEX/pay/method.js # dist/dev/mp-weixin/INDEX/pay/success.wxml # dist/dev/mp-weixin/WORKORDER/add/index.js # dist/dev/mp-weixin/WORKORDER/list/index.js # dist/dev/mp-weixin/WORKORDER/list/index.json # dist/dev/mp-weixin/WORKORDER/list/index.wxml # dist/dev/mp-weixin/WORKORDER/list/index.wxss # dist/dev/mp-weixin/WORKORDER/show/index.js # dist/dev/mp-weixin/WORKORDER/show/index.json # dist/dev/mp-weixin/WORKORDER/show/index.wxml # dist/dev/mp-weixin/WORKORDER/show/index.wxss # dist/dev/mp-weixin/WORKORDER/show/model.js # dist/dev/mp-weixin/app.js # dist/dev/mp-weixin/common/libraries/day.js # dist/dev/mp-weixin/common/libraries/request.js # dist/dev/mp-weixin/common/vendor.js # dist/dev/mp-weixin/components/hs-popup-evaluate/hs-popup-evaluate.js # dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.js # dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxss # dist/dev/mp-weixin/gen/Enums.js # dist/dev/mp-weixin/node-modules/uview-plus/components/u-keyboard/u-keyboard.js # dist/dev/mp-weixin/pages/transfer/index.js # dist/dev/mp-weixin/project.private.config.json # src/INDEX/pay/method.ts # src/INDEX/pay/success.vue # src/WORKORDER/add/index.vue # src/WORKORDER/list/index.vue # src/WORKORDER/list/style.scss # src/WORKORDER/show/index.vue # src/WORKORDER/show/model.ts # src/WORKORDER/show/style.scss # src/common/libraries/day.ts # src/components/hs-popup-evaluate/hs-popup-evaluate.vue # src/components/hs-reservation-picker/hs-reservation-picker.vue # src/gen/ApiTypes.d.ts # src/gen/Enums.ts # src/pages/transfer/index.vue
109 lines
3.7 KiB
JavaScript
109 lines
3.7 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
if (!Array) {
|
|
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
|
const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button");
|
|
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
|
|
(_easycom_up_icon2 + _easycom_hs_button2 + _easycom_up_popup2)();
|
|
}
|
|
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
|
const _easycom_hs_button = () => "../hs-button/hs-button.js";
|
|
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
|
|
if (!Math) {
|
|
(_easycom_up_icon + _easycom_hs_button + _easycom_up_popup)();
|
|
}
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
__name: "hs-popup-evaluate",
|
|
<<<<<<< HEAD
|
|
props: ["show", "mode", "insetBottom", "round", "closeable", "bgColor"],
|
|
=======
|
|
props: [
|
|
"show",
|
|
"mode",
|
|
"insetBottom",
|
|
"round",
|
|
"closeable",
|
|
"bgColor",
|
|
"params"
|
|
],
|
|
>>>>>>> 6b1220997d2fd629b6dcb6dfbd7960a21d065f82
|
|
emits: ["onSubmit", "onClose"],
|
|
setup(__props, { emit }) {
|
|
const props = __props;
|
|
const rating = common_vendor.ref(-1);
|
|
const evaluateObj = {
|
|
1: "非常差",
|
|
2: "比较差",
|
|
3: "一般",
|
|
4: "满意",
|
|
5: "非常满意"
|
|
};
|
|
const onClickCurrent = (idx) => {
|
|
console.log(idx, "idx");
|
|
rating.value = idx;
|
|
};
|
|
const onClose = () => {
|
|
emit("onClose");
|
|
};
|
|
const onSubmit = () => {
|
|
if ((rating == null ? void 0 : rating.value) > -1) {
|
|
<<<<<<< HEAD
|
|
emit("onSubmit", { rating: rating.value });
|
|
} else {
|
|
common_vendor.index.showToast({
|
|
title: "请先评价",
|
|
=======
|
|
emit("onSubmit", { rating: rating.value, ...props == null ? void 0 : props.params });
|
|
} else {
|
|
common_vendor.index.showToast({
|
|
title: "请选择星星评价!",
|
|
>>>>>>> 6b1220997d2fd629b6dcb6dfbd7960a21d065f82
|
|
icon: "none"
|
|
});
|
|
}
|
|
};
|
|
return (_ctx, _cache) => {
|
|
return common_vendor.e({
|
|
a: common_vendor.f(5, (i, index, i0) => {
|
|
return {
|
|
a: index,
|
|
b: common_vendor.o(($event) => onClickCurrent(i), index),
|
|
c: "ad578632-1-" + i0 + ",ad578632-0",
|
|
d: common_vendor.p({
|
|
name: "star-fill",
|
|
size: "32",
|
|
color: index < rating.value ? "#FFC53D" : "#F3F3F4"
|
|
})
|
|
};
|
|
}),
|
|
b: rating.value > -1
|
|
}, rating.value > -1 ? {
|
|
c: common_vendor.t(evaluateObj[rating.value])
|
|
} : {}, {
|
|
d: common_vendor.o(onSubmit),
|
|
e: common_vendor.p({
|
|
type: "primary",
|
|
label: "提交评价",
|
|
size: "md"
|
|
}),
|
|
f: common_vendor.o(onClose),
|
|
g: common_vendor.p({
|
|
customStyle: (props == null ? void 0 : props.insetBottom) ? {
|
|
bottom: "calc(env(safe-area-inset-bottom) + 48px)"
|
|
} : {},
|
|
overlayStyle: (props == null ? void 0 : props.insetBottom) ? {
|
|
bottom: "calc(env(safe-area-inset-bottom) + 48px)"
|
|
} : {},
|
|
show: props.show,
|
|
mode: (props == null ? void 0 : props.mode) || "top",
|
|
round: (props == null ? void 0 : props.round) || 0,
|
|
closeable: props == null ? void 0 : props.closeable,
|
|
bgColor: props == null ? void 0 : props.bgColor
|
|
})
|
|
});
|
|
};
|
|
}
|
|
});
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-ad578632"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-customer/src/components/hs-popup-evaluate/hs-popup-evaluate.vue"]]);
|
|
wx.createComponent(Component);
|