zoukankan      html  css  js  c++  java
  • 排序接口

    {
    	"navTab": [{
    		"name": "综合排序",
    		"icon": "caret-down"
    	}, {
    		"name": "距离最近",
    		"condition": "distance"
    	}, {
    		"name": "品质联盟",
    		"condition": "is_premium"
    	}, {
    		"name": "筛选",
    		"icon": "filter"
    	}],
    	"sortBy": [{
    		"name": "综合排序",
    		"check": false,
    		"code": ""
    	}, {
    		"name": "好评优先",
    		"check": false,
    		"code": "rating"
    	}, {
    		"name": "销量最高",
    		"check": false,
    		"code": "recent_order_num"
    	}, {
    		"name": "起送价最低",
    		"check": false,
    		"code": "float_minimum_order_amount"
    	}, {
    		"name": "配送最快",
    		"check": false,
    		"code": "order_lead_time"
    	}, {
    		"name": "配送费最低",
    		"check": false,
    		"code": "float_delivery_fee"
    	}, {
    		"name": "人均从低到高",
    		"check": false,
    		"code": ""
    	}, {
    		"name": "人均从高到低",
    		"check": false,
    		"code": ""
    	}, {
    		"name": "通用排序",
    		"check": false,
    		"code": ""
    	}],
    	"screenBy": [{
    		"title": "商家服务(可多选)",
    		"id": "MPI",
    		"data": [{
    			"name": "蜂鸟专送",
    			"icon": "https://fuss10.elemecdn.com/b/9b/45d2f6ff0dbeef3a78ef0e4e90abapng.png",
    			"select": false,
    			"code": "delivery_mode"
    		}, {
    			"name": "品牌商家",
    			"icon": "https://fuss10.elemecdn.com/6/7c/417ba499b9ef8240b8014a453bf30png.png",
    			"select": false,
    			"code": "is_premium"
    		}, {
    			"name": "新店",
    			"icon": "https://fuss10.elemecdn.com/c/93/ded991df780906f7471128a226104png.png",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "食安保",
    			"icon": "https://fuss10.elemecdn.com/2/cd/444d002a94325c5dff004fb3b9505png.png",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "开发票",
    			"icon": "https://fuss10.elemecdn.com/3/d4/5668ffc03151826f95b75249bea31png.png",
    			"select": false,
    			"code": ""
    		}]
    	}, {
    		"title": "优惠活动(单选)",
    		"id": "offer",
    		"data": [{
    			"name": "首单立减",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "门店新客立减",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "满减优惠",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "下单返红包",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "进店领红包",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "配送费优惠",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "赠品优惠",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "特价商品",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "品质联盟红包",
    			"select": false,
    			"code": ""
    		}]
    	}, {
    		"title": "人均消费",
    		"id": "per",
    		"data": [{
    			"name": "¥20以下",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "¥20-¥40",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "¥40-¥60",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "¥60-¥80",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "¥80-¥100",
    			"select": false,
    			"code": ""
    		}, {
    			"name": "¥100以上",
    			"select": false,
    			"code": ""
    		}]
    	}]
    }
    

      


  • 相关阅读:
    cshtml 中的 AppState = Context.Application 和 控制器中的 Application 也相等
    HangFire快速入门 分布式后端作业调度框架服务
    用RSA加密实现Web登录密码加密传输
    c# MD5及盐值加密
    CentOS目录结构超详细版
    两篇文章带你走入.NET Core 世界:CentOS+Kestrel+Ngnix 虚拟机先走一遍(一)
    利用js实现 禁用浏览器后退
    在.Net Core WebAPI下给Swagger增加导出离线文档功能
    mysql 数据库扫描行数
    EFCore+Mysql仓储层建设(分页、多字段排序、部分字段更新)
  • 原文地址:https://www.cnblogs.com/xzhce/p/13691341.html
Copyright © 2011-2022 走看看