index.vue 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <template>
  2. <view class="home">
  3. <cu-custom class="home-custom" bgColor=".bg-sancolor" bgImage="../../static/icons/bg.png">
  4. <block slot="content">农产品检测监测平台</block>
  5. </cu-custom>
  6. <view>
  7. <view class="cu-list menu content-box">
  8. <view class="cu-item" :class="menuArrow?'arrow':''">
  9. <view class="content">
  10. <text class="cuIcon-circlefill text-black"></text>
  11. <text class="text-black" style="font-weight: bold;">任务名称:xxxx</text>
  12. </view>
  13. </view>
  14. <view class="cu-item" :class="menuArrow?'arrow':''">
  15. <view class="content">
  16. <!-- <image src="/static/logo.png" class="png" mode="aspectFit"></image> -->
  17. <div class="text-gray">任务编号:</div>
  18. <div class="text-gray">任务类别:</div>
  19. <div class="text-gray">年度/季度:</div>
  20. <div class="text-gray">开始时间:</div>
  21. <div class="text-gray">截至时间:</div>
  22. <div class="text-gray">执行标准:</div>
  23. <div class="text-gray">抽检分离:</div>
  24. <div class="text-gray">发布单位:</div>
  25. <div class="text-gray">抽样单位:</div>
  26. <div class="text-gray">检测单位:</div>
  27. <div class="text-gray">创建时间:</div>
  28. <div class="text-gray">更新时间:</div>
  29. <div class="text-gray">状态:</div>
  30. </view>
  31. </view>
  32. <view class="padding flex flex-direction">
  33. <button class="cu-btn bg-green margin-tb-sm lg" @tap="toSmapleList">管理抽样单 </button>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. </template>
  39. <script>
  40. export default {
  41. data() {
  42. return {
  43. }
  44. },
  45. created() {
  46. },
  47. mounted() {
  48. },
  49. methods:{
  50. toSmapleList(){
  51. uni.navigateTo({
  52. url:'/pages/sample-list/index'
  53. })
  54. }
  55. }
  56. }
  57. </script>
  58. <style scoped>
  59. .content{
  60. padding: 10px;
  61. }
  62. .content-box{
  63. margin: 10px;
  64. border-radius: 5px;
  65. }
  66. </style>