SoundForm.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <template>
  2. <view class="hw">
  3. <view class="hw-header">
  4. <view class="syj">
  5. <image src="../../static/images/syj1.png" class="img" mode="heightFix"/>
  6. </view>
  7. <!-- <view class="hw-img">
  8. <image src="../../static/images/hw.png" class="img" mode="heightFix"/>
  9. </view> -->
  10. </view>
  11. <view class="hw-content">
  12. <view class="hw-items">
  13. <view class="scroll">
  14. <view @click=onViewZc style="padding: 0px 26px 0px 35px; font-size: 22px; font-weight: bold; width: 100%; "><view>请选择:</view>
  15. <view style="border: 1px solid #ccc; text-align: center; border-radius: 7px;width: 80%; margin: 10px auto; height: 40px; line-height: 40px; background-color: #F0F0F0;">发布场地</view>
  16. <view @click=onViewZc style="border: 1px solid #ccc; text-align: center; border-radius: 7px;width: 80%; margin: 10px auto;height: 40px; line-height: 40px; background-color: #F0F0F0;">发布活动</view>
  17. </view>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. export default {
  25. name:"SoundForm",
  26. props:{
  27. dataList:{
  28. type:Array,
  29. default:()=>{
  30. return [];
  31. }
  32. }
  33. },
  34. data() {
  35. return {
  36. };
  37. },
  38. methods:{
  39. onViewZc(){
  40. uni.navigateTo({
  41. url:'/pages/my/index',
  42. })
  43. },
  44. }
  45. }
  46. </script>
  47. <style lang="scss">
  48. @import './SoundForm.scss'
  49. </style>