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,87 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<view class="panel">
|
||||
<view class="img-box">
|
||||
<image v-if="id" src="../static/result2.png" class="image"></image>
|
||||
<image v-else src="../static/result1.png" class="image"></image>
|
||||
<view v-if="id">订单已全部核销</view>
|
||||
<view v-else>暂无待核销订单</view>
|
||||
</view>
|
||||
<view class="btn-box">
|
||||
<navigator v-if="id" class="btn" :url="'/pages/admin/orderDetail/index?id='+id" hover-class="none">订单详情</navigator>
|
||||
<navigator class="btn" url="/pages/admin/work/index" hover-class="none">返回工作台</navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// import Name from './components/Name.vue'
|
||||
import {
|
||||
HTTP_REQUEST_URL
|
||||
} from '@/config/app';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
// Name
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
imgHost: HTTP_REQUEST_URL,
|
||||
id: 0
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
this.id = option.id || 0;
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.container {
|
||||
padding: 40rpx 20rpx;
|
||||
|
||||
.panel {
|
||||
padding: 64rpx 105rpx 98rpx;
|
||||
border-radius: 24rpx;
|
||||
background: #FFFFFF;
|
||||
}
|
||||
|
||||
.img-box {
|
||||
text-align: center;
|
||||
font-size: 36rpx;
|
||||
line-height: 50rpx;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.image {
|
||||
width: 173rpx;
|
||||
height: 163rpx;
|
||||
margin-bottom: 34rpx;
|
||||
}
|
||||
|
||||
.btn-box {
|
||||
margin-top: 60rpx;
|
||||
}
|
||||
|
||||
.btn {
|
||||
height: 88rpx;
|
||||
border: 1rpx solid $primary-admin;
|
||||
border-radius: 44rpx;
|
||||
text-align: center;
|
||||
font-weight: 500;
|
||||
line-height: 86rpx;
|
||||
color: $primary-admin;
|
||||
transform: rotateZ(360deg);
|
||||
|
||||
+.btn {
|
||||
margin-top: 24rpx;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
background: $primary-admin;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user