collect.vue 501 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <view class="head-icon" >
  3. <text @click.stop="activeStatus = !activeStatus" :class="['iconfont' , activeStatus ? 'active-collect' : '']">&#xe625;</text>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. activeStatus:false
  11. };
  12. },
  13. methods:{
  14. // getService(){
  15. // uni.navigateTo({
  16. // url:'/pages/content/customer-service'
  17. // })
  18. // }
  19. }
  20. }
  21. </script>
  22. <style lang="scss" scoped>
  23. .active-collect{
  24. color: $Theme-Color !important;
  25. }
  26. </style>