refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范
这个提交包含在:
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<web-view :src="url"></web-view>
|
||||
</template>
|
||||
|
||||
<script setup lang="uts">
|
||||
const url = ref('')
|
||||
|
||||
onLoad((options) => {
|
||||
let urlParam = options["url"] as string | null;
|
||||
if (urlParam != null) {
|
||||
let decodedUrl = decodeURIComponent(urlParam);
|
||||
if (decodedUrl != null) {
|
||||
url.value = decodedUrl;
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
@@ -0,0 +1,259 @@
|
||||
<template>
|
||||
<!-- 自定义收银台页面模式 -->
|
||||
<view class="uni-pay">
|
||||
<view class="mobile-pay-popup">
|
||||
<view class="mobile-pay-popup-amount-box">
|
||||
<view><text class="mobile-pay-popup-amount-box-text">待支付金额:</text></view>
|
||||
<view class="mobile-pay-popup-amount"><text class="mobile-pay-popup-amount-text">{{ amountFormat(myOptions.getNumber('total_fee')) }}</text></view>
|
||||
</view>
|
||||
<view class="mobile-pay-popup-provider-list">
|
||||
<view class="uni-list">
|
||||
<!-- #ifdef MP-WEIXIN || WEB || APP -->
|
||||
<view class="uni-list-item" v-if="checkProvider('wxpay')" @click="createOrderByProvider('wxpay')">
|
||||
<view class="uni-list-item__container uni-list-item__container--right">
|
||||
<view class="uni-list-item__header">
|
||||
<image :src="insideData.getJSON('images')!['wxpay']" class="uni-list-item__header-image"></image>
|
||||
</view>
|
||||
<view class="uni-list-item__content uni-list-item__content--center">
|
||||
<text class="uni-list-item__content-text">微信支付</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="uni-list-item-arrowright"></view>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef MP-ALIPAY || WEB || APP -->
|
||||
<view class="uni-list-item" v-if="checkProvider('alipay')" @click="createOrderByProvider('alipay')">
|
||||
<view class="uni-list-item__container uni-list-item__container--right">
|
||||
<view class="uni-list-item__header">
|
||||
<image :src="insideData.getJSON('images')!['alipay']" class="uni-list-item__header-image"></image>
|
||||
</view>
|
||||
<view class="uni-list-item__content uni-list-item__content--center">
|
||||
<text class="uni-list-item__content-text">支付宝</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="uni-list-item-arrowright"></view>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 挂载支付组件 -->
|
||||
<uni-pay ref="payRef" height="450px" :to-success-page="false" @mounted="onMounted" @success="onSuccess" @fail="onFail" @cancel="onCancel"></uni-pay>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="uts">
|
||||
/**
|
||||
* @description: 演示 uni-pay 自定义收银台页面,展示待支付金额并根据可用支付渠道发起支付。
|
||||
* @logic: 页面加载时接收并解析订单参数,支付组件挂载后回填可用渠道与图标;用户选择支付渠道后调用 `createOrder` 发起支付,支付成功时跳转到成功页。
|
||||
* @optimization: 将下单入口统一收口到 `createOrder`,并通过 `insideData` 管理支付组件返回的渠道能力,避免不同支付方式分散维护。
|
||||
*/
|
||||
import { objectAssign } from "../../js_sdk/js_sdk"
|
||||
const myOptions = ref({
|
||||
total_fee: "",
|
||||
} as UTSJSONObject)
|
||||
const insideData = ref({
|
||||
currentProviders: [] as Array<string>,
|
||||
images: {
|
||||
alipay: "",
|
||||
wxpay: ""
|
||||
} as UTSJSONObject
|
||||
} as UTSJSONObject) // uni-pay组件mounted事件获得的数据
|
||||
const adpid = ref("") // 广告id
|
||||
const return_url = ref("") // 支付成功后点击查看订单跳转的订单详情页面地址
|
||||
const main_color = ref("") // 支付成功页面的主色调
|
||||
const payRef = ref<UniPayComponentPublicInstance | null>(null)
|
||||
|
||||
// 监听 - 支付组件加载完毕事件
|
||||
function onMounted(insideData_ : UTSJSONObject) {
|
||||
insideData.value['currentProviders'] = insideData_.getArray('currentProviders') as Array<string>;
|
||||
insideData.value['images'] = insideData_.getJSON('images') as UTSJSONObject;
|
||||
}
|
||||
// 发起支付
|
||||
function createOrder(data : UTSJSONObject) {
|
||||
myOptions.value = objectAssign(myOptions.value, data);
|
||||
if (payRef.value != null) {
|
||||
payRef.value!.createOrder(myOptions.value);
|
||||
}
|
||||
}
|
||||
// 根据provider发起支付
|
||||
function createOrderByProvider(provider : string) {
|
||||
createOrder({
|
||||
provider
|
||||
})
|
||||
}
|
||||
// 监听事件 - 支付成功
|
||||
function onSuccess(res : UTSJSONObject) {
|
||||
let out_trade_no = res['out_trade_no'] as string;
|
||||
let pay_order = res.getJSON('pay_order') as UTSJSONObject;
|
||||
let order_no = pay_order['order_no'] as string;
|
||||
//let pay_date = pay_order['pay_date'] as string;
|
||||
let total_fee = pay_order.getNumber('total_fee');
|
||||
if (total_fee == null) {
|
||||
total_fee = 0;
|
||||
}
|
||||
let return_url_ = return_url.value as string;
|
||||
let adpid_ = adpid.value as string;
|
||||
let main_color_ = main_color.value as string;
|
||||
|
||||
console.log('success: ', res);
|
||||
let user_order_success = res.getBoolean('user_order_success');
|
||||
if (user_order_success != null && user_order_success != true) {
|
||||
// 代表用户已付款,且你自己写的回调成功并正确执行了
|
||||
uni.redirectTo({
|
||||
url: `/uni_modules/uni-pay-x/pages/success/success?out_trade_no=${out_trade_no}&order_no=${order_no}&total_fee=${total_fee}&adpid=${adpid_}&return_url=${return_url_}&main_color=${main_color_}`
|
||||
});
|
||||
} else {
|
||||
// 代表用户已付款,但你自己写的回调执行失败(通常是因为你的回调代码有问题)
|
||||
|
||||
}
|
||||
}
|
||||
// 监听事件 - 支付失败
|
||||
function onFail(err : RequestPaymentFail) {
|
||||
console.log('fail: ', err)
|
||||
|
||||
}
|
||||
// 监听事件 - 取消支付
|
||||
function onCancel(err : RequestPaymentFail) {
|
||||
console.log('cancel: ', err)
|
||||
|
||||
}
|
||||
function amountFormat(totalFee : number | null) : string {
|
||||
if (totalFee == null) {
|
||||
return "0";
|
||||
} else {
|
||||
return (totalFee / 100).toFixed(2)
|
||||
}
|
||||
}
|
||||
// 检测provider
|
||||
function checkProvider(provider : string) : boolean {
|
||||
let currentProviders = insideData.value.getArray<string>('currentProviders');
|
||||
return currentProviders != null && currentProviders.indexOf(provider) > -1 ? true : false;
|
||||
}
|
||||
|
||||
// 监听 - 页面每次【加载时】执行(如:前进)
|
||||
onLoad((options) => {
|
||||
let optionsStr = options['options'] as string | null;
|
||||
if (optionsStr != null && optionsStr != "") {
|
||||
let newOptions = JSON.parse(decodeURI(optionsStr)!) as UTSJSONObject;
|
||||
myOptions.value = newOptions as UTSJSONObject;
|
||||
}
|
||||
console.log('myOptions: ', myOptions.value)
|
||||
})
|
||||
</script>
|
||||
<style>
|
||||
.uni-pay {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #f3f3f3;
|
||||
}
|
||||
|
||||
.mobile-pay-popup {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.mobile-pay-popup-amount-box {
|
||||
background-color: #ffffff;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.mobile-pay-popup-amount-box-text {
|
||||
color: #333333;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.mobile-pay-popup-amount {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.mobile-pay-popup-amount-text {
|
||||
color: #e43d33;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.mobile-pay-popup-provider-list {
|
||||
background-color: #ffffff;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.uni-list {
|
||||
display: flex;
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.uni-list-item {
|
||||
display: flex;
|
||||
position: relative;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
flex-direction: row;
|
||||
border-bottom: 1px solid #f8f8f8;
|
||||
/* #ifdef WEB */
|
||||
cursor: pointer;
|
||||
/* #endif */
|
||||
}
|
||||
|
||||
/* #ifndef VUE3-VAPOR */
|
||||
.uni-list-item:hover {
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* #endif */
|
||||
|
||||
.uni-list-item__container {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: 12px 15px;
|
||||
padding-left: 15px;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.uni-list-item__container--right {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.uni-list-item__header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.uni-list-item__header-image {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
margin-right: 9px;
|
||||
}
|
||||
|
||||
.uni-list-item__content {
|
||||
display: flex;
|
||||
padding-right: 8px;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.uni-list-item__content-text {
|
||||
color: #3b4144;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.uni-list-item__content--center {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.uni-list-item-arrowright {
|
||||
border-top: 1px solid #bbbbbb;
|
||||
border-right: 1px solid #bbbbbb;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
margin-right: 15px;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,227 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<view class="header">
|
||||
<image :src="successImages" class="header-success-image"></image>
|
||||
<view><text class="header-success-title-text">支付成功</text></view>
|
||||
<view class="header-hr"></view>
|
||||
</view>
|
||||
<view class="info-box">
|
||||
<view class="info-box-amount"><text class="info-box-amount-text">¥ {{ amountFormat(myOptions.getNumber('total_fee')) }}</text></view>
|
||||
<view class="info-box-left-circle"></view>
|
||||
<view class="info-box-right-circle"></view>
|
||||
<view class="info-box-main">
|
||||
<view class="info-box-cell">
|
||||
<view class="info-box-cell-left"><text class="info-box-cell-left-text">订单编号</text></view>
|
||||
<view class="info-box-cell-right"><text class="info-box-cell-right-text">{{ myOptions['order_no'] }}</text></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 广告位开始 -->
|
||||
<view class="uni-ad">
|
||||
<!-- 红包广告,uniappx暂不支持-->
|
||||
<!-- <ad-interactive v-if="myOptions['adpid']" :adpid="myOptions['adpid']" v-slot:default="{data, loading, error}"
|
||||
open-page-path="/uni_modules/uni-pay-x/pages/ad-interactive-webview/ad-interactive-webview" @error="onaderror">
|
||||
<view v-if="data" class="ad-interactive">
|
||||
<image :src="data.imgUrl" mode="widthFix"></image>
|
||||
</view>
|
||||
</ad-interactive> -->
|
||||
</view>
|
||||
<!-- 广告位结束 -->
|
||||
<view v-if="myOptions['return_url']" class="button-query" @click="queryOrder"><text class="button-query-text">查看订单</text></view>
|
||||
<view class="footer-hr"></view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="uts">
|
||||
/**
|
||||
* @description: 展示支付成功后的结果页,包含金额、订单编号以及返回订单详情入口。
|
||||
* @logic: 页面加载时读取支付结果参数,格式化展示订单金额和编号;当存在 `return_url` 时,点击“查看订单”会拼接订单参数并跳转详情页。
|
||||
* @optimization: 将支付结果参数统一存入 `myOptions`,并通过 `amountFormat` 与 `queryOrder` 收敛展示和跳转逻辑,减少模板层的处理负担。
|
||||
*/
|
||||
const myOptions = ref({
|
||||
adpid: "",
|
||||
order_no: "",
|
||||
out_trade_no: "",
|
||||
total_fee: 0,
|
||||
pay_date: "",
|
||||
return_url: ""
|
||||
} as UTSJSONObject)
|
||||
|
||||
const successImages = ref("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAEAYAAAD6+a2dAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAACAl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3P8+VpbUVASc1zt8+ACtL4Fndu70DDxjsT2cv/k8U9iqlXRRbGrD27f45sfGogLwCSIVeB3mYPjE5+WvWSNdFJtaQooUrVzpLfCMj3fLfFd9+zZ04EDp8tnUxK1b0CFDeB7EW077kKiIgk8A6dcvYIdEMfjAFy/46Zl0UW2qY+5cXwPP1HqqE33K6dOoCHxQpI0sWVnediJZ4fdeQPd7g0OHoGlp0q6oXxw/Dp0xw9t6BisCdFh0w4YYb/MBB/aZwcHl0iW0wBMmiB0WzbgMIEWKxo2DcotgE1hycwMV+KDBXQNahq1bpR9/hDe8QCczExqG2/dh+Pjx0PryuLWufP4MnTxZOn4Brgi8jv7WLWkXhyY3b0Kr7pSKGFBAz5+NC9eNFXWFfzZuwQL2i3R8hCpE8+bQ9evdHRNp8Ba8detcB0bYuAPHNGkCRy1fDn3yRDp0/sErq5Yt43JJ+zdsgSP79HEfXTx6BJVavcvLqx8+5M2kSK9hzV2IEfZ9jmt9u/PUK4yTu3fHdVwcrvnn4/nM3Bp+Pp4UKeKHKiUlyF9Y6Dq4QiuttOfPx/NCk/Djf0hQD04eJaNOAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTEwLTI3VDE0OjAzOjAyKzA4OjAwisT1owAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMC0yN1QxNDowMzowMiswODowMPuZTR8AAABQdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uX3ZwM212emVpcjcvemhpZnVjaGVuZ2dvbmcuc3ZntdPldAAAAABJRU5ErkJggg==")
|
||||
|
||||
const color = ref({
|
||||
wxpay: "#01be6e",
|
||||
alipay: "#108ee9"
|
||||
})
|
||||
|
||||
function queryOrder() {
|
||||
let return_url = myOptions.value['return_url'] as string;
|
||||
let out_trade_no = myOptions.value['out_trade_no'] as string;
|
||||
let order_no = myOptions.value['order_no'] as string;
|
||||
let url = return_url + `?out_trade_no=${out_trade_no}&order_no=${order_no}`;
|
||||
if (url.indexOf("/") != 0) url = `/${url}`;
|
||||
uni.navigateTo({
|
||||
url,
|
||||
});
|
||||
}
|
||||
|
||||
function onaderror(e : any) {
|
||||
console.log("ad-error", e);
|
||||
}
|
||||
|
||||
function amountFormat(totalFee : number | null) : string {
|
||||
if (totalFee == null || totalFee == 0) {
|
||||
return "0";
|
||||
} else {
|
||||
return (totalFee / 100).toFixed(2)
|
||||
}
|
||||
}
|
||||
|
||||
onLoad((options) => {
|
||||
myOptions.value['adpid'] = options['adpid'];
|
||||
myOptions.value['order_no'] = options['order_no'] != null ? options['order_no'] : "-";
|
||||
myOptions.value['out_trade_no'] = options['out_trade_no'];
|
||||
if (options['total_fee'] != null) {
|
||||
myOptions.value['total_fee'] = parseFloat(options['total_fee'] as string);
|
||||
}
|
||||
myOptions.value['pay_date'] = options['pay_date'];
|
||||
myOptions.value['return_url'] = options['return_url'];
|
||||
})
|
||||
</script>
|
||||
<style>
|
||||
|
||||
.app {
|
||||
background-color: #f3f3f3;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.header {
|
||||
background-color: #007aff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 40px 15px 25px 15px;
|
||||
}
|
||||
|
||||
.header-success-image {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.header-success-title-text {
|
||||
color: #ffffff;
|
||||
font-size: 17px;
|
||||
margin-top: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.header-hr {
|
||||
margin-top: 20px;
|
||||
width: 100%;
|
||||
height: 15px;
|
||||
border-radius: 10px;
|
||||
opacity: 0.1;
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
.info-box {
|
||||
margin: 0 25px;
|
||||
position: relative;
|
||||
margin-top: -32px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.info-box-amount {
|
||||
height: 75px;
|
||||
border-bottom: 2px dashed #f3f3f3;
|
||||
}
|
||||
|
||||
.info-box-amount-text {
|
||||
line-height: 75px;
|
||||
color: #007aff;
|
||||
font-weight: bold;
|
||||
font-size: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.info-box-left-circle {
|
||||
background-color: #f3f3f3;
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 10px;
|
||||
top: 65px;
|
||||
left: -10px;
|
||||
}
|
||||
|
||||
.info-box-right-circle {
|
||||
background-color: #f3f3f3;
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 10px;
|
||||
top: 65px;
|
||||
right: -10px;
|
||||
}
|
||||
|
||||
.info-box-main {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.info-box-cell {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.info-box-cell-left {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.info-box-cell-left-text {
|
||||
text-align: left;
|
||||
font-size: 13px;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.info-box-cell-right {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.info-box-cell-right-text {
|
||||
text-align: right;
|
||||
font-size: 13px;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.uni-ad {
|
||||
margin-top: 25px;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
.ad-interactive {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.button-query {
|
||||
background-color: #007aff;
|
||||
margin: 25px 30px 0 30px;
|
||||
padding: 10px 15px;
|
||||
border-radius: 25px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.button-query-text {
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* #ifndef VUE3-VAPOR */
|
||||
.button-query:active {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
/* #endif */
|
||||
|
||||
.footer-hr {
|
||||
height: 50px;
|
||||
}
|
||||
</style>
|
||||
在新工单中引用
屏蔽一个用户