no message

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:00:29 +08:00
commit 4d06351f6a
2830 changed files with 166480 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
page {
background-color: #fff;
}

View File

@@ -0,0 +1 @@
<view class="p30"><view style="font-size:36rpx;font-weight:bold;margin-top:40rpx"> 退款信息 <text style="font-size:26rpx;color:chocolate;font-weight:500">活动金额不在退款范围内</text></view><view style="display:flex;align-items:center;height:100rpx;justify-content:space-between"><view>¥</view><input placeholder="{{a}}" style="width:500rpx;font-size:32rpx" type="number" value="{{b}}" onInput="{{c}}"/><view onTap="{{d}}" style="font-size:28rpx;color:#4879e6">全部</view></view><view style="font-size:28rpx;margin-bottom:20rpx">申请退款理由</view><view style="margin-bottom:30rpx"><up-textarea u-i="53c42ebc-0" onVI="__l" onUpdateModelValue="{{e}}" u-p="{{f}}"></up-textarea></view><view style="font-weight:bold;font-size:30rpx;margin-bottom:20rpx">退款须知:</view><view style="font-size:26rpx;color:#60646b;line-height:50rpx">1.退款金额不包含充值时使用的第三方优惠抵扣金额,退款时充值享受到的优惠金额也将全部扣除</view><view style="font-size:26rpx;color:#60646b;line-height:50rpx">2.您的退款金额到账时间由各充值渠道(微信/支付宝决定请耐心等待约1~3工作日到账</view><view style="font-size:26rpx;color:#60646b;line-height:50rpx">3.退款按照充值记录进行逐笔退款,一次申请可能产生多笔退款到账记录,请注意查收</view><view style="font-size:26rpx;color:#60646b;line-height:50rpx">4.正在充电或存在异常订单时无法进行退款操作</view><view style="font-size:26rpx;color:#60646b;line-height:50rpx">5.根据各充值渠道规则,只可退一年内的充值金额</view><view style="position:fixed;bottom:0;left:0;width:750rpx;padding:20rpx 30rpx;border-top:1rpx solid #eee" class="flex-acsb"><view style="width:230rpx"><up-button u-i="53c42ebc-1" onVI="__l" u-p="{{g}}"></up-button></view><view style="width:400rpx"><up-button onClick="{{h}}" u-i="53c42ebc-2" onVI="__l" u-p="{{i}}"></up-button></view></view></view>

View File

@@ -0,0 +1,81 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const api_api = require("../../api/api.js");
const _sfc_main = {
data() {
return {
balance: 0,
dataFrom: {
amount: "",
refundReason: ""
}
};
},
onLoad(options) {
if (options.balance) {
this.balance = options.balance;
}
},
methods: {
refundTo() {
if (!this.dataFrom.amount) {
return common_vendor.index.showToast({
title: "请输入退款金额",
icon: "none"
});
}
api_api.refund(this.dataFrom).then((res) => {
common_vendor.index.showModal({
title: "提示",
content: "提交成功",
showCancel: false,
success: function(res2) {
common_vendor.index.navigateBack();
}
});
});
}
}
};
if (!Array) {
const _easycom_up_textarea2 = common_vendor.resolveComponent("up-textarea");
const _easycom_up_button2 = common_vendor.resolveComponent("up-button");
(_easycom_up_textarea2 + _easycom_up_button2)();
}
const _easycom_up_textarea = () => "../../uni_modules/uview-plus/components/u-textarea/u-textarea.js";
const _easycom_up_button = () => "../../uni_modules/uview-plus/components/u-button/u-button.js";
if (!Math) {
(_easycom_up_textarea + _easycom_up_button)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: `可申请退款${$data.balance}`,
b: $data.dataFrom.amount,
c: common_vendor.o(($event) => $data.dataFrom.amount = $event.detail.value),
d: common_vendor.o(($event) => $data.dataFrom.amount = $data.balance),
e: common_vendor.o(($event) => $data.dataFrom.refundReason = $event),
f: common_vendor.p({
placeholder: "请输入退款理由",
modelValue: $data.dataFrom.refundReason
}),
g: common_vendor.p({
openType: "contact",
customStyle: {
height: "80rpx"
},
text: "联系客服",
shape: "circle"
}),
h: common_vendor.o($options.refundTo),
i: common_vendor.p({
customStyle: {
height: "80rpx"
},
color: "#4879e6",
text: "提交",
shape: "circle"
})
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
my.createPage(MiniProgramPage);

View File

@@ -0,0 +1,7 @@
{
"defaultTitle": "退款申请",
"usingComponents": {
"up-textarea": "../../uni_modules/uview-plus/components/u-textarea/u-textarea",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
}
}