import React from 'react';
import { View, Image, Text } from '@tarojs/components';
const search = 'https://wanmi-b2b-x-site.oss-cn-shanghai.aliyuncs.com/pandora-ui/assets/templates/images/search.png';
import {CompDefault, MetaProps} from "../data-channel";
import connect from '../connect';

export interface Props extends MetaProps {}

export interface State {}

const defaultValue: CompDefault<Props, State> = {
  props: {},
  state: {},
  meta: {},
}

/**
 * 区块-头部
 */
const BlockHead: React.FC<Props> = () => {
  return (
    <View className='wm-head-simple'>
      <View className='search'>
        <Image src={search} className='img'></Image>
        <Text className='text'>爱拼才会赢</Text>
      </View>
    </View>
  );
};

export default connect(BlockHead, defaultValue);
