feat(uniapp_v2): 二开功能迁移与小程序主包优化
- 从 uniapp 迁移 HJF 页面、API、组件及用户/订单相关改动 - queue、assets 使用独立分包以降低主包体积 - 修复首页单根节点与支付结果页 v-if 链 - 关闭 HjfDemoPanel 全局注册;uniNoticeBar 注释 $getAppWebview 避免 __webviewId__ 报错 - 配置域名与 manifest 应用名称;cache/store 防御性处理 Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
<template>
|
||||
<view>
|
||||
<view class="result">
|
||||
<view class="image-wrap">
|
||||
<image class="image" :src="imgHost + '/statics/images/offline-result.png'" ></image>
|
||||
</view>
|
||||
<view class="text">支付成功</view>
|
||||
</view>
|
||||
<navigator class="link" url="/pages/index/index" open-type="switchTab">进入商城</navigator>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {HTTP_REQUEST_URL} from '@/config/app.js';
|
||||
export default {
|
||||
data(){
|
||||
return {
|
||||
imgHost:HTTP_REQUEST_URL,
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
let site_name = options.site_name || '';
|
||||
if (site_name) {
|
||||
uni.setNavigationBarTitle({
|
||||
title: site_name
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
page {
|
||||
background-color: #fff;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.result {
|
||||
margin-top: 200rpx;
|
||||
|
||||
.image-wrap {
|
||||
width: 267rpx;
|
||||
height: 223rpx;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.text {
|
||||
margin-top: 46rpx;
|
||||
font-size: 34rpx;
|
||||
text-align: center;
|
||||
color: #282828;
|
||||
}
|
||||
}
|
||||
|
||||
.link {
|
||||
width: 560rpx;
|
||||
height: 86rpx;
|
||||
border: 1rpx solid #F19D2F;
|
||||
border-radius: 43rpx;
|
||||
margin: 90rpx auto 0;
|
||||
font-size: 30rpx;
|
||||
line-height: 86rpx;
|
||||
text-align: center;
|
||||
color: #F19D2F;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user