shouJiCeJu.vue 626 B

1234567891011121314151617181920212223242526
  1. <template>
  2. <view class="content">
  3. <vertical-rule style="position: absolute;right: 10rpx;" min="0" max="150" height="600" @change="change"></vertical-rule>
  4. </view>
  5. </template>
  6. <script setup>
  7. import { ref, onMounted } from "vue";
  8. import { onShow } from "@dcloudio/uni-app";
  9. import verticalRule from '@/components/horizontal-rule/vertical-rule.vue'
  10. const dfVal = ref(0)
  11. const change = (e)=>{
  12. dfVal.value = Math.round(e)
  13. }
  14. </script>
  15. <style lang="scss" scoped>
  16. .content{
  17. height: 100vh;
  18. padding: 28rpx;
  19. background: linear-gradient(to bottom, #a9d4ff, #cce6ff);
  20. }
  21. .calliper{
  22. transform: translate(90deg);
  23. }
  24. </style>