12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <template>
- <view class="detail-page-box">
- <view class="detailBox">
- <image :src="type==1?urlDomain+'crmebimage/presets/adminImg/result2.png':urlDomain+'crmebimage/presets/adminImg/result1.png'" mode=""></image>
- <view class="text">
- {{type==1?'订单已全部核销':'暂无待核销订单'}}
- </view>
- <view class="btn-box">
- <view class="btn xq" @click="toDetail">
- {{type==1?'订单详情':'返回重新核销'}}
- </view>
- <view class="btn gzt" @click="toWork">
- 返回工作台
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default{
- data(){
- return{
- urlDomain: this.$Cache.get("imgHost"),
- type:'',
- orderNo:''
- }
- },
- onLoad(options) {
- this.type=options.type
- this.orderNo=options.orderNo
- },
- methods:{
- toWork(){
- uni.reLaunch({
- url:'/pages/admin/work/index'
- })
- },
- toDetail(){
- if(this.type==1){
- uni.navigateTo({
- url:`/pages/admin/order/detail?orderNo=${this.orderNo}`
- })
- }else{
- uni.navigateTo({
- url:`/pages/admin/cancel/index`
- })
- }
- }
- }
- }
- </script>
- <style scoped lang="scss">
- .detail-page-box{
- padding: 40rpx 20rpx;
- .detailBox{
- padding: 40rpx 20rpx;
- width: 710rpx;
- height: 660rpx;
- background: #FFFFFF;
- text-align: center;
- padding-top: 64rpx;
- border-radius: 14rpx;
- image{
- width: 170rpx;
- height: 150rpx;
- }
- .text{
- font-size: 36rpx;
- color: #333333;
- margin-top: 34rpx;
- }
- .btn-box{
- margin-top: 60rpx;
- .btn{
- width: 500rpx;
- height: 88rpx;
- border-radius: 50rpx;
- line-height: 88rpx;
- font-weight: 500;
- font-size: 28rpx;
- margin: 0 auto;
- }
- .xq{
- background: #2A7EFB;
- color: #FFFFFF;
- }
- .gzt{
- border: 1px solid #2A7EFB;
- color: #2A7EFB;
- margin-top: 24rpx;
- }
- }
- }
- }
- </style>
|