detail.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <view class="kdetail">
  3. <view class="ktop flex">
  4. <image :src="cirimg"></image>
  5. <view>
  6. <view class="tit mb8">中通快递</view>
  7. <view class="txt flex">运单号:76445851125416587 <view class="btns">复制</view></view>
  8. </view>
  9. </view>
  10. <view class="ktop">
  11. <view class="stit mb20">以下数据由 <text class="co01">中通快递</text> 提供</view>
  12. <box-step type="kdstep" :datainfo="list"></box-step>
  13. </view>
  14. <loading></loading>
  15. </view>
  16. </template>
  17. <script>
  18. import config from '@/config'
  19. const baseUrl = config.baseUrl
  20. import boxStep from "@/mine/components/box/list.vue"
  21. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  22. export default{
  23. components:{boxStep},
  24. data(){
  25. return{
  26. type:'kdstep',
  27. list:[],
  28. cirimg:require("@/static/images/home/cir.png"),
  29. }
  30. },
  31. onLoad: function() {
  32. },
  33. methods:{
  34. checkPermi, checkRole,
  35. // getNextFn(){
  36. // this.$tab.navigateTo("/work/pages/business/add")
  37. // },
  38. getDataFn(){
  39. return
  40. var params={
  41. pageSize:this.pageSize,
  42. pageNum: this.pageNum,
  43. }
  44. params.noticeType=this.tabidx
  45. getNoticeList(params).then(res=>{
  46. if(res.code==200){
  47. }else{
  48. this.$toast(res.msg)
  49. }
  50. })
  51. },
  52. }
  53. }
  54. </script>
  55. <style>
  56. page{background: #F3F3F0;}
  57. </style>
  58. <style lang="scss" scoped>
  59. .kdetail{
  60. min-height: 100vh;padding: 20rpx 18rpx 100rpx;
  61. .ktop{background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20px;padding: 24rpx 26rpx;
  62. image{width: 104rpx;height: 104rpx;margin-right: 30rpx;}
  63. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-top: 8rpx;}
  64. .txt{font-weight: 500;font-size: 24rpx;color: #272727;}
  65. .btns{color: #0156FE;}
  66. }
  67. .stit{font-weight: 500;text-align: center;font-size: 24rpx;color: #AAAAAA;padding-top: 4rpx;
  68. text{margin: 0 10rpx;}
  69. }
  70. }
  71. </style>