details.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <view class="details">
  3. <view class="detop">
  4. <view class="head">
  5. <view class="top">
  6. <view class="toptit">安徽嘉欣医疗用品有限公司</view>
  7. <view class="statbox">专精特新<image :src="start"></image></view>
  8. </view>
  9. <view class="adr">企业地址 | 潜山市经济开发区</view>
  10. </view>
  11. </view>
  12. <!-- 文件列表 -->
  13. <view class="main">
  14. <bus-list :datalist="list" :wtdt="wtdt" :type="type" @getDetail="getDetail"></bus-list>
  15. </view>
  16. </view>
  17. </template>
  18. <script>
  19. import config from '@/config'
  20. const baseUrl = config.baseUrl
  21. import busList from "@/work/components/business/list.vue"
  22. import {uploadmore} from '@/utils/common.js'
  23. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  24. export default{
  25. components:{busList},
  26. data(){
  27. return{
  28. start:require('@/work/static/images/start.png'),
  29. titimg:require('@/work/static/images/infotit.png'),
  30. list:[{tit:'123'},{tit:'123'}],
  31. wtdt:'',
  32. type:'filedet'
  33. }
  34. },
  35. methods:{
  36. checkPermi, checkRole,
  37. getDetail(){
  38. this.$tab.navigateTo("/work/pages/file/wjdetails")
  39. },
  40. }
  41. }
  42. </script>
  43. <style lang="scss" scoped>
  44. .detop{background: #FFFFFF;padding:0rpx 24rpx;margin-bottom: 28rpx;flex: 0 0 auto;
  45. position: relative;
  46. .head{
  47. padding: 40rpx 2rpx;
  48. .top{display: flex;align-items: center;overflow: hidden;
  49. .toptit{font-weight: bold;font-size: 40rpx;color: #222327;}
  50. .statbox{min-width: 140rpx;height: 36rpx;background-color: rgba(255,177,50,0.3);padding: 0 14rpx;box-sizing: border-box;font-weight: bold;font-size: 22rpx;color: #FF6924;display: flex;align-items: center;flex: 0 0 auto;border-radius: 10rpx;margin-left: 34rpx;
  51. image{width: 22rpx;height: 22rpx;margin-left: 6rpx;}
  52. }
  53. }
  54. .adr{font-weight: 500;font-size: 26rpx;color: #666666;margin-top: 12rpx;}
  55. }
  56. }
  57. .main{background-color: #FFFFFF;flex: 1;display: flex;flex-direction: column;overflow: hidden;
  58. }
  59. </style>