Files
crmeb-mp/pages/annex/offline_result/index.vue
karlcarlo a5c5d753b6 feat: 添加静态资源文件及基础组件
- 新增大量图片资源,包括图标、背景图、海报等,用于页面展示
- 添加字体文件及样式配置,支持自定义字体
- 引入 uni-ui 组件库,包括图标、弹窗、日期选择器等常用组件
- 添加网络状态监听、加密工具等基础工具函数
- 配置 Vuex 状态管理,包括购物车数量、热门搜索词等
- 增加页面组件,如用户协议、分销信息、提现状态等
- 配置项目构建和忽略文件,优化开发体验
2026-02-26 17:59:51 +08:00

73 lines
1.1 KiB
Vue

<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>