bindstep.vue 650 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <view class="container step">
  3. <image class="step-img" :src="stepImage" mode="" @click="viewMentuzImage"></image>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data (){
  9. return {
  10. stepImage:'https://admin-b.caimei365.com/userfiles/1/images/photo/2020/03/%E8%BF%90%E8%90%A5%E4%BA%BA%E5%91%98%E7%BB%91%E5%AE%9A%E6%AD%A5%E9%AA%A41%403x.png'
  11. }
  12. },
  13. methods:{
  14. viewMentuzImage(e) {
  15. let self = this
  16. uni.previewImage({
  17. urls: self.stepImage,
  18. current: 0
  19. });
  20. },
  21. }
  22. }
  23. </script>
  24. <style lang="scss">
  25. .step{
  26. width: 100%;
  27. height: auto;
  28. .step-img{
  29. width: 100%;
  30. height: 3798rpx;
  31. }
  32. }
  33. </style>