Mydistribution.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <view class="OutermostLayer">
  3. <view class="paifa">
  4. <view class="addllayer">
  5. <u-button type="primary" text="添加" @click="addnewdata"></u-button>
  6. </view>
  7. <u-cell-group>
  8. <u-cell title="电力维修" label="B栋13楼电力设备出现问题" @click="distributiondetil" :isLink="true">
  9. <u-icon slot="icon" size="45" name="order"></u-icon>
  10. </u-cell>
  11. <u-cell title="电力维修" label="B栋13楼电力设备出现问题" @click="distributiondetil" :isLink="true">
  12. <u-icon slot="icon" size="45" name="order"></u-icon>
  13. </u-cell>
  14. <u-cell title="电力维修" label="B栋13楼电力设备出现问题" @click="distributiondetil" :isLink="true">
  15. <u-icon slot="icon" size="45" name="order"></u-icon>
  16. </u-cell>
  17. <u-cell title="电力维修" label="B栋13楼电力设备出现问题" @click="distributiondetil" :isLink="true">
  18. <u-icon slot="icon" size="45" name="order"></u-icon>
  19. </u-cell>
  20. </u-cell-group>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. export default {
  26. data() {
  27. return {
  28. }
  29. },
  30. methods: {
  31. distributiondetil(){
  32. uni.navigateTo({
  33. url: 'distributiondetil/distributiondetil'
  34. })
  35. },
  36. addnewdata(){
  37. uni.navigateTo({
  38. url: '/pages/my/Mydistribution/distributionedit/distributionedit'
  39. })
  40. }
  41. }
  42. }
  43. </script>
  44. <style>
  45. .addllayer{
  46. margin-bottom: 20rpx;
  47. }
  48. .paifa{
  49. padding: 20rpx;
  50. }
  51. </style>