import Mock from 'mockjs'
Mock.mock('/es/searchList',{ 
    "code": 200, 
    "message": "操作成功", 
    "data": {
        "products": [
            {
                "id": 41, 
                "productSn": null, 
                "brandId": 3, 
                "brandName": "华为", 
                "productCategoryId": null, 
                "productCategoryName": null, 
                "pic": "http://tuling-mall.oss-cn-shenzhen.aliyuncs.com/tulingmall/images/20200327/1_DE7F785A7E0C276D3A1F40A5C6D82B07D2AED60CE1F73795mp.png", 
                "name": "<b style='color:red'>华为</b>P40 Pro", 
                "subTitle": "华为P40 Pro", 
                "keywords": "华为手机", 
                "price": 2129, 
                "sale": 999, 
                "newStatus": null, 
                "recommandStatus": null, 
                "stock": 100000, 
                "promotionType": null, 
                "sort": null, 
                "attrValueList": null
            }, 
            {
                "id": 38, 
                "productSn": null, 
                "brandId": 3, 
                "brandName": "华为", 
                "productCategoryId": null, 
                "productCategoryName": null, 
                "pic": "http://tuling-mall.oss-cn-shenzhen.aliyuncs.com/tulingmall/images/20200311/78_78_42B09549789695A42D621CF87DC53B5EBE9385772DC61FB9mp.png", 
                "name": "<b style='color:red'>华为</b>nova6se 手机 绮境森林 全网通（8G+128G)", 
                "subTitle": "华为nova6se 手机", 
                "keywords": "轻薄笔记本华为", 
                "price": 6769, 
                "sale": 999, 
                "newStatus": null, 
                "recommandStatus": null, 
                "stock": 100000, 
                "promotionType": null, 
                "sort": null, 
                "attrValueList": null
            }, 
            {
                "id": 37, 
                "productSn": null, 
                "brandId": 3, 
                "brandName": "华为", 
                "productCategoryId": null, 
                "productCategoryName": null, 
                "pic": "http://tuling-mall.oss-cn-shenzhen.aliyuncs.com/tulingmall/images/20200317/800_800_1555752016264mp.png", 
                "name": "(<b style='color:red'>华为</b>)HUAWEI MateBook X Pro 2019款 13.9英寸3K触控全面屏 轻薄笔记本", 
                "subTitle": "轻薄笔记本", 
                "keywords": "轻薄笔记本华为", 
                "price": 4769, 
                "sale": 999, 
                "newStatus": null, 
                "recommandStatus": null, 
                "stock": 100000, 
                "promotionType": null, 
                "sort": null, 
                "attrValueList": null
            }
        ], 
        "pageNum": 1, 
        "total": 3, 
        "totalPages": 1, 
        "pageNavs": [
            1
        ], 
        "brands": [
            {
                "brandId": 3, 
                "brandName": "华为", 
                "brandImg": "http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190129/17f2dd9756d9d333bee8e60ce8c03e4c_222_222.jpg"
            }
        ], 
        "attrs": [
            {
                "attrId": 1, 
                "attrName": "容量", 
                "attrValue": [
                    "128G", 
                    "16G", 
                    "64G"
                ]
            }, 
            {
                "attrId": 2, 
                "attrName": "网络", 
                "attrValue": [
                    "5G", 
                    "4G"
                ]
            }
        ], 
        "categorys": [
            {
                "categoryId": 19, 
                "categoryName": "手机通讯"
            }
        ], 
        "navs": null
    } 
});