feat: 添加静态资源文件及基础组件
- 新增大量图片资源,包括图标、背景图、海报等,用于页面展示 - 添加字体文件及样式配置,支持自定义字体 - 引入 uni-ui 组件库,包括图标、弹窗、日期选择器等常用组件 - 添加网络状态监听、加密工具等基础工具函数 - 配置 Vuex 状态管理,包括购物车数量、热门搜索词等 - 增加页面组件,如用户协议、分销信息、提现状态等 - 配置项目构建和忽略文件,优化开发体验
This commit is contained in:
87
pages/admin/offOrderResult/index.vue
Normal file
87
pages/admin/offOrderResult/index.vue
Normal file
@@ -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