Notice.jsx 566B

123456789101112131415161718192021
  1. import React from 'react';
  2. import { View, Image } from '@tarojs/components';
  3. import smallbell from '@/assets/icons/smallbell.png';
  4. import Taro from '@tarojs/taro';
  5. import style from './notice.module.less';
  6. export default (props) => {
  7. const onClick = () => {
  8. Taro.navigateTo({
  9. url: `/pages/my/edit/index`
  10. })
  11. }
  12. return (
  13. <View className="wrapper-middle-box" onClick={onClick}>
  14. <Image className="wrapper-middle-img" src={smallbell} />
  15. <View className="wrapper-middle-text3">消息通知</View>
  16. </View>
  17. )
  18. }