diff --git a/pom.xml b/pom.xml index 1119fa8..9b2570f 100644 --- a/pom.xml +++ b/pom.xml @@ -80,6 +80,13 @@ 1.1.23 + + com.github.yulichang + mybatis-plus-join-boot-starter + 1.4.7.2 + + + diff --git a/src/main/java/com/JIAL/FMSystem/controller/AddressBookController.java b/src/main/java/com/JIAL/FMSystem/controller/AddressBookController.java deleted file mode 100644 index c4d2442..0000000 --- a/src/main/java/com/JIAL/FMSystem/controller/AddressBookController.java +++ /dev/null @@ -1,103 +0,0 @@ -package com.JIAL.FMSystem.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; -import com.JIAL.FMSystem.common.BaseContext; -import com.JIAL.FMSystem.common.R; -import com.JIAL.FMSystem.entity.AddressBook; -import com.JIAL.FMSystem.service.AddressBookService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -import java.util.List; - -/** - * 地址簿管理 - */ -@Slf4j -@RestController -@RequestMapping("/addressBook") -public class AddressBookController { - - @Autowired - private AddressBookService addressBookService; - - /** - * 新增 - */ - @PostMapping - public R save(@RequestBody AddressBook addressBook) { - addressBook.setUserId(BaseContext.getCurrentId()); - log.info("addressBook:{}", addressBook); - addressBookService.save(addressBook); - return R.success(addressBook); - } - - /** - * 设置默认地址 - */ - @PutMapping("default") - public R setDefault(@RequestBody AddressBook addressBook) { - log.info("addressBook:{}", addressBook); - LambdaUpdateWrapper wrapper = new LambdaUpdateWrapper<>(); - wrapper.eq(AddressBook::getUserId, BaseContext.getCurrentId()); - wrapper.set(AddressBook::getIsDefault, 0); - //SQL:update address_book set is_default = 0 where user_id = ? - addressBookService.update(wrapper); - - addressBook.setIsDefault(1); - //SQL:update address_book set is_default = 1 where id = ? - addressBookService.updateById(addressBook); - return R.success(addressBook); - } - - /** - * 根据id查询地址 - */ - @GetMapping("/{id}") - public R get(@PathVariable Long id) { - AddressBook addressBook = addressBookService.getById(id); - if (addressBook != null) { - return R.success(addressBook); - } else { - return R.error("没有找到该对象"); - } - } - - /** - * 查询默认地址 - */ - @GetMapping("default") - public R getDefault() { - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(AddressBook::getUserId, BaseContext.getCurrentId()); - queryWrapper.eq(AddressBook::getIsDefault, 1); - - //SQL:select * from address_book where user_id = ? and is_default = 1 - AddressBook addressBook = addressBookService.getOne(queryWrapper); - - if (null == addressBook) { - return R.error("没有找到该对象"); - } else { - return R.success(addressBook); - } - } - - /** - * 查询指定用户的全部地址 - */ - @GetMapping("/list") - public R> list(AddressBook addressBook) { - addressBook.setUserId(BaseContext.getCurrentId()); - log.info("addressBook:{}", addressBook); - - //条件构造器 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(null != addressBook.getUserId(), AddressBook::getUserId, addressBook.getUserId()); - queryWrapper.orderByDesc(AddressBook::getUpdateTime); - - //SQL:select * from address_book where user_id = ? order by update_time desc - return R.success(addressBookService.list(queryWrapper)); - } -} diff --git a/src/main/java/com/JIAL/FMSystem/controller/CategoryController.java b/src/main/java/com/JIAL/FMSystem/controller/CategoryController.java deleted file mode 100644 index c7ecda0..0000000 --- a/src/main/java/com/JIAL/FMSystem/controller/CategoryController.java +++ /dev/null @@ -1,102 +0,0 @@ -package com.JIAL.FMSystem.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.JIAL.FMSystem.common.R; -import com.JIAL.FMSystem.entity.Category; -import com.JIAL.FMSystem.service.CategoryService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -import java.util.List; - -/** - * 分类管理 - */ -@RestController -@RequestMapping("/category") -@Slf4j -public class CategoryController { - @Autowired - private CategoryService categoryService; - - /** - * 新增分类 - * @param category - * @return - */ - @PostMapping - public R save(@RequestBody Category category){ - log.info("category:{}",category); - categoryService.save(category); - return R.success("新增分类成功"); - } - - /** - * 分页查询 - * @param page - * @param pageSize - * @return - */ - @GetMapping("/page") - public R page(int page,int pageSize){ - //分页构造器 - Page pageInfo = new Page<>(page,pageSize); - //条件构造器 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - //添加排序条件,根据sort进行排序 - queryWrapper.orderByAsc(Category::getSort); - - //分页查询 - categoryService.page(pageInfo,queryWrapper); - return R.success(pageInfo); - } - - /** - * 根据id删除分类 - * @param id - * @return - */ - @DeleteMapping - public R delete(Long id){ - log.info("删除分类,id为:{}",id); - - //categoryService.removeById(id); - categoryService.remove(id); - - return R.success("分类信息删除成功"); - } - - /** - * 根据id修改分类信息 - * @param category - * @return - */ - @PutMapping - public R update(@RequestBody Category category){ - log.info("修改分类信息:{}",category); - - categoryService.updateById(category); - - return R.success("修改分类信息成功"); - } - - /** - * 根据条件查询分类数据 - * @param category - * @return - */ - @GetMapping("/list") - public R> list(Category category){ - //条件构造器 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - //添加条件 - queryWrapper.eq(category.getType() != null,Category::getType,category.getType()); - //添加排序条件 - queryWrapper.orderByAsc(Category::getSort).orderByDesc(Category::getUpdateTime); - - List list = categoryService.list(queryWrapper); - return R.success(list); - } -} diff --git a/src/main/java/com/JIAL/FMSystem/controller/CommonController.java b/src/main/java/com/JIAL/FMSystem/controller/CommonController.java deleted file mode 100644 index fec6cf2..0000000 --- a/src/main/java/com/JIAL/FMSystem/controller/CommonController.java +++ /dev/null @@ -1,93 +0,0 @@ -package com.JIAL.FMSystem.controller; - -import com.JIAL.FMSystem.common.R; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.web.bind.annotation.*; -import org.springframework.web.multipart.MultipartFile; - -import javax.servlet.ServletOutputStream; -import javax.servlet.http.HttpServletResponse; -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.util.UUID; - -/** - * 文件上传和下载 - */ -@RestController -@RequestMapping("/common") -@Slf4j -public class CommonController { - - @Value("${reggie.path}") - private String basePath; - - /** - * 文件上传 - * @param file - * @return - */ - @PostMapping("/upload") - public R upload(MultipartFile file){ - //file是一个临时文件,需要转存到指定位置,否则本次请求完成后临时文件会删除 - log.info(file.toString()); - - //原始文件名 - String originalFilename = file.getOriginalFilename();//abc.jpg - String suffix = originalFilename.substring(originalFilename.lastIndexOf(".")); - - //使用UUID重新生成文件名,防止文件名称重复造成文件覆盖 - String fileName = UUID.randomUUID().toString() + suffix;//dfsdfdfd.jpg - - //创建一个目录对象 - File dir = new File(basePath); - //判断当前目录是否存在 - if(!dir.exists()){ - //目录不存在,需要创建 - dir.mkdirs(); - } - - try { - //将临时文件转存到指定位置 - file.transferTo(new File(basePath + fileName)); - } catch (IOException e) { - e.printStackTrace(); - } - return R.success(fileName); - } - - /** - * 文件下载 - * @param name - * @param response - */ - @GetMapping("/download") - public void download(String name, HttpServletResponse response){ - - try { - //输入流,通过输入流读取文件内容 - FileInputStream fileInputStream = new FileInputStream(new File(basePath + name)); - - //输出流,通过输出流将文件写回浏览器 - ServletOutputStream outputStream = response.getOutputStream(); - - response.setContentType("image/jpeg"); - - int len = 0; - byte[] bytes = new byte[1024]; - while ((len = fileInputStream.read(bytes)) != -1){ - outputStream.write(bytes,0,len); - outputStream.flush(); - } - - //关闭资源 - outputStream.close(); - fileInputStream.close(); - } catch (Exception e) { - e.printStackTrace(); - } - - } -} diff --git a/src/main/java/com/JIAL/FMSystem/controller/DishController.java b/src/main/java/com/JIAL/FMSystem/controller/DishController.java deleted file mode 100644 index 3afa8f4..0000000 --- a/src/main/java/com/JIAL/FMSystem/controller/DishController.java +++ /dev/null @@ -1,189 +0,0 @@ -package com.JIAL.FMSystem.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.JIAL.FMSystem.common.R; -import com.JIAL.FMSystem.dto.DishDto; -import com.JIAL.FMSystem.entity.Category; -import com.JIAL.FMSystem.entity.Dish; -import com.JIAL.FMSystem.entity.DishFlavor; -import com.JIAL.FMSystem.service.CategoryService; -import com.JIAL.FMSystem.service.DishFlavorService; -import com.JIAL.FMSystem.service.DishService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.BeanUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -import java.util.List; -import java.util.stream.Collectors; - -/** - * 菜品管理 - */ -@RestController -@RequestMapping("/dish") -@Slf4j -public class DishController { - @Autowired - private DishService dishService; - - @Autowired - private DishFlavorService dishFlavorService; - - @Autowired - private CategoryService categoryService; - - /** - * 新增菜品 - * @param dishDto - * @return - */ - @PostMapping - public R save(@RequestBody DishDto dishDto){ - log.info(dishDto.toString()); - - dishService.saveWithFlavor(dishDto); - - return R.success("新增菜品成功"); - } - - /** - * 菜品信息分页查询 - * @param page - * @param pageSize - * @param name - * @return - */ - @GetMapping("/page") - public R page(int page,int pageSize,String name){ - - //构造分页构造器对象 - Page pageInfo = new Page<>(page,pageSize); - Page dishDtoPage = new Page<>(); - - //条件构造器 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - //添加过滤条件 - queryWrapper.like(name != null,Dish::getName,name); - //添加排序条件 - queryWrapper.orderByDesc(Dish::getUpdateTime); - - //执行分页查询 - dishService.page(pageInfo,queryWrapper); - - //对象拷贝 - BeanUtils.copyProperties(pageInfo,dishDtoPage,"records"); - - List records = pageInfo.getRecords(); - - List list = records.stream().map((item) -> { - DishDto dishDto = new DishDto(); - - BeanUtils.copyProperties(item,dishDto); - - Long categoryId = item.getCategoryId();//分类id - //根据id查询分类对象 - Category category = categoryService.getById(categoryId); - - if(category != null){ - String categoryName = category.getName(); - dishDto.setCategoryName(categoryName); - } - return dishDto; - }).collect(Collectors.toList()); - - dishDtoPage.setRecords(list); - - return R.success(dishDtoPage); - } - - /** - * 根据id查询菜品信息和对应的口味信息 - * @param id - * @return - */ - @GetMapping("/{id}") - public R get(@PathVariable Long id){ - - DishDto dishDto = dishService.getByIdWithFlavor(id); - - return R.success(dishDto); - } - - /** - * 修改菜品 - * @param dishDto - * @return - */ - @PutMapping - public R update(@RequestBody DishDto dishDto){ - log.info(dishDto.toString()); - - dishService.updateWithFlavor(dishDto); - - return R.success("修改菜品成功"); - } - - /** - * 根据条件查询对应的菜品数据 - * @param dish - * @return - */ - /*@GetMapping("/list") - public R> list(Dish dish){ - //构造查询条件 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(dish.getCategoryId() != null ,Dish::getCategoryId,dish.getCategoryId()); - //添加条件,查询状态为1(起售状态)的菜品 - queryWrapper.eq(Dish::getStatus,1); - - //添加排序条件 - queryWrapper.orderByAsc(Dish::getSort).orderByDesc(Dish::getUpdateTime); - - List list = dishService.list(queryWrapper); - - return R.success(list); - }*/ - - @GetMapping("/list") - public R> list(Dish dish){ - //构造查询条件 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(dish.getCategoryId() != null ,Dish::getCategoryId,dish.getCategoryId()); - //添加条件,查询状态为1(起售状态)的菜品 - queryWrapper.eq(Dish::getStatus,1); - - //添加排序条件 - queryWrapper.orderByAsc(Dish::getSort).orderByDesc(Dish::getUpdateTime); - - List list = dishService.list(queryWrapper); - - List dishDtoList = list.stream().map((item) -> { - DishDto dishDto = new DishDto(); - - BeanUtils.copyProperties(item,dishDto); - - Long categoryId = item.getCategoryId();//分类id - //根据id查询分类对象 - Category category = categoryService.getById(categoryId); - - if(category != null){ - String categoryName = category.getName(); - dishDto.setCategoryName(categoryName); - } - - //当前菜品的id - Long dishId = item.getId(); - LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper<>(); - lambdaQueryWrapper.eq(DishFlavor::getDishId,dishId); - //SQL:select * from dish_flavor where dish_id = ? - List dishFlavorList = dishFlavorService.list(lambdaQueryWrapper); - dishDto.setFlavors(dishFlavorList); - return dishDto; - }).collect(Collectors.toList()); - - return R.success(dishDtoList); - } - -} diff --git a/src/main/java/com/JIAL/FMSystem/controller/EmployeeController.java b/src/main/java/com/JIAL/FMSystem/controller/EmployeeController.java deleted file mode 100644 index 82099e8..0000000 --- a/src/main/java/com/JIAL/FMSystem/controller/EmployeeController.java +++ /dev/null @@ -1,160 +0,0 @@ -package com.JIAL.FMSystem.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.JIAL.FMSystem.common.R; -import com.JIAL.FMSystem.entity.Employee; -import com.JIAL.FMSystem.service.EmployeeService; -import lombok.extern.slf4j.Slf4j; -import org.apache.commons.lang.StringUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.util.DigestUtils; -import org.springframework.web.bind.annotation.*; - -import javax.servlet.http.HttpServletRequest; - -@Slf4j -@RestController -@RequestMapping("/employee") -public class EmployeeController { - - @Autowired - private EmployeeService employeeService; - - /** - * 员工登录 - * @param request - * @param employee - * @return - */ - @PostMapping("/login") - public R login(HttpServletRequest request,@RequestBody Employee employee){ - - //1、将页面提交的密码password进行md5加密处理 - String password = employee.getPassword(); - password = DigestUtils.md5DigestAsHex(password.getBytes()); - - //2、根据页面提交的用户名username查询数据库 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(Employee::getUsername,employee.getUsername()); - Employee emp = employeeService.getOne(queryWrapper); - - //3、如果没有查询到则返回登录失败结果 - if(emp == null){ - return R.error("登录失败"); - } - - //4、密码比对,如果不一致则返回登录失败结果 - if(!emp.getPassword().equals(password)){ - return R.error("登录失败"); - } - - //5、查看员工状态,如果为已禁用状态,则返回员工已禁用结果 - if(emp.getStatus() == 0){ - return R.error("账号已禁用"); - } - - //6、登录成功,将员工id存入Session并返回登录成功结果 - request.getSession().setAttribute("employee",emp.getId()); - return R.success(emp); - } - - /** - * 员工退出 - * @param request - * @return - */ - @PostMapping("/logout") - public R logout(HttpServletRequest request){ - //清理Session中保存的当前登录员工的id - request.getSession().removeAttribute("employee"); - return R.success("退出成功"); - } - - /** - * 新增员工 - * @param employee - * @return - */ - @PostMapping - public R save(HttpServletRequest request,@RequestBody Employee employee){ - log.info("新增员工,员工信息:{}",employee.toString()); - - //设置初始密码123456,需要进行md5加密处理 - employee.setPassword(DigestUtils.md5DigestAsHex(employee.getPassword().getBytes())); - //employee.setCreateTime(LocalDateTime.now()); - //employee.setUpdateTime(LocalDateTime.now()); - - //获得当前登录用户的id - //Long empId = (Long) request.getSession().getAttribute("employee"); - - //employee.setCreateUser(empId); - //employee.setUpdateUser(empId); - - employeeService.save(employee); - - return R.success("新增账号成功"); - } - - /** - * 员工信息分页查询 - * @param page - * @param pageSize - * @param username - * @return - */ - @GetMapping("/page") - public R page(int page,int pageSize,String username){ - log.info("page = {},pageSize = {},username = {}" ,page,pageSize,username); - - //构造分页构造器 - Page pageInfo = new Page(page,pageSize); - - //构造条件构造器 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper(); - //添加过滤条件 - queryWrapper.like(StringUtils.isNotEmpty(username),Employee::getUsername,username); - //添加排序条件 - queryWrapper.orderByDesc(Employee::getUpdateTime); - - //执行查询 - employeeService.page(pageInfo,queryWrapper); - - return R.success(pageInfo); - } - - /** - * 根据id修改员工信息 - * @param employee - * @return - */ - @PutMapping - public R update(HttpServletRequest request,@RequestBody Employee employee){ - log.info(employee.toString()); - - long id = Thread.currentThread().getId(); - log.info("线程id为:{}",id); - //Long empId = (Long)request.getSession().getAttribute("employee"); - //employee.setUpdateTime(LocalDateTime.now()); - //employee.setUpdateUser(empId); - employee.setPassword(DigestUtils.md5DigestAsHex(employee.getPassword().getBytes())); - employeeService.updateById(employee); - - return R.success("员工信息修改成功"); - } - - /** - * 根据id查询员工信息 - * @param id - * @return - */ - @GetMapping("/{id}") - public R getById(@PathVariable Long id){ - log.info("根据id查询员工信息..."); - Employee employee = employeeService.getById(id); - if(employee != null){ - return R.success(employee); - } - return R.error("没有查询到对应员工信息"); - } -} diff --git a/src/main/java/com/JIAL/FMSystem/controller/HeraCaseController.java b/src/main/java/com/JIAL/FMSystem/controller/HeraCaseController.java new file mode 100644 index 0000000..910b79e --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/controller/HeraCaseController.java @@ -0,0 +1,80 @@ +package com.JIAL.FMSystem.controller; + +import com.JIAL.FMSystem.common.R; +import com.JIAL.FMSystem.dto.HearCaseInMenuDto; +import com.JIAL.FMSystem.entity.Defendant; +import com.JIAL.FMSystem.entity.HearCase; +import com.JIAL.FMSystem.entity.Plaintiff; +import com.JIAL.FMSystem.entity.User; +import com.JIAL.FMSystem.mapper.HearCaseMapper; +import com.JIAL.FMSystem.service.DefendantService; +import com.JIAL.FMSystem.service.HearCaseService; +import com.JIAL.FMSystem.service.UserService; +import com.JIAL.FMSystem.service.impl.HearCaseServiceImpl; +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.github.yulichang.wrapper.MPJLambdaWrapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import javax.annotation.Resource; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +/** + * @ClassName HeraCaseController + * @Description 审理案件控制类 + * @Author JIAL + * @Date 2023/12/6 13:59 + * @Version 1.0 + */ + +@RestController +@RequestMapping("/hearCase") +@Slf4j +public class HeraCaseController { + @Autowired + private HearCaseService hearCaseService; + + @Resource + private HearCaseMapper hearCaseMapper; + + /** + * @title page + * @description 分页查询案件列表 + * @author JIAL + * @param: page + * @param: pageSize + * @param: caseNum + * @updateTime 2023/12/6 15:35 + * @return: com.JIAL.FMSystem.common.R + */ + @GetMapping("page") + public R page(int page, int pageSize, String caseNum) { + log.info("page = {}, pageSize = {}, username = {}", page, pageSize, caseNum); + + //分页构造器 + Page pageInfo = new Page(page, pageSize); + //条件构造器 + MPJLambdaWrapper queryWrapper = new MPJLambdaWrapper<>(); + + queryWrapper.selectAll(HearCase.class)//查询案件所有属性 + .selectAs(Defendant::getUnitName, "defendant_name") + .selectAs(Plaintiff::getUnitName, "plaintiff_name") + .leftJoin(Defendant.class, Defendant::getId, HearCase::getDefendantId) + .leftJoin(Plaintiff.class, Plaintiff::getId, HearCase::getPlaintiffId); + + //IPage iPage = hearCaseMapper.selectJoinPage(pageInfo, HearCaseInMenuDto.class, queryWrapper); + //IPage> pageInfoResult = hearCaseService.getBaseMapper().selectMapsPage(pageInfo, queryWrapper); + //hearCaseService.page(pageInfo, queryWrapper); + hearCaseMapper.selectJoinPage(pageInfo, HearCaseInMenuDto.class, queryWrapper); + return R.success(pageInfo); + } +} diff --git a/src/main/java/com/JIAL/FMSystem/controller/OrderController.java b/src/main/java/com/JIAL/FMSystem/controller/OrderController.java deleted file mode 100644 index 37b64c5..0000000 --- a/src/main/java/com/JIAL/FMSystem/controller/OrderController.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.JIAL.FMSystem.controller; - -import com.JIAL.FMSystem.common.R; -import com.JIAL.FMSystem.entity.Orders; -import com.JIAL.FMSystem.service.OrderService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; - -/** - * 订单 - */ -@Slf4j -@RestController -@RequestMapping("/order") -public class OrderController { - - @Autowired - private OrderService orderService; - - /** - * 用户下单 - * @param orders - * @return - */ - @PostMapping("/submit") - public R submit(@RequestBody Orders orders){ - log.info("订单数据:{}",orders); - orderService.submit(orders); - return R.success("下单成功"); - } -} \ No newline at end of file diff --git a/src/main/java/com/JIAL/FMSystem/controller/OrderDetailController.java b/src/main/java/com/JIAL/FMSystem/controller/OrderDetailController.java deleted file mode 100644 index b3fb95a..0000000 --- a/src/main/java/com/JIAL/FMSystem/controller/OrderDetailController.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.JIAL.FMSystem.controller; - -import com.JIAL.FMSystem.service.OrderDetailService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -/** - * 订单明细 - */ -@Slf4j -@RestController -@RequestMapping("/orderDetail") -public class OrderDetailController { - - @Autowired - private OrderDetailService orderDetailService; - -} \ No newline at end of file diff --git a/src/main/java/com/JIAL/FMSystem/controller/SetmealController.java b/src/main/java/com/JIAL/FMSystem/controller/SetmealController.java deleted file mode 100644 index fb5ad6f..0000000 --- a/src/main/java/com/JIAL/FMSystem/controller/SetmealController.java +++ /dev/null @@ -1,127 +0,0 @@ -package com.JIAL.FMSystem.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.JIAL.FMSystem.common.R; -import com.JIAL.FMSystem.dto.SetmealDto; -import com.JIAL.FMSystem.entity.Category; -import com.JIAL.FMSystem.entity.Setmeal; -import com.JIAL.FMSystem.service.CategoryService; -import com.JIAL.FMSystem.service.SetmealDishService; -import com.JIAL.FMSystem.service.SetmealService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.BeanUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -import java.util.List; -import java.util.stream.Collectors; - -/** - * 套餐管理 - */ - -@RestController -@RequestMapping("/setmeal") -@Slf4j -public class SetmealController { - - @Autowired - private SetmealService setmealService; - - @Autowired - private CategoryService categoryService; - - @Autowired - private SetmealDishService setmealDishService; - - /** - * 新增套餐 - * @param setmealDto - * @return - */ - @PostMapping - public R save(@RequestBody SetmealDto setmealDto){ - log.info("套餐信息:{}",setmealDto); - - setmealService.saveWithDish(setmealDto); - - return R.success("新增套餐成功"); - } - - /** - * 套餐分页查询 - * @param page - * @param pageSize - * @param name - * @return - */ - @GetMapping("/page") - public R page(int page,int pageSize,String name){ - //分页构造器对象 - Page pageInfo = new Page<>(page,pageSize); - Page dtoPage = new Page<>(); - - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - //添加查询条件,根据name进行like模糊查询 - queryWrapper.like(name != null,Setmeal::getName,name); - //添加排序条件,根据更新时间降序排列 - queryWrapper.orderByDesc(Setmeal::getUpdateTime); - - setmealService.page(pageInfo,queryWrapper); - - //对象拷贝 - BeanUtils.copyProperties(pageInfo,dtoPage,"records"); - List records = pageInfo.getRecords(); - - List list = records.stream().map((item) -> { - SetmealDto setmealDto = new SetmealDto(); - //对象拷贝 - BeanUtils.copyProperties(item,setmealDto); - //分类id - Long categoryId = item.getCategoryId(); - //根据分类id查询分类对象 - Category category = categoryService.getById(categoryId); - if(category != null){ - //分类名称 - String categoryName = category.getName(); - setmealDto.setCategoryName(categoryName); - } - return setmealDto; - }).collect(Collectors.toList()); - - dtoPage.setRecords(list); - return R.success(dtoPage); - } - - /** - * 删除套餐 - * @param ids - * @return - */ - @DeleteMapping - public R delete(@RequestParam List ids){ - log.info("ids:{}",ids); - - setmealService.removeWithDish(ids); - - return R.success("套餐数据删除成功"); - } - - /** - * 根据条件查询套餐数据 - * @param setmeal - * @return - */ - @GetMapping("/list") - public R> list(Setmeal setmeal){ - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(setmeal.getCategoryId() != null,Setmeal::getCategoryId,setmeal.getCategoryId()); - queryWrapper.eq(setmeal.getStatus() != null,Setmeal::getStatus,setmeal.getStatus()); - queryWrapper.orderByDesc(Setmeal::getUpdateTime); - - List list = setmealService.list(queryWrapper); - - return R.success(list); - } -} diff --git a/src/main/java/com/JIAL/FMSystem/controller/ShoppingCartController.java b/src/main/java/com/JIAL/FMSystem/controller/ShoppingCartController.java deleted file mode 100644 index e522e8b..0000000 --- a/src/main/java/com/JIAL/FMSystem/controller/ShoppingCartController.java +++ /dev/null @@ -1,105 +0,0 @@ -package com.JIAL.FMSystem.controller; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.JIAL.FMSystem.common.BaseContext; -import com.JIAL.FMSystem.common.R; -import com.JIAL.FMSystem.entity.ShoppingCart; -import com.JIAL.FMSystem.service.ShoppingCartService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; - -import java.time.LocalDateTime; -import java.util.List; - -/** - * 购物车 - */ -@Slf4j -@RestController -@RequestMapping("/shoppingCart") -public class ShoppingCartController { - - @Autowired - private ShoppingCartService shoppingCartService; - - /** - * 添加购物车 - * @param shoppingCart - * @return - */ - @PostMapping("/add") - public R add(@RequestBody ShoppingCart shoppingCart){ - log.info("购物车数据:{}",shoppingCart); - - //设置用户id,指定当前是哪个用户的购物车数据 - Long currentId = BaseContext.getCurrentId(); - shoppingCart.setUserId(currentId); - - Long dishId = shoppingCart.getDishId(); - - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(ShoppingCart::getUserId,currentId); - - if(dishId != null){ - //添加到购物车的是菜品 - queryWrapper.eq(ShoppingCart::getDishId,dishId); - - }else{ - //添加到购物车的是套餐 - queryWrapper.eq(ShoppingCart::getSetmealId,shoppingCart.getSetmealId()); - } - - //查询当前菜品或者套餐是否在购物车中 - //SQL:select * from shopping_cart where user_id = ? and dish_id/setmeal_id = ? - ShoppingCart cartServiceOne = shoppingCartService.getOne(queryWrapper); - - if(cartServiceOne != null){ - //如果已经存在,就在原来数量基础上加一 - Integer number = cartServiceOne.getNumber(); - cartServiceOne.setNumber(number + 1); - shoppingCartService.updateById(cartServiceOne); - }else{ - //如果不存在,则添加到购物车,数量默认就是一 - shoppingCart.setNumber(1); - shoppingCart.setCreateTime(LocalDateTime.now()); - shoppingCartService.save(shoppingCart); - cartServiceOne = shoppingCart; - } - - return R.success(cartServiceOne); - } - - /** - * 查看购物车 - * @return - */ - @GetMapping("/list") - public R> list(){ - log.info("查看购物车..."); - - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(ShoppingCart::getUserId,BaseContext.getCurrentId()); - queryWrapper.orderByAsc(ShoppingCart::getCreateTime); - - List list = shoppingCartService.list(queryWrapper); - - return R.success(list); - } - - /** - * 清空购物车 - * @return - */ - @DeleteMapping("/clean") - public R clean(){ - //SQL:delete from shopping_cart where user_id = ? - - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(ShoppingCart::getUserId,BaseContext.getCurrentId()); - - shoppingCartService.remove(queryWrapper); - - return R.success("清空购物车成功"); - } -} \ No newline at end of file diff --git a/src/main/java/com/JIAL/FMSystem/controller/UserController.java b/src/main/java/com/JIAL/FMSystem/controller/UserController.java index 6ca4129..ab3c9bd 100644 --- a/src/main/java/com/JIAL/FMSystem/controller/UserController.java +++ b/src/main/java/com/JIAL/FMSystem/controller/UserController.java @@ -5,90 +5,164 @@ import com.JIAL.FMSystem.common.R; import com.JIAL.FMSystem.entity.User; import com.JIAL.FMSystem.service.UserService; import com.JIAL.FMSystem.utils.ValidateCodeUtils; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.util.DigestUtils; +import org.springframework.web.bind.annotation.*; +import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; +import java.nio.charset.StandardCharsets; import java.util.Map; @RestController @RequestMapping("/user") @Slf4j +/** + * @title + * @description + * @author JIAL + * @updateTime 2023/12/5 15:46 + */ public class UserController { @Autowired private UserService userService; /** - * 发送手机短信验证码 - * @param user - * @return + * @title login + * @description 员工登陆 + * @author JIAL + * @param: request + * @param: user + * @updateTime 2023/12/6 8:06 + * @return: com.JIAL.FMSystem.common.R */ - @PostMapping("/sendMsg") - public R sendMsg(@RequestBody User user, HttpSession session){ - //获取手机号 - String phone = user.getPhone(); + @PostMapping("/login") + public R login(HttpServletRequest request, @RequestBody User user) { + //将页面提交的密码进行md5加密 + String password = user.getPassword(); + password = DigestUtils.md5DigestAsHex(password.getBytes()); - if(StringUtils.isNotEmpty(phone)){ - //生成随机的4位验证码 - String code = ValidateCodeUtils.generateValidateCode(4).toString(); - log.info("code={}",code); + //根据页面提交的用户名username查询数据库 + LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); + queryWrapper.eq(User::getUsername, user.getUsername()); + User userResult = userService.getOne(queryWrapper); - //调用阿里云提供的短信服务API完成发送短信 - //SMSUtils.sendMessage("瑞吉外卖","",phone,code); - - //需要将生成的验证码保存到Session - session.setAttribute(phone,code); - - return R.success("手机验证码短信发送成功"); + //查询为空就返回登陆失败 + if(userResult == null) { + return R.error("登陆失败"); } - return R.error("短信发送失败"); + if(!userResult.getPassword().equals(password)) { + return R.error("登陆失败"); + } + + if(userResult.getStatus() == 0) { + return R.error("账号已禁用"); + } + + request.getSession().setAttribute("user", userResult.getId()); + return R.success(userResult); + } + + @PostMapping("/logout") + public R logout(HttpServletRequest request) { + //清理session中保存的当前登陆员工的id + request.getSession().removeAttribute("user"); + return R.success("退出成功"); } /** - * 移动端用户登录 - * @param map - * @param session - * @return + * @title page + * @description 分页查询员工账号 + * @author JIAL + * @param: page + * @param: pageSize + * @param: username + * @updateTime 2023/12/6 10:49 + * @return: com.JIAL.FMSystem.common.R */ - @PostMapping("/login") - public R login(@RequestBody Map map, HttpSession session){ - log.info(map.toString()); + @GetMapping("page") + public R page(int page, int pageSize, String username) { + log.info("page = {}, pageSize = {}, username = {}", page, pageSize, username); - //获取手机号 - String phone = map.get("phone").toString(); + //分页构造器 + Page pageInfo = new Page(page, pageSize); - //获取验证码 - String code = map.get("code").toString(); + //条件构造器 + LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); + queryWrapper.like(StringUtils.isNotEmpty(username), User::getUsername, username); + queryWrapper.orderByDesc(User::getUpdateTime); - //从Session中获取保存的验证码 - Object codeInSession = session.getAttribute(phone); + userService.page(pageInfo, queryWrapper); - //进行验证码的比对(页面提交的验证码和Session中保存的验证码比对) - if(codeInSession != null && codeInSession.equals(code)){ - //如果能够比对成功,说明登录成功 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(User::getPhone,phone); + return R.success(pageInfo); + } - User user = userService.getOne(queryWrapper); - if(user == null){ - //判断当前手机号对应的用户是否为新用户,如果是新用户就自动完成注册 - user = new User(); - user.setPhone(phone); - user.setStatus(1); - userService.save(user); - } - session.setAttribute("user",user.getId()); + /** + * @title getById + * @description 根据id查询用户信息 + * @author JIAL + * @param: id + * @updateTime 2023/12/6 10:54 + * @return: com.JIAL.FMSystem.common.R + */ + @GetMapping("/{id}") + public R getById(@PathVariable Long id) { + log.info("根据id查询员工信息..."); + User user = userService.getById(id); + if(user != null) { return R.success(user); } - return R.error("登录失败"); + + return R.error("没有查询到对应员工信息"); + } + + /** + * @title save + * @description 新建员工信息 + * @author JIAL + * @param: request + * @param: user + * @updateTime 2023/12/6 12:45 + * @return: com.JIAL.FMSystem.common.R + */ + @PostMapping + public R save(HttpServletRequest request, @RequestBody User user) { + log.info("新增员工信息:{}", user.toString()); + + //初始密码用md5加密 + user.setPassword(DigestUtils.md5DigestAsHex(user.getPassword().getBytes())); + userService.save(user); + + return R.success("新增账号成功"); + } + + /** + * @title update + * @description 根据id修改员工信息 + * @author JIAL + * @param: request + * @param: user + * @updateTime 2023/12/6 13:12 + * @return: com.JIAL.FMSystem.common.R + */ + @PutMapping + public R update(HttpServletRequest request, @RequestBody User user) { + log.info(user.toString()); + + long id = Thread.currentThread().getId(); + log.info("线程id为:{}", id); + + if(user.getPassword() != null) { + user.setPassword(DigestUtils.md5DigestAsHex(user.getPassword().getBytes())); + } + userService.updateById(user); + return R.success("员工信息修改成功"); } } diff --git a/src/main/java/com/JIAL/FMSystem/dto/DishDto.java b/src/main/java/com/JIAL/FMSystem/dto/DishDto.java deleted file mode 100644 index 1b682a5..0000000 --- a/src/main/java/com/JIAL/FMSystem/dto/DishDto.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.JIAL.FMSystem.dto; - -import com.JIAL.FMSystem.entity.Dish; -import com.JIAL.FMSystem.entity.DishFlavor; -import lombok.Data; -import java.util.ArrayList; -import java.util.List; - -@Data -public class DishDto extends Dish { - - //菜品对应的口味数据 - private List flavors = new ArrayList<>(); - - private String categoryName; - - private Integer copies; -} diff --git a/src/main/java/com/JIAL/FMSystem/dto/HearCaseInMenuDto.java b/src/main/java/com/JIAL/FMSystem/dto/HearCaseInMenuDto.java new file mode 100644 index 0000000..0dca882 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/dto/HearCaseInMenuDto.java @@ -0,0 +1,71 @@ +package com.JIAL.FMSystem.dto; + +import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.TableField; +import lombok.Data; + +import java.time.LocalDateTime; + +/** + * @ClassName HearCaseInMenu + * @Description 自建在菜单中显示案件详情的类,用于分页 + * @Author JIAL + * @Date 2023/12/6 22:58 + * @Version 1.0 + */ +@Data +public class HearCaseInMenuDto { + private static final long serialVersionUID = 1L; + + private Integer id; + + private String caseNum; //案件号 + + private String caseReason; //案件来由 + + private Long defendantId; //被告id + + private String plaintiffName; //原告单位名称 + + private String defendantName; //被告单位名称 + + private Long plaintiffId; //原告id + + private Integer caseType; //案件类型 + + private LocalDateTime trialTime; //开庭时间 + + private String court; //法院名称 + + private Integer caseStatus; //案件状态 + + private String judgeName; //法官姓名 + + private String judgePhone; //法官电话 + + private String salesmanName; //业务员姓名 + + private String salesmanPhone; //业务员电话 + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private LocalDateTime createTime; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private LocalDateTime updateTime; + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private Long createUser; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private Long updateUser; + + private String reservedField1; //备用字段1 + + private String reservedField2; //备用字段2 + + private String reservedField3; //备用字段3 + + private String reservedField4; //备用字段4 + + private String reservedField5; //备用字段5 +} diff --git a/src/main/java/com/JIAL/FMSystem/dto/SetmealDto.java b/src/main/java/com/JIAL/FMSystem/dto/SetmealDto.java deleted file mode 100644 index 5ea217c..0000000 --- a/src/main/java/com/JIAL/FMSystem/dto/SetmealDto.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.JIAL.FMSystem.dto; - -import com.JIAL.FMSystem.entity.Setmeal; -import com.JIAL.FMSystem.entity.SetmealDish; -import lombok.Data; -import java.util.List; - -@Data -public class SetmealDto extends Setmeal { - - private List setmealDishes; - - private String categoryName; -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/AddressBook.java b/src/main/java/com/JIAL/FMSystem/entity/AddressBook.java deleted file mode 100644 index aa169db..0000000 --- a/src/main/java/com/JIAL/FMSystem/entity/AddressBook.java +++ /dev/null @@ -1,92 +0,0 @@ -package com.JIAL.FMSystem.entity; - -import com.baomidou.mybatisplus.annotation.FieldFill; -import com.baomidou.mybatisplus.annotation.TableField; -import lombok.Data; -import java.io.Serializable; -import java.time.LocalDateTime; - -/** - * 地址簿 - */ -@Data -public class AddressBook implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - - - //用户id - private Long userId; - - - //收货人 - private String consignee; - - - //手机号 - private String phone; - - - //性别 0 女 1 男 - private String sex; - - - //省级区划编号 - private String provinceCode; - - - //省级名称 - private String provinceName; - - - //市级区划编号 - private String cityCode; - - - //市级名称 - private String cityName; - - - //区级区划编号 - private String districtCode; - - - //区级名称 - private String districtName; - - - //详细地址 - private String detail; - - - //标签 - private String label; - - //是否默认 0 否 1是 - private Integer isDefault; - - //创建时间 - @TableField(fill = FieldFill.INSERT) - private LocalDateTime createTime; - - - //更新时间 - @TableField(fill = FieldFill.INSERT_UPDATE) - private LocalDateTime updateTime; - - - //创建人 - @TableField(fill = FieldFill.INSERT) - private Long createUser; - - - //修改人 - @TableField(fill = FieldFill.INSERT_UPDATE) - private Long updateUser; - - - //是否删除 - private Integer isDeleted; -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/Agent.java b/src/main/java/com/JIAL/FMSystem/entity/Agent.java new file mode 100644 index 0000000..375894c --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/entity/Agent.java @@ -0,0 +1,57 @@ +package com.JIAL.FMSystem.entity; + +import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.TableField; +import lombok.Data; + +import java.io.Serializable; +import java.time.LocalDateTime; + +/** + * @ClassName agent + * @Description 代理人实体类 + * @Author JIAL + * @Date 2023/12/5 12:38 + * @Version 1.0 + */ + +@Data +public class Agent implements Serializable { + private static final long serialVersionUID = 1L; + + private Long id; + + private Integer type; //代理人类型,1-律师,2-法律工作者,3-单位推荐,4-其他 + + private String name; //姓名 + + private Integer licenseType; //证件类型,1-居民身份证 + + private String licenseNum; //证件号 + + private String phoneNum; //电话号码 + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private LocalDateTime createTime; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private LocalDateTime updateTime; + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private Long createUser; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private Long updateUser; + + private String reservedField1; //备用字段1 + + private String reservedField2; //备用字段2 + + private String reservedField3; //备用字段3 + + private String reservedField4; //备用字段4 + + private String reservedField5; //备用字段5 + + +} diff --git a/src/main/java/com/JIAL/FMSystem/entity/Annex.java b/src/main/java/com/JIAL/FMSystem/entity/Annex.java new file mode 100644 index 0000000..c3e4e06 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/entity/Annex.java @@ -0,0 +1,61 @@ +package com.JIAL.FMSystem.entity; + +import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.TableField; +import lombok.Data; + +import java.io.Serializable; +import java.time.LocalDateTime; + +/** + * @ClassName Annex + * @Description 附件表实体类 + * @Author JIAL + * @Date 2023/12/5 13:20 + * @Version 1.0 + */ +@Data +public class Annex implements Serializable { + private static final long serialVersionUID = 1L; + + private Long id; + + private Long caseId; //案件号 + + private String indictment; //起诉状附件 + + private String partyPorve; //当事人身份证明 + + private String proxyProve; //委托人委托手续和身份材料 + + private String evidence; //证据材料 + + private String deliverConfirm; //送达地址确认书 + + private String otherMaterials; //其他材料 + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private LocalDateTime createTime; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private LocalDateTime updateTime; + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private Long createUser; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private Long updateUser; + + private String reservedField1; //备用字段1 + + private String reservedField2; //备用字段2 + + private String reservedField3; //备用字段3 + + private String reservedField4; //备用字段4 + + private String reservedField5; //备用字段5 + + + +} diff --git a/src/main/java/com/JIAL/FMSystem/entity/Category.java b/src/main/java/com/JIAL/FMSystem/entity/Category.java deleted file mode 100644 index 6660b9c..0000000 --- a/src/main/java/com/JIAL/FMSystem/entity/Category.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.JIAL.FMSystem.entity; - -import com.baomidou.mybatisplus.annotation.FieldFill; -import com.baomidou.mybatisplus.annotation.TableField; -import lombok.Data; - -import java.io.Serializable; -import java.time.LocalDateTime; - -/** - * 分类 - */ -@Data -public class Category implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - - - //类型 1 菜品分类 2 套餐分类 - private Integer type; - - - //分类名称 - private String name; - - - //顺序 - private Integer sort; - - - //创建时间 - @TableField(fill = FieldFill.INSERT) - private LocalDateTime createTime; - - - //更新时间 - @TableField(fill = FieldFill.INSERT_UPDATE) - private LocalDateTime updateTime; - - - //创建人 - @TableField(fill = FieldFill.INSERT) - private Long createUser; - - - //修改人 - @TableField(fill = FieldFill.INSERT_UPDATE) - private Long updateUser; - -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/Defendant.java b/src/main/java/com/JIAL/FMSystem/entity/Defendant.java new file mode 100644 index 0000000..343800f --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/entity/Defendant.java @@ -0,0 +1,50 @@ +package com.JIAL.FMSystem.entity; + +import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.TableField; +import lombok.Data; + +import java.io.Serializable; +import java.time.LocalDateTime; +/** + * @ClassName Defendant + * @Description 被告表实体类 + * @Author JIAL + * @Date 2023/12/5 13:46 + * @Version 1.0 + */ +@Data +public class Defendant implements Serializable{ + private static final long serialVersionUID = 1L; + + private Long id; + + private Integer type; //当事人类型,1-法人 + + private String unitName; //单位名称 + + private String unitLocation; //单位所在地 + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private LocalDateTime createTime; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private LocalDateTime updateTime; + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private Long createUser; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private Long updateUser; + + private String reservedField1; //备用字段1 + + private String reservedField2; //备用字段2 + + private String reservedField3; //备用字段3 + + private String reservedField4; //备用字段4 + + private String reservedField5; //备用字段5 + +} diff --git a/src/main/java/com/JIAL/FMSystem/entity/Dish.java b/src/main/java/com/JIAL/FMSystem/entity/Dish.java deleted file mode 100644 index b3c1ea9..0000000 --- a/src/main/java/com/JIAL/FMSystem/entity/Dish.java +++ /dev/null @@ -1,68 +0,0 @@ -package com.JIAL.FMSystem.entity; - -import com.baomidou.mybatisplus.annotation.FieldFill; -import com.baomidou.mybatisplus.annotation.TableField; -import lombok.Data; -import java.io.Serializable; -import java.math.BigDecimal; -import java.time.LocalDateTime; - -/** - 菜品 - */ -@Data -public class Dish implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - - - //菜品名称 - private String name; - - - //菜品分类id - private Long categoryId; - - - //菜品价格 - private BigDecimal price; - - - //商品码 - private String code; - - - //图片 - private String image; - - - //描述信息 - private String description; - - - //0 停售 1 起售 - private Integer status; - - - //顺序 - private Integer sort; - - - @TableField(fill = FieldFill.INSERT) - private LocalDateTime createTime; - - - @TableField(fill = FieldFill.INSERT_UPDATE) - private LocalDateTime updateTime; - - - @TableField(fill = FieldFill.INSERT) - private Long createUser; - - - @TableField(fill = FieldFill.INSERT_UPDATE) - private Long updateUser; - -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/DishFlavor.java b/src/main/java/com/JIAL/FMSystem/entity/DishFlavor.java deleted file mode 100644 index 842d36e..0000000 --- a/src/main/java/com/JIAL/FMSystem/entity/DishFlavor.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.JIAL.FMSystem.entity; - -import com.baomidou.mybatisplus.annotation.FieldFill; -import com.baomidou.mybatisplus.annotation.TableField; -import lombok.Data; -import java.io.Serializable; -import java.time.LocalDateTime; - -/** -菜品口味 - */ -@Data -public class DishFlavor implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - - - //菜品id - private Long dishId; - - - //口味名称 - private String name; - - - //口味数据list - private String value; - - - @TableField(fill = FieldFill.INSERT) - private LocalDateTime createTime; - - - @TableField(fill = FieldFill.INSERT_UPDATE) - private LocalDateTime updateTime; - - - @TableField(fill = FieldFill.INSERT) - private Long createUser; - - - @TableField(fill = FieldFill.INSERT_UPDATE) - private Long updateUser; - - - //是否删除 - private Integer isDeleted; - -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/Employee.java b/src/main/java/com/JIAL/FMSystem/entity/Employee.java deleted file mode 100644 index 6b8d6d9..0000000 --- a/src/main/java/com/JIAL/FMSystem/entity/Employee.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.JIAL.FMSystem.entity; - -import com.baomidou.mybatisplus.annotation.FieldFill; -import com.baomidou.mybatisplus.annotation.TableField; -import lombok.Data; -import java.io.Serializable; -import java.time.LocalDateTime; - -/** - * 员工实体 - */ -@Data -public class Employee implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - - private String username; - - private String name; - - private String password; - - private String phone; - - private String admin; - - private Integer status; - - @TableField(fill = FieldFill.INSERT) //插入时填充字段 - private LocalDateTime createTime; - - @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 - private LocalDateTime updateTime; - - @TableField(fill = FieldFill.INSERT) //插入时填充字段 - private Long createUser; - - @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 - private Long updateUser; - -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/HearCase.java b/src/main/java/com/JIAL/FMSystem/entity/HearCase.java new file mode 100644 index 0000000..af72a11 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/entity/HearCase.java @@ -0,0 +1,69 @@ +package com.JIAL.FMSystem.entity; + +import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.TableField; +import lombok.Data; + +import java.io.Serializable; +import java.time.LocalDateTime; + +/** + * @ClassName HearCase + * @Description 审理案件表实体类 + * @Author JIAL + * @Date 2023/12/5 14:20 + * @Version 1.0 + */ +@Data +public class HearCase implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer id; + + private String caseNum; //案件号 + + private String caseReason; //案件来由 + + private Long defendantId; //被告id + + private Long plaintiffId; //原告id + + private Integer caseType; //案件类型 + + private LocalDateTime trialTime; //开庭时间 + + private String court; //法院名称 + + private Integer caseStatus; //案件状态 + + private String judgeName; //法官姓名 + + private String judgePhone; //法官电话 + + private String salesmanName; //业务员姓名 + + private String salesmanPhone; //业务员电话 + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private LocalDateTime createTime; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private LocalDateTime updateTime; + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private Long createUser; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private Long updateUser; + + private String reservedField1; //备用字段1 + + private String reservedField2; //备用字段2 + + private String reservedField3; //备用字段3 + + private String reservedField4; //备用字段4 + + private String reservedField5; //备用字段5 + +} diff --git a/src/main/java/com/JIAL/FMSystem/entity/Money.java b/src/main/java/com/JIAL/FMSystem/entity/Money.java new file mode 100644 index 0000000..55c7f88 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/entity/Money.java @@ -0,0 +1,65 @@ +package com.JIAL.FMSystem.entity; + +import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.TableField; +import lombok.Data; + +import java.io.Serializable; +import java.time.LocalDateTime; + +/** + * @ClassName Money + * @Description 案件金额表对应实体类 + * @Author JIAL + * @Date 2023/12/5 14:28 + * @Version 1.0 + */ +@Data +public class Money implements Serializable { + private static final long serialVersionUID = 1L; + + private Long id; + + private Long caseId; //案件ID + + private Long litigationAmount; //起诉金 + + private Long preservationAmount; //保全金额 + + private Long judicialActionFee; //诉讼费 + + private Long refund; //退费 + + private Long preservationFee; //保全费 + + private Long executeFee; //执行费 + + private Long estimateFee; //评估费 + + private Long resultAmount; //结果金额 + + private String resultAmountRemarks; //结果金额备注 + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private LocalDateTime createTime; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private LocalDateTime updateTime; + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private Long createUser; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private Long updateUser; + + private String reservedField1; //备用字段1 + + private String reservedField2; //备用字段2 + + private String reservedField3; //备用字段3 + + private String reservedField4; //备用字段4 + + private String reservedField5; //备用字段5 + +} diff --git a/src/main/java/com/JIAL/FMSystem/entity/OrderDetail.java b/src/main/java/com/JIAL/FMSystem/entity/OrderDetail.java deleted file mode 100644 index 5755902..0000000 --- a/src/main/java/com/JIAL/FMSystem/entity/OrderDetail.java +++ /dev/null @@ -1,44 +0,0 @@ -package com.JIAL.FMSystem.entity; - -import lombok.Data; -import java.io.Serializable; -import java.math.BigDecimal; - -/** - * 订单明细 - */ -@Data -public class OrderDetail implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - - //名称 - private String name; - - //订单id - private Long orderId; - - - //菜品id - private Long dishId; - - - //套餐id - private Long setmealId; - - - //口味 - private String dishFlavor; - - - //数量 - private Integer number; - - //金额 - private BigDecimal amount; - - //图片 - private String image; -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/Orders.java b/src/main/java/com/JIAL/FMSystem/entity/Orders.java deleted file mode 100644 index 40410a9..0000000 --- a/src/main/java/com/JIAL/FMSystem/entity/Orders.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.JIAL.FMSystem.entity; - -import lombok.Data; -import java.io.Serializable; -import java.math.BigDecimal; -import java.time.LocalDateTime; - -/** - * 订单 - */ -@Data -public class Orders implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - - //订单号 - private String number; - - //订单状态 1待付款,2待派送,3已派送,4已完成,5已取消 - private Integer status; - - - //下单用户id - private Long userId; - - //地址id - private Long addressBookId; - - - //下单时间 - private LocalDateTime orderTime; - - - //结账时间 - private LocalDateTime checkoutTime; - - - //支付方式 1微信,2支付宝 - private Integer payMethod; - - - //实收金额 - private BigDecimal amount; - - //备注 - private String remark; - - //用户名 - private String userName; - - //手机号 - private String phone; - - //地址 - private String address; - - //收货人 - private String consignee; -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/Plaintiff.java b/src/main/java/com/JIAL/FMSystem/entity/Plaintiff.java new file mode 100644 index 0000000..9bc3a24 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/entity/Plaintiff.java @@ -0,0 +1,57 @@ +package com.JIAL.FMSystem.entity; + +import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.TableField; +import lombok.Data; + +import java.io.Serializable; +import java.time.LocalDateTime; + +/** + * @ClassName Plaintiff + * @Description 原告表对应实体类 + * @Author JIAL + * @Date 2023/12/5 14:45 + * @Version 1.0 + */ +@Data +public class Plaintiff implements Serializable { + private static final long serialVersionUID = 1L; + + private Long id; + + private Integer type; //原告类型。1-法人 + + private String unitName; //单位名称 + + private Integer licenseType; //证照类型,1-统一社会信用代码证 + + private String licenseNum; //证件号码 + + private String unitLocation; //单位所在地 + + private String phoneNum; //联系电话 + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private LocalDateTime createTime; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private LocalDateTime updateTime; + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private Long createUser; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private Long updateUser; + + private String reservedField1; //备用字段1 + + private String reservedField2; //备用字段2 + + private String reservedField3; //备用字段3 + + private String reservedField4; //备用字段4 + + private String reservedField5; //备用字段5 + +} diff --git a/src/main/java/com/JIAL/FMSystem/entity/Setmeal.java b/src/main/java/com/JIAL/FMSystem/entity/Setmeal.java deleted file mode 100644 index 189771f..0000000 --- a/src/main/java/com/JIAL/FMSystem/entity/Setmeal.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.JIAL.FMSystem.entity; - -import com.baomidou.mybatisplus.annotation.FieldFill; -import com.baomidou.mybatisplus.annotation.TableField; -import lombok.Data; -import java.io.Serializable; -import java.math.BigDecimal; -import java.time.LocalDateTime; - -/** - * 套餐 - */ -@Data -public class Setmeal implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - - - //分类id - private Long categoryId; - - - //套餐名称 - private String name; - - - //套餐价格 - private BigDecimal price; - - - //状态 0:停用 1:启用 - private Integer status; - - - //编码 - private String code; - - - //描述信息 - private String description; - - - //图片 - private String image; - - - @TableField(fill = FieldFill.INSERT) - private LocalDateTime createTime; - - - @TableField(fill = FieldFill.INSERT_UPDATE) - private LocalDateTime updateTime; - - - @TableField(fill = FieldFill.INSERT) - private Long createUser; - - - @TableField(fill = FieldFill.INSERT_UPDATE) - private Long updateUser; - -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/SetmealDish.java b/src/main/java/com/JIAL/FMSystem/entity/SetmealDish.java deleted file mode 100644 index 3b2ec4b..0000000 --- a/src/main/java/com/JIAL/FMSystem/entity/SetmealDish.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.JIAL.FMSystem.entity; - -import com.baomidou.mybatisplus.annotation.FieldFill; -import com.baomidou.mybatisplus.annotation.TableField; -import lombok.Data; -import java.io.Serializable; -import java.math.BigDecimal; -import java.time.LocalDateTime; - -/** - * 套餐菜品关系 - */ -@Data -public class SetmealDish implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - - - //套餐id - private Long setmealId; - - - //菜品id - private Long dishId; - - - //菜品名称 (冗余字段) - private String name; - - //菜品原价 - private BigDecimal price; - - //份数 - private Integer copies; - - - //排序 - private Integer sort; - - - @TableField(fill = FieldFill.INSERT) - private LocalDateTime createTime; - - - @TableField(fill = FieldFill.INSERT_UPDATE) - private LocalDateTime updateTime; - - - @TableField(fill = FieldFill.INSERT) - private Long createUser; - - - @TableField(fill = FieldFill.INSERT_UPDATE) - private Long updateUser; - - - //是否删除 - private Integer isDeleted; -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/ShoppingCart.java b/src/main/java/com/JIAL/FMSystem/entity/ShoppingCart.java deleted file mode 100644 index e3c8d40..0000000 --- a/src/main/java/com/JIAL/FMSystem/entity/ShoppingCart.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.JIAL.FMSystem.entity; - -import lombok.Data; -import java.io.Serializable; -import java.math.BigDecimal; -import java.time.LocalDateTime; - -/** - * 购物车 - */ -@Data -public class ShoppingCart implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - - //名称 - private String name; - - //用户id - private Long userId; - - //菜品id - private Long dishId; - - //套餐id - private Long setmealId; - - //口味 - private String dishFlavor; - - //数量 - private Integer number; - - //金额 - private BigDecimal amount; - - //图片 - private String image; - - private LocalDateTime createTime; -} diff --git a/src/main/java/com/JIAL/FMSystem/entity/User.java b/src/main/java/com/JIAL/FMSystem/entity/User.java index be15690..de138aa 100644 --- a/src/main/java/com/JIAL/FMSystem/entity/User.java +++ b/src/main/java/com/JIAL/FMSystem/entity/User.java @@ -1,40 +1,58 @@ package com.JIAL.FMSystem.entity; +import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.TableField; import lombok.Data; import java.io.Serializable; +import java.time.LocalDateTime; /** - * 用户信息 + * @ClassName User + * @Description 用户实体类 + * @Author JIAL + * @Date 2023/12/5 12:38 + * @Version 1.0 */ @Data public class User implements Serializable { - private static final long serialVersionUID = 1L; private Long id; + private String name; //姓名 - //姓名 - private String name; + private String username; //账号:工号 + + private String phone; //手机号 + + private Integer status; //状态 0:禁用,1:正常 + + private String password; //密码 + + private Integer admin; //管理员等级0-超级用户,1-管理员,2-用户 + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private LocalDateTime createTime; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private LocalDateTime updateTime; + + @TableField(fill = FieldFill.INSERT) //插入时填充字段 + private Long createUser; + + @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新时填充字段 + private Long updateUser; + + private String reservedField1; //备用字段1 + + private String reservedField2; //备用字段2 + + private String reservedField3; //备用字段3 + + private String reservedField4; //备用字段4 + + private String reservedField5; //备用字段5 - //手机号 - private String phone; - - - //性别 0 女 1 男 - private String sex; - - - //身份证号 - private String idNumber; - - - //头像 - private String avatar; - - - //状态 0:禁用,1:正常 - private Integer status; } diff --git a/src/main/java/com/JIAL/FMSystem/filter/LoginCheckFilter.java b/src/main/java/com/JIAL/FMSystem/filter/LoginCheckFilter.java index c473da6..4d58deb 100644 --- a/src/main/java/com/JIAL/FMSystem/filter/LoginCheckFilter.java +++ b/src/main/java/com/JIAL/FMSystem/filter/LoginCheckFilter.java @@ -33,8 +33,8 @@ public class LoginCheckFilter implements Filter{ //定义不需要处理的请求路径 String[] urls = new String[]{ - "/employee/login", - "/employee/logout", + "/user/login", + "/user/logout", "/backend/**", "/front/**", "/common/**", @@ -53,10 +53,10 @@ public class LoginCheckFilter implements Filter{ } //4-1、判断登录状态,如果已登录,则直接放行 - if(request.getSession().getAttribute("employee") != null){ - log.info("用户已登录,用户id为:{}",request.getSession().getAttribute("employee")); + if(request.getSession().getAttribute("user") != null){ + log.info("用户已登录,用户id为:{}",request.getSession().getAttribute("user")); - Long empId = (Long) request.getSession().getAttribute("employee"); + Long empId = (Long) request.getSession().getAttribute("user"); BaseContext.setCurrentId(empId); filterChain.doFilter(request,response); diff --git a/src/main/java/com/JIAL/FMSystem/mapper/AddressBookMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/AddressBookMapper.java deleted file mode 100644 index 7ea3871..0000000 --- a/src/main/java/com/JIAL/FMSystem/mapper/AddressBookMapper.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.JIAL.FMSystem.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.JIAL.FMSystem.entity.AddressBook; -import org.apache.ibatis.annotations.Mapper; - -@Mapper -public interface AddressBookMapper extends BaseMapper { - -} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/CategoryMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/CategoryMapper.java deleted file mode 100644 index deeb730..0000000 --- a/src/main/java/com/JIAL/FMSystem/mapper/CategoryMapper.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.JIAL.FMSystem.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.JIAL.FMSystem.entity.Category; -import org.apache.ibatis.annotations.Mapper; - -@Mapper -public interface CategoryMapper extends BaseMapper { -} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/DefendantMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/DefendantMapper.java new file mode 100644 index 0000000..cbf7357 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/mapper/DefendantMapper.java @@ -0,0 +1,16 @@ +package com.JIAL.FMSystem.mapper; + +import com.JIAL.FMSystem.entity.Defendant; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * @ClassName Defendant + * @Description TODO + * @Author JIAL + * @Date 2023/12/6 16:30 + * @Version 1.0 + */ +@Mapper +public interface DefendantMapper extends BaseMapper { +} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/DishFlavorMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/DishFlavorMapper.java deleted file mode 100644 index bbe0bb3..0000000 --- a/src/main/java/com/JIAL/FMSystem/mapper/DishFlavorMapper.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.JIAL.FMSystem.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.JIAL.FMSystem.entity.DishFlavor; -import org.apache.ibatis.annotations.Mapper; - -@Mapper -public interface DishFlavorMapper extends BaseMapper { -} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/DishMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/DishMapper.java deleted file mode 100644 index 441781f..0000000 --- a/src/main/java/com/JIAL/FMSystem/mapper/DishMapper.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.JIAL.FMSystem.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.JIAL.FMSystem.entity.Dish; -import org.apache.ibatis.annotations.Mapper; - -@Mapper -public interface DishMapper extends BaseMapper { -} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/EmployeeMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/EmployeeMapper.java deleted file mode 100644 index 2bf30b2..0000000 --- a/src/main/java/com/JIAL/FMSystem/mapper/EmployeeMapper.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.JIAL.FMSystem.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.JIAL.FMSystem.entity.Employee; -import org.apache.ibatis.annotations.Mapper; - -@Mapper -public interface EmployeeMapper extends BaseMapper{ -} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/HearCaseMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/HearCaseMapper.java new file mode 100644 index 0000000..80ba363 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/mapper/HearCaseMapper.java @@ -0,0 +1,18 @@ +package com.JIAL.FMSystem.mapper; + +import com.JIAL.FMSystem.entity.HearCase; +import com.JIAL.FMSystem.entity.User; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.github.yulichang.base.MPJBaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * @ClassName HearCaseMapper + * @Description TODO + * @Author JIAL + * @Date 2023/12/6 14:01 + * @Version 1.0 + */ +@Mapper +public interface HearCaseMapper extends MPJBaseMapper { +} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/OrderDetailMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/OrderDetailMapper.java deleted file mode 100644 index d2a3138..0000000 --- a/src/main/java/com/JIAL/FMSystem/mapper/OrderDetailMapper.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.JIAL.FMSystem.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.JIAL.FMSystem.entity.OrderDetail; -import org.apache.ibatis.annotations.Mapper; - -@Mapper -public interface OrderDetailMapper extends BaseMapper { - -} \ No newline at end of file diff --git a/src/main/java/com/JIAL/FMSystem/mapper/OrderMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/OrderMapper.java deleted file mode 100644 index 22e8b9a..0000000 --- a/src/main/java/com/JIAL/FMSystem/mapper/OrderMapper.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.JIAL.FMSystem.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.JIAL.FMSystem.entity.Orders; -import org.apache.ibatis.annotations.Mapper; - -@Mapper -public interface OrderMapper extends BaseMapper { - -} \ No newline at end of file diff --git a/src/main/java/com/JIAL/FMSystem/mapper/PlaintiffMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/PlaintiffMapper.java new file mode 100644 index 0000000..29339b4 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/mapper/PlaintiffMapper.java @@ -0,0 +1,17 @@ +package com.JIAL.FMSystem.mapper; + +import com.JIAL.FMSystem.entity.Plaintiff; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * @ClassName PlaintffMapper + * @Description TODO + * @Author JIAL + * @Date 2023/12/6 16:32 + * @Version 1.0 + */ +@Mapper +public interface PlaintiffMapper extends BaseMapper { + +} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/SetmealDishMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/SetmealDishMapper.java deleted file mode 100644 index abe93c9..0000000 --- a/src/main/java/com/JIAL/FMSystem/mapper/SetmealDishMapper.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.JIAL.FMSystem.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.JIAL.FMSystem.entity.SetmealDish; -import org.apache.ibatis.annotations.Mapper; - -@Mapper -public interface SetmealDishMapper extends BaseMapper { -} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/SetmealMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/SetmealMapper.java deleted file mode 100644 index 451547c..0000000 --- a/src/main/java/com/JIAL/FMSystem/mapper/SetmealMapper.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.JIAL.FMSystem.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.JIAL.FMSystem.entity.Setmeal; -import org.apache.ibatis.annotations.Mapper; - -@Mapper -public interface SetmealMapper extends BaseMapper { -} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/ShoppingCartMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/ShoppingCartMapper.java deleted file mode 100644 index 0e81b0d..0000000 --- a/src/main/java/com/JIAL/FMSystem/mapper/ShoppingCartMapper.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.JIAL.FMSystem.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.JIAL.FMSystem.entity.ShoppingCart; -import org.apache.ibatis.annotations.Mapper; - -@Mapper -public interface ShoppingCartMapper extends BaseMapper { - -} diff --git a/src/main/java/com/JIAL/FMSystem/mapper/UserMapper.java b/src/main/java/com/JIAL/FMSystem/mapper/UserMapper.java index 9e67de4..ce6d22f 100644 --- a/src/main/java/com/JIAL/FMSystem/mapper/UserMapper.java +++ b/src/main/java/com/JIAL/FMSystem/mapper/UserMapper.java @@ -4,6 +4,12 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.JIAL.FMSystem.entity.User; import org.apache.ibatis.annotations.Mapper; +/** + * @title + * @description + * @author JIAL + * @updateTime 2023/12/6 14:01 + */ @Mapper public interface UserMapper extends BaseMapper{ } diff --git a/src/main/java/com/JIAL/FMSystem/service/AddressBookService.java b/src/main/java/com/JIAL/FMSystem/service/AddressBookService.java deleted file mode 100644 index 08ea4a1..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/AddressBookService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.JIAL.FMSystem.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.JIAL.FMSystem.entity.AddressBook; - -public interface AddressBookService extends IService { - -} diff --git a/src/main/java/com/JIAL/FMSystem/service/CategoryService.java b/src/main/java/com/JIAL/FMSystem/service/CategoryService.java deleted file mode 100644 index 3e592b5..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/CategoryService.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.JIAL.FMSystem.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.JIAL.FMSystem.entity.Category; - -public interface CategoryService extends IService { - - public void remove(Long id); - -} diff --git a/src/main/java/com/JIAL/FMSystem/service/DefendantService.java b/src/main/java/com/JIAL/FMSystem/service/DefendantService.java new file mode 100644 index 0000000..44dc234 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/service/DefendantService.java @@ -0,0 +1,27 @@ +package com.JIAL.FMSystem.service; + +import com.JIAL.FMSystem.entity.Defendant; +import com.baomidou.mybatisplus.extension.service.IService; + +import java.util.List; +import java.util.Map; + +/** + * @ClassName DefendantService + * @Description TODO + * @Author JIAL + * @Date 2023/12/6 16:39 + * @Version 1.0 + */ + +public interface DefendantService extends IService { + + /** + * @title idAndNameUnitName + * @description 返回被告的id和单位名称组成的Map + * @author JIAL + * @updateTime 2023/12/6 20:28 + * @return: java.util.List> + */ + public List> idAndNameUnitName(List list); +} diff --git a/src/main/java/com/JIAL/FMSystem/service/DishFlavorService.java b/src/main/java/com/JIAL/FMSystem/service/DishFlavorService.java deleted file mode 100644 index 8271295..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/DishFlavorService.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.JIAL.FMSystem.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.JIAL.FMSystem.entity.DishFlavor; - -public interface DishFlavorService extends IService { -} diff --git a/src/main/java/com/JIAL/FMSystem/service/DishService.java b/src/main/java/com/JIAL/FMSystem/service/DishService.java deleted file mode 100644 index 8ad3398..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/DishService.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.JIAL.FMSystem.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.JIAL.FMSystem.dto.DishDto; -import com.JIAL.FMSystem.entity.Dish; - -public interface DishService extends IService { - - //新增菜品,同时插入菜品对应的口味数据,需要操作两张表:dish、dish_flavor - public void saveWithFlavor(DishDto dishDto); - - //根据id查询菜品信息和对应的口味信息 - public DishDto getByIdWithFlavor(Long id); - - //更新菜品信息,同时更新对应的口味信息 - public void updateWithFlavor(DishDto dishDto); -} diff --git a/src/main/java/com/JIAL/FMSystem/service/EmployeeService.java b/src/main/java/com/JIAL/FMSystem/service/EmployeeService.java deleted file mode 100644 index 2da84f1..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/EmployeeService.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.JIAL.FMSystem.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.JIAL.FMSystem.entity.Employee; - -public interface EmployeeService extends IService { -} diff --git a/src/main/java/com/JIAL/FMSystem/service/HearCaseService.java b/src/main/java/com/JIAL/FMSystem/service/HearCaseService.java new file mode 100644 index 0000000..c120811 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/service/HearCaseService.java @@ -0,0 +1,16 @@ +package com.JIAL.FMSystem.service; + +import com.JIAL.FMSystem.entity.HearCase; +import com.JIAL.FMSystem.entity.User; +import com.baomidou.mybatisplus.extension.service.IService; +import com.github.yulichang.base.MPJBaseService; + +/** + * @ClassName HearCaseService + * @Description TODO + * @Author JIAL + * @Date 2023/12/6 14:03 + * @Version 1.0 + */ +public interface HearCaseService extends MPJBaseService { +} diff --git a/src/main/java/com/JIAL/FMSystem/service/OrderDetailService.java b/src/main/java/com/JIAL/FMSystem/service/OrderDetailService.java deleted file mode 100644 index 2800ea5..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/OrderDetailService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.JIAL.FMSystem.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.JIAL.FMSystem.entity.OrderDetail; - -public interface OrderDetailService extends IService { - -} diff --git a/src/main/java/com/JIAL/FMSystem/service/OrderService.java b/src/main/java/com/JIAL/FMSystem/service/OrderService.java deleted file mode 100644 index f808931..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/OrderService.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.JIAL.FMSystem.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.JIAL.FMSystem.entity.Orders; - -public interface OrderService extends IService { - - /** - * 用户下单 - * @param orders - */ - public void submit(Orders orders); -} diff --git a/src/main/java/com/JIAL/FMSystem/service/PlaintiffService.java b/src/main/java/com/JIAL/FMSystem/service/PlaintiffService.java new file mode 100644 index 0000000..4bfd190 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/service/PlaintiffService.java @@ -0,0 +1,14 @@ +package com.JIAL.FMSystem.service; + +import com.JIAL.FMSystem.entity.Plaintiff; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + * @ClassName PlaintffService + * @Description TODO + * @Author JIAL + * @Date 2023/12/6 16:47 + * @Version 1.0 + */ +public interface PlaintiffService extends IService { +} diff --git a/src/main/java/com/JIAL/FMSystem/service/SetmealDishService.java b/src/main/java/com/JIAL/FMSystem/service/SetmealDishService.java deleted file mode 100644 index c33389d..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/SetmealDishService.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.JIAL.FMSystem.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.JIAL.FMSystem.entity.SetmealDish; - -public interface SetmealDishService extends IService { -} diff --git a/src/main/java/com/JIAL/FMSystem/service/SetmealService.java b/src/main/java/com/JIAL/FMSystem/service/SetmealService.java deleted file mode 100644 index 9cea0ab..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/SetmealService.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.JIAL.FMSystem.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.JIAL.FMSystem.dto.SetmealDto; -import com.JIAL.FMSystem.entity.Setmeal; - -import java.util.List; - -public interface SetmealService extends IService { - /** - * 新增套餐,同时需要保存套餐和菜品的关联关系 - * @param setmealDto - */ - public void saveWithDish(SetmealDto setmealDto); - - /** - * 删除套餐,同时需要删除套餐和菜品的关联数据 - * @param ids - */ - public void removeWithDish(List ids); -} diff --git a/src/main/java/com/JIAL/FMSystem/service/ShoppingCartService.java b/src/main/java/com/JIAL/FMSystem/service/ShoppingCartService.java deleted file mode 100644 index 12cfb78..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/ShoppingCartService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.JIAL.FMSystem.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.JIAL.FMSystem.entity.ShoppingCart; - -public interface ShoppingCartService extends IService { - -} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/AddressBookServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/AddressBookServiceImpl.java deleted file mode 100644 index 22357a2..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/impl/AddressBookServiceImpl.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.JIAL.FMSystem.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.JIAL.FMSystem.entity.AddressBook; -import com.JIAL.FMSystem.mapper.AddressBookMapper; -import com.JIAL.FMSystem.service.AddressBookService; -import org.springframework.stereotype.Service; - -@Service -public class AddressBookServiceImpl extends ServiceImpl implements AddressBookService { - -} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/CategoryServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/CategoryServiceImpl.java deleted file mode 100644 index 7ae48e4..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/impl/CategoryServiceImpl.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.JIAL.FMSystem.service.impl; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.JIAL.FMSystem.common.CustomException; -import com.JIAL.FMSystem.entity.Category; -import com.JIAL.FMSystem.entity.Dish; -import com.JIAL.FMSystem.entity.Setmeal; -import com.JIAL.FMSystem.mapper.CategoryMapper; -import com.JIAL.FMSystem.service.CategoryService; -import com.JIAL.FMSystem.service.DishService; -import com.JIAL.FMSystem.service.SetmealService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class CategoryServiceImpl extends ServiceImpl implements CategoryService{ - - @Autowired - private DishService dishService; - - @Autowired - private SetmealService setmealService; - - /** - * 根据id删除分类,删除之前需要进行判断 - * @param id - */ - @Override - public void remove(Long id) { - LambdaQueryWrapper dishLambdaQueryWrapper = new LambdaQueryWrapper<>(); - //添加查询条件,根据分类id进行查询 - dishLambdaQueryWrapper.eq(Dish::getCategoryId,id); - int count1 = dishService.count(dishLambdaQueryWrapper); - - //查询当前分类是否关联了菜品,如果已经关联,抛出一个业务异常 - if(count1 > 0){ - //已经关联菜品,抛出一个业务异常 - throw new CustomException("当前分类下关联了菜品,不能删除"); - } - - //查询当前分类是否关联了套餐,如果已经关联,抛出一个业务异常 - LambdaQueryWrapper setmealLambdaQueryWrapper = new LambdaQueryWrapper<>(); - //添加查询条件,根据分类id进行查询 - setmealLambdaQueryWrapper.eq(Setmeal::getCategoryId,id); - int count2 = setmealService.count(); - if(count2 > 0){ - //已经关联套餐,抛出一个业务异常 - throw new CustomException("当前分类下关联了套餐,不能删除"); - } - - //正常删除分类 - super.removeById(id); - } -} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/DefendantServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/DefendantServiceImpl.java new file mode 100644 index 0000000..eec5f26 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/service/impl/DefendantServiceImpl.java @@ -0,0 +1,45 @@ +package com.JIAL.FMSystem.service.impl; + +import com.JIAL.FMSystem.entity.Defendant; +import com.JIAL.FMSystem.entity.HearCase; +import com.JIAL.FMSystem.mapper.DefendantMapper; +import com.JIAL.FMSystem.mapper.HearCaseMapper; +import com.JIAL.FMSystem.service.DefendantService; +import com.JIAL.FMSystem.service.HearCaseService; +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.stereotype.Service; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * @ClassName DefendantServiceImpl + * @Description TODO + * @Author JIAL + * @Date 2023/12/6 16:41 + * @Version 1.0 + */ +@Service +public class DefendantServiceImpl extends ServiceImpl implements DefendantService { + + @Override + public List> idAndNameUnitName(List list) { + LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); + queryWrapper.in(Defendant::getId, list); + + List resultList = this.list(queryWrapper); + List> resultMapList = new ArrayList<>(); + + for(Defendant defendant : resultList) { + Map columnMap = new HashMap<>(); + columnMap.put(defendant.getId(), defendant.getUnitName()); + + resultMapList.add(columnMap); + } + + return resultMapList; + } +} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/DishFlavorServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/DishFlavorServiceImpl.java deleted file mode 100644 index 362d37d..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/impl/DishFlavorServiceImpl.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.JIAL.FMSystem.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.JIAL.FMSystem.entity.DishFlavor; -import com.JIAL.FMSystem.mapper.DishFlavorMapper; -import com.JIAL.FMSystem.service.DishFlavorService; -import org.springframework.stereotype.Service; - -@Service -public class DishFlavorServiceImpl extends ServiceImpl implements DishFlavorService { -} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/DishServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/DishServiceImpl.java deleted file mode 100644 index a35429c..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/impl/DishServiceImpl.java +++ /dev/null @@ -1,93 +0,0 @@ -package com.JIAL.FMSystem.service.impl; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.JIAL.FMSystem.dto.DishDto; -import com.JIAL.FMSystem.entity.Dish; -import com.JIAL.FMSystem.entity.DishFlavor; -import com.JIAL.FMSystem.mapper.DishMapper; -import com.JIAL.FMSystem.service.DishFlavorService; -import com.JIAL.FMSystem.service.DishService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.BeanUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import org.springframework.transaction.annotation.Transactional; - -import java.util.List; -import java.util.stream.Collectors; - -@Service -@Slf4j -public class DishServiceImpl extends ServiceImpl implements DishService { - - @Autowired - private DishFlavorService dishFlavorService; - - /** - * 新增菜品,同时保存对应的口味数据 - * @param dishDto - */ - @Transactional - public void saveWithFlavor(DishDto dishDto) { - //保存菜品的基本信息到菜品表dish - this.save(dishDto); - - Long dishId = dishDto.getId();//菜品id - - //菜品口味 - List flavors = dishDto.getFlavors(); - flavors = flavors.stream().map((item) -> { - item.setDishId(dishId); - return item; - }).collect(Collectors.toList()); - - //保存菜品口味数据到菜品口味表dish_flavor - dishFlavorService.saveBatch(flavors); - - } - - /** - * 根据id查询菜品信息和对应的口味信息 - * @param id - * @return - */ - public DishDto getByIdWithFlavor(Long id) { - //查询菜品基本信息,从dish表查询 - Dish dish = this.getById(id); - - DishDto dishDto = new DishDto(); - BeanUtils.copyProperties(dish,dishDto); - - //查询当前菜品对应的口味信息,从dish_flavor表查询 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(DishFlavor::getDishId,dish.getId()); - List flavors = dishFlavorService.list(queryWrapper); - dishDto.setFlavors(flavors); - - return dishDto; - } - - @Override - @Transactional - public void updateWithFlavor(DishDto dishDto) { - //更新dish表基本信息 - this.updateById(dishDto); - - //清理当前菜品对应口味数据---dish_flavor表的delete操作 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper(); - queryWrapper.eq(DishFlavor::getDishId,dishDto.getId()); - - dishFlavorService.remove(queryWrapper); - - //添加当前提交过来的口味数据---dish_flavor表的insert操作 - List flavors = dishDto.getFlavors(); - - flavors = flavors.stream().map((item) -> { - item.setDishId(dishDto.getId()); - return item; - }).collect(Collectors.toList()); - - dishFlavorService.saveBatch(flavors); - } -} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/EmployeeServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/EmployeeServiceImpl.java deleted file mode 100644 index 5fc736d..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/impl/EmployeeServiceImpl.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.JIAL.FMSystem.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.JIAL.FMSystem.entity.Employee; -import com.JIAL.FMSystem.mapper.EmployeeMapper; -import com.JIAL.FMSystem.service.EmployeeService; -import org.springframework.stereotype.Service; - -@Service -public class EmployeeServiceImpl extends ServiceImpl implements EmployeeService{ -} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/HearCaseServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/HearCaseServiceImpl.java new file mode 100644 index 0000000..62fa76b --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/service/impl/HearCaseServiceImpl.java @@ -0,0 +1,22 @@ +package com.JIAL.FMSystem.service.impl; + +import com.JIAL.FMSystem.entity.HearCase; +import com.JIAL.FMSystem.entity.User; +import com.JIAL.FMSystem.mapper.HearCaseMapper; +import com.JIAL.FMSystem.mapper.UserMapper; +import com.JIAL.FMSystem.service.HearCaseService; +import com.JIAL.FMSystem.service.UserService; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.github.yulichang.base.MPJBaseServiceImpl; +import org.springframework.stereotype.Service; + +/** + * @ClassName HearCaseServiceImpl + * @Description TODO + * @Author JIAL + * @Date 2023/12/6 14:02 + * @Version 1.0 + */ +@Service +public class HearCaseServiceImpl extends MPJBaseServiceImpl implements HearCaseService { +} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/OrderDetailServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/OrderDetailServiceImpl.java deleted file mode 100644 index ca2930e..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/impl/OrderDetailServiceImpl.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.JIAL.FMSystem.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.JIAL.FMSystem.entity.OrderDetail; -import com.JIAL.FMSystem.mapper.OrderDetailMapper; -import com.JIAL.FMSystem.service.OrderDetailService; -import org.springframework.stereotype.Service; - -@Service -public class OrderDetailServiceImpl extends ServiceImpl implements OrderDetailService { - -} \ No newline at end of file diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/OrderServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/OrderServiceImpl.java deleted file mode 100644 index 804c8b8..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/impl/OrderServiceImpl.java +++ /dev/null @@ -1,108 +0,0 @@ -package com.JIAL.FMSystem.service.impl; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.toolkit.IdWorker; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.JIAL.FMSystem.common.BaseContext; -import com.JIAL.FMSystem.common.CustomException; -import com.JIAL.FMSystem.entity.*; -import com.JIAL.FMSystem.mapper.OrderMapper; -import com.JIAL.FMSystem.service.*; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import org.springframework.transaction.annotation.Transactional; - -import java.math.BigDecimal; -import java.time.LocalDateTime; -import java.util.List; -import java.util.concurrent.atomic.AtomicInteger; -import java.util.stream.Collectors; - -@Service -@Slf4j -public class OrderServiceImpl extends ServiceImpl implements OrderService { - - @Autowired - private ShoppingCartService shoppingCartService; - - @Autowired - private UserService userService; - - @Autowired - private AddressBookService addressBookService; - - @Autowired - private OrderDetailService orderDetailService; - - /** - * 用户下单 - * @param orders - */ - @Transactional - public void submit(Orders orders) { - //获得当前用户id - Long userId = BaseContext.getCurrentId(); - - //查询当前用户的购物车数据 - LambdaQueryWrapper wrapper = new LambdaQueryWrapper<>(); - wrapper.eq(ShoppingCart::getUserId,userId); - List shoppingCarts = shoppingCartService.list(wrapper); - - if(shoppingCarts == null || shoppingCarts.size() == 0){ - throw new CustomException("购物车为空,不能下单"); - } - - //查询用户数据 - User user = userService.getById(userId); - - //查询地址数据 - Long addressBookId = orders.getAddressBookId(); - AddressBook addressBook = addressBookService.getById(addressBookId); - if(addressBook == null){ - throw new CustomException("用户地址信息有误,不能下单"); - } - - long orderId = IdWorker.getId();//订单号 - - AtomicInteger amount = new AtomicInteger(0); - - List orderDetails = shoppingCarts.stream().map((item) -> { - OrderDetail orderDetail = new OrderDetail(); - orderDetail.setOrderId(orderId); - orderDetail.setNumber(item.getNumber()); - orderDetail.setDishFlavor(item.getDishFlavor()); - orderDetail.setDishId(item.getDishId()); - orderDetail.setSetmealId(item.getSetmealId()); - orderDetail.setName(item.getName()); - orderDetail.setImage(item.getImage()); - orderDetail.setAmount(item.getAmount()); - amount.addAndGet(item.getAmount().multiply(new BigDecimal(item.getNumber())).intValue()); - return orderDetail; - }).collect(Collectors.toList()); - - - orders.setId(orderId); - orders.setOrderTime(LocalDateTime.now()); - orders.setCheckoutTime(LocalDateTime.now()); - orders.setStatus(2); - orders.setAmount(new BigDecimal(amount.get()));//总金额 - orders.setUserId(userId); - orders.setNumber(String.valueOf(orderId)); - orders.setUserName(user.getName()); - orders.setConsignee(addressBook.getConsignee()); - orders.setPhone(addressBook.getPhone()); - orders.setAddress((addressBook.getProvinceName() == null ? "" : addressBook.getProvinceName()) - + (addressBook.getCityName() == null ? "" : addressBook.getCityName()) - + (addressBook.getDistrictName() == null ? "" : addressBook.getDistrictName()) - + (addressBook.getDetail() == null ? "" : addressBook.getDetail())); - //向订单表插入数据,一条数据 - this.save(orders); - - //向订单明细表插入数据,多条数据 - orderDetailService.saveBatch(orderDetails); - - //清空购物车数据 - shoppingCartService.remove(wrapper); - } -} \ No newline at end of file diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/PlaintiffServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/PlaintiffServiceImpl.java new file mode 100644 index 0000000..a211e17 --- /dev/null +++ b/src/main/java/com/JIAL/FMSystem/service/impl/PlaintiffServiceImpl.java @@ -0,0 +1,18 @@ +package com.JIAL.FMSystem.service.impl; + +import com.JIAL.FMSystem.entity.Plaintiff; +import com.JIAL.FMSystem.mapper.PlaintiffMapper; +import com.JIAL.FMSystem.service.PlaintiffService; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.stereotype.Service; + +/** + * @ClassName PlaintiffServiceImpl + * @Description TODO + * @Author JIAL + * @Date 2023/12/6 16:49 + * @Version 1.0 + */ +@Service +public class PlaintiffServiceImpl extends ServiceImpl implements PlaintiffService { +} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/SetmealDishServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/SetmealDishServiceImpl.java deleted file mode 100644 index 1c08d97..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/impl/SetmealDishServiceImpl.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.JIAL.FMSystem.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.JIAL.FMSystem.entity.SetmealDish; -import com.JIAL.FMSystem.mapper.SetmealDishMapper; -import com.JIAL.FMSystem.service.SetmealDishService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.stereotype.Service; - -@Service -@Slf4j -public class SetmealDishServiceImpl extends ServiceImpl implements SetmealDishService { -} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/SetmealServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/SetmealServiceImpl.java deleted file mode 100644 index 9f25cd7..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/impl/SetmealServiceImpl.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.JIAL.FMSystem.service.impl; - -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.JIAL.FMSystem.common.CustomException; -import com.JIAL.FMSystem.dto.SetmealDto; -import com.JIAL.FMSystem.entity.Setmeal; -import com.JIAL.FMSystem.entity.SetmealDish; -import com.JIAL.FMSystem.mapper.SetmealMapper; -import com.JIAL.FMSystem.service.SetmealDishService; -import com.JIAL.FMSystem.service.SetmealService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import org.springframework.transaction.annotation.Transactional; - -import java.util.List; -import java.util.stream.Collectors; - -@Service -@Slf4j -public class SetmealServiceImpl extends ServiceImpl implements SetmealService { - - @Autowired - private SetmealDishService setmealDishService; - - /** - * 新增套餐,同时需要保存套餐和菜品的关联关系 - * @param setmealDto - */ - @Transactional - public void saveWithDish(SetmealDto setmealDto) { - //保存套餐的基本信息,操作setmeal,执行insert操作 - this.save(setmealDto); - - List setmealDishes = setmealDto.getSetmealDishes(); - setmealDishes.stream().map((item) -> { - item.setSetmealId(setmealDto.getId()); - return item; - }).collect(Collectors.toList()); - - //保存套餐和菜品的关联信息,操作setmeal_dish,执行insert操作 - setmealDishService.saveBatch(setmealDishes); - } - - /** - * 删除套餐,同时需要删除套餐和菜品的关联数据 - * @param ids - */ - @Transactional - public void removeWithDish(List ids) { - //select count(*) from setmeal where id in (1,2,3) and status = 1 - //查询套餐状态,确定是否可用删除 - LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper(); - queryWrapper.in(Setmeal::getId,ids); - queryWrapper.eq(Setmeal::getStatus,1); - - int count = this.count(queryWrapper); - if(count > 0){ - //如果不能删除,抛出一个业务异常 - throw new CustomException("套餐正在售卖中,不能删除"); - } - - //如果可以删除,先删除套餐表中的数据---setmeal - this.removeByIds(ids); - - //delete from setmeal_dish where setmeal_id in (1,2,3) - LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper<>(); - lambdaQueryWrapper.in(SetmealDish::getSetmealId,ids); - //删除关系表中的数据----setmeal_dish - setmealDishService.remove(lambdaQueryWrapper); - } -} diff --git a/src/main/java/com/JIAL/FMSystem/service/impl/ShoppingCartServiceImpl.java b/src/main/java/com/JIAL/FMSystem/service/impl/ShoppingCartServiceImpl.java deleted file mode 100644 index ab0caff..0000000 --- a/src/main/java/com/JIAL/FMSystem/service/impl/ShoppingCartServiceImpl.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.JIAL.FMSystem.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.JIAL.FMSystem.entity.ShoppingCart; -import com.JIAL.FMSystem.mapper.ShoppingCartMapper; -import com.JIAL.FMSystem.service.ShoppingCartService; -import org.springframework.stereotype.Service; - -@Service -public class ShoppingCartServiceImpl extends ServiceImpl implements ShoppingCartService { - -} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8b13cd5..e0a9484 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -3,11 +3,11 @@ server: spring: application: #应用的名称,可选 - name: reggie_take_out + name: FWDev datasource: druid: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/reggie?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true + url: jdbc:mysql://localhost:3306/fwsystem?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true username: root password: 123456 mybatis-plus: diff --git a/src/main/resources/backend/api/hearCase.js b/src/main/resources/backend/api/hearCase.js new file mode 100644 index 0000000..f90ec7f --- /dev/null +++ b/src/main/resources/backend/api/hearCase.js @@ -0,0 +1,8 @@ +// 查询列表接口 +const getHearCasePage = (params) => { + return $axios({ + url: '/hearCase/page', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/src/main/resources/backend/api/login.js b/src/main/resources/backend/api/login.js index f293e51..c82f760 100644 --- a/src/main/resources/backend/api/login.js +++ b/src/main/resources/backend/api/login.js @@ -1,6 +1,6 @@ function loginApi(data) { return $axios({ - 'url': '/employee/login', + 'url': '/user/login', 'method': 'post', data }) @@ -8,7 +8,7 @@ function loginApi(data) { function logoutApi(){ return $axios({ - 'url': '/employee/logout', + 'url': '/user/logout', 'method': 'post', }) } diff --git a/src/main/resources/backend/api/member.js b/src/main/resources/backend/api/member.js index 0384c38..aa87b20 100644 --- a/src/main/resources/backend/api/member.js +++ b/src/main/resources/backend/api/member.js @@ -1,15 +1,15 @@ function getMemberList (params) { return $axios({ - url: '/employee/page', + url: '/user/page', method: 'get', params }) } // 修改---启用禁用接口 -function enableOrDisableEmployee (params) { +function enableOrDisableUser (params) { return $axios({ - url: '/employee', + url: '/user', method: 'put', data: { ...params } }) @@ -18,16 +18,16 @@ function enableOrDisableEmployee (params) { // 新增---添加员工 function addEmployee (params) { return $axios({ - url: '/employee', + url: '/user', method: 'post', data: { ...params } }) } // 修改---添加员工 -function editEmployee (params) { +function editUser (params) { return $axios({ - url: '/employee', + url: '/user', method: 'put', data: { ...params } }) @@ -36,7 +36,7 @@ function editEmployee (params) { // 修改页面反查详情接口 function queryEmployeeById (id) { return $axios({ - url: `/employee/${id}`, + url: `/user/${id}`, method: 'get' }) } \ No newline at end of file diff --git a/src/main/resources/backend/index.html b/src/main/resources/backend/index.html index 8f738f9..2902442 100644 --- a/src/main/resources/backend/index.html +++ b/src/main/resources/backend/index.html @@ -158,7 +158,7 @@ { id: '7', name: '案件列表', - url: 'page/legal/list.html', + url: 'page/hearCase/list.html', icon: 'icon-category' }, /* { diff --git a/src/main/resources/backend/page/legal/add.html b/src/main/resources/backend/page/hearCase/add.html similarity index 100% rename from src/main/resources/backend/page/legal/add.html rename to src/main/resources/backend/page/hearCase/add.html diff --git a/src/main/resources/backend/page/legal/detail.html b/src/main/resources/backend/page/hearCase/detail.html similarity index 100% rename from src/main/resources/backend/page/legal/detail.html rename to src/main/resources/backend/page/hearCase/detail.html diff --git a/src/main/resources/backend/page/legal/list.html b/src/main/resources/backend/page/hearCase/list.html similarity index 90% rename from src/main/resources/backend/page/legal/list.html rename to src/main/resources/backend/page/hearCase/list.html index 8a046b0..baa202e 100644 --- a/src/main/resources/backend/page/legal/list.html +++ b/src/main/resources/backend/page/hearCase/list.html @@ -11,7 +11,7 @@ -
+
- + + - - - + + + + + + + + + + + +
+
+ +
+
+
+ +
+
菩提阁餐厅
+
+ 距离1.5km + 配送费6元 + 预计时长12min +
+
+
+
+ 简介: 菩提阁中餐厅是菩提阁点餐的独立的品牌,定位“大众 化的美食外送餐饮”,旨为顾客打造专业美食。 +
+
+
+
+
    +
  • {{item.name}}
  • +
+
+
+
+
+ +
+ +
+
+
+
{{item.name}}
+
{{item.description}}
+
{{'月销' + (item.saleNum ? item.saleNum : 0) }}
+
{{item.price/100}}
+
+
+ +
+
{{item.number}}
+
选择规格
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
{{ goodsNum }}
+
+ + {{goodsPrice}} +
+
+
去结算
+
+ +
{{dialogFlavor.name}}
+
+
+
{{flavor.name}}
+ {{item}} +
+
+
+
{{dialogFlavor.price/100}}
+
加入购物车
+
+
+ +
+
+ +
+
购物车
+
+ 清空 +
+
+
+
+ +
+ +
+
+
+
{{item.name}}
+
+ {{item.amount}}
+
+
+
+ +
+
{{item.number}}
+
+ +
+
+
+
+
+
+ +
+ +
+ +
+
+
{{detailsDialog.item.name}}
+
{{detailsDialog.item.description}}
+
+
+
+ {{detailsDialog.item.price/100}} +
+
+
+ +
+
{{detailsDialog.item.number}}
+
选择规格
+
+ +
+
+
+
+ +
+
+ +
+
{{setMealDialog.item.name}}
+
+ +
+ +
+
+
{{item.name + '(' + item.copies + '份)' }} +
+ {{item.price/100}} +
+
+
{{item.description}}
+
+
+
+
+ {{setMealDialog.item.price/100}} +
+
+
+ +
+
{{setMealDialog.item.number}}
+
+ +
+
加入购物车
+
+
+
+ +
+
+
+ + + + + + + + + + + + + + diff --git a/src/main/resources/front/js/base.js b/src/main/resources/front/js/base.js new file mode 100644 index 0000000..94e2f08 --- /dev/null +++ b/src/main/resources/front/js/base.js @@ -0,0 +1,17 @@ +(function (doc, win) { + var docEl = doc.documentElement, + resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', + recalc = function () { + var clientWidth = docEl.clientWidth; + if (!clientWidth) return; + if (clientWidth > 750) { + docEl.style.fontSize = '28px'; + } else { + docEl.style.fontSize = (clientWidth / 375) + 'px'; + } + }; + + if (!doc.addEventListener) return; + win.addEventListener(resizeEvt, recalc, false); + doc.addEventListener('DOMContentLoaded', recalc, false); +})(document, window); \ No newline at end of file diff --git a/src/main/resources/front/js/common.js b/src/main/resources/front/js/common.js new file mode 100644 index 0000000..824b88f --- /dev/null +++ b/src/main/resources/front/js/common.js @@ -0,0 +1,23 @@ +var web_prefix = '/front' + +function imgPath(path){ + return '/common/download?name=' + path +} + +//将url传参转换为数组 +function parseUrl(url) { + // 找到url中的第一个?号 + var parse = url.substring(url.indexOf("?") + 1), + params = parse.split("&"), + len = params.length, + item = [], + param = {}; + + for (var i = 0; i < len; i++) { + item = params[i].split("="); + param[item[0]] = item[1]; + } + + return param; +} + diff --git a/src/main/resources/front/js/request.js b/src/main/resources/front/js/request.js new file mode 100644 index 0000000..f60dcb2 --- /dev/null +++ b/src/main/resources/front/js/request.js @@ -0,0 +1,74 @@ +(function (win) { + axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' + // 创建axios实例 + const service = axios.create({ + // axios中请求配置有baseURL选项,表示请求URL公共部分 + baseURL: '/', + // 超时 + timeout: 10000 + }) + // request拦截器 + service.interceptors.request.use(config => { + // 是否需要设置 token + // const isToken = (config.headers || {}).isToken === false + // if (getToken() && !isToken) { + // config.headers['Authorization'] = 'Bearer ' + getToken() // 让每个请求携带自定义token 请根据实际情况自行修改 + // } + // get请求映射params参数 + if (config.method === 'get' && config.params) { + let url = config.url + '?'; + for (const propName of Object.keys(config.params)) { + const value = config.params[propName]; + var part = encodeURIComponent(propName) + "="; + if (value !== null && typeof(value) !== "undefined") { + if (typeof value === 'object') { + for (const key of Object.keys(value)) { + let params = propName + '[' + key + ']'; + var subPart = encodeURIComponent(params) + "="; + url += subPart + encodeURIComponent(value[key]) + "&"; + } + } else { + url += part + encodeURIComponent(value) + "&"; + } + } + } + url = url.slice(0, -1); + config.params = {}; + config.url = url; + } + return config + }, error => { + Promise.reject(error) + }) + + // 响应拦截器 + service.interceptors.response.use(res => { + console.log('---响应拦截器---',res) + if (res.data.code === 0 && res.data.msg === 'NOTLOGIN') {// 返回登录页面 + window.top.location.href = '/front/page/login.html' + } else { + return res.data + } + }, + error => { + let { message } = error; + if (message == "Network Error") { + message = "后端接口连接异常"; + } + else if (message.includes("timeout")) { + message = "系统接口请求超时"; + } + else if (message.includes("Request failed with status code")) { + message = "系统接口" + message.substr(message.length - 3) + "异常"; + } + window.vant.Notify({ + message: message, + type: 'warning', + duration: 5 * 1000 + }) + //window.top.location.href = '/front/page/no-wify.html' + return Promise.reject(error) + } + ) +  win.$axios = service +})(window); diff --git a/src/main/resources/front/js/vant.min.js b/src/main/resources/front/js/vant.min.js new file mode 100644 index 0000000..4b5d111 --- /dev/null +++ b/src/main/resources/front/js/vant.min.js @@ -0,0 +1,7 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define("vant",["vue"],e):"object"==typeof exports?exports.vant=e(require("vue")):t.vant=e(t.Vue)}("undefined"!=typeof self?self:this,(function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=12)}([function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"h",(function(){return s})),i.d(e,"i",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"e",(function(){return l})),i.d(e,"f",(function(){return c})),i.d(e,"g",(function(){return u})),i.d(e,"a",(function(){return h})),i.d(e,"d",(function(){return d}));var n=i(4),r="undefined"!=typeof window,s=i.n(n).a.prototype.$isServer;function o(){}function a(t){return null!=t}function l(t){return"function"==typeof t}function c(t){return null!==t&&"object"==typeof t}function u(t){return c(t)&&l(t.then)&&l(t.catch)}function h(t,e){var i=e.split("."),n=t;return i.forEach((function(t){var e;n=null!=(e=n[t])?e:""})),n}function d(t){return null==t||("object"!=typeof t||0===Object.keys(t).length)}},function(t,e,i){"use strict";function n(){return(n=Object.assign||function(t){for(var e,i=1;i=0?e.ownerDocument.body:l(e)&&d(e)?e:t(p(e))}(t),n="body"===c(i),r=s(i),o=n?[r].concat(r.visualViewport||[],d(i)?i:[]):i,a=e.concat(o);return n?a:a.concat(m(p(o)))}function v(t){return["table","td","th"].indexOf(c(t))>=0}function g(t){if(!l(t)||"fixed"===h(t).position)return null;var e=t.offsetParent;if(e){var i=u(e);if("body"===c(e)&&"static"===h(e).position&&"static"!==h(i).position)return i}return e}function b(t){for(var e=s(t),i=g(t);i&&v(i)&&"static"===h(i).position;)i=g(i);return i&&"body"===c(i)&&"static"===h(i).position?e:i||function(t){for(var e=p(t);l(e)&&["html","body"].indexOf(c(e))<0;){var i=h(e);if("none"!==i.transform||"none"!==i.perspective||i.willChange&&"auto"!==i.willChange)return e;e=e.parentNode}return null}(t)||e}Object.defineProperty(e,"__esModule",{value:!0});var y="top",S="right",k="left",x=[].concat([y,"bottom",S,k],["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),w=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function C(t){var e=new Map,i=new Set,n=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||function t(r){i.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(n){if(!i.has(n)){var r=e.get(n);r&&t(r)}})),n.push(r)}(t)})),n}function O(t){return t.split("-")[0]}var T={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var t=arguments.length,e=new Array(t),i=0;i=0?"x":"y"}(s):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case"start":e[c]=Math.floor(e[c])-Math.floor(i[u]/2-n[u]/2);break;case"end":e[c]=Math.floor(e[c])+Math.ceil(i[u]/2-n[u]/2)}}return e}({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,r=i.gpuAcceleration,s=void 0===r||r,o=i.adaptive,a=void 0===o||o,l={placement:O(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=n(n({},e.styles.popper),E(n(n({},l),{},{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a})))),null!=e.modifiersData.arrow&&(e.styles.arrow=n(n({},e.styles.arrow),E(n(n({},l),{},{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=n(n({},e.attributes.popper),{},{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},r=e.attributes[t]||{},s=e.elements[t];l(s)&&c(s)&&(n(s.style,i),Object.keys(r).forEach((function(t){var e=r[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return n(e.elements.popper.style,i.popper),e.elements.arrow&&n(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});l(r)&&c(r)&&(n(r.style,o),Object.keys(s).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]}]});var P={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,r=t.name,s=i.offset,o=void 0===s?[0,0]:s,a=x.reduce((function(t,i){return t[i]=function(t,e,i){var r=O(t),s=[k,y].indexOf(r)>=0?-1:1,o="function"==typeof i?i(n(n({},e),{},{placement:t})):i,a=o[0],l=o[1];return a=a||0,l=(l||0)*s,[k,S].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(i,e.rects,o),t}),{}),l=a[e.placement],c=l.x,u=l.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=a}};e.createPopper=j,e.offsetModifier=P},function(t,e,i){"use strict";function n(t){return function(e,i){return e&&"string"!=typeof e&&(i=e,e=""),""+(e=e?t+"__"+e:t)+function t(e,i){return i?"string"==typeof i?" "+e+"--"+i:Array.isArray(i)?i.reduce((function(i,n){return i+t(e,n)}),""):Object.keys(i).reduce((function(n,r){return n+(i[r]?t(e,r):"")}),""):""}(e,i)}}i.d(e,"a",(function(){return d}));var r=i(0),s=i(2),o={methods:{slots:function(t,e){void 0===t&&(t="default");var i=this.$slots,n=this.$scopedSlots[t];return n?n(e):i[t]}}};i(4);function a(t){var e=this.name;t.component(e,this),t.component(Object(s.a)("-"+e),this)}function l(t){return{functional:!0,props:t.props,model:t.model,render:function(e,i){return t(e,i.props,function(t){var e=t.scopedSlots||t.data.scopedSlots||{},i=t.slots();return Object.keys(i).forEach((function(t){e[t]||(e[t]=function(){return i[t]})})),e}(i),i)}}}function c(t){return function(e){return Object(r.e)(e)&&(e=l(e)),e.functional||(e.mixins=e.mixins||[],e.mixins.push(o)),e.name=t,e.install=a,e}}var u=i(7);function h(t){var e=Object(s.a)(t)+".";return function(t){for(var i=u.a.messages(),n=Object(r.a)(i,e+t)||Object(r.a)(i,t),s=arguments.length,o=new Array(s>1?s-1:0),a=1;a + * Released under the MIT License. + */ +t.exports=function(){"use strict";function t(t){t=t||{};var n=arguments.length,r=0;if(1===n)return t;for(;++r-1?t.splice(i,1):void 0}}function s(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var i=t.getAttribute("data-srcset"),n=[],r=t.parentNode.offsetWidth*e,s=void 0,o=void 0,a=void 0;(i=i.trim().split(",")).map((function(t){t=t.trim(),-1===(s=t.lastIndexOf(" "))?(o=t,a=999998):(o=t.substr(0,s),a=parseInt(t.substr(s+1,t.length-s-2),10)),n.push([a,o])})),n.sort((function(t,e){if(t[0]e[0])return 1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0}));for(var l="",c=void 0,u=n.length,h=0;h=r){l=c[1];break}return l}}function o(t,e){for(var i=void 0,n=0,r=t.length;n0&&void 0!==arguments[0]?arguments[0]:1;return g&&window.devicePixelRatio||t},w=function(){if(g){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),C={on:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];w?t.addEventListener(e,i,{capture:n,passive:!0}):t.addEventListener(e,i,n)},off:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,i,n)}},O=function(t,e,i){var n=new Image;n.src=t.src,n.onload=function(){e({naturalHeight:n.naturalHeight,naturalWidth:n.naturalWidth,src:n.src})},n.onerror=function(t){i(t)}},T=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},$=function(t){return T(t,"overflow")+T(t,"overflow-y")+T(t,"overflow-x")},B={},I=function(){function t(e){var i=e.el,n=e.src,r=e.error,s=e.loading,o=e.bindType,a=e.$parent,l=e.options,c=e.elRenderer;u(this,t),this.el=i,this.src=n,this.error=r,this.loading=s,this.bindType=o,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=l,this.rect=null,this.$parent=a,this.elRenderer=c,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return h(t,[{key:"initState",value:function(){this.el.dataset.src=this.src,this.state={error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,i=t.loading,n=t.error,r=this.src;this.src=e,this.loading=i,this.error=n,this.filter(),r!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.topthis.options.preLoadTop&&this.rect.left0}},{key:"filter",value:function(){var t=this;(function(t){if(!(t instanceof Object))return[];if(Object.keys)return Object.keys(t);var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);return e})(this.options.filter).map((function(e){t.options.filter[e](t,t.options)}))}},{key:"renderLoading",value:function(t){var e=this;O({src:this.loading},(function(i){e.render("loading",!1),t()}),(function(){t(),e.options.silent||console.warn("VueLazyload log: load failed with loading image("+e.loading+")")}))}},{key:"load",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent||console.log("VueLazyload log: "+this.src+" tried too more than "+this.options.attempt+" times"),void e()):this.state.loaded||B[this.src]?(this.state.loaded=!0,e(),this.render("loaded",!0)):void this.renderLoading((function(){t.attempt++,t.record("loadStart"),O({src:t.src},(function(i){t.naturalHeight=i.naturalHeight,t.naturalWidth=i.naturalWidth,t.state.loaded=!0,t.state.error=!1,t.record("loadEnd"),t.render("loaded",!1),B[t.src]=1,e()}),(function(e){!t.options.silent&&console.error(e),t.state.error=!0,t.state.loaded=!1,t.render("error",!1)}))}))}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),t}(),D="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",E=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],j={rootMargin:"0px",threshold:0},P=function(t){return function(){function e(t){var i=t.preLoad,n=t.error,r=t.throttleWait,s=t.preLoadTop,o=t.dispatchEvent,l=t.loading,c=t.attempt,h=t.silent,d=void 0===h||h,f=t.scale,p=t.listenEvents,m=(t.hasbind,t.filter),v=t.adapter,g=t.observer,b=t.observerOptions;u(this,e),this.version="1.2.3",this.mode=y,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:d,dispatchEvent:!!o,throttleWait:r||200,preLoad:i||1.3,preLoadTop:s||0,error:n||D,loading:l||D,attempt:c||3,scale:f||x(f),ListenEvents:p||E,hasbind:!1,supportWebp:a(),filter:m||{},adapter:v||{},observer:!!g,observerOptions:b||j},this._initEvent(),this.lazyLoadHandler=function(t,e){var i=null,n=0;return function(){if(!i){var r=Date.now()-n,s=this,o=arguments,a=function(){n=Date.now(),i=!1,t.apply(s,o)};r>=e?a():i=setTimeout(a,e)}}}(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?S:y)}return h(e,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this.options,t)}},{key:"performance",value:function(){var t=[];return this.ListenerQueue.map((function(e){t.push(e.performance())})),t}},{key:"addLazyBox",value:function(t){this.ListenerQueue.push(t),g&&(this._addListenerTarget(window),this._observer&&this._observer.observe(t.el),t.$el&&t.$el.parentNode&&this._addListenerTarget(t.$el.parentNode))}},{key:"add",value:function(e,i,n){var r=this;if(function(t,e){for(var i=!1,n=0,r=t.length;n0&&this.rect.left0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)}}}},N=function(){function t(e){var i=e.lazy;u(this,t),this.lazy=i,i.lazyContainerMananger=this,this._queue=[]}return h(t,[{key:"bind",value:function(t,e,i){var n=new M({el:t,binding:e,vnode:i,lazy:this.lazy});this._queue.push(n)}},{key:"update",value:function(t,e,i){var n=o(this._queue,(function(e){return e.el===t}));n&&n.update({el:t,binding:e,vnode:i})}},{key:"unbind",value:function(t,e,i){var n=o(this._queue,(function(e){return e.el===t}));n&&(n.clear(),r(this._queue,n))}}]),t}(),A={selector:"img"},M=function(){function t(e){var i=e.el,n=e.binding,r=e.vnode,s=e.lazy;u(this,t),this.el=null,this.vnode=r,this.binding=n,this.options={},this.lazy=s,this._queue=[],this.update({el:i,binding:n})}return h(t,[{key:"update",value:function(t){var e=this,i=t.el,n=t.binding;this.el=i,this.options=v({},A,n.value),this.getImgs().forEach((function(t){e.lazy.add(t,v({},e.binding,{value:{src:t.dataset.src,error:t.dataset.error,loading:t.dataset.loading}}),e.vnode)}))}},{key:"getImgs",value:function(){return function(t){for(var e=t.length,i=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:{},i=P(t),n=new i(e),r=new N({lazy:n}),s="2"===t.version.split(".")[0];t.prototype.$Lazyload=n,e.lazyComponent&&t.component("lazy-component",L(n)),s?(t.directive("lazy",{bind:n.add.bind(n),update:n.update.bind(n),componentUpdated:n.lazyLoadHandler.bind(n),unbind:n.remove.bind(n)}),t.directive("lazy-container",{bind:r.bind.bind(r),update:r.update.bind(r),unbind:r.unbind.bind(r)})):(t.directive("lazy",{bind:n.lazyLoadHandler.bind(n),update:function(t,e){v(this.vm.$refs,this.vm.$els),n.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){n.remove(this.el)}}),t.directive("lazy-container",{update:function(t,e){r.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){r.unbind(this.el)}}))}}}()},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";function n(){return(n=Object.assign||function(t){for(var e=1;e2?i-2:0),r=2;ri&&e>10?"horizontal":i>e&&i>10?"vertical":"")},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(t){var e=this.onTouchStart,i=this.onTouchMove,n=this.onTouchEnd;b(t,"touchstart",e),b(t,"touchmove",i),n&&(b(t,"touchend",n),b(t,"touchcancel",n))}}};function H(t){var e=void 0===t?{}:t,i=e.ref,n=e.afterPortal;return{props:{getContainer:[String,Function]},watch:{getContainer:"portal"},mounted:function(){this.getContainer&&this.portal()},methods:{portal:function(){var t,e,r=this.getContainer,s=i?this.$refs[i]:this.$el;r?t="string"==typeof(e=r)?document.querySelector(e):e():this.$parent&&(t=this.$parent.$el),t&&t!==s.parentNode&&t.appendChild(s),n&&n.call(this)}}}}var _=0;function W(t){var e="binded_"+_++;function i(){this[e]||(t.call(this,b,!0),this[e]=!0)}function n(){this[e]&&(t.call(this,y,!1),this[e]=!1)}return{mounted:i,activated:i,deactivated:n,beforeDestroy:n}}var q={mixins:[W((function(t,e){this.handlePopstate(e&&this.closeOnPopstate)}))],props:{closeOnPopstate:Boolean},data:function(){return{bindStatus:!1}},watch:{closeOnPopstate:function(t){this.handlePopstate(t)}},methods:{onPopstate:function(){this.close(),this.shouldReopen=!1},handlePopstate:function(t){this.$isServer||this.bindStatus!==t&&(this.bindStatus=t,(t?b:y)(window,"popstate",this.onPopstate))}}},K={transitionAppear:Boolean,value:Boolean,overlay:Boolean,overlayStyle:Object,overlayClass:String,closeOnClickOverlay:Boolean,zIndex:[Number,String],lockScroll:{type:Boolean,default:!0},lazyRender:{type:Boolean,default:!0}};function U(t){return void 0===t&&(t={}),{mixins:[R,q,H({afterPortal:function(){this.overlay&&D()}})],props:K,data:function(){return{inited:this.value}},computed:{shouldRender:function(){return this.inited||!this.lazyRender}},watch:{value:function(e){var i=e?"open":"close";this.inited=this.inited||this.value,this[i](),t.skipToggleEvent||this.$emit(i)},overlay:"renderOverlay"},mounted:function(){this.value&&this.open()},activated:function(){this.shouldReopen&&(this.$emit("input",!0),this.shouldReopen=!1)},beforeDestroy:function(){var t,e;t=this,(e=p.find(t))&&B(e.overlay.$el),this.opened&&this.removeLock(),this.getContainer&&B(this.$el)},deactivated:function(){this.value&&(this.close(),this.shouldReopen=!0)},methods:{open:function(){this.$isServer||this.opened||(void 0!==this.zIndex&&(p.zIndex=this.zIndex),this.opened=!0,this.renderOverlay(),this.addLock())},addLock:function(){this.lockScroll&&(b(document,"touchstart",this.touchStart),b(document,"touchmove",this.onTouchMove),p.lockCount||document.body.classList.add("van-overflow-hidden"),p.lockCount++)},removeLock:function(){this.lockScroll&&p.lockCount&&(p.lockCount--,y(document,"touchstart",this.touchStart),y(document,"touchmove",this.onTouchMove),p.lockCount||document.body.classList.remove("van-overflow-hidden"))},close:function(){this.opened&&(j(this),this.opened=!1,this.removeLock(),this.$emit("input",!1))},onTouchMove:function(t){this.touchMove(t);var e=this.deltaY>0?"10":"01",i=N(t.target,this.$el),n=i.scrollHeight,r=i.offsetHeight,s=i.scrollTop,o="11";0===s?o=r>=n?"00":"01":s+r>=n&&(o="10"),"11"===o||"vertical"!==this.direction||parseInt(o,2)&parseInt(e,2)||k(t,!0)},renderOverlay:function(){var t=this;!this.$isServer&&this.value&&this.$nextTick((function(){t.updateZIndex(t.overlay?1:0),t.overlay?E(t,{zIndex:p.zIndex++,duration:t.duration,className:t.overlayClass,customStyle:t.overlayStyle}):j(t)}))},updateZIndex:function(t){void 0===t&&(t=0),this.$el.style.zIndex=++p.zIndex+t}}}}var Y=i(6),X=Object(l.a)("info"),Q=X[0],G=X[1];function Z(t,e,i,n){var r=e.dot,o=e.info,a=Object(m.c)(o)&&""!==o;if(r||a)return t("div",s()([{class:G({dot:r})},h(n,!0)]),[r?"":e.info])}Z.props={dot:Boolean,info:[Number,String]};var J=Q(Z),tt=Object(l.a)("icon"),et=tt[0],it=tt[1];var nt={medel:"medal","medel-o":"medal-o","calender-o":"calendar-o"};function rt(t,e,i,n){var r,o=function(t){return t&&nt[t]||t}(e.name),a=function(t){return!!t&&-1!==t.indexOf("/")}(o);return t(e.tag,s()([{class:[e.classPrefix,a?"":e.classPrefix+"-"+o],style:{color:e.color,fontSize:Object(Y.a)(e.size)}},h(n,!0)]),[i.default&&i.default(),a&&t("img",{class:it("image"),attrs:{src:o}}),t(J,{attrs:{dot:e.dot,info:null!=(r=e.badge)?r:e.info}})])}rt.props={dot:Boolean,name:String,size:[Number,String],info:[Number,String],badge:[Number,String],color:String,tag:{type:String,default:"i"},classPrefix:{type:String,default:it()}};var st=et(rt),ot=Object(l.a)("popup"),at=ot[0],lt=ot[1],ct=at({mixins:[U()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){var t=this,e=function(e){return function(i){return t.$emit(e,i)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},methods:{onClickCloseIcon:function(t){this.$emit("click-close-icon",t),this.close()}},render:function(){var t,e=arguments[0];if(this.shouldRender){var i=this.round,n=this.position,r=this.duration,s="center"===n,o=this.transition||(s?"van-fade":"van-popup-slide-"+n),a={};if(Object(m.c)(r)){var l=s?"animationDuration":"transitionDuration";a[l]=r+"s"}return e("transition",{attrs:{appear:this.transitionAppear,name:o},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:a,class:lt((t={round:i},t[n]=n,t["safe-area-inset-bottom"]=this.safeAreaInsetBottom,t)),on:{click:this.onClick}},[this.slots(),this.closeable&&e(st,{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:lt("close-icon",this.closeIconPosition),on:{click:this.onClickCloseIcon}})])])}}}),ut=Object(l.a)("loading"),ht=ut[0],dt=ut[1];function ft(t,e){if("spinner"===e.type){for(var i=[],n=0;n<12;n++)i.push(t("i"));return i}return t("svg",{class:dt("circular"),attrs:{viewBox:"25 25 50 50"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])}function pt(t,e,i){if(i.default){var n,r={fontSize:Object(Y.a)(e.textSize),color:null!=(n=e.textColor)?n:e.color};return t("span",{class:dt("text"),style:r},[i.default()])}}function mt(t,e,i,n){var r=e.color,o=e.size,a=e.type,l={color:r};if(o){var c=Object(Y.a)(o);l.width=c,l.height=c}return t("div",s()([{class:dt([a,{vertical:e.vertical}])},h(n,!0)]),[t("span",{class:dt("spinner",a),style:l},[ft(t,e)]),pt(t,e,i)])}mt.props={color:String,size:[Number,String],vertical:Boolean,textSize:[Number,String],textColor:String,type:{type:String,default:"circular"}};var vt=ht(mt),gt=Object(l.a)("action-sheet"),bt=gt[0],yt=gt[1];function St(t,e,i,n){var r=e.title,o=e.cancelText,l=e.closeable;function c(){d(n,"input",!1),d(n,"cancel")}return t(ct,s()([{class:yt(),attrs:{position:"bottom",round:e.round,value:e.value,overlay:e.overlay,duration:e.duration,lazyRender:e.lazyRender,lockScroll:e.lockScroll,getContainer:e.getContainer,closeOnPopstate:e.closeOnPopstate,closeOnClickOverlay:e.closeOnClickOverlay,safeAreaInsetBottom:e.safeAreaInsetBottom}},h(n,!0)]),[function(){if(r)return t("div",{class:yt("header")},[r,l&&t(st,{attrs:{name:e.closeIcon},class:yt("close"),on:{click:c}})])}(),function(){var n=(null==i.description?void 0:i.description())||e.description;if(n)return t("div",{class:yt("description")},[n])}(),t("div",{class:yt("content")},[e.actions&&e.actions.map((function(i,r){var s=i.disabled,o=i.loading,l=i.callback;return t("button",{attrs:{type:"button"},class:[yt("item",{disabled:s,loading:o}),i.className],style:{color:i.color},on:{click:function(t){t.stopPropagation(),s||o||(l&&l(i),e.closeOnClickAction&&d(n,"input",!1),a.a.nextTick((function(){d(n,"select",i,r)})))}}},[o?t(vt,{class:yt("loading-icon")}):[t("span",{class:yt("name")},[i.name]),i.subname&&t("div",{class:yt("subname")},[i.subname])]])})),null==i.default?void 0:i.default()]),function(){if(o)return[t("div",{class:yt("gap")}),t("button",{attrs:{type:"button"},class:yt("cancel"),on:{click:c}},[o])]}()])}St.props=n({},K,{title:String,actions:Array,duration:[Number,String],cancelText:String,description:String,getContainer:[String,Function],closeOnPopstate:Boolean,closeOnClickAction:Boolean,round:{type:Boolean,default:!0},closeable:{type:Boolean,default:!0},closeIcon:{type:String,default:"cross"},safeAreaInsetBottom:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}});var kt=bt(St);function xt(t){return t=t.replace(/[^-|\d]/g,""),/^((\+86)|(86))?(1)\d{10}$/.test(t)||/^0[0-9-]{10,13}$/.test(t)}var wt={title:String,loading:Boolean,readonly:Boolean,itemHeight:[Number,String],showToolbar:Boolean,cancelButtonText:String,confirmButtonText:String,allowHtml:{type:Boolean,default:!0},visibleItemCount:{type:[Number,String],default:6},swipeDuration:{type:[Number,String],default:1e3}},Ct="#ee0a24",Ot="van-hairline",Tt=Ot+"--top",$t=Ot+"--bottom",Bt=Ot+"--top-bottom";function It(t){if(!Object(m.c)(t))return t;if(Array.isArray(t))return t.map((function(t){return It(t)}));if("object"==typeof t){var e={};return Object.keys(t).forEach((function(i){e[i]=It(t[i])})),e}return t}function Dt(t,e,i){return Math.min(Math.max(t,e),i)}function Et(t,e,i){var n=t.indexOf(e),r="";return-1===n?t:"-"===e&&0!==n?t.slice(0,n):("."===e&&t.match(/^(\.|-\.)/)&&(r=n?"-0":"0"),r+t.slice(0,n+1)+t.slice(n).replace(i,""))}function jt(t,e,i){void 0===e&&(e=!0),void 0===i&&(i=!0),t=e?Et(t,".",/\./g):t.split(".")[0];var n=e?/[^-0-9.]/g:/[^-0-9]/g;return(t=i?Et(t,"-",/-/g):t.replace(/-/,"")).replace(n,"")}var Pt=Object(l.a)("picker-column"),Lt=Pt[0],Nt=Pt[1];function At(t){return Object(m.f)(t)&&t.disabled}var Mt=Lt({mixins:[R],props:{valueKey:String,readonly:Boolean,allowHtml:Boolean,className:String,itemHeight:Number,defaultIndex:Number,swipeDuration:[Number,String],visibleItemCount:[Number,String],initialOptions:{type:Array,default:function(){return[]}}},data:function(){return{offset:0,duration:0,options:It(this.initialOptions),currentIndex:this.defaultIndex}},created:function(){this.$parent.children&&this.$parent.children.push(this),this.setIndex(this.currentIndex)},mounted:function(){this.bindTouchEvent(this.$el)},destroyed:function(){var t=this.$parent.children;t&&t.splice(t.indexOf(this),1)},watch:{initialOptions:"setOptions",defaultIndex:function(t){this.setIndex(t)}},computed:{count:function(){return this.options.length},baseOffset:function(){return this.itemHeight*(this.visibleItemCount-1)/2}},methods:{setOptions:function(t){JSON.stringify(t)!==JSON.stringify(this.options)&&(this.options=It(t),this.setIndex(this.defaultIndex))},onTouchStart:function(t){if(!this.readonly){if(this.touchStart(t),this.moving){var e=function(t){var e=window.getComputedStyle(t),i=e.transform||e.webkitTransform,n=i.slice(7,i.length-1).split(", ")[5];return Number(n)}(this.$refs.wrapper);this.offset=Math.min(0,e-this.baseOffset),this.startOffset=this.offset}else this.startOffset=this.offset;this.duration=0,this.transitionEndTrigger=null,this.touchStartTime=Date.now(),this.momentumOffset=this.startOffset}},onTouchMove:function(t){if(!this.readonly){this.touchMove(t),"vertical"===this.direction&&(this.moving=!0,k(t,!0)),this.offset=Dt(this.startOffset+this.deltaY,-this.count*this.itemHeight,this.itemHeight);var e=Date.now();e-this.touchStartTime>300&&(this.touchStartTime=e,this.momentumOffset=this.offset)}},onTouchEnd:function(){var t=this;if(!this.readonly){var e=this.offset-this.momentumOffset,i=Date.now()-this.touchStartTime;if(i<300&&Math.abs(e)>15)this.momentum(e,i);else{var n=this.getIndexByOffset(this.offset);this.duration=200,this.setIndex(n,!0),setTimeout((function(){t.moving=!1}),0)}}},onTransitionEnd:function(){this.stopMomentum()},onClickItem:function(t){this.moving||this.readonly||(this.transitionEndTrigger=null,this.duration=200,this.setIndex(t,!0))},adjustIndex:function(t){for(var e=t=Dt(t,0,this.count);e=0;i--)if(!At(this.options[i]))return i},getOptionText:function(t){return Object(m.f)(t)&&this.valueKey in t?t[this.valueKey]:t},setIndex:function(t,e){var i=this,n=-(t=this.adjustIndex(t)||0)*this.itemHeight,r=function(){t!==i.currentIndex&&(i.currentIndex=t,e&&i.$emit("change",t))};this.moving&&n!==this.offset?this.transitionEndTrigger=r:r(),this.offset=n},setValue:function(t){for(var e=this.options,i=0;ii&&(t=this.value&&this.value.length===+i?this.value:t.slice(0,i)),"number"===this.type||"digit"===this.type){var n="number"===this.type;t=jt(t,n,n)}this.formatter&&e===this.formatTrigger&&(t=this.formatter(t));var r=this.$refs.input;r&&t!==r.value&&(r.value=t),t!==this.value&&this.$emit("input",t)},onInput:function(t){t.target.composing||this.updateValue(t.target.value)},onFocus:function(t){this.focused=!0,this.$emit("focus",t),this.getProp("readonly")&&this.blur()},onBlur:function(t){this.focused=!1,this.updateValue(this.value,"onBlur"),this.$emit("blur",t),this.validateWithTrigger("onBlur"),re()},onClick:function(t){this.$emit("click",t)},onClickInput:function(t){this.$emit("click-input",t)},onClickLeftIcon:function(t){this.$emit("click-left-icon",t)},onClickRightIcon:function(t){this.$emit("click-right-icon",t)},onClear:function(t){k(t),this.$emit("input",""),this.$emit("clear",t)},onKeypress:function(t){13===t.keyCode&&(this.getProp("submitOnEnter")||"textarea"===this.type||k(t),"search"===this.type&&this.blur());this.$emit("keypress",t)},adjustSize:function(){var t=this.$refs.input;if("textarea"===this.type&&this.autosize&&t){t.style.height="auto";var e=t.scrollHeight;if(Object(m.f)(this.autosize)){var i=this.autosize,n=i.maxHeight,r=i.minHeight;n&&(e=Math.min(e,n)),r&&(e=Math.max(e,r))}e&&(t.style.height=e+"px")}},genInput:function(){var t=this.$createElement,e=this.type,i=this.getProp("disabled"),r=this.getProp("readonly"),o=this.slots("input"),a=this.getProp("inputAlign");if(o)return t("div",{class:ae("control",[a,"custom"]),on:{click:this.onClickInput}},[o]);var l={ref:"input",class:ae("control",a),domProps:{value:this.value},attrs:n({},this.$attrs,{name:this.name,disabled:i,readonly:r,placeholder:this.placeholder}),on:this.listeners,directives:[{name:"model",value:this.value}]};if("textarea"===e)return t("textarea",s()([{},l]));var c,u=e;return"number"===e&&(u="text",c="decimal"),"digit"===e&&(u="tel",c="numeric"),t("input",s()([{attrs:{type:u,inputmode:c}},l]))},genLeftIcon:function(){var t=this.$createElement;if(this.slots("left-icon")||this.leftIcon)return t("div",{class:ae("left-icon"),on:{click:this.onClickLeftIcon}},[this.slots("left-icon")||t(st,{attrs:{name:this.leftIcon,classPrefix:this.iconPrefix}})])},genRightIcon:function(){var t=this.$createElement,e=this.slots;if(e("right-icon")||this.rightIcon)return t("div",{class:ae("right-icon"),on:{click:this.onClickRightIcon}},[e("right-icon")||t(st,{attrs:{name:this.rightIcon,classPrefix:this.iconPrefix}})])},genWordLimit:function(){var t=this.$createElement;if(this.showWordLimit&&this.maxlength){var e=(this.value||"").length;return t("div",{class:ae("word-limit")},[t("span",{class:ae("word-num")},[e]),"/",this.maxlength])}},genMessage:function(){var t=this.$createElement;if(!this.vanForm||!1!==this.vanForm.showErrorMessage){var e=this.errorMessage||this.validateMessage;if(e){var i=this.getProp("errorMessageAlign");return t("div",{class:ae("error-message",i)},[e])}}},getProp:function(t){return Object(m.c)(this[t])?this[t]:this.vanForm&&Object(m.c)(this.vanForm[t])?this.vanForm[t]:void 0},genLabel:function(){var t=this.$createElement,e=this.getProp("colon")?":":"";return this.slots("label")?[this.slots("label"),e]:this.label?t("span",[this.label+e]):void 0}},render:function(){var t,e=arguments[0],i=this.slots,n=this.getProp("disabled"),r=this.getProp("labelAlign"),s={icon:this.genLeftIcon},o=this.genLabel();o&&(s.title=function(){return o});var a=this.slots("extra");return a&&(s.extra=function(){return a}),e(ie,{attrs:{icon:this.leftIcon,size:this.size,center:this.center,border:this.border,isLink:this.isLink,required:this.required,clickable:this.clickable,titleStyle:this.labelStyle,valueClass:ae("value"),titleClass:[ae("label",r),this.labelClass],arrowDirection:this.arrowDirection},scopedSlots:s,class:ae((t={error:this.showError,disabled:n},t["label-"+r]=r,t["min-height"]="textarea"===this.type&&!this.autosize,t)),on:{click:this.onClick}},[e("div",{class:ae("body")},[this.genInput(),this.showClear&&e(st,{attrs:{name:"clear"},class:ae("clear"),on:{touchstart:this.onClear}}),this.genRightIcon(),i("button")&&e("div",{class:ae("button")},[i("button")])]),this.genWordLimit(),this.genMessage()])}}),ce=0;var ue=Object(l.a)("toast"),he=ue[0],de=ue[1],fe=he({mixins:[U()],props:{icon:String,className:null,iconPrefix:String,loadingType:String,forbidClick:Boolean,closeOnClick:Boolean,message:[Number,String],type:{type:String,default:"text"},position:{type:String,default:"middle"},transition:{type:String,default:"van-fade"},lockScroll:{type:Boolean,default:!1}},data:function(){return{clickable:!1}},mounted:function(){this.toggleClickable()},destroyed:function(){this.toggleClickable()},watch:{value:"toggleClickable",forbidClick:"toggleClickable"},methods:{onClick:function(){this.closeOnClick&&this.close()},toggleClickable:function(){var t=this.value&&this.forbidClick;this.clickable!==t&&(this.clickable=t,t?(ce||document.body.classList.add("van-toast--unclickable"),ce++):--ce||document.body.classList.remove("van-toast--unclickable"))},onAfterEnter:function(){this.$emit("opened"),this.onOpened&&this.onOpened()},onAfterLeave:function(){this.$emit("closed")},genIcon:function(){var t=this.$createElement,e=this.icon,i=this.type,n=this.iconPrefix,r=this.loadingType;return e||"success"===i||"fail"===i?t(st,{class:de("icon"),attrs:{classPrefix:n,name:e||i}}):"loading"===i?t(vt,{class:de("loading"),attrs:{type:r}}):void 0},genMessage:function(){var t=this.$createElement,e=this.type,i=this.message;if(Object(m.c)(i)&&""!==i)return"html"===e?t("div",{class:de("text"),domProps:{innerHTML:i}}):t("div",{class:de("text")},[i])}},render:function(){var t,e=arguments[0];return e("transition",{attrs:{name:this.transition},on:{afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[e("div",{directives:[{name:"show",value:this.value}],class:[de([this.position,(t={},t[this.type]=!this.icon,t)]),this.className],on:{click:this.onClick}},[this.genIcon(),this.genMessage()])])}}),pe={icon:"",type:"text",mask:!1,value:!0,message:"",className:"",overlay:!1,onClose:null,onOpened:null,duration:2e3,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,getContainer:"body",overlayStyle:null,closeOnClick:!1,closeOnClickOverlay:!1},me={},ve=[],ge=!1,be=n({},pe);function ye(t){return Object(m.f)(t)?t:{message:t}}function Se(){if(m.h)return{};if(!(ve=ve.filter((function(t){return!t.$el.parentNode||(e=t.$el,document.body.contains(e));var e}))).length||ge){var t=new(a.a.extend(fe))({el:document.createElement("div")});t.$on("input",(function(e){t.value=e})),ve.push(t)}return ve[ve.length-1]}function ke(t){void 0===t&&(t={});var e=Se();return e.value&&e.updateZIndex(),t=ye(t),(t=n({},be,me[t.type||be.type],t)).clear=function(){e.value=!1,t.onClose&&(t.onClose(),t.onClose=null),ge&&!m.h&&e.$on("closed",(function(){clearTimeout(e.timer),ve=ve.filter((function(t){return t!==e})),B(e.$el),e.$destroy()}))},n(e,function(t){return n({},t,{overlay:t.mask||t.overlay,mask:void 0,duration:void 0})}(t)),clearTimeout(e.timer),t.duration>0&&(e.timer=setTimeout((function(){e.clear()}),t.duration)),e}["loading","success","fail"].forEach((function(t){var e;ke[t]=(e=t,function(t){return ke(n({type:e},ye(t)))})})),ke.clear=function(t){ve.length&&(t?(ve.forEach((function(t){t.clear()})),ve=[]):ge?ve.shift().clear():ve[0].clear())},ke.setDefaultOptions=function(t,e){"string"==typeof t?me[t]=e:n(be,t)},ke.resetDefaultOptions=function(t){"string"==typeof t?me[t]=null:(be=n({},pe),me={})},ke.allowMultiple=function(t){void 0===t&&(t=!0),ge=t},ke.install=function(){a.a.use(fe)},a.a.prototype.$toast=ke;var xe=ke,we=Object(l.a)("button"),Ce=we[0],Oe=we[1];function Te(t,e,i,n){var r,o=e.tag,a=e.icon,l=e.type,c=e.color,u=e.plain,f=e.disabled,p=e.loading,m=e.hairline,v=e.loadingText,g=e.iconPosition,b={};c&&(b.color=u?c:"white",u||(b.background=c),-1!==c.indexOf("gradient")?b.border=0:b.borderColor=c);var y,S,k=[Oe([l,e.size,{plain:u,loading:p,disabled:f,hairline:m,block:e.block,round:e.round,square:e.square}]),(r={},r["van-hairline--surround"]=m,r)];function x(){return p?i.loading?i.loading():t(vt,{class:Oe("loading"),attrs:{size:e.loadingSize,type:e.loadingType,color:"currentColor"}}):a?t(st,{attrs:{name:a,classPrefix:e.iconPrefix},class:Oe("icon")}):void 0}return t(o,s()([{style:b,class:k,attrs:{type:e.nativeType,disabled:f},on:{click:function(t){e.loading&&t.preventDefault(),p||f||(d(n,"click",t),Xt(n))},touchstart:function(t){d(n,"touchstart",t)}}},h(n)]),[t("div",{class:Oe("content")},[(S=[],"left"===g&&S.push(x()),(y=p?v:i.default?i.default():e.text)&&S.push(t("span",{class:Oe("text")},[y])),"right"===g&&S.push(x()),S)])])}Te.props=n({},Qt,{text:String,icon:String,color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:String,loadingText:String,loadingType:String,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"},loadingSize:{type:String,default:"20px"},iconPosition:{type:String,default:"left"}});var $e=Ce(Te);function Be(t,e){var i=e.$vnode.componentOptions;if(i&&i.children){var n=function(t){var e=[];return function t(i){i.forEach((function(i){e.push(i),i.componentInstance&&t(i.componentInstance.$children.map((function(t){return t.$vnode}))),i.children&&t(i.children)}))}(t),e}(i.children);t.sort((function(t,e){return n.indexOf(t.$vnode)-n.indexOf(e.$vnode)}))}}function Ie(t,e){var i,n;void 0===e&&(e={});var r=e.indexKey||"index";return{inject:(i={},i[t]={default:null},i),computed:(n={parent:function(){return this.disableBindRelation?null:this[t]}},n[r]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},n),watch:{disableBindRelation:function(t){t||this.bindRelation()}},mounted:function(){this.bindRelation()},beforeDestroy:function(){var t=this;this.parent&&(this.parent.children=this.parent.children.filter((function(e){return e!==t})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var t=[].concat(this.parent.children,[this]);Be(t,this.parent),this.parent.children=t}}}}}function De(t){return{provide:function(){var e;return(e={})[t]=this,e},data:function(){return{children:[]}}}}var Ee,je=Object(l.a)("goods-action"),Pe=je[0],Le=je[1],Ne=Pe({mixins:[De("vanGoodsAction")],props:{safeAreaInsetBottom:{type:Boolean,default:!0}},render:function(){var t=arguments[0];return t("div",{class:Le({unfit:!this.safeAreaInsetBottom})},[this.slots()])}}),Ae=Object(l.a)("goods-action-button"),Me=Ae[0],ze=Ae[1],Fe=Me({mixins:[Ie("vanGoodsAction")],props:n({},Qt,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),computed:{isFirst:function(){var t=this.parent&&this.parent.children[this.index-1];return!t||t.$options.name!==this.$options.name},isLast:function(){var t=this.parent&&this.parent.children[this.index+1];return!t||t.$options.name!==this.$options.name}},methods:{onClick:function(t){this.$emit("click",t),Yt(this.$router,this)}},render:function(){var t=arguments[0];return t($e,{class:ze([{first:this.isFirst,last:this.isLast},this.type]),attrs:{size:"large",type:this.type,icon:this.icon,color:this.color,loading:this.loading,disabled:this.disabled},on:{click:this.onClick}},[this.slots()||this.text])}}),Ve=Object(l.a)("dialog"),Re=Ve[0],He=Ve[1],_e=Ve[2],We=Re({mixins:[U()],props:{title:String,theme:String,width:[Number,String],message:String,className:null,callback:Function,beforeClose:Function,messageAlign:String,cancelButtonText:String,cancelButtonColor:String,confirmButtonText:String,confirmButtonColor:String,showCancelButton:Boolean,overlay:{type:Boolean,default:!0},allowHtml:{type:Boolean,default:!0},transition:{type:String,default:"van-dialog-bounce"},showConfirmButton:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1}},data:function(){return{loading:{confirm:!1,cancel:!1}}},methods:{onClickOverlay:function(){this.handleAction("overlay")},handleAction:function(t){var e=this;this.$emit(t),this.value&&(this.beforeClose?(this.loading[t]=!0,this.beforeClose(t,(function(i){!1!==i&&e.loading[t]&&e.onClose(t),e.loading.confirm=!1,e.loading.cancel=!1}))):this.onClose(t))},onClose:function(t){this.close(),this.callback&&this.callback(t)},onOpened:function(){this.$emit("opened")},onClosed:function(){this.$emit("closed")},genRoundButtons:function(){var t=this,e=this.$createElement;return e(Ne,{class:He("footer")},[this.showCancelButton&&e(Fe,{attrs:{size:"large",type:"warning",text:this.cancelButtonText||_e("cancel"),color:this.cancelButtonColor,loading:this.loading.cancel},class:He("cancel"),on:{click:function(){t.handleAction("cancel")}}}),this.showConfirmButton&&e(Fe,{attrs:{size:"large",type:"danger",text:this.confirmButtonText||_e("confirm"),color:this.confirmButtonColor,loading:this.loading.confirm},class:He("confirm"),on:{click:function(){t.handleAction("confirm")}}})])},genButtons:function(){var t,e=this,i=this.$createElement,n=this.showCancelButton&&this.showConfirmButton;return i("div",{class:[Tt,He("footer")]},[this.showCancelButton&&i($e,{attrs:{size:"large",loading:this.loading.cancel,text:this.cancelButtonText||_e("cancel")},class:He("cancel"),style:{color:this.cancelButtonColor},on:{click:function(){e.handleAction("cancel")}}}),this.showConfirmButton&&i($e,{attrs:{size:"large",loading:this.loading.confirm,text:this.confirmButtonText||_e("confirm")},class:[He("confirm"),(t={},t["van-hairline--left"]=n,t)],style:{color:this.confirmButtonColor},on:{click:function(){e.handleAction("confirm")}}})])},genContent:function(t,e){var i=this.$createElement;if(e)return i("div",{class:He("content")},[e]);var n=this.message,r=this.messageAlign;if(n){var o,a,l={class:He("message",(o={"has-title":t},o[r]=r,o)),domProps:(a={},a[this.allowHtml?"innerHTML":"textContent"]=n,a)};return i("div",{class:He("content",{isolated:!t})},[i("div",s()([{},l]))])}}},render:function(){var t=arguments[0];if(this.shouldRender){var e=this.message,i=this.slots(),n=this.slots("title")||this.title,r=n&&t("div",{class:He("header",{isolated:!e&&!i})},[n]);return t("transition",{attrs:{name:this.transition},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],attrs:{role:"dialog","aria-labelledby":this.title||e},class:[He([this.theme]),this.className],style:{width:Object(Y.a)(this.width)}},[r,this.genContent(n,i),"round-button"===this.theme?this.genRoundButtons():this.genButtons()])])}}});function qe(t){return m.h?Promise.resolve():new Promise((function(e,i){var r;Ee&&(r=Ee.$el,document.body.contains(r))||(Ee&&Ee.$destroy(),(Ee=new(a.a.extend(We))({el:document.createElement("div"),propsData:{lazyRender:!1}})).$on("input",(function(t){Ee.value=t}))),n(Ee,qe.currentOptions,t,{resolve:e,reject:i})}))}qe.defaultOptions={value:!0,title:"",width:"",theme:null,message:"",overlay:!0,className:"",allowHtml:!0,lockScroll:!0,transition:"van-dialog-bounce",beforeClose:null,overlayClass:"",overlayStyle:null,messageAlign:"",getContainer:"body",cancelButtonText:"",cancelButtonColor:null,confirmButtonText:"",confirmButtonColor:null,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1,callback:function(t){Ee["confirm"===t?"resolve":"reject"](t)}},qe.alert=qe,qe.confirm=function(t){return qe(n({showCancelButton:!0},t))},qe.close=function(){Ee&&(Ee.value=!1)},qe.setDefaultOptions=function(t){n(qe.currentOptions,t)},qe.resetDefaultOptions=function(){qe.currentOptions=n({},qe.defaultOptions)},qe.resetDefaultOptions(),qe.install=function(){a.a.use(We)},qe.Component=We,a.a.prototype.$dialog=qe;var Ke=qe,Ue=Object(l.a)("address-edit-detail"),Ye=Ue[0],Xe=Ue[1],Qe=Ue[2],Ge=!m.h&&/android/.test(navigator.userAgent.toLowerCase()),Ze=Ye({props:{value:String,errorMessage:String,focused:Boolean,detailRows:[Number,String],searchResult:Array,detailMaxlength:[Number,String],showSearchResult:Boolean},computed:{shouldShowSearchResult:function(){return this.focused&&this.searchResult&&this.showSearchResult}},methods:{onSelect:function(t){this.$emit("select-search",t),this.$emit("input",((t.address||"")+" "+(t.name||"")).trim())},onFinish:function(){this.$refs.field.blur()},genFinish:function(){var t=this.$createElement;if(this.value&&this.focused&&Ge)return t("div",{class:Xe("finish"),on:{click:this.onFinish}},[Qe("complete")])},genSearchResult:function(){var t=this,e=this.$createElement,i=this.value,n=this.shouldShowSearchResult,r=this.searchResult;if(n)return r.map((function(n){return e(ie,{key:n.name+n.address,attrs:{clickable:!0,border:!1,icon:"location-o",label:n.address},class:Xe("search-item"),on:{click:function(){t.onSelect(n)}},scopedSlots:{title:function(){if(n.name){var t=n.name.replace(i,""+i+"");return e("div",{domProps:{innerHTML:t}})}}}})}))}},render:function(){var t=arguments[0];return t(ie,{class:Xe()},[t(le,{attrs:{autosize:!0,rows:this.detailRows,clearable:!Ge,type:"textarea",value:this.value,errorMessage:this.errorMessage,border:!this.shouldShowSearchResult,label:Qe("label"),maxlength:this.detailMaxlength,placeholder:Qe("placeholder")},ref:"field",scopedSlots:{icon:this.genFinish},on:n({},this.$listeners)}),this.genSearchResult()])}}),Je={size:[Number,String],value:null,loading:Boolean,disabled:Boolean,activeColor:String,inactiveColor:String,activeValue:{type:null,default:!0},inactiveValue:{type:null,default:!1}},ti={inject:{vanField:{default:null}},watch:{value:function(){var t=this.vanField;t&&(t.resetValidation(),t.validateWithTrigger("onChange"))}},created:function(){var t=this.vanField;t&&!t.children&&(t.children=this)}},ei=Object(l.a)("switch"),ii=ei[0],ni=ei[1],ri=ii({mixins:[ti],props:Je,computed:{checked:function(){return this.value===this.activeValue},style:function(){return{fontSize:Object(Y.a)(this.size),backgroundColor:this.checked?this.activeColor:this.inactiveColor}}},methods:{onClick:function(t){if(this.$emit("click",t),!this.disabled&&!this.loading){var e=this.checked?this.inactiveValue:this.activeValue;this.$emit("input",e),this.$emit("change",e)}},genLoading:function(){var t=this.$createElement;if(this.loading){var e=this.checked?this.activeColor:this.inactiveColor;return t(vt,{class:ni("loading"),attrs:{color:e}})}}},render:function(){var t=arguments[0],e=this.checked,i=this.loading,n=this.disabled;return t("div",{class:ni({on:e,loading:i,disabled:n}),attrs:{role:"switch","aria-checked":String(e)},style:this.style,on:{click:this.onClick}},[t("div",{class:ni("node")},[this.genLoading()])])}}),si=Object(l.a)("address-edit"),oi=si[0],ai=si[1],li=si[2],ci={name:"",tel:"",country:"",province:"",city:"",county:"",areaCode:"",postalCode:"",addressDetail:"",isDefault:!1};var ui=oi({props:{areaList:Object,isSaving:Boolean,isDeleting:Boolean,validator:Function,showDelete:Boolean,showPostal:Boolean,searchResult:Array,telMaxlength:[Number,String],showSetDefault:Boolean,saveButtonText:String,areaPlaceholder:String,deleteButtonText:String,showSearchResult:Boolean,showArea:{type:Boolean,default:!0},showDetail:{type:Boolean,default:!0},disableArea:Boolean,detailRows:{type:[Number,String],default:1},detailMaxlength:{type:[Number,String],default:200},addressInfo:{type:Object,default:function(){return n({},ci)}},telValidator:{type:Function,default:xt},postalValidator:{type:Function,default:function(t){return/^\d{6}$/.test(t)}},areaColumnsPlaceholder:{type:Array,default:function(){return[]}}},data:function(){return{data:{},showAreaPopup:!1,detailFocused:!1,errorInfo:{tel:"",name:"",areaCode:"",postalCode:"",addressDetail:""}}},computed:{areaListLoaded:function(){return Object(m.f)(this.areaList)&&Object.keys(this.areaList).length},areaText:function(){var t=this.data,e=t.country,i=t.province,n=t.city,r=t.county;if(t.areaCode){var s=[e,i,n,r];return i&&i===n&&s.splice(1,1),s.filter((function(t){return t})).join("/")}return""},hideBottomFields:function(){var t=this.searchResult;return t&&t.length&&this.detailFocused}},watch:{addressInfo:{handler:function(t){this.data=n({},ci,t),this.setAreaCode(t.areaCode)},deep:!0,immediate:!0},areaList:function(){this.setAreaCode(this.data.areaCode)}},methods:{onFocus:function(t){this.errorInfo[t]="",this.detailFocused="addressDetail"===t,this.$emit("focus",t)},onChangeDetail:function(t){this.data.addressDetail=t,this.$emit("change-detail",t)},onAreaConfirm:function(t){(t=t.filter((function(t){return!!t}))).some((function(t){return!t.code}))?xe(li("areaEmpty")):(this.showAreaPopup=!1,this.assignAreaValues(),this.$emit("change-area",t))},assignAreaValues:function(){var t=this.$refs.area;if(t){var e=t.getArea();e.areaCode=e.code,delete e.code,n(this.data,e)}},onSave:function(){var t=this,e=["name","tel"];this.showArea&&e.push("areaCode"),this.showDetail&&e.push("addressDetail"),this.showPostal&&e.push("postalCode"),e.every((function(e){var i=t.getErrorMessage(e);return i&&(t.errorInfo[e]=i),!i}))&&!this.isSaving&&this.$emit("save",this.data)},getErrorMessage:function(t){var e=String(this.data[t]||"").trim();if(this.validator){var i=this.validator(t,e);if(i)return i}switch(t){case"name":return e?"":li("nameEmpty");case"tel":return this.telValidator(e)?"":li("telInvalid");case"areaCode":return e?"":li("areaEmpty");case"addressDetail":return e?"":li("addressEmpty");case"postalCode":return e&&!this.postalValidator(e)?li("postalEmpty"):""}},onDelete:function(){var t=this;Ke.confirm({title:li("confirmDelete")}).then((function(){t.$emit("delete",t.data)})).catch((function(){t.$emit("cancel-delete",t.data)}))},getArea:function(){return this.$refs.area?this.$refs.area.getValues():[]},setAreaCode:function(t){this.data.areaCode=t||"",t&&this.$nextTick(this.assignAreaValues)},setAddressDetail:function(t){this.data.addressDetail=t},onDetailBlur:function(){var t=this;setTimeout((function(){t.detailFocused=!1}))},genSetDefaultCell:function(t){var e=this;if(this.showSetDefault){var i={"right-icon":function(){return t(ri,{attrs:{size:"24"},on:{change:function(t){e.$emit("change-default",t)}},model:{value:e.data.isDefault,callback:function(t){e.$set(e.data,"isDefault",t)}}})}};return t(ie,{directives:[{name:"show",value:!this.hideBottomFields}],attrs:{center:!0,title:li("defaultAddress")},class:ai("default"),scopedSlots:i})}return t()}},render:function(t){var e=this,i=this.data,n=this.errorInfo,r=this.disableArea,s=this.hideBottomFields,o=function(t){return function(){return e.onFocus(t)}};return t("div",{class:ai()},[t("div",{class:ai("fields")},[t(le,{attrs:{clearable:!0,label:li("name"),placeholder:li("namePlaceholder"),errorMessage:n.name},on:{focus:o("name")},model:{value:i.name,callback:function(t){e.$set(i,"name",t)}}}),t(le,{attrs:{clearable:!0,type:"tel",label:li("tel"),maxlength:this.telMaxlength,placeholder:li("telPlaceholder"),errorMessage:n.tel},on:{focus:o("tel")},model:{value:i.tel,callback:function(t){e.$set(i,"tel",t)}}}),t(le,{directives:[{name:"show",value:this.showArea}],attrs:{readonly:!0,clickable:!r,label:li("area"),placeholder:this.areaPlaceholder||li("areaPlaceholder"),errorMessage:n.areaCode,rightIcon:r?null:"arrow",value:this.areaText},on:{focus:o("areaCode"),click:function(){e.$emit("click-area"),e.showAreaPopup=!r}}}),t(Ze,{directives:[{name:"show",value:this.showDetail}],attrs:{focused:this.detailFocused,value:i.addressDetail,errorMessage:n.addressDetail,detailRows:this.detailRows,detailMaxlength:this.detailMaxlength,searchResult:this.searchResult,showSearchResult:this.showSearchResult},on:{focus:o("addressDetail"),blur:this.onDetailBlur,input:this.onChangeDetail,"select-search":function(t){e.$emit("select-search",t)}}}),this.showPostal&&t(le,{directives:[{name:"show",value:!s}],attrs:{type:"tel",maxlength:"6",label:li("postal"),placeholder:li("postal"),errorMessage:n.postalCode},on:{focus:o("postalCode")},model:{value:i.postalCode,callback:function(t){e.$set(i,"postalCode",t)}}}),this.slots()]),this.genSetDefaultCell(t),t("div",{directives:[{name:"show",value:!s}],class:ai("buttons")},[t($e,{attrs:{block:!0,round:!0,loading:this.isSaving,type:"danger",text:this.saveButtonText||li("save")},on:{click:this.onSave}}),this.showDelete&&t($e,{attrs:{block:!0,round:!0,loading:this.isDeleting,text:this.deleteButtonText||li("delete")},on:{click:this.onDelete}})]),t(ct,{attrs:{round:!0,position:"bottom",lazyRender:!1,getContainer:"body"},model:{value:e.showAreaPopup,callback:function(t){e.showAreaPopup=t}}},[t(Ut,{ref:"area",attrs:{value:i.areaCode,loading:!this.areaListLoaded,areaList:this.areaList,columnsPlaceholder:this.areaColumnsPlaceholder},on:{confirm:this.onAreaConfirm,cancel:function(){e.showAreaPopup=!1}}})])])}}),hi=Object(l.a)("radio-group"),di=hi[0],fi=hi[1],pi=di({mixins:[De("vanRadio"),ti],props:{value:null,disabled:Boolean,direction:String,checkedColor:String,iconSize:[Number,String]},watch:{value:function(t){this.$emit("change",t)}},render:function(){var t=arguments[0];return t("div",{class:fi([this.direction]),attrs:{role:"radiogroup"}},[this.slots()])}}),mi=Object(l.a)("tag"),vi=mi[0],gi=mi[1];function bi(t,e,i,n){var r,o=e.type,a=e.mark,l=e.plain,c=e.color,u=e.round,f=e.size,p=e.textColor,m=((r={})[l?"color":"backgroundColor"]=c,r);l?(m.color=p||c,m.borderColor=c):(m.color=p,m.background=c);var v={mark:a,plain:l,round:u};f&&(v[f]=f);var g=e.closeable&&t(st,{attrs:{name:"cross"},class:gi("close"),on:{click:function(t){t.stopPropagation(),d(n,"close")}}});return t("transition",{attrs:{name:e.closeable?"van-fade":null}},[t("span",s()([{key:"content",style:m,class:gi([v,o])},h(n,!0)]),[null==i.default?void 0:i.default(),g])])}bi.props={size:String,mark:Boolean,color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean,type:{type:String,default:"default"}};var yi=vi(bi),Si=function(t){var e=t.parent,i=t.bem,n=t.role;return{mixins:[Ie(e),ti],props:{name:null,value:null,disabled:Boolean,iconSize:[Number,String],checkedColor:String,labelPosition:String,labelDisabled:Boolean,shape:{type:String,default:"round"},bindGroup:{type:Boolean,default:!0}},computed:{disableBindRelation:function(){return!this.bindGroup},isDisabled:function(){return this.parent&&this.parent.disabled||this.disabled},direction:function(){return this.parent&&this.parent.direction||null},iconStyle:function(){var t=this.checkedColor||this.parent&&this.parent.checkedColor;if(t&&this.checked&&!this.isDisabled)return{borderColor:t,backgroundColor:t}},tabindex:function(){return this.isDisabled||"radio"===n&&!this.checked?-1:0}},methods:{onClick:function(t){var e=this,i=t.target,n=this.$refs.icon,r=n===i||n.contains(i);this.isDisabled||!r&&this.labelDisabled?this.$emit("click",t):(this.toggle(),setTimeout((function(){e.$emit("click",t)})))},genIcon:function(){var t=this.$createElement,e=this.checked,n=this.iconSize||this.parent&&this.parent.iconSize;return t("div",{ref:"icon",class:i("icon",[this.shape,{disabled:this.isDisabled,checked:e}]),style:{fontSize:Object(Y.a)(n)}},[this.slots("icon",{checked:e})||t(st,{attrs:{name:"success"},style:this.iconStyle})])},genLabel:function(){var t=this.$createElement,e=this.slots();if(e)return t("span",{class:i("label",[this.labelPosition,{disabled:this.isDisabled}])},[e])}},render:function(){var t=arguments[0],e=[this.genIcon()];return"left"===this.labelPosition?e.unshift(this.genLabel()):e.push(this.genLabel()),t("div",{attrs:{role:n,tabindex:this.tabindex,"aria-checked":String(this.checked)},class:i([{disabled:this.isDisabled,"label-disabled":this.labelDisabled},this.direction]),on:{click:this.onClick}},[e])}}},ki=Object(l.a)("radio"),xi=(0,ki[0])({mixins:[Si({bem:ki[1],role:"radio",parent:"vanRadio"})],computed:{currentValue:{get:function(){return this.parent?this.parent.value:this.value},set:function(t){(this.parent||this).$emit("input",t)}},checked:function(){return this.currentValue===this.name}},methods:{toggle:function(){this.currentValue=this.name}}}),wi=Object(l.a)("address-item"),Ci=wi[0],Oi=wi[1];function Ti(t,e,i,r){var o=e.disabled,a=e.switchable;return t("div",{class:Oi({disabled:o}),on:{click:function(){a&&d(r,"select"),d(r,"click")}}},[t(ie,s()([{attrs:{border:!1,valueClass:Oi("value")},scopedSlots:{default:function(){var r=e.data,s=[t("div",{class:Oi("name")},[r.name+" "+r.tel,i.tag?i.tag(n({},e.data)):e.data.isDefault&&e.defaultTagText?t(yi,{attrs:{type:"danger",round:!0},class:Oi("tag")},[e.defaultTagText]):void 0]),t("div",{class:Oi("address")},[r.address])];return a&&!o?t(xi,{attrs:{name:r.id,iconSize:18}},[s]):s},"right-icon":function(){return t(st,{attrs:{name:"edit"},class:Oi("edit"),on:{click:function(t){t.stopPropagation(),d(r,"edit"),d(r,"click")}}})}}},h(r)])),null==i.bottom?void 0:i.bottom(n({},e.data,{disabled:o}))])}Ti.props={data:Object,disabled:Boolean,switchable:Boolean,defaultTagText:String};var $i=Ci(Ti),Bi=Object(l.a)("address-list"),Ii=Bi[0],Di=Bi[1],Ei=Bi[2];function ji(t,e,i,n){function r(r,s){if(r)return r.map((function(r,o){return t($i,{attrs:{data:r,disabled:s,switchable:e.switchable,defaultTagText:e.defaultTagText},key:r.id,scopedSlots:{bottom:i["item-bottom"],tag:i.tag},on:{select:function(){d(n,s?"select-disabled":"select",r,o),s||d(n,"input",r.id)},edit:function(){d(n,s?"edit-disabled":"edit",r,o)},click:function(){d(n,"click-item",r,o)}}})}))}var o=r(e.list),a=r(e.disabledList,!0);return t("div",s()([{class:Di()},h(n)]),[null==i.top?void 0:i.top(),t(pi,{attrs:{value:e.value}},[o]),e.disabledText&&t("div",{class:Di("disabled-text")},[e.disabledText]),a,null==i.default?void 0:i.default(),t("div",{class:Di("bottom")},[t($e,{attrs:{round:!0,block:!0,type:"danger",text:e.addButtonText||Ei("add")},class:Di("add"),on:{click:function(){d(n,"add")}}})])])}ji.props={list:Array,value:[Number,String],disabledList:Array,disabledText:String,addButtonText:String,defaultTagText:String,switchable:{type:Boolean,default:!0}};var Pi=Ii(ji),Li=i(5),Ni=Object(l.a)("badge"),Ai=Ni[0],Mi=Ni[1],zi=Ai({props:{dot:Boolean,max:[Number,String],color:String,content:[Number,String],tag:{type:String,default:"div"}},methods:{hasContent:function(){return!!(this.$scopedSlots.content||Object(m.c)(this.content)&&""!==this.content)},renderContent:function(){var t=this.dot,e=this.max,i=this.content;if(!t&&this.hasContent())return this.$scopedSlots.content?this.$scopedSlots.content():Object(m.c)(e)&&Object(Li.b)(i)&&+i>e?e+"+":i},renderBadge:function(){var t=this.$createElement;if(this.hasContent()||this.dot)return t("div",{class:Mi({dot:this.dot,fixed:!!this.$scopedSlots.default}),style:{background:this.color}},[this.renderContent()])}},render:function(){var t=arguments[0];if(this.$scopedSlots.default){var e=this.tag;return t(e,{class:Mi("wrapper")},[this.$scopedSlots.default(),this.renderBadge()])}return this.renderBadge()}}),Fi=i(3);function Vi(t){return"[object Date]"===Object.prototype.toString.call(t)&&!Object(Li.a)(t.getTime())}var Ri=Object(l.a)("calendar"),Hi=Ri[0],_i=Ri[1],Wi=Ri[2];function qi(t,e){var i=t.getFullYear(),n=e.getFullYear(),r=t.getMonth(),s=e.getMonth();return i===n?r===s?0:r>s?1:-1:i>n?1:-1}function Ki(t,e){var i=qi(t,e);if(0===i){var n=t.getDate(),r=e.getDate();return n===r?0:n>r?1:-1}return i}function Ui(t,e){return(t=new Date(t)).setDate(t.getDate()+e),t}function Yi(t){return Ui(t,1)}function Xi(t){return new Date(t)}function Qi(t){return Array.isArray(t)?t.map((function(t){return null===t?t:Xi(t)})):Xi(t)}function Gi(t,e){return 32-new Date(t,e-1,32).getDate()}var Zi=(0,Object(l.a)("calendar-month")[0])({props:{date:Date,type:String,color:String,minDate:Date,maxDate:Date,showMark:Boolean,rowHeight:[Number,String],formatter:Function,lazyRender:Boolean,currentDate:[Date,Array],allowSameDay:Boolean,showSubtitle:Boolean,showMonthTitle:Boolean,firstDayOfWeek:Number},data:function(){return{visible:!1}},computed:{title:function(){return t=this.date,Wi("monthTitle",t.getFullYear(),t.getMonth()+1);var t},rowHeightWithUnit:function(){return Object(Y.a)(this.rowHeight)},offset:function(){var t=this.firstDayOfWeek,e=this.date.getDay();return t?(e+7-this.firstDayOfWeek)%7:e},totalDay:function(){return Gi(this.date.getFullYear(),this.date.getMonth()+1)},shouldRender:function(){return this.visible||!this.lazyRender},placeholders:function(){for(var t=[],e=Math.ceil((this.totalDay+this.offset)/7),i=1;i<=e;i++)t.push({type:"placeholder"});return t},days:function(){for(var t=[],e=this.date.getFullYear(),i=this.date.getMonth(),n=1;n<=this.totalDay;n++){var r=new Date(e,i,n),s=this.getDayType(r),o={date:r,type:s,text:n,bottomInfo:this.getBottomInfo(s)};this.formatter&&(o=this.formatter(o)),t.push(o)}return t}},methods:{getHeight:function(){return this.height||(this.height=this.$el.getBoundingClientRect().height),this.height},scrollIntoView:function(t){var e=this.$refs,i=e.days,n=e.month,r=(this.showSubtitle?i:n).getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop;M(t,r)},getMultipleDayType:function(t){var e=this,i=function(t){return e.currentDate.some((function(e){return 0===Ki(e,t)}))};if(i(t)){var n=Ui(t,-1),r=Yi(t),s=i(n),o=i(r);return s&&o?"multiple-middle":s?"end":o?"start":"multiple-selected"}return""},getRangeDayType:function(t){var e=this.currentDate,i=e[0],n=e[1];if(!i)return"";var r=Ki(t,i);if(!n)return 0===r?"start":"";var s=Ki(t,n);return 0===r&&0===s&&this.allowSameDay?"start-end":0===r?"start":0===s?"end":r>0&&s<0?"middle":void 0},getDayType:function(t){var e=this.type,i=this.minDate,n=this.maxDate,r=this.currentDate;return Ki(t,i)<0||Ki(t,n)>0?"disabled":null!==r?"single"===e?0===Ki(t,r)?"selected":"":"multiple"===e?this.getMultipleDayType(t):"range"===e?this.getRangeDayType(t):void 0:void 0},getBottomInfo:function(t){if("range"===this.type){if("start"===t||"end"===t)return Wi(t);if("start-end"===t)return Wi("startEnd")}},getDayStyle:function(t,e){var i={height:this.rowHeightWithUnit};return"placeholder"===t?(i.width="100%",i):(0===e&&(i.marginLeft=100*this.offset/7+"%"),this.color&&("start"===t||"end"===t||"start-end"===t||"multiple-selected"===t||"multiple-middle"===t?i.background=this.color:"middle"===t&&(i.color=this.color)),i)},genTitle:function(){var t=this.$createElement;if(this.showMonthTitle)return t("div",{class:_i("month-title")},[this.title])},genMark:function(){var t=this.$createElement;if(this.showMark&&this.shouldRender)return t("div",{class:_i("month-mark")},[this.date.getMonth()+1])},genDays:function(){var t=this.$createElement,e=this.shouldRender?this.days:this.placeholders;return t("div",{ref:"days",attrs:{role:"grid"},class:_i("days")},[this.genMark(),e.map(this.genDay)])},genDay:function(t,e){var i=this,n=this.$createElement,r=t.type,s=t.topInfo,o=t.bottomInfo,a=this.getDayStyle(r,e),l="disabled"===r,c=function(){l||i.$emit("click",t)},u=s&&n("div",{class:_i("top-info")},[s]),h=o&&n("div",{class:_i("bottom-info")},[o]);return"selected"===r?n("div",{attrs:{role:"gridcell",tabindex:-1},style:a,class:[_i("day"),t.className],on:{click:c}},[n("div",{class:_i("selected-day"),style:{width:this.rowHeightWithUnit,height:this.rowHeightWithUnit,background:this.color}},[u,t.text,h])]):n("div",{attrs:{role:"gridcell",tabindex:l?null:-1},style:a,class:[_i("day",r),t.className],on:{click:c}},[u,t.text,h])}},render:function(){var t=arguments[0];return t("div",{class:_i("month"),ref:"month"},[this.genTitle(),this.genDays()])}}),Ji=(0,Object(l.a)("calendar-header")[0])({props:{title:String,subtitle:String,showTitle:Boolean,showSubtitle:Boolean,firstDayOfWeek:Number},methods:{genTitle:function(){var t=this.$createElement;if(this.showTitle){var e=this.slots("title")||this.title||Wi("title");return t("div",{class:_i("header-title")},[e])}},genSubtitle:function(){var t=this.$createElement;if(this.showSubtitle)return t("div",{class:_i("header-subtitle")},[this.subtitle])},genWeekDays:function(){var t=this.$createElement,e=Wi("weekdays"),i=this.firstDayOfWeek,n=[].concat(e.slice(i,7),e.slice(0,i));return t("div",{class:_i("weekdays")},[n.map((function(e){return t("span",{class:_i("weekday")},[e])}))])}},render:function(){var t=arguments[0];return t("div",{class:_i("header")},[this.genTitle(),this.genSubtitle(),this.genWeekDays()])}}),tn=Hi({props:{title:String,color:String,value:Boolean,readonly:Boolean,formatter:Function,rowHeight:[Number,String],confirmText:String,rangePrompt:String,defaultDate:[Date,Array],getContainer:[String,Function],allowSameDay:Boolean,confirmDisabledText:String,type:{type:String,default:"single"},round:{type:Boolean,default:!0},position:{type:String,default:"bottom"},poppable:{type:Boolean,default:!0},maxRange:{type:[Number,String],default:null},lazyRender:{type:Boolean,default:!0},showMark:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showSubtitle:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},minDate:{type:Date,validator:Vi,default:function(){return new Date}},maxDate:{type:Date,validator:Vi,default:function(){var t=new Date;return new Date(t.getFullYear(),t.getMonth()+6,t.getDate())}},firstDayOfWeek:{type:[Number,String],default:0,validator:function(t){return t>=0&&t<=6}}},data:function(){return{subtitle:"",currentDate:this.getInitialDate()}},computed:{months:function(){var t=[],e=new Date(this.minDate);e.setDate(1);do{t.push(new Date(e)),e.setMonth(e.getMonth()+1)}while(1!==qi(e,this.maxDate));return t},buttonDisabled:function(){var t=this.type,e=this.currentDate;if(e){if("range"===t)return!e[0]||!e[1];if("multiple"===t)return!e.length}return!e},dayOffset:function(){return this.firstDayOfWeek?this.firstDayOfWeek%7:0}},watch:{value:"init",type:function(){this.reset()},defaultDate:function(t){this.currentDate=t,this.scrollIntoView()}},mounted:function(){this.init()},activated:function(){this.init()},methods:{reset:function(t){void 0===t&&(t=this.getInitialDate()),this.currentDate=t,this.scrollIntoView()},init:function(){var t=this;this.poppable&&!this.value||this.$nextTick((function(){t.bodyHeight=Math.floor(t.$refs.body.getBoundingClientRect().height),t.onScroll(),t.scrollIntoView()}))},scrollToDate:function(t){var e=this;Object(Fi.c)((function(){var i=e.value||!e.poppable;t&&i&&(e.months.some((function(i,n){if(0===qi(i,t)){var r=e.$refs,s=r.body;return r.months[n].scrollIntoView(s),!0}return!1})),e.onScroll())}))},scrollIntoView:function(){var t=this.currentDate;if(t){var e="single"===this.type?t:t[0];this.scrollToDate(e)}},getInitialDate:function(){var t=this.type,e=this.minDate,i=this.maxDate,n=this.defaultDate;if(null===n)return n;var r=new Date;if(-1===Ki(r,e)?r=e:1===Ki(r,i)&&(r=i),"range"===t){var s=n||[];return[s[0]||r,s[1]||Yi(r)]}return"multiple"===t?n||[r]:n||r},onScroll:function(){var t=this.$refs,e=t.body,i=t.months,n=A(e),r=n+this.bodyHeight,s=i.map((function(t){return t.getHeight()}));if(!(r>s.reduce((function(t,e){return t+e}),0)&&n>0)){for(var o,a=0,l=[-1,-1],c=0;c=n&&(l[1]=c,o||(o=i[c],l[0]=c),i[c].showed||(i[c].showed=!0,this.$emit("month-show",{date:i[c].date,title:i[c].title}))),a+=s[c]}i.forEach((function(t,e){t.visible=e>=l[0]-1&&e<=l[1]+1})),o&&(this.subtitle=o.title)}},onClickDay:function(t){if(!this.readonly){var e=t.date,i=this.type,n=this.currentDate;if("range"===i){if(!n)return void this.select([e,null]);var r=n[0],s=n[1];if(r&&!s){var o=Ki(e,r);1===o?this.select([r,e],!0):-1===o?this.select([e,null]):this.allowSameDay&&this.select([e,e],!0)}else this.select([e,null])}else if("multiple"===i){if(!n)return void this.select([e]);var a;if(this.currentDate.some((function(t,i){var n=0===Ki(t,e);return n&&(a=i),n}))){var l=n.splice(a,1)[0];this.$emit("unselect",Xi(l))}else this.maxRange&&n.length>=this.maxRange?xe(this.rangePrompt||Wi("rangePrompt",this.maxRange)):this.select([].concat(n,[e]))}else this.select(e,!0)}},togglePopup:function(t){this.$emit("input",t)},select:function(t,e){var i=this,n=function(t){i.currentDate=t,i.$emit("select",Qi(i.currentDate))};if(e&&"range"===this.type&&!this.checkRange(t))return void(this.showConfirm?n([t[0],Ui(t[0],this.maxRange-1)]):n(t));n(t),e&&!this.showConfirm&&this.onConfirm()},checkRange:function(t){var e=this.maxRange,i=this.rangePrompt;return!(e&&function(t){var e=t[0].getTime();return(t[1].getTime()-e)/864e5+1}(t)>e)||(xe(i||Wi("rangePrompt",e)),!1)},onConfirm:function(){this.$emit("confirm",Qi(this.currentDate))},genMonth:function(t,e){var i=this.$createElement,n=0!==e||!this.showSubtitle;return i(Zi,{ref:"months",refInFor:!0,attrs:{date:t,type:this.type,color:this.color,minDate:this.minDate,maxDate:this.maxDate,showMark:this.showMark,formatter:this.formatter,rowHeight:this.rowHeight,lazyRender:this.lazyRender,currentDate:this.currentDate,showSubtitle:this.showSubtitle,allowSameDay:this.allowSameDay,showMonthTitle:n,firstDayOfWeek:this.dayOffset},on:{click:this.onClickDay}})},genFooterContent:function(){var t=this.$createElement,e=this.slots("footer");if(e)return e;if(this.showConfirm){var i=this.buttonDisabled?this.confirmDisabledText:this.confirmText;return t($e,{attrs:{round:!0,block:!0,type:"danger",color:this.color,disabled:this.buttonDisabled,nativeType:"button"},class:_i("confirm"),on:{click:this.onConfirm}},[i||Wi("confirm")])}},genFooter:function(){return(0,this.$createElement)("div",{class:_i("footer",{unfit:!this.safeAreaInsetBottom})},[this.genFooterContent()])},genCalendar:function(){var t=this,e=this.$createElement;return e("div",{class:_i()},[e(Ji,{attrs:{title:this.title,showTitle:this.showTitle,subtitle:this.subtitle,showSubtitle:this.showSubtitle,firstDayOfWeek:this.dayOffset},scopedSlots:{title:function(){return t.slots("title")}}}),e("div",{ref:"body",class:_i("body"),on:{scroll:this.onScroll}},[this.months.map(this.genMonth)]),this.genFooter()])}},render:function(){var t=this,e=arguments[0];if(this.poppable){var i,n=function(e){return function(){return t.$emit(e)}};return e(ct,{attrs:(i={round:!0,value:this.value},i.round=this.round,i.position=this.position,i.closeable=this.showTitle||this.showSubtitle,i.getContainer=this.getContainer,i.closeOnPopstate=this.closeOnPopstate,i.closeOnClickOverlay=this.closeOnClickOverlay,i),class:_i("popup"),on:{input:this.togglePopup,open:n("open"),opened:n("opened"),close:n("close"),closed:n("closed")}},[this.genCalendar()])}return this.genCalendar()}}),en=Object(l.a)("image"),nn=en[0],rn=en[1],sn=nn({props:{src:String,fit:String,alt:String,round:Boolean,width:[Number,String],height:[Number,String],radius:[Number,String],lazyLoad:Boolean,iconPrefix:String,showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},errorIcon:{type:String,default:"photo-fail"},loadingIcon:{type:String,default:"photo"}},data:function(){return{loading:!0,error:!1}},watch:{src:function(){this.loading=!0,this.error=!1}},computed:{style:function(){var t={};return Object(m.c)(this.width)&&(t.width=Object(Y.a)(this.width)),Object(m.c)(this.height)&&(t.height=Object(Y.a)(this.height)),Object(m.c)(this.radius)&&(t.overflow="hidden",t.borderRadius=Object(Y.a)(this.radius)),t}},created:function(){var t=this.$Lazyload;t&&m.b&&(t.$on("loaded",this.onLazyLoaded),t.$on("error",this.onLazyLoadError))},beforeDestroy:function(){var t=this.$Lazyload;t&&(t.$off("loaded",this.onLazyLoaded),t.$off("error",this.onLazyLoadError))},methods:{onLoad:function(t){this.loading=!1,this.$emit("load",t)},onLazyLoaded:function(t){t.el===this.$refs.image&&this.loading&&this.onLoad()},onLazyLoadError:function(t){t.el!==this.$refs.image||this.error||this.onError()},onError:function(t){this.error=!0,this.loading=!1,this.$emit("error",t)},onClick:function(t){this.$emit("click",t)},genPlaceholder:function(){var t=this.$createElement;return this.loading&&this.showLoading?t("div",{class:rn("loading")},[this.slots("loading")||t(st,{attrs:{name:this.loadingIcon,classPrefix:this.iconPrefix},class:rn("loading-icon")})]):this.error&&this.showError?t("div",{class:rn("error")},[this.slots("error")||t(st,{attrs:{name:this.errorIcon,classPrefix:this.iconPrefix},class:rn("error-icon")})]):void 0},genImage:function(){var t=this.$createElement,e={class:rn("img"),attrs:{alt:this.alt},style:{objectFit:this.fit}};if(!this.error)return this.lazyLoad?t("img",s()([{ref:"image",directives:[{name:"lazy",value:this.src}]},e])):t("img",s()([{attrs:{src:this.src},on:{load:this.onLoad,error:this.onError}},e]))}},render:function(){var t=arguments[0];return t("div",{class:rn({round:this.round}),style:this.style,on:{click:this.onClick}},[this.genImage(),this.genPlaceholder(),this.slots()])}}),on=Object(l.a)("card"),an=on[0],ln=on[1];function cn(t,e,i,n){var r,o=e.thumb,a=i.num||Object(m.c)(e.num),l=i.price||Object(m.c)(e.price),c=i["origin-price"]||Object(m.c)(e.originPrice),u=a||l||c||i.bottom;function f(t){d(n,"click-thumb",t)}function p(){if(i.tag||e.tag)return t("div",{class:ln("tag")},[i.tag?i.tag():t(yi,{attrs:{mark:!0,type:"danger"}},[e.tag])])}return t("div",s()([{class:ln()},h(n,!0)]),[t("div",{class:ln("header")},[function(){if(i.thumb||o)return t("a",{attrs:{href:e.thumbLink},class:ln("thumb"),on:{click:f}},[i.thumb?i.thumb():t(sn,{attrs:{src:o,width:"100%",height:"100%",fit:"cover","lazy-load":e.lazyLoad}}),p()])}(),t("div",{class:ln("content",{centered:e.centered})},[t("div",[i.title?i.title():e.title?t("div",{class:[ln("title"),"van-multi-ellipsis--l2"]},[e.title]):void 0,i.desc?i.desc():e.desc?t("div",{class:[ln("desc"),"van-ellipsis"]},[e.desc]):void 0,null==i.tags?void 0:i.tags()]),u&&t("div",{class:"van-card__bottom"},[null==(r=i["price-top"])?void 0:r.call(i),function(){if(l)return t("div",{class:ln("price")},[i.price?i.price():(n=e.price.toString().split("."),t("div",[t("span",{class:ln("price-currency")},[e.currency]),t("span",{class:ln("price-integer")},[n[0]]),".",t("span",{class:ln("price-decimal")},[n[1]])]))]);var n}(),function(){if(c){var n=i["origin-price"];return t("div",{class:ln("origin-price")},[n?n():e.currency+" "+e.originPrice])}}(),function(){if(a)return t("div",{class:ln("num")},[i.num?i.num():"x"+e.num])}(),null==i.bottom?void 0:i.bottom()])])]),function(){if(i.footer)return t("div",{class:ln("footer")},[i.footer()])}()])}cn.props={tag:String,desc:String,thumb:String,title:String,centered:Boolean,lazyLoad:Boolean,thumbLink:String,num:[Number,String],price:[Number,String],originPrice:[Number,String],currency:{type:String,default:"¥"}};var un,hn=an(cn),dn=Object(l.a)("tab"),fn=dn[0],pn=dn[1],mn=fn({mixins:[Ie("vanTabs")],props:n({},Qt,{dot:Boolean,name:[Number,String],info:[Number,String],badge:[Number,String],title:String,titleStyle:null,titleClass:null,disabled:Boolean}),data:function(){return{inited:!1}},computed:{computedName:function(){var t;return null!=(t=this.name)?t:this.index},isActive:function(){var t=this.computedName===this.parent.currentName;return t&&(this.inited=!0),t}},watch:{title:function(){this.parent.setLine(),this.parent.scrollIntoView()},inited:function(t){var e=this;this.parent.lazyRender&&t&&this.$nextTick((function(){e.parent.$emit("rendered",e.computedName,e.title)}))}},render:function(t){var e=this.slots,i=this.parent,n=this.isActive,r=e();if(r||i.animated){var s=i.scrollspy||n,o=this.inited||i.scrollspy||!i.lazyRender?r:t();return i.animated?t("div",{attrs:{role:"tabpanel","aria-hidden":!n},class:pn("pane-wrapper",{inactive:!n})},[t("div",{class:pn("pane")},[o])]):t("div",{directives:[{name:"show",value:s}],attrs:{role:"tabpanel"},class:pn("pane")},[o])}}});function vn(t){var e=window.getComputedStyle(t),i="none"===e.display,n=null===t.offsetParent&&"fixed"!==e.position;return i||n}function gn(t){var e=t.interceptor,i=t.args,n=t.done;if(e){var r=e.apply(void 0,i);Object(m.g)(r)?r.then((function(t){t&&n()})).catch(m.i):r&&n()}else n()}var bn=Object(l.a)("tab"),yn=bn[0],Sn=bn[1],kn=yn({props:{dot:Boolean,type:String,info:[Number,String],color:String,title:String,isActive:Boolean,disabled:Boolean,scrollable:Boolean,activeColor:String,inactiveColor:String},computed:{style:function(){var t={},e=this.color,i=this.isActive,n="card"===this.type;e&&n&&(t.borderColor=e,this.disabled||(i?t.backgroundColor=e:t.color=e));var r=i?this.activeColor:this.inactiveColor;return r&&(t.color=r),t}},methods:{onClick:function(){this.$emit("click")},genText:function(){var t=this.$createElement,e=t("span",{class:Sn("text",{ellipsis:!this.scrollable})},[this.slots()||this.title]);return this.dot||Object(m.c)(this.info)&&""!==this.info?t("span",{class:Sn("text-wrapper")},[e,t(J,{attrs:{dot:this.dot,info:this.info}})]):e}},render:function(){var t=arguments[0];return t("div",{attrs:{role:"tab","aria-selected":this.isActive},class:[Sn({active:this.isActive,disabled:this.disabled})],style:this.style,on:{click:this.onClick}},[this.genText()])}}),xn=Object(l.a)("sticky"),wn=xn[0],Cn=xn[1],On=wn({mixins:[W((function(t,e){if(this.scroller||(this.scroller=N(this.$el)),this.observer){var i=e?"observe":"unobserve";this.observer[i](this.$el)}t(this.scroller,"scroll",this.onScroll,!0),this.onScroll()}))],props:{zIndex:[Number,String],container:null,offsetTop:{type:[Number,String],default:0}},data:function(){return{fixed:!1,height:0,transform:0}},computed:{offsetTopPx:function(){return Object(Y.b)(this.offsetTop)},style:function(){if(this.fixed){var t={};return Object(m.c)(this.zIndex)&&(t.zIndex=this.zIndex),this.offsetTopPx&&this.fixed&&(t.top=this.offsetTopPx+"px"),this.transform&&(t.transform="translate3d(0, "+this.transform+"px, 0)"),t}}},watch:{fixed:function(t){this.$emit("change",t)}},created:function(){var t=this;!m.h&&window.IntersectionObserver&&(this.observer=new IntersectionObserver((function(e){e[0].intersectionRatio>0&&t.onScroll()}),{root:document.body}))},methods:{onScroll:function(){var t=this;if(!vn(this.$el)){this.height=this.$el.offsetHeight;var e=this.container,i=this.offsetTopPx,n=A(window),r=V(this.$el),s=function(){t.$emit("scroll",{scrollTop:n,isFixed:t.fixed})};if(e){var o=r+e.offsetHeight;if(n+i+this.height>o){var a=this.height+n-o;return ar?(this.fixed=!0,this.transform=0):this.fixed=!1,s()}}},render:function(){var t=arguments[0],e=this.fixed,i={height:e?this.height+"px":null};return t("div",{style:i},[t("div",{class:Cn({fixed:e}),style:this.style},[this.slots()])])}}),Tn=Object(l.a)("tabs"),$n=Tn[0],Bn=Tn[1],In=$n({mixins:[R],props:{count:Number,duration:[Number,String],animated:Boolean,swipeable:Boolean,currentIndex:Number},computed:{style:function(){if(this.animated)return{transform:"translate3d("+-1*this.currentIndex*100+"%, 0, 0)",transitionDuration:this.duration+"s"}},listeners:function(){if(this.swipeable)return{touchstart:this.touchStart,touchmove:this.touchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}}},methods:{onTouchEnd:function(){var t=this.direction,e=this.deltaX,i=this.currentIndex;"horizontal"===t&&this.offsetX>=50&&(e>0&&0!==i?this.$emit("change",i-1):e<0&&i!==this.count-1&&this.$emit("change",i+1))},genChildren:function(){var t=this.$createElement;return this.animated?t("div",{class:Bn("track"),style:this.style},[this.slots()]):this.slots()}},render:function(){var t=arguments[0];return t("div",{class:Bn("content",{animated:this.animated}),on:n({},this.listeners)},[this.genChildren()])}}),Dn=Object(l.a)("tabs"),En=Dn[0],jn=Dn[1],Pn=En({mixins:[De("vanTabs"),W((function(t){this.scroller||(this.scroller=N(this.$el)),t(window,"resize",this.resize,!0),this.scrollspy&&t(this.scroller,"scroll",this.onScroll,!0)}))],model:{prop:"active"},props:{color:String,border:Boolean,sticky:Boolean,animated:Boolean,swipeable:Boolean,scrollspy:Boolean,background:String,lineWidth:[Number,String],lineHeight:[Number,String],beforeChange:Function,titleActiveColor:String,titleInactiveColor:String,type:{type:String,default:"line"},active:{type:[Number,String],default:0},ellipsis:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},offsetTop:{type:[Number,String],default:0},lazyRender:{type:Boolean,default:!0},swipeThreshold:{type:[Number,String],default:5}},data:function(){return{position:"",currentIndex:null,lineStyle:{backgroundColor:this.color}}},computed:{scrollable:function(){return this.children.length>this.swipeThreshold||!this.ellipsis},navStyle:function(){return{borderColor:this.color,background:this.background}},currentName:function(){var t=this.children[this.currentIndex];if(t)return t.computedName},offsetTopPx:function(){return Object(Y.b)(this.offsetTop)},scrollOffset:function(){return this.sticky?this.offsetTopPx+this.tabHeight:0}},watch:{color:"setLine",active:function(t){t!==this.currentName&&this.setCurrentIndexByName(t)},children:function(){var t=this;this.setCurrentIndexByName(this.active),this.setLine(),this.$nextTick((function(){t.scrollIntoView(!0)}))},currentIndex:function(){this.scrollIntoView(),this.setLine(),this.stickyFixed&&!this.scrollspy&&F(Math.ceil(V(this.$el)-this.offsetTopPx))},scrollspy:function(t){t?b(this.scroller,"scroll",this.onScroll,!0):y(this.scroller,"scroll",this.onScroll)}},mounted:function(){this.init()},activated:function(){this.init(),this.setLine()},methods:{resize:function(){this.setLine()},init:function(){var t=this;this.$nextTick((function(){var e;t.inited=!0,t.tabHeight=P(e=t.$refs.wrap)?e.innerHeight:e.getBoundingClientRect().height,t.scrollIntoView(!0)}))},setLine:function(){var t=this,e=this.inited;this.$nextTick((function(){var i=t.$refs.titles;if(i&&i[t.currentIndex]&&"line"===t.type&&!vn(t.$el)){var n=i[t.currentIndex].$el,r=t.lineWidth,s=t.lineHeight,o=n.offsetLeft+n.offsetWidth/2,a={width:Object(Y.a)(r),backgroundColor:t.color,transform:"translateX("+o+"px) translateX(-50%)"};if(e&&(a.transitionDuration=t.duration+"s"),Object(m.c)(s)){var l=Object(Y.a)(s);a.height=l,a.borderRadius=l}t.lineStyle=a}}))},setCurrentIndexByName:function(t){var e=this.children.filter((function(e){return e.computedName===t})),i=(this.children[0]||{}).index||0;this.setCurrentIndex(e.length?e[0].index:i)},setCurrentIndex:function(t){var e=this.findAvailableTab(t);if(Object(m.c)(e)){var i=this.children[e],n=i.computedName,r=null!==this.currentIndex;this.currentIndex=e,n!==this.active&&(this.$emit("input",n),r&&this.$emit("change",n,i.title))}},findAvailableTab:function(t){for(var e=t=0&&te||!s&&re?Object(Fi.c)(i):n&&Object(Fi.c)(n)}()}(this.scroller,r,t?0:+this.duration,(function(){e.lockScroll=!1}))}}},onScroll:function(){if(this.scrollspy&&!this.lockScroll){var t=this.getCurrentIndexOnScroll();this.setCurrentIndex(t)}},getCurrentIndexOnScroll:function(){for(var t,e=this.children,i=0;ithis.scrollOffset)return 0===i?0:i-1}return e.length-1}},render:function(){var t,e=this,i=arguments[0],n=this.type,r=this.animated,s=this.scrollable,o=this.children.map((function(t,r){var o;return i(kn,{ref:"titles",refInFor:!0,attrs:{type:n,dot:t.dot,info:null!=(o=t.badge)?o:t.info,title:t.title,color:e.color,isActive:r===e.currentIndex,disabled:t.disabled,scrollable:s,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor},style:t.titleStyle,class:t.titleClass,scopedSlots:{default:function(){return t.slots("title")}},on:{click:function(){e.onClick(t,r)}}})})),a=i("div",{ref:"wrap",class:[jn("wrap",{scrollable:s}),(t={},t[Bt]="line"===n&&this.border,t)]},[i("div",{ref:"nav",attrs:{role:"tablist"},class:jn("nav",[n,{complete:this.scrollable}]),style:this.navStyle},[this.slots("nav-left"),o,"line"===n&&i("div",{class:jn("line"),style:this.lineStyle}),this.slots("nav-right")])]);return i("div",{class:jn([n])},[this.sticky?i(On,{attrs:{container:this.$el,offsetTop:this.offsetTop},on:{scroll:this.onSticktScroll}},[a]):a,i(In,{attrs:{count:this.children.length,animated:r,duration:this.duration,swipeable:this.swipeable,currentIndex:this.currentIndex},on:{change:this.setCurrentIndex}},[this.slots()])])}}),Ln=Object(l.a)("cascader"),Nn=Ln[0],An=Ln[1],Mn=Ln[2],zn=Nn({props:{title:String,value:[Number,String],fieldNames:Object,placeholder:String,activeColor:String,options:{type:Array,default:function(){return[]}},closeable:{type:Boolean,default:!0}},data:function(){return{tabs:[],activeTab:0}},computed:{textKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.text)||"text"},valueKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.value)||"value"},childrenKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.children)||"children"}},watch:{options:{deep:!0,handler:"updateTabs"},value:function(t){var e=this;if((t||0===t)&&-1!==this.tabs.map((function(t){var i;return null==(i=t.selectedOption)?void 0:i[e.valueKey]})).indexOf(t))return;this.updateTabs()}},created:function(){this.updateTabs()},methods:{getSelectedOptionsByValue:function(t,e){for(var i=0;ie+1&&(this.tabs=this.tabs.slice(0,e+1)),t[this.childrenKey]){var n={options:t[this.childrenKey],selectedOption:null};this.tabs[e+1]?this.$set(this.tabs,e+1,n):this.tabs.push(n),this.$nextTick((function(){i.activeTab++}))}var r=this.tabs.map((function(t){return t.selectedOption})).filter((function(t){return!!t})),s={value:t[this.valueKey],tabIndex:e,selectedOptions:r};this.$emit("input",t[this.valueKey]),this.$emit("change",s),t[this.childrenKey]||this.$emit("finish",s)},onClose:function(){this.$emit("close")},renderHeader:function(){var t=this.$createElement;return t("div",{class:An("header")},[t("h2",{class:An("title")},[this.slots("title")||this.title]),this.closeable?t(st,{attrs:{name:"cross"},class:An("close-icon"),on:{click:this.onClose}}):null])},renderOptions:function(t,e,i){var n=this,r=this.$createElement;return r("ul",{class:An("options")},[t.map((function(t){var s=e&&t[n.valueKey]===e[n.valueKey];return r("li",{class:An("option",{selected:s}),style:{color:s?n.activeColor:null},on:{click:function(){n.onSelect(t,i)}}},[r("span",[t[n.textKey]]),s?r(st,{attrs:{name:"success"},class:An("selected-icon")}):null])}))])},renderTab:function(t,e){var i=this.$createElement,n=t.options,r=t.selectedOption,s=r?r[this.textKey]:this.placeholder||Mn("select");return i(mn,{attrs:{title:s,titleClass:An("tab",{unselected:!r})}},[this.renderOptions(n,r,e)])},renderTabs:function(){var t=this;return(0,this.$createElement)(Pn,{attrs:{animated:!0,swipeable:!0,swipeThreshold:0,color:this.activeColor},class:An("tabs"),model:{value:t.activeTab,callback:function(e){t.activeTab=e}}},[this.tabs.map(this.renderTab)])}},render:function(){var t=arguments[0];return t("div",{class:An()},[this.renderHeader(),this.renderTabs()])}}),Fn=Object(l.a)("cell-group"),Vn=Fn[0],Rn=Fn[1];function Hn(t,e,i,n){var r,o=t("div",s()([{class:[Rn(),(r={},r[Bt]=e.border,r)]},h(n,!0)]),[null==i.default?void 0:i.default()]);return e.title||i.title?t("div",[t("div",{class:Rn("title")},[i.title?i.title():e.title]),o]):o}Hn.props={title:String,border:{type:Boolean,default:!0}};var _n=Vn(Hn),Wn=Object(l.a)("checkbox"),qn=(0,Wn[0])({mixins:[Si({bem:Wn[1],role:"checkbox",parent:"vanCheckbox"})],computed:{checked:{get:function(){return this.parent?-1!==this.parent.value.indexOf(this.name):this.value},set:function(t){this.parent?this.setParentValue(t):this.$emit("input",t)}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggle:function(t){var e=this;void 0===t&&(t=!this.checked),clearTimeout(this.toggleTask),this.toggleTask=setTimeout((function(){e.checked=t}))},setParentValue:function(t){var e=this.parent,i=e.value.slice();if(t){if(e.max&&i.length>=e.max)return;-1===i.indexOf(this.name)&&(i.push(this.name),e.$emit("input",i))}else{var n=i.indexOf(this.name);-1!==n&&(i.splice(n,1),e.$emit("input",i))}}}}),Kn=Object(l.a)("checkbox-group"),Un=Kn[0],Yn=Kn[1],Xn=Un({mixins:[De("vanCheckbox"),ti],props:{max:[Number,String],disabled:Boolean,direction:String,iconSize:[Number,String],checkedColor:String,value:{type:Array,default:function(){return[]}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggleAll:function(t){void 0===t&&(t={}),"boolean"==typeof t&&(t={checked:t});var e=t,i=e.checked,n=e.skipDisabled,r=this.children.filter((function(t){return t.disabled&&n?t.checked:null!=i?i:!t.checked})).map((function(t){return t.name}));this.$emit("input",r)}},render:function(){var t=arguments[0];return t("div",{class:Yn([this.direction])},[this.slots()])}}),Qn=Object(l.a)("circle"),Gn=Qn[0],Zn=Qn[1],Jn=0;function tr(t){return Math.min(Math.max(t,0),100)}var er=Gn({props:{text:String,size:[Number,String],color:[String,Object],layerColor:String,strokeLinecap:String,value:{type:Number,default:0},speed:{type:[Number,String],default:0},fill:{type:String,default:"none"},rate:{type:[Number,String],default:100},strokeWidth:{type:[Number,String],default:40},clockwise:{type:Boolean,default:!0}},beforeCreate:function(){this.uid="van-circle-gradient-"+Jn++},computed:{style:function(){var t=Object(Y.a)(this.size);return{width:t,height:t}},path:function(){return t=this.clockwise,"M "+(e=this.viewBoxSize)/2+" "+e/2+" m 0, -500 a 500, 500 0 1, "+(i=t?1:0)+" 0, 1000 a 500, 500 0 1, "+i+" 0, -1000";var t,e,i},viewBoxSize:function(){return+this.strokeWidth+1e3},layerStyle:function(){return{fill:""+this.fill,stroke:""+this.layerColor,strokeWidth:this.strokeWidth+"px"}},hoverStyle:function(){var t=3140*this.value/100;return{stroke:""+(this.gradient?"url(#"+this.uid+")":this.color),strokeWidth:+this.strokeWidth+1+"px",strokeLinecap:this.strokeLinecap,strokeDasharray:t+"px 3140px"}},gradient:function(){return Object(m.f)(this.color)},LinearGradient:function(){var t=this,e=this.$createElement;if(this.gradient){var i=Object.keys(this.color).sort((function(t,e){return parseFloat(t)-parseFloat(e)})).map((function(i,n){return e("stop",{key:n,attrs:{offset:i,"stop-color":t.color[i]}})}));return e("defs",[e("linearGradient",{attrs:{id:this.uid,x1:"100%",y1:"0%",x2:"0%",y2:"0%"}},[i])])}}},watch:{rate:{handler:function(t){this.startTime=Date.now(),this.startRate=this.value,this.endRate=tr(t),this.increase=this.endRate>this.startRate,this.duration=Math.abs(1e3*(this.startRate-this.endRate)/this.speed),this.speed?(Object(Fi.a)(this.rafId),this.rafId=Object(Fi.c)(this.animate)):this.$emit("input",this.endRate)},immediate:!0}},methods:{animate:function(){var t=Date.now(),e=Math.min((t-this.startTime)/this.duration,1)*(this.endRate-this.startRate)+this.startRate;this.$emit("input",tr(parseFloat(e.toFixed(1)))),(this.increase?ethis.endRate)&&(this.rafId=Object(Fi.c)(this.animate))}},render:function(){var t=arguments[0];return t("div",{class:Zn(),style:this.style},[t("svg",{attrs:{viewBox:"0 0 "+this.viewBoxSize+" "+this.viewBoxSize}},[this.LinearGradient,t("path",{class:Zn("layer"),style:this.layerStyle,attrs:{d:this.path}}),t("path",{attrs:{d:this.path},class:Zn("hover"),style:this.hoverStyle})]),this.slots()||this.text&&t("div",{class:Zn("text")},[this.text])])}}),ir=Object(l.a)("col"),nr=ir[0],rr=ir[1],sr=nr({mixins:[Ie("vanRow")],props:{span:[Number,String],offset:[Number,String],tag:{type:String,default:"div"}},computed:{style:function(){var t=this.index,e=(this.parent||{}).spaces;if(e&&e[t]){var i=e[t],n=i.left,r=i.right;return{paddingLeft:n?n+"px":null,paddingRight:r?r+"px":null}}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=arguments[0],i=this.span,n=this.offset;return e(this.tag,{style:this.style,class:rr((t={},t[i]=i,t["offset-"+n]=n,t)),on:{click:this.onClick}},[this.slots()])}}),or=Object(l.a)("collapse"),ar=or[0],lr=or[1],cr=ar({mixins:[De("vanCollapse")],props:{accordion:Boolean,value:[String,Number,Array],border:{type:Boolean,default:!0}},methods:{switch:function(t,e){this.accordion||(t=e?this.value.concat(t):this.value.filter((function(e){return e!==t}))),this.$emit("change",t),this.$emit("input",t)}},render:function(){var t,e=arguments[0];return e("div",{class:[lr(),(t={},t[Bt]=this.border,t)]},[this.slots()])}}),ur=Object(l.a)("collapse-item"),hr=ur[0],dr=ur[1],fr=["title","icon","right-icon"],pr=hr({mixins:[Ie("vanCollapse")],props:n({},Gt,{name:[Number,String],disabled:Boolean,isLink:{type:Boolean,default:!0}}),data:function(){return{show:null,inited:null}},computed:{currentName:function(){var t;return null!=(t=this.name)?t:this.index},expanded:function(){var t=this;if(!this.parent)return null;var e=this.parent,i=e.value;return e.accordion?i===this.currentName:i.some((function(e){return e===t.currentName}))}},created:function(){this.show=this.expanded,this.inited=this.expanded},watch:{expanded:function(t,e){var i=this;null!==e&&(t&&(this.show=!0,this.inited=!0),(t?this.$nextTick:Fi.c)((function(){var e=i.$refs,n=e.content,r=e.wrapper;if(n&&r){var s=n.offsetHeight;if(s){var o=s+"px";r.style.height=t?0:o,Object(Fi.b)((function(){r.style.height=t?o:0}))}else i.onTransitionEnd()}})))}},methods:{onClick:function(){this.disabled||this.toggle()},toggle:function(t){void 0===t&&(t=!this.expanded);var e=this.parent,i=this.currentName,n=e.accordion&&i===e.value?"":i;this.parent.switch(n,t)},onTransitionEnd:function(){this.expanded?this.$refs.wrapper.style.height="":this.show=!1},genTitle:function(){var t=this,e=this.$createElement,i=this.border,r=this.disabled,s=this.expanded,o=fr.reduce((function(e,i){return t.slots(i)&&(e[i]=function(){return t.slots(i)}),e}),{});return this.slots("value")&&(o.default=function(){return t.slots("value")}),e(ie,{attrs:{role:"button",tabindex:r?-1:0,"aria-expanded":String(s)},class:dr("title",{disabled:r,expanded:s,borderless:!i}),on:{click:this.onClick},scopedSlots:o,props:n({},this.$props)})},genContent:function(){var t=this.$createElement;if(this.inited)return t("div",{directives:[{name:"show",value:this.show}],ref:"wrapper",class:dr("wrapper"),on:{transitionend:this.onTransitionEnd}},[t("div",{ref:"content",class:dr("content")},[this.slots()])])}},render:function(){var t=arguments[0];return t("div",{class:[dr({border:this.index&&this.border})]},[this.genTitle(),this.genContent()])}}),mr=Object(l.a)("contact-card"),vr=mr[0],gr=mr[1],br=mr[2];function yr(t,e,i,n){var r=e.type,o=e.editable;return t(ie,s()([{attrs:{center:!0,border:!1,isLink:o,valueClass:gr("value"),icon:"edit"===r?"contact":"add-square"},class:gr([r]),on:{click:function(t){o&&d(n,"click",t)}}},h(n)]),["add"===r?e.addText||br("addText"):[t("div",[br("name")+":"+e.name]),t("div",[br("tel")+":"+e.tel])]])}yr.props={tel:String,name:String,addText:String,editable:{type:Boolean,default:!0},type:{type:String,default:"add"}};var Sr=vr(yr),kr=Object(l.a)("contact-edit"),xr=kr[0],wr=kr[1],Cr=kr[2],Or={tel:"",name:""},Tr=xr({props:{isEdit:Boolean,isSaving:Boolean,isDeleting:Boolean,showSetDefault:Boolean,setDefaultLabel:String,contactInfo:{type:Object,default:function(){return n({},Or)}},telValidator:{type:Function,default:xt}},data:function(){return{data:n({},Or,this.contactInfo),errorInfo:{name:"",tel:""}}},watch:{contactInfo:function(t){this.data=n({},Or,t)}},methods:{onFocus:function(t){this.errorInfo[t]=""},getErrorMessageByKey:function(t){var e=this.data[t].trim();switch(t){case"name":return e?"":Cr("nameInvalid");case"tel":return this.telValidator(e)?"":Cr("telInvalid")}},onSave:function(){var t=this;["name","tel"].every((function(e){var i=t.getErrorMessageByKey(e);return i&&(t.errorInfo[e]=i),!i}))&&!this.isSaving&&this.$emit("save",this.data)},onDelete:function(){var t=this;Ke.confirm({title:Cr("confirmDelete")}).then((function(){t.$emit("delete",t.data)}))}},render:function(){var t=this,e=arguments[0],i=this.data,n=this.errorInfo,r=function(e){return function(){return t.onFocus(e)}};return e("div",{class:wr()},[e("div",{class:wr("fields")},[e(le,{attrs:{clearable:!0,maxlength:"30",label:Cr("name"),placeholder:Cr("nameEmpty"),errorMessage:n.name},on:{focus:r("name")},model:{value:i.name,callback:function(e){t.$set(i,"name",e)}}}),e(le,{attrs:{clearable:!0,type:"tel",label:Cr("tel"),placeholder:Cr("telEmpty"),errorMessage:n.tel},on:{focus:r("tel")},model:{value:i.tel,callback:function(e){t.$set(i,"tel",e)}}})]),this.showSetDefault&&e(ie,{attrs:{title:this.setDefaultLabel,border:!1},class:wr("switch-cell")},[e(ri,{attrs:{size:24},slot:"right-icon",on:{change:function(e){t.$emit("change-default",e)}},model:{value:i.isDefault,callback:function(e){t.$set(i,"isDefault",e)}}})]),e("div",{class:wr("buttons")},[e($e,{attrs:{block:!0,round:!0,type:"danger",text:Cr("save"),loading:this.isSaving},on:{click:this.onSave}}),this.isEdit&&e($e,{attrs:{block:!0,round:!0,text:Cr("delete"),loading:this.isDeleting},on:{click:this.onDelete}})])])}}),$r=Object(l.a)("contact-list"),Br=$r[0],Ir=$r[1],Dr=$r[2];function Er(t,e,i,n){var r=e.list&&e.list.map((function(i,r){function s(){d(n,"input",i.id),d(n,"select",i,r)}return t(ie,{key:i.id,attrs:{isLink:!0,center:!0,valueClass:Ir("item-value")},class:Ir("item"),scopedSlots:{icon:function(){return t(st,{attrs:{name:"edit"},class:Ir("edit"),on:{click:function(t){t.stopPropagation(),d(n,"edit",i,r)}}})},default:function(){var n=[i.name+","+i.tel];return i.isDefault&&e.defaultTagText&&n.push(t(yi,{attrs:{type:"danger",round:!0},class:Ir("item-tag")},[e.defaultTagText])),n},"right-icon":function(){return t(xi,{attrs:{name:i.id,iconSize:16,checkedColor:Ct},on:{click:s}})}},on:{click:s}})}));return t("div",s()([{class:Ir()},h(n)]),[t(pi,{attrs:{value:e.value},class:Ir("group")},[r]),t("div",{class:Ir("bottom")},[t($e,{attrs:{round:!0,block:!0,type:"danger",text:e.addText||Dr("addText")},class:Ir("add"),on:{click:function(){d(n,"add")}}})])])}Er.props={value:null,list:Array,addText:String,defaultTagText:String};var jr=Br(Er),Pr=i(2);var Lr=Object(l.a)("count-down"),Nr=Lr[0],Ar=Lr[1],Mr=Nr({props:{millisecond:Boolean,time:{type:[Number,String],default:0},format:{type:String,default:"HH:mm:ss"},autoStart:{type:Boolean,default:!0}},data:function(){return{remain:0}},computed:{timeData:function(){return t=this.remain,{days:Math.floor(t/864e5),hours:Math.floor(t%864e5/36e5),minutes:Math.floor(t%36e5/6e4),seconds:Math.floor(t%6e4/1e3),milliseconds:Math.floor(t%1e3)};var t},formattedTime:function(){return function(t,e){var i=e.days,n=e.hours,r=e.minutes,s=e.seconds,o=e.milliseconds;if(-1===t.indexOf("DD")?n+=24*i:t=t.replace("DD",Object(Pr.b)(i)),-1===t.indexOf("HH")?r+=60*n:t=t.replace("HH",Object(Pr.b)(n)),-1===t.indexOf("mm")?s+=60*r:t=t.replace("mm",Object(Pr.b)(r)),-1===t.indexOf("ss")?o+=1e3*s:t=t.replace("ss",Object(Pr.b)(s)),-1!==t.indexOf("S")){var a=Object(Pr.b)(o,3);t=-1!==t.indexOf("SSS")?t.replace("SSS",a):-1!==t.indexOf("SS")?t.replace("SS",a.slice(0,2)):t.replace("S",a.charAt(0))}return t}(this.format,this.timeData)}},watch:{time:{immediate:!0,handler:"reset"}},activated:function(){this.keepAlivePaused&&(this.counting=!0,this.keepAlivePaused=!1,this.tick())},deactivated:function(){this.counting&&(this.pause(),this.keepAlivePaused=!0)},beforeDestroy:function(){this.pause()},methods:{start:function(){this.counting||(this.counting=!0,this.endTime=Date.now()+this.remain,this.tick())},pause:function(){this.counting=!1,Object(Fi.a)(this.rafId)},reset:function(){this.pause(),this.remain=+this.time,this.autoStart&&this.start()},tick:function(){m.b&&(this.millisecond?this.microTick():this.macroTick())},microTick:function(){var t=this;this.rafId=Object(Fi.c)((function(){t.counting&&(t.setRemain(t.getRemain()),t.remain>0&&t.microTick())}))},macroTick:function(){var t=this;this.rafId=Object(Fi.c)((function(){if(t.counting){var e,i,n=t.getRemain();e=n,i=t.remain,(Math.floor(e/1e3)!==Math.floor(i/1e3)||0===n)&&t.setRemain(n),t.remain>0&&t.macroTick()}}))},getRemain:function(){return Math.max(this.endTime-Date.now(),0)},setRemain:function(t){this.remain=t,this.$emit("change",this.timeData),0===t&&(this.pause(),this.$emit("finish"))}},render:function(){var t=arguments[0];return t("div",{class:Ar()},[this.slots("default",this.timeData)||this.formattedTime])}}),zr=Object(l.a)("coupon"),Fr=zr[0],Vr=zr[1],Rr=zr[2];function Hr(t){var e=new Date(function(t){return t"+(e.unitDesc||"")+"";if(e.denominations){var i=_r(e.denominations);return""+this.currency+" "+i}return e.discount?Rr("discount",((t=e.discount)/10).toFixed(t%10==0?0:1)):""},conditionMessage:function(){var t=_r(this.coupon.originCondition);return"0"===t?Rr("unlimited"):Rr("condition",t)}},render:function(){var t=arguments[0],e=this.coupon,i=this.disabled,n=i&&e.reason||e.description;return t("div",{class:Vr({disabled:i})},[t("div",{class:Vr("content")},[t("div",{class:Vr("head")},[t("h2",{class:Vr("amount"),domProps:{innerHTML:this.faceAmount}}),t("p",{class:Vr("condition")},[this.coupon.condition||this.conditionMessage])]),t("div",{class:Vr("body")},[t("p",{class:Vr("name")},[e.name]),t("p",{class:Vr("valid")},[this.validPeriod]),!this.disabled&&t(qn,{attrs:{size:18,value:this.chosen,checkedColor:Ct},class:Vr("corner")})])]),n&&t("p",{class:Vr("description")},[n])])}}),qr=Object(l.a)("coupon-cell"),Kr=qr[0],Ur=qr[1],Yr=qr[2];function Xr(t,e,i,n){var r=e.coupons[+e.chosenCoupon],o=function(t){var e=t.coupons,i=t.chosenCoupon,n=t.currency,r=e[+i];if(r){var s=0;return Object(m.c)(r.value)?s=r.value:Object(m.c)(r.denominations)&&(s=r.denominations),"-"+n+" "+(s/100).toFixed(2)}return 0===e.length?Yr("tips"):Yr("count",e.length)}(e);return t(ie,s()([{class:Ur(),attrs:{value:o,title:e.title||Yr("title"),border:e.border,isLink:e.editable,valueClass:Ur("value",{selected:r})}},h(n,!0)]))}Xr.model={prop:"chosenCoupon"},Xr.props={title:String,coupons:{type:Array,default:function(){return[]}},currency:{type:String,default:"¥"},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},chosenCoupon:{type:[Number,String],default:-1}};var Qr=Kr(Xr),Gr=Object(l.a)("coupon-list"),Zr=Gr[0],Jr=Gr[1],ts=Gr[2],es=Zr({model:{prop:"code"},props:{code:String,closeButtonText:String,inputPlaceholder:String,enabledTitle:String,disabledTitle:String,exchangeButtonText:String,exchangeButtonLoading:Boolean,exchangeButtonDisabled:Boolean,exchangeMinLength:{type:Number,default:1},chosenCoupon:{type:Number,default:-1},coupons:{type:Array,default:function(){return[]}},disabledCoupons:{type:Array,default:function(){return[]}},displayedCouponIndex:{type:Number,default:-1},showExchangeBar:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},showCount:{type:Boolean,default:!0},currency:{type:String,default:"¥"},emptyImage:{type:String,default:"https://img01.yzcdn.cn/vant/coupon-empty.png"}},data:function(){return{tab:0,winHeight:window.innerHeight,currentCode:this.code||""}},computed:{buttonDisabled:function(){return!this.exchangeButtonLoading&&(this.exchangeButtonDisabled||!this.currentCode||this.currentCode.length1))return 0;t=t.slice(1)}return parseInt(t,10)}(n.originColumns[e].values[s[e]])};"month-day"===r?(t=(this.innerValue?this.innerValue:this.minDate).getFullYear(),e=o("month"),i=o("day")):(t=o("year"),e=o("month"),i="year-month"===r?1:o("day"));var a=Gi(t,e);i=i>a?a:i;var l=0,c=0;"datehour"===r&&(l=o("hour")),"datetime"===r&&(l=o("hour"),c=o("minute"));var u=new Date(t,e-1,i,l,c);this.innerValue=this.formatValue(u)},onChange:function(t){var e=this;this.updateInnerValue(),this.$nextTick((function(){e.$nextTick((function(){e.$emit("change",t)}))}))},updateColumnValue:function(){var t=this,e=this.innerValue?this.innerValue:this.minDate,i=this.formatter,n=this.originColumns.map((function(t){switch(t.type){case"year":return i("year",""+e.getFullYear());case"month":return i("month",Object(Pr.b)(e.getMonth()+1));case"day":return i("day",Object(Pr.b)(e.getDate()));case"hour":return i("hour",Object(Pr.b)(e.getHours()));case"minute":return i("minute",Object(Pr.b)(e.getMinutes()));default:return null}}));this.$nextTick((function(){t.getPicker().setValues(n)}))}}}),as=Object(l.a)("datetime-picker"),ls=as[0],cs=as[1],us=ls({props:n({},rs.props,os.props),methods:{getPicker:function(){return this.$refs.root.getPicker()}},render:function(){var t=arguments[0],e="time"===this.type?rs:os;return t(e,{ref:"root",class:cs(),scopedSlots:this.$scopedSlots,props:n({},this.$props),on:n({},this.$listeners)})}}),hs=Object(l.a)("divider"),ds=hs[0],fs=hs[1];function ps(t,e,i,n){var r;return t("div",s()([{attrs:{role:"separator"},style:{borderColor:e.borderColor},class:fs((r={dashed:e.dashed,hairline:e.hairline},r["content-"+e.contentPosition]=i.default,r))},h(n,!0)]),[i.default&&i.default()])}ps.props={dashed:Boolean,hairline:{type:Boolean,default:!0},contentPosition:{type:String,default:"center"}};var ms=ds(ps),vs=Object(l.a)("dropdown-item"),gs=vs[0],bs=vs[1],ys=gs({mixins:[H({ref:"wrapper"}),Ie("vanDropdownMenu")],props:{value:null,title:String,disabled:Boolean,titleClass:String,options:{type:Array,default:function(){return[]}},lazyRender:{type:Boolean,default:!0}},data:function(){return{transition:!0,showPopup:!1,showWrapper:!1}},computed:{displayTitle:function(){var t=this;if(this.title)return this.title;var e=this.options.filter((function(e){return e.value===t.value}));return e.length?e[0].text:""}},watch:{showPopup:function(t){this.bindScroll(t)}},beforeCreate:function(){var t=this,e=function(e){return function(){return t.$emit(e)}};this.onOpen=e("open"),this.onClose=e("close"),this.onOpened=e("opened")},methods:{toggle:function(t,e){void 0===t&&(t=!this.showPopup),void 0===e&&(e={}),t!==this.showPopup&&(this.transition=!e.immediate,this.showPopup=t,t&&(this.parent.updateOffset(),this.showWrapper=!0))},bindScroll:function(t){(t?b:y)(this.parent.scroller,"scroll",this.onScroll,!0)},onScroll:function(){this.parent.updateOffset()},onClickWrapper:function(t){this.getContainer&&t.stopPropagation()}},render:function(){var t=this,e=arguments[0],i=this.parent,n=i.zIndex,r=i.offset,s=i.overlay,o=i.duration,a=i.direction,l=i.activeColor,c=i.closeOnClickOverlay,u=this.options.map((function(i){var n=i.value===t.value;return e(ie,{attrs:{clickable:!0,icon:i.icon,title:i.text},key:i.value,class:bs("option",{active:n}),style:{color:n?l:""},on:{click:function(){t.showPopup=!1,i.value!==t.value&&(t.$emit("input",i.value),t.$emit("change",i.value))}}},[n&&e(st,{class:bs("icon"),attrs:{color:l,name:"success"}})])})),h={zIndex:n};return"down"===a?h.top=r+"px":h.bottom=r+"px",e("div",[e("div",{directives:[{name:"show",value:this.showWrapper}],ref:"wrapper",style:h,class:bs([a]),on:{click:this.onClickWrapper}},[e(ct,{attrs:{overlay:s,position:"down"===a?"top":"bottom",duration:this.transition?o:0,lazyRender:this.lazyRender,overlayStyle:{position:"absolute"},closeOnClickOverlay:c},class:bs("content"),on:{open:this.onOpen,close:this.onClose,opened:this.onOpened,closed:function(){t.showWrapper=!1,t.$emit("closed")}},model:{value:t.showPopup,callback:function(e){t.showPopup=e}}},[u,this.slots("default")])])])}}),Ss=function(t){return{props:{closeOnClickOutside:{type:Boolean,default:!0}},data:function(){var e=this;return{clickOutsideHandler:function(i){e.closeOnClickOutside&&!e.$el.contains(i.target)&&e[t.method]()}}},mounted:function(){b(document,t.event,this.clickOutsideHandler)},beforeDestroy:function(){y(document,t.event,this.clickOutsideHandler)}}},ks=Object(l.a)("dropdown-menu"),xs=ks[0],ws=ks[1],Cs=xs({mixins:[De("vanDropdownMenu"),Ss({event:"click",method:"onClickOutside"})],props:{zIndex:[Number,String],activeColor:String,overlay:{type:Boolean,default:!0},duration:{type:[Number,String],default:.2},direction:{type:String,default:"down"},closeOnClickOverlay:{type:Boolean,default:!0}},data:function(){return{offset:0}},computed:{scroller:function(){return N(this.$el)},opened:function(){return this.children.some((function(t){return t.showWrapper}))},barStyle:function(){if(this.opened&&Object(m.c)(this.zIndex))return{zIndex:1+this.zIndex}}},methods:{updateOffset:function(){if(this.$refs.bar){var t=this.$refs.bar.getBoundingClientRect();"down"===this.direction?this.offset=t.bottom:this.offset=window.innerHeight-t.top}},toggleItem:function(t){this.children.forEach((function(e,i){i===t?e.toggle():e.showPopup&&e.toggle(!1,{immediate:!0})}))},onClickOutside:function(){this.children.forEach((function(t){t.toggle(!1)}))}},render:function(){var t=this,e=arguments[0],i=this.children.map((function(i,n){return e("div",{attrs:{role:"button",tabindex:i.disabled?-1:0},class:ws("item",{disabled:i.disabled}),on:{click:function(){i.disabled||t.toggleItem(n)}}},[e("span",{class:[ws("title",{active:i.showPopup,down:i.showPopup===("down"===t.direction)}),i.titleClass],style:{color:i.showPopup?t.activeColor:""}},[e("div",{class:"van-ellipsis"},[i.slots("title")||i.displayTitle])])])}));return e("div",{class:ws()},[e("div",{ref:"bar",style:this.barStyle,class:ws("bar",{opened:this.opened})},[i]),this.slots("default")])}}),Os="van-empty-network-",Ts={render:function(){var t=arguments[0],e=function(e,i,n){return t("stop",{attrs:{"stop-color":e,offset:i+"%","stop-opacity":n}})};return t("svg",{attrs:{viewBox:"0 0 160 160",xmlns:"http://www.w3.org/2000/svg"}},[t("defs",[t("linearGradient",{attrs:{id:Os+"1",x1:"64.022%",y1:"100%",x2:"64.022%",y2:"0%"}},[e("#FFF",0,.5),e("#F2F3F5",100)]),t("linearGradient",{attrs:{id:Os+"2",x1:"50%",y1:"0%",x2:"50%",y2:"84.459%"}},[e("#EBEDF0",0),e("#DCDEE0",100,0)]),t("linearGradient",{attrs:{id:Os+"3",x1:"100%",y1:"0%",x2:"100%",y2:"100%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("linearGradient",{attrs:{id:Os+"4",x1:"100%",y1:"100%",x2:"100%",y2:"0%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("linearGradient",{attrs:{id:Os+"5",x1:"0%",y1:"43.982%",x2:"100%",y2:"54.703%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("linearGradient",{attrs:{id:Os+"6",x1:"94.535%",y1:"43.837%",x2:"5.465%",y2:"54.948%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("radialGradient",{attrs:{id:Os+"7",cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54835 0 .5 -.5)"}},[e("#EBEDF0",0),e("#FFF",100,0)])]),t("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[t("g",{attrs:{opacity:".8"}},[t("path",{attrs:{d:"M0 124V46h20v20h14v58H0z",fill:"url(#"+Os+"1)",transform:"matrix(-1 0 0 1 36 7)"}}),t("path",{attrs:{d:"M121 8h22.231v14H152v77.37h-31V8z",fill:"url(#"+Os+"1)",transform:"translate(2 7)"}})]),t("path",{attrs:{fill:"url(#"+Os+"7)",d:"M0 139h160v21H0z"}}),t("path",{attrs:{d:"M37 18a7 7 0 013 13.326v26.742c0 1.23-.997 2.227-2.227 2.227h-1.546A2.227 2.227 0 0134 58.068V31.326A7 7 0 0137 18z",fill:"url(#"+Os+"2)","fill-rule":"nonzero",transform:"translate(43 36)"}}),t("g",{attrs:{opacity:".6","stroke-linecap":"round","stroke-width":"7"}},[t("path",{attrs:{d:"M20.875 11.136a18.868 18.868 0 00-5.284 13.121c0 5.094 2.012 9.718 5.284 13.12",stroke:"url(#"+Os+"3)",transform:"translate(43 36)"}}),t("path",{attrs:{d:"M9.849 0C3.756 6.225 0 14.747 0 24.146c0 9.398 3.756 17.92 9.849 24.145",stroke:"url(#"+Os+"3)",transform:"translate(43 36)"}}),t("path",{attrs:{d:"M57.625 11.136a18.868 18.868 0 00-5.284 13.121c0 5.094 2.012 9.718 5.284 13.12",stroke:"url(#"+Os+"4)",transform:"rotate(-180 76.483 42.257)"}}),t("path",{attrs:{d:"M73.216 0c-6.093 6.225-9.849 14.747-9.849 24.146 0 9.398 3.756 17.92 9.849 24.145",stroke:"url(#"+Os+"4)",transform:"rotate(-180 89.791 42.146)"}})]),t("g",{attrs:{transform:"translate(31 105)","fill-rule":"nonzero"}},[t("rect",{attrs:{fill:"url(#"+Os+"5)",width:"98",height:"34",rx:"2"}}),t("rect",{attrs:{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.114"}}),t("rect",{attrs:{fill:"url(#"+Os+"6)",x:"15",y:"12",width:"18",height:"6",rx:"1.114"}})])])])}},$s=Object(l.a)("empty"),Bs=$s[0],Is=$s[1],Ds=["error","search","default"],Es=Bs({props:{imageSize:[Number,String],description:String,image:{type:String,default:"default"}},methods:{genImageContent:function(){var t=this.$createElement,e=this.slots("image");if(e)return e;if("network"===this.image)return t(Ts);var i=this.image;return-1!==Ds.indexOf(i)&&(i="https://img01.yzcdn.cn/vant/empty-image-"+i+".png"),t("img",{attrs:{src:i}})},genImage:function(){var t=this.$createElement,e={width:Object(Y.a)(this.imageSize),height:Object(Y.a)(this.imageSize)};return t("div",{class:Is("image"),style:e},[this.genImageContent()])},genDescription:function(){var t=this.$createElement,e=this.slots("description")||this.description;if(e)return t("p",{class:Is("description")},[e])},genBottom:function(){var t=this.$createElement,e=this.slots();if(e)return t("div",{class:Is("bottom")},[e])}},render:function(){var t=arguments[0];return t("div",{class:Is()},[this.genImage(),this.genDescription(),this.genBottom()])}}),js=Object(l.a)("form"),Ps=js[0],Ls=js[1],Ns=Ps({props:{colon:Boolean,disabled:Boolean,readonly:Boolean,labelWidth:[Number,String],labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,errorMessageAlign:String,submitOnEnter:{type:Boolean,default:!0},validateTrigger:{type:String,default:"onBlur"},showError:{type:Boolean,default:!0},showErrorMessage:{type:Boolean,default:!0}},provide:function(){return{vanForm:this}},data:function(){return{fields:[]}},methods:{getFieldsByNames:function(t){return t?this.fields.filter((function(e){return-1!==t.indexOf(e.name)})):this.fields},validateSeq:function(t){var e=this;return new Promise((function(i,n){var r=[];e.getFieldsByNames(t).reduce((function(t,e){return t.then((function(){if(!r.length)return e.validate().then((function(t){t&&r.push(t)}))}))}),Promise.resolve()).then((function(){r.length?n(r):i()}))}))},validateFields:function(t){var e=this;return new Promise((function(i,n){var r=e.getFieldsByNames(t);Promise.all(r.map((function(t){return t.validate()}))).then((function(t){(t=t.filter((function(t){return t}))).length?n(t):i()}))}))},validate:function(t){return t&&!Array.isArray(t)?this.validateField(t):this.validateFirst?this.validateSeq(t):this.validateFields(t)},validateField:function(t){var e=this.fields.filter((function(e){return e.name===t}));return e.length?new Promise((function(t,i){e[0].validate().then((function(e){e?i(e):t()}))})):Promise.reject()},resetValidation:function(t){t&&!Array.isArray(t)&&(t=[t]),this.getFieldsByNames(t).forEach((function(t){t.resetValidation()}))},scrollToField:function(t,e){this.fields.some((function(i){return i.name===t&&(i.$el.scrollIntoView(e),!0)}))},addField:function(t){this.fields.push(t),Be(this.fields,this)},removeField:function(t){this.fields=this.fields.filter((function(e){return e!==t}))},getValues:function(){return this.fields.reduce((function(t,e){return t[e.name]=e.formValue,t}),{})},onSubmit:function(t){t.preventDefault(),this.submit()},submit:function(){var t=this,e=this.getValues();this.validate().then((function(){t.$emit("submit",e)})).catch((function(i){t.$emit("failed",{values:e,errors:i}),t.scrollToError&&t.scrollToField(i[0].name)}))}},render:function(){var t=arguments[0];return t("form",{class:Ls(),on:{submit:this.onSubmit}},[this.slots()])}}),As=Object(l.a)("goods-action-icon"),Ms=As[0],zs=As[1],Fs=Ms({mixins:[Ie("vanGoodsAction")],props:n({},Qt,{dot:Boolean,text:String,icon:String,color:String,info:[Number,String],badge:[Number,String],iconClass:null}),methods:{onClick:function(t){this.$emit("click",t),Yt(this.$router,this)},genIcon:function(){var t,e=this.$createElement,i=this.slots("icon"),n=null!=(t=this.badge)?t:this.info;return i?e("div",{class:zs("icon")},[i,e(J,{attrs:{dot:this.dot,info:n}})]):e(st,{class:[zs("icon"),this.iconClass],attrs:{tag:"div",dot:this.dot,name:this.icon,badge:n,color:this.color}})}},render:function(){var t=arguments[0];return t("div",{attrs:{role:"button",tabindex:"0"},class:zs(),on:{click:this.onClick}},[this.genIcon(),this.slots()||this.text])}}),Vs=Object(l.a)("grid"),Rs=Vs[0],Hs=Vs[1],_s=Rs({mixins:[De("vanGrid")],props:{square:Boolean,gutter:[Number,String],iconSize:[Number,String],direction:String,clickable:Boolean,columnNum:{type:[Number,String],default:4},center:{type:Boolean,default:!0},border:{type:Boolean,default:!0}},computed:{style:function(){var t=this.gutter;if(t)return{paddingLeft:Object(Y.a)(t)}}},render:function(){var t,e=arguments[0];return e("div",{style:this.style,class:[Hs(),(t={},t[Tt]=this.border&&!this.gutter,t)]},[this.slots()])}}),Ws=Object(l.a)("grid-item"),qs=Ws[0],Ks=Ws[1],Us=qs({mixins:[Ie("vanGrid")],props:n({},Qt,{dot:Boolean,text:String,icon:String,iconPrefix:String,info:[Number,String],badge:[Number,String]}),computed:{style:function(){var t=this.parent,e=t.square,i=t.gutter,n=t.columnNum,r=100/n+"%",s={flexBasis:r};if(e)s.paddingTop=r;else if(i){var o=Object(Y.a)(i);s.paddingRight=o,this.index>=n&&(s.marginTop=o)}return s},contentStyle:function(){var t=this.parent,e=t.square,i=t.gutter;if(e&&i){var n=Object(Y.a)(i);return{right:n,bottom:n,height:"auto"}}}},methods:{onClick:function(t){this.$emit("click",t),Yt(this.$router,this)},genIcon:function(){var t,e=this.$createElement,i=this.slots("icon"),n=null!=(t=this.badge)?t:this.info;return i?e("div",{class:Ks("icon-wrapper")},[i,e(J,{attrs:{dot:this.dot,info:n}})]):this.icon?e(st,{attrs:{name:this.icon,dot:this.dot,badge:n,size:this.parent.iconSize,classPrefix:this.iconPrefix},class:Ks("icon")}):void 0},getText:function(){var t=this.$createElement,e=this.slots("text");return e||(this.text?t("span",{class:Ks("text")},[this.text]):void 0)},genContent:function(){var t=this.slots();return t||[this.genIcon(),this.getText()]}},render:function(){var t,e=arguments[0],i=this.parent,n=i.center,r=i.border,s=i.square,o=i.gutter,a=i.direction,l=i.clickable;return e("div",{class:[Ks({square:s})],style:this.style},[e("div",{style:this.contentStyle,attrs:{role:l?"button":null,tabindex:l?0:null},class:[Ks("content",[a,{center:n,square:s,clickable:l,surround:r&&o}]),(t={},t[Ot]=r,t)],on:{click:this.onClick}},[this.genContent()])])}}),Ys=Object(l.a)("image-preview"),Xs=Ys[0],Qs=Ys[1],Gs=Object(l.a)("swipe"),Zs=Gs[0],Js=Gs[1],to=Zs({mixins:[R,De("vanSwipe"),W((function(t,e){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),e?this.initialize():this.clear()}))],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){t>0?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t={transitionDuration:(this.swiping?0:this.duration)+"ms",transform:"translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)"};if(this.size){var e=this.vertical?"height":"width",i=this.vertical?"width":"height";t[e]=this.trackSize+"px",t[i]=this[i]?this[i]+"px":""}return t},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){if(void 0===t&&(t=+this.initialSwipe),this.$el&&!vn(this.$el)){clearTimeout(this.timer);var e={width:this.$el.offsetWidth,height:this.$el.offsetHeight};this.rect=e,this.swiping=!0,this.active=t,this.computedWidth=+this.width||e.width,this.computedHeight=+this.height||e.height,this.offset=this.getTargetOffset(t),this.children.forEach((function(t){t.offset=0})),this.autoPlay()}},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&(k(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){if(this.touchable&&this.swiping){var t=this.size,e=this.delta,i=e/(Date.now()-this.touchStartTime);if((Math.abs(i)>.25||Math.abs(e)>t/2)&&this.isCorrectDirection){var n=this.vertical?this.offsetY:this.offsetX,r=0;r=this.loop?n>0?e>0?-1:1:0:-Math[e>0?"ceil":"floor"](e/t),this.move({pace:r,emitChange:!0})}else e&&this.move({pace:0});this.swiping=!1,this.autoPlay()}},getTargetActive:function(t){var e=this.active,i=this.count,n=this.maxCount;return t?this.loop?Dt(e+t,-1,i):Dt(e+t,0,n):e},getTargetOffset:function(t,e){void 0===e&&(e=0);var i=t*this.size;this.loop||(i=Math.min(i,-this.minOffset));var n=e-i;return this.loop||(n=Dt(n,this.minOffset,0)),n},move:function(t){var e=t.pace,i=void 0===e?0:e,n=t.offset,r=void 0===n?0:n,s=t.emitChange,o=this.loop,a=this.count,l=this.active,c=this.children,u=this.trackSize,h=this.minOffset;if(!(a<=1)){var d=this.getTargetActive(i),f=this.getTargetOffset(d,r);if(o){if(c[0]&&f!==h){var p=f0;c[a-1].offset=m?-u:0}}this.active=d,this.offset=f,s&&d!==l&&this.$emit("change",this.activeIndicator)}},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(Fi.b)((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(Fi.b)((function(){t.swiping=!1,t.move({pace:1,emitChange:!0})}))},swipeTo:function(t,e){var i=this;void 0===e&&(e={}),this.correctPosition(),this.resetTouchStatus(),Object(Fi.b)((function(){var n;n=i.loop&&t===i.count?0===i.active?0:t:t%i.count,e.immediate?Object(Fi.b)((function(){i.swiping=!1})):i.swiping=!1,i.move({pace:n-i.active,emitChange:!0})}))},correctPosition:function(){this.swiping=!0,this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,e=this.autoplay;e>0&&this.count>1&&(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),e))},genIndicator:function(){var t=this,e=this.$createElement,i=this.count,n=this.activeIndicator,r=this.slots("indicator");return r||(this.showIndicators&&i>1?e("div",{class:Js("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(i)).map((function(i,r){return e("i",{class:Js("indicator",{active:r===n}),style:r===n?t.indicatorStyle:null})}))]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:Js()},[t("div",{ref:"track",style:this.trackStyle,class:Js("track",{vertical:this.vertical})},[this.slots()]),this.genIndicator()])}}),eo=Object(l.a)("swipe-item"),io=eo[0],no=eo[1],ro=io({mixins:[Ie("vanSwipe")],data:function(){return{offset:0,inited:!1,mounted:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.mounted=!0}))},computed:{style:function(){var t={},e=this.parent,i=e.size,n=e.vertical;return i&&(t[n?"height":"width"]=i+"px"),this.offset&&(t.transform="translate"+(n?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,e=this.inited,i=this.parent,n=this.mounted;if(!i.lazyRender||e)return!0;if(!n)return!1;var r=i.activeIndicator,s=i.count-1,o=0===r&&i.loop?s:r-1,a=r===s&&i.loop?0:r+1,l=t===r||t===o||t===a;return l&&(this.inited=!0),l}},render:function(){var t=arguments[0];return t("div",{class:no(),style:this.style,on:n({},this.$listeners)},[this.shouldRender&&this.slots()])}});function so(t){return Math.sqrt(Math.pow(t[0].clientX-t[1].clientX,2)+Math.pow(t[0].clientY-t[1].clientY,2))}var oo,ao={mixins:[R],props:{src:String,show:Boolean,active:Number,minZoom:[Number,String],maxZoom:[Number,String],rootWidth:Number,rootHeight:Number},data:function(){return{scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}},computed:{vertical:function(){var t=this.rootWidth,e=this.rootHeight/t;return this.imageRatio>e},imageStyle:function(){var t=this.scale,e={transitionDuration:this.zooming||this.moving?"0s":".3s"};if(1!==t){var i=this.moveX/t,n=this.moveY/t;e.transform="scale("+t+", "+t+") translate("+i+"px, "+n+"px)"}return e},maxMoveX:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight/this.imageRatio:this.rootWidth;return Math.max(0,(this.scale*t-this.rootWidth)/2)}return 0},maxMoveY:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight:this.rootWidth*this.imageRatio;return Math.max(0,(this.scale*t-this.rootHeight)/2)}return 0}},watch:{active:"resetScale",show:function(t){t||this.resetScale()}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{resetScale:function(){this.setScale(1),this.moveX=0,this.moveY=0},setScale:function(t){(t=Dt(t,+this.minZoom,+this.maxZoom))!==this.scale&&(this.scale=t,this.$emit("scale",{scale:this.scale,index:this.active}))},toggleScale:function(){var t=this.scale>1?1:2;this.setScale(t),this.moveX=0,this.moveY=0},onTouchStart:function(t){var e=t.touches,i=this.offsetX,n=void 0===i?0:i;this.touchStart(t),this.touchStartTime=new Date,this.startMoveX=this.moveX,this.startMoveY=this.moveY,this.moving=1===e.length&&1!==this.scale,this.zooming=2===e.length&&!n,this.zooming&&(this.startScale=this.scale,this.startDistance=so(t.touches))},onTouchMove:function(t){var e=t.touches;if(this.touchMove(t),(this.moving||this.zooming)&&k(t,!0),this.moving){var i=this.deltaX+this.startMoveX,n=this.deltaY+this.startMoveY;this.moveX=Dt(i,-this.maxMoveX,this.maxMoveX),this.moveY=Dt(n,-this.maxMoveY,this.maxMoveY)}if(this.zooming&&2===e.length){var r=so(e),s=this.startScale*r/this.startDistance;this.setScale(s)}},onTouchEnd:function(t){var e=!1;(this.moving||this.zooming)&&(e=!0,this.moving&&this.startMoveX===this.moveX&&this.startMoveY===this.moveY&&(e=!1),t.touches.length||(this.zooming&&(this.moveX=Dt(this.moveX,-this.maxMoveX,this.maxMoveX),this.moveY=Dt(this.moveY,-this.maxMoveY,this.maxMoveY),this.zooming=!1),this.moving=!1,this.startMoveX=0,this.startMoveY=0,this.startScale=1,this.scale<1&&this.resetScale())),k(t,e),this.checkTap(),this.resetTouchStatus()},checkTap:function(){var t=this,e=this.offsetX,i=void 0===e?0:e,n=this.offsetY,r=void 0===n?0:n,s=new Date-this.touchStartTime;i<10&&r<10&&s<250&&(this.doubleTapTimer?(clearTimeout(this.doubleTapTimer),this.doubleTapTimer=null,this.toggleScale()):this.doubleTapTimer=setTimeout((function(){t.$emit("close"),t.doubleTapTimer=null}),250))},onLoad:function(t){var e=t.target,i=e.naturalWidth,n=e.naturalHeight;this.imageRatio=n/i}},render:function(){var t=arguments[0],e={loading:function(){return t(vt,{attrs:{type:"spinner"}})}};return t(ro,{class:Qs("swipe-item")},[t(sn,{attrs:{src:this.src,fit:"contain"},class:Qs("image",{vertical:this.vertical}),style:this.imageStyle,scopedSlots:e,on:{load:this.onLoad}})])}},lo=Xs({mixins:[R,U({skipToggleEvent:!0}),W((function(t){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0)}))],props:{className:null,closeable:Boolean,asyncClose:Boolean,showIndicators:Boolean,images:{type:Array,default:function(){return[]}},loop:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},minZoom:{type:[Number,String],default:1/3},maxZoom:{type:[Number,String],default:3},transition:{type:String,default:"van-fade"},showIndex:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:300},startPosition:{type:[Number,String],default:0},overlayClass:{type:String,default:Qs("overlay")},closeIcon:{type:String,default:"clear"},closeOnPopstate:{type:Boolean,default:!0},closeIconPosition:{type:String,default:"top-right"}},data:function(){return{active:0,rootWidth:0,rootHeight:0,doubleClickTimer:null}},mounted:function(){this.resize()},watch:{startPosition:"setActive",value:function(t){var e=this;t?(this.setActive(+this.startPosition),this.$nextTick((function(){e.resize(),e.$refs.swipe.swipeTo(+e.startPosition,{immediate:!0})}))):this.$emit("close",{index:this.active,url:this.images[this.active]})}},methods:{resize:function(){if(this.$el&&this.$el.getBoundingClientRect){var t=this.$el.getBoundingClientRect();this.rootWidth=t.width,this.rootHeight=t.height}},emitClose:function(){this.asyncClose||this.$emit("input",!1)},emitScale:function(t){this.$emit("scale",t)},setActive:function(t){t!==this.active&&(this.active=t,this.$emit("change",t))},genIndex:function(){var t=this.$createElement;if(this.showIndex)return t("div",{class:Qs("index")},[this.slots("index",{index:this.active})||this.active+1+" / "+this.images.length])},genCover:function(){var t=this.$createElement,e=this.slots("cover");if(e)return t("div",{class:Qs("cover")},[e])},genImages:function(){var t=this,e=this.$createElement;return e(to,{ref:"swipe",attrs:{lazyRender:!0,loop:this.loop,duration:this.swipeDuration,initialSwipe:this.startPosition,showIndicators:this.showIndicators,indicatorColor:"white"},class:Qs("swipe"),on:{change:this.setActive}},[this.images.map((function(i){return e(ao,{attrs:{src:i,show:t.value,active:t.active,maxZoom:t.maxZoom,minZoom:t.minZoom,rootWidth:t.rootWidth,rootHeight:t.rootHeight},on:{scale:t.emitScale,close:t.emitClose}})}))])},genClose:function(){var t=this.$createElement;if(this.closeable)return t(st,{attrs:{role:"button",name:this.closeIcon},class:Qs("close-icon",this.closeIconPosition),on:{click:this.emitClose}})},onClosed:function(){this.$emit("closed")},swipeTo:function(t,e){this.$refs.swipe&&this.$refs.swipe.swipeTo(t,e)}},render:function(){var t=arguments[0];return t("transition",{attrs:{name:this.transition},on:{afterLeave:this.onClosed}},[this.shouldRender?t("div",{directives:[{name:"show",value:this.value}],class:[Qs(),this.className]},[this.genClose(),this.genImages(),this.genIndex(),this.genCover()]):null])}}),co={loop:!0,value:!0,images:[],maxZoom:3,minZoom:1/3,onClose:null,onChange:null,className:"",showIndex:!0,closeable:!1,closeIcon:"clear",asyncClose:!1,transition:"van-fade",getContainer:"body",startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"},uo=function(t,e){if(void 0===e&&(e=0),!m.h){oo||(oo=new(a.a.extend(lo))({el:document.createElement("div")}),document.body.appendChild(oo.$el),oo.$on("change",(function(t){oo.onChange&&oo.onChange(t)})),oo.$on("scale",(function(t){oo.onScale&&oo.onScale(t)})));var i=Array.isArray(t)?{images:t,startPosition:e}:t;return n(oo,co,i),oo.$once("input",(function(t){oo.value=t})),oo.$once("closed",(function(){oo.images=[]})),i.onClose&&(oo.$off("close"),oo.$once("close",i.onClose)),oo}};uo.Component=lo,uo.install=function(){a.a.use(lo)};var ho=uo,fo=Object(l.a)("index-anchor"),po=fo[0],mo=fo[1],vo=po({mixins:[Ie("vanIndexBar",{indexKey:"childrenIndex"})],props:{index:[Number,String]},data:function(){return{top:0,left:null,rect:{top:0,height:0},width:null,active:!1}},computed:{sticky:function(){return this.active&&this.parent.sticky},anchorStyle:function(){if(this.sticky)return{zIndex:""+this.parent.zIndex,left:this.left?this.left+"px":null,width:this.width?this.width+"px":null,transform:"translate3d(0, "+this.top+"px, 0)",color:this.parent.highlightColor}}},mounted:function(){var t=this.$el.getBoundingClientRect();this.rect.height=t.height},methods:{scrollIntoView:function(){this.$el.scrollIntoView()},getRect:function(t,e){var i=this.$el.getBoundingClientRect();return this.rect.height=i.height,t===window||t===document.body?this.rect.top=i.top+z():this.rect.top=i.top+A(t)-e.top,this.rect}},render:function(){var t,e=arguments[0],i=this.sticky;return e("div",{style:{height:i?this.rect.height+"px":null}},[e("div",{style:this.anchorStyle,class:[mo({sticky:i}),(t={},t[$t]=i,t)]},[this.slots("default")||this.index])])}});var go=Object(l.a)("index-bar"),bo=go[0],yo=go[1],So=bo({mixins:[R,De("vanIndexBar"),W((function(t){this.scroller||(this.scroller=N(this.$el)),t(this.scroller,"scroll",this.onScroll)}))],props:{zIndex:[Number,String],highlightColor:String,sticky:{type:Boolean,default:!0},stickyOffsetTop:{type:Number,default:0},indexList:{type:Array,default:function(){for(var t=[],e="A".charCodeAt(0),i=0;i<26;i++)t.push(String.fromCharCode(e+i));return t}}},data:function(){return{activeAnchorIndex:null}},computed:{sidebarStyle:function(){if(Object(m.c)(this.zIndex))return{zIndex:this.zIndex+1}},highlightStyle:function(){var t=this.highlightColor;if(t)return{color:t}}},watch:{indexList:function(){this.$nextTick(this.onScroll)},activeAnchorIndex:function(t){t&&this.$emit("change",t)}},methods:{onScroll:function(){var t=this;if(!vn(this.$el)){var e=A(this.scroller),i=this.getScrollerRect(),n=this.children.map((function(e){return e.getRect(t.scroller,i)})),r=this.getActiveAnchorIndex(e,n);this.activeAnchorIndex=this.indexList[r],this.sticky&&this.children.forEach((function(s,o){if(o===r||o===r-1){var a=s.$el.getBoundingClientRect();s.left=a.left,s.width=a.width}else s.left=null,s.width=null;if(o===r)s.active=!0,s.top=Math.max(t.stickyOffsetTop,n[o].top-e)+i.top;else if(o===r-1){var l=n[r].top-e;s.active=l>0,s.top=l+i.top-n[o].height}else s.active=!1}))}},getScrollerRect:function(){return this.scroller.getBoundingClientRect?this.scroller.getBoundingClientRect():{top:0,left:0}},getActiveAnchorIndex:function(t,e){for(var i=this.children.length-1;i>=0;i--){var n=i>0?e[i-1].height:0;if(t+(this.sticky?n+this.stickyOffsetTop:0)>=e[i].top)return i}return-1},onClick:function(t){this.scrollToElement(t.target)},onTouchMove:function(t){if(this.touchMove(t),"vertical"===this.direction){k(t);var e=t.touches[0],i=e.clientX,n=e.clientY,r=document.elementFromPoint(i,n);if(r){var s=r.dataset.index;this.touchActiveIndex!==s&&(this.touchActiveIndex=s,this.scrollToElement(r))}}},scrollTo:function(t){var e=this.children.filter((function(e){return String(e.index)===t}));e[0]&&(e[0].scrollIntoView(),this.sticky&&this.stickyOffsetTop&&F(z()-this.stickyOffsetTop),this.$emit("select",e[0].index))},scrollToElement:function(t){var e=t.dataset.index;this.scrollTo(e)},onTouchEnd:function(){this.active=null}},render:function(){var t=this,e=arguments[0],i=this.indexList.map((function(i){var n=i===t.activeAnchorIndex;return e("span",{class:yo("index",{active:n}),style:n?t.highlightStyle:null,attrs:{"data-index":i}},[i])}));return e("div",{class:yo()},[e("div",{class:yo("sidebar"),style:this.sidebarStyle,on:{click:this.onClick,touchstart:this.touchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}},[i]),this.slots("default")])}}),ko=i(10),xo=i.n(ko).a,wo=Object(l.a)("list"),Co=wo[0],Oo=wo[1],To=wo[2],$o=Co({mixins:[W((function(t){this.scroller||(this.scroller=N(this.$el)),t(this.scroller,"scroll",this.check)}))],model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:[Number,String],default:300},direction:{type:String,default:"down"}},data:function(){return{innerLoading:this.loading}},updated:function(){this.innerLoading=this.loading},mounted:function(){this.immediateCheck&&this.check()},watch:{loading:"check",finished:"check"},methods:{check:function(){var t=this;this.$nextTick((function(){if(!(t.innerLoading||t.finished||t.error)){var e,i=t.$el,n=t.scroller,r=t.offset,s=t.direction;if(!((e=n.getBoundingClientRect?n.getBoundingClientRect():{top:0,bottom:n.innerHeight}).bottom-e.top)||vn(i))return!1;var o=t.$refs.placeholder.getBoundingClientRect();("up"===s?e.top-o.top<=r:o.bottom-e.bottom<=r)&&(t.innerLoading=!0,t.$emit("input",!0),t.$emit("load"))}}))},clickErrorText:function(){this.$emit("update:error",!1),this.check()},genLoading:function(){var t=this.$createElement;if(this.innerLoading&&!this.finished)return t("div",{key:"loading",class:Oo("loading")},[this.slots("loading")||t(vt,{attrs:{size:"16"}},[this.loadingText||To("loading")])])},genFinishedText:function(){var t=this.$createElement;if(this.finished){var e=this.slots("finished")||this.finishedText;if(e)return t("div",{class:Oo("finished-text")},[e])}},genErrorText:function(){var t=this.$createElement;if(this.error){var e=this.slots("error")||this.errorText;if(e)return t("div",{on:{click:this.clickErrorText},class:Oo("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",key:"placeholder",class:Oo("placeholder")});return t("div",{class:Oo(),attrs:{role:"feed","aria-busy":this.innerLoading}},["down"===this.direction?this.slots():e,this.genLoading(),this.genFinishedText(),this.genErrorText(),"up"===this.direction?this.slots():e])}}),Bo=i(7),Io=Object(l.a)("nav-bar"),Do=Io[0],Eo=Io[1],jo=Do({props:{title:String,fixed:Boolean,zIndex:[Number,String],leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,border:{type:Boolean,default:!0}},data:function(){return{height:null}},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.navBar.getBoundingClientRect().height)},methods:{genLeft:function(){var t=this.$createElement,e=this.slots("left");return e||[this.leftArrow&&t(st,{class:Eo("arrow"),attrs:{name:"arrow-left"}}),this.leftText&&t("span",{class:Eo("text")},[this.leftText])]},genRight:function(){var t=this.$createElement,e=this.slots("right");return e||(this.rightText?t("span",{class:Eo("text")},[this.rightText]):void 0)},genNavBar:function(){var t,e=this.$createElement;return e("div",{ref:"navBar",style:{zIndex:this.zIndex},class:[Eo({fixed:this.fixed,"safe-area-inset-top":this.safeAreaInsetTop}),(t={},t[$t]=this.border,t)]},[e("div",{class:Eo("content")},[this.hasLeft()&&e("div",{class:Eo("left"),on:{click:this.onClickLeft}},[this.genLeft()]),e("div",{class:[Eo("title"),"van-ellipsis"]},[this.slots("title")||this.title]),this.hasRight()&&e("div",{class:Eo("right"),on:{click:this.onClickRight}},[this.genRight()])])])},hasLeft:function(){return this.leftArrow||this.leftText||this.slots("left")},hasRight:function(){return this.rightText||this.slots("right")},onClickLeft:function(t){this.$emit("click-left",t)},onClickRight:function(t){this.$emit("click-right",t)}},render:function(){var t=arguments[0];return this.placeholder&&this.fixed?t("div",{class:Eo("placeholder"),style:{height:this.height+"px"}},[this.genNavBar()]):this.genNavBar()}}),Po=Object(l.a)("notice-bar"),Lo=Po[0],No=Po[1],Ao=Lo({mixins:[W((function(t){t(window,"pageshow",this.start)}))],props:{text:String,mode:String,color:String,leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null},delay:{type:[Number,String],default:1},speed:{type:[Number,String],default:60}},data:function(){return{show:!0,offset:0,duration:0,wrapWidth:0,contentWidth:0}},watch:{scrollable:"start",text:{handler:"start",immediate:!0}},activated:function(){this.start()},methods:{onClickIcon:function(t){"closeable"===this.mode&&(this.show=!1,this.$emit("close",t))},onTransitionEnd:function(){var t=this;this.offset=this.wrapWidth,this.duration=0,Object(Fi.c)((function(){Object(Fi.b)((function(){t.offset=-t.contentWidth,t.duration=(t.contentWidth+t.wrapWidth)/t.speed,t.$emit("replay")}))}))},reset:function(){this.offset=0,this.duration=0,this.wrapWidth=0,this.contentWidth=0},start:function(){var t=this,e=Object(m.c)(this.delay)?1e3*this.delay:0;this.reset(),clearTimeout(this.startTimer),this.startTimer=setTimeout((function(){var e=t.$refs,i=e.wrap,n=e.content;if(i&&n&&!1!==t.scrollable){var r=i.getBoundingClientRect().width,s=n.getBoundingClientRect().width;(t.scrollable||s>r)&&Object(Fi.b)((function(){t.offset=-s,t.duration=s/t.speed,t.wrapWidth=r,t.contentWidth=s}))}}),e)}},render:function(){var t=this,e=arguments[0],i=this.slots,n=this.mode,r=this.leftIcon,s=this.onClickIcon,o={color:this.color,background:this.background},a={transform:this.offset?"translateX("+this.offset+"px)":"",transitionDuration:this.duration+"s"};function l(){var t=i("left-icon");return t||(r?e(st,{class:No("left-icon"),attrs:{name:r}}):void 0)}function c(){var t,r=i("right-icon");return r||("closeable"===n?t="cross":"link"===n&&(t="arrow"),t?e(st,{class:No("right-icon"),attrs:{name:t},on:{click:s}}):void 0)}return e("div",{attrs:{role:"alert"},directives:[{name:"show",value:this.show}],class:No({wrapable:this.wrapable}),style:o,on:{click:function(e){t.$emit("click",e)}}},[l(),e("div",{ref:"wrap",class:No("wrap"),attrs:{role:"marquee"}},[e("div",{ref:"content",class:[No("content"),{"van-ellipsis":!1===this.scrollable&&!this.wrapable}],style:a,on:{transitionend:this.onTransitionEnd}},[this.slots()||this.text])]),c()])}}),Mo=Object(l.a)("notify"),zo=Mo[0],Fo=Mo[1];function Vo(t,e,i,n){var r={color:e.color,background:e.background};return t(ct,s()([{attrs:{value:e.value,position:"top",overlay:!1,duration:.2,lockScroll:!1},style:r,class:[Fo([e.type]),e.className]},h(n,!0)]),[(null==i.default?void 0:i.default())||e.message])}Vo.props=n({},K,{color:String,message:[Number,String],duration:[Number,String],className:null,background:String,getContainer:[String,Function],type:{type:String,default:"danger"}});var Ro,Ho,_o=zo(Vo);function Wo(t){var e;if(!m.h)return Ho||(Ho=f(_o,{on:{click:function(t){Ho.onClick&&Ho.onClick(t)},close:function(){Ho.onClose&&Ho.onClose()},opened:function(){Ho.onOpened&&Ho.onOpened()}}})),t=n({},Wo.currentOptions,(e=t,Object(m.f)(e)?e:{message:e})),n(Ho,t),clearTimeout(Ro),t.duration&&t.duration>0&&(Ro=setTimeout(Wo.clear,t.duration)),Ho}Wo.clear=function(){Ho&&(Ho.value=!1)},Wo.currentOptions={type:"danger",value:!0,message:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:null,onClick:null,onOpened:null},Wo.setDefaultOptions=function(t){n(Wo.currentOptions,t)},Wo.resetDefaultOptions=function(){Wo.currentOptions={type:"danger",value:!0,message:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:null,onClick:null,onOpened:null}},Wo.install=function(){a.a.use(_o)},Wo.Component=_o,a.a.prototype.$notify=Wo;var qo=Wo,Ko={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 32 22",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M28.016 0A3.991 3.991 0 0132 3.987v14.026c0 2.2-1.787 3.987-3.98 3.987H10.382c-.509 0-.996-.206-1.374-.585L.89 13.09C.33 12.62 0 11.84 0 11.006c0-.86.325-1.62.887-2.08L9.01.585A1.936 1.936 0 0110.383 0zm0 1.947H10.368L2.24 10.28c-.224.226-.312.432-.312.73 0 .287.094.51.312.729l8.128 8.333h17.648a2.041 2.041 0 002.037-2.04V3.987c0-1.127-.915-2.04-2.037-2.04zM23.028 6a.96.96 0 01.678.292.95.95 0 01-.003 1.377l-3.342 3.348 3.326 3.333c.189.188.292.43.292.679 0 .248-.103.49-.292.679a.96.96 0 01-.678.292.959.959 0 01-.677-.292L18.99 12.36l-3.343 3.345a.96.96 0 01-.677.292.96.96 0 01-.678-.292.962.962 0 01-.292-.68c0-.248.104-.49.292-.679l3.342-3.348-3.342-3.348A.963.963 0 0114 6.971c0-.248.104-.49.292-.679A.96.96 0 0114.97 6a.96.96 0 01.677.292l3.358 3.348 3.345-3.348A.96.96 0 0123.028 6z",fill:"currentColor"}})])}},Uo={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 30 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M25.877 12.843h-1.502c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.5c.187 0 .187 0 .187-.188v-1.511c0-.19 0-.191-.185-.191zM17.999 10.2c0 .188 0 .188.188.188h1.687c.188 0 .188 0 .188-.188V8.688c0-.187.004-.187-.186-.19h-1.69c-.187 0-.187 0-.187.19V10.2zm2.25-3.967h1.5c.188 0 .188 0 .188-.188v-1.7c0-.19 0-.19-.188-.19h-1.5c-.189 0-.189 0-.189.19v1.7c0 .188 0 .188.19.188zm2.063 4.157h3.563c.187 0 .187 0 .187-.189V4.346c0-.19.004-.19-.185-.19h-1.69c-.187 0-.187 0-.187.188v4.155h-1.688c-.187 0-.187 0-.187.189v1.514c0 .19 0 .19.187.19zM14.812 24l2.812-3.4H12l2.813 3.4zm-9-11.157H4.31c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.502c.187 0 .187 0 .187-.188v-1.511c0-.19.01-.191-.189-.191zm15.937 0H8.25c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h13.5c.188 0 .188 0 .188-.188v-1.511c0-.19 0-.191-.188-.191zm-11.438-2.454h1.5c.188 0 .188 0 .188-.188V8.688c0-.187 0-.187-.188-.189h-1.5c-.187 0-.187 0-.187.189V10.2c0 .188 0 .188.187.188zM27.94 0c.563 0 .917.21 1.313.567.518.466.748.757.748 1.51v14.92c0 .567-.188 1.134-.562 1.512-.376.378-.938.566-1.313.566H2.063c-.563 0-.938-.188-1.313-.566-.562-.378-.75-.945-.75-1.511V2.078C0 1.51.188.944.562.567.938.189 1.5 0 1.875 0zm-.062 2H2v14.92h25.877V2zM5.81 4.157c.19 0 .19 0 .19.189v1.762c-.003.126-.024.126-.188.126H4.249c-.126-.003-.126-.023-.126-.188v-1.7c-.187-.19 0-.19.188-.19zm10.5 2.077h1.503c.187 0 .187 0 .187-.188v-1.7c0-.19 0-.19-.187-.19h-1.502c-.188 0-.188.001-.188.19v1.7c0 .188 0 .188.188.188zM7.875 8.5c.187 0 .187.002.187.189V10.2c0 .188 0 .188-.187.188H4.249c-.126-.002-.126-.023-.126-.188V8.625c.003-.126.024-.126.188-.126zm7.875 0c.19.002.19.002.19.189v1.575c-.003.126-.024.126-.19.126h-1.563c-.126-.002-.126-.023-.126-.188V8.625c.002-.126.023-.126.189-.126zm-6-4.342c.187 0 .187 0 .187.189v1.7c0 .188 0 .188-.187.188H8.187c-.126-.003-.126-.023-.126-.188V4.283c.003-.126.024-.126.188-.126zm3.94 0c.185 0 .372 0 .372.189v1.762c-.002.126-.023.126-.187.126h-1.75C12 6.231 12 6.211 12 6.046v-1.7c0-.19.187-.19.187-.19z",fill:"currentColor"}})])}},Yo=Object(l.a)("key"),Xo=Yo[0],Qo=Yo[1],Go=Xo({mixins:[R],props:{type:String,text:[Number,String],color:String,wider:Boolean,large:Boolean,loading:Boolean},data:function(){return{active:!1}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{onTouchStart:function(t){t.stopPropagation(),this.touchStart(t),this.active=!0},onTouchMove:function(t){this.touchMove(t),this.direction&&(this.active=!1)},onTouchEnd:function(t){this.active&&(this.slots("default")||t.preventDefault(),this.active=!1,this.$emit("press",this.text,this.type))},genContent:function(){var t=this.$createElement,e="extra"===this.type,i="delete"===this.type,n=this.slots("default")||this.text;return this.loading?t(vt,{class:Qo("loading-icon")}):i?n||t(Ko,{class:Qo("delete-icon")}):e?n||t(Uo,{class:Qo("collapse-icon")}):n}},render:function(){var t=arguments[0];return t("div",{class:Qo("wrapper",{wider:this.wider})},[t("div",{attrs:{role:"button",tabindex:"0"},class:Qo([this.color,{large:this.large,active:this.active,delete:"delete"===this.type}])},[this.genContent()])])}}),Zo=Object(l.a)("number-keyboard"),Jo=Zo[0],ta=Zo[1],ea=Jo({mixins:[H(),W((function(t){this.hideOnClickOutside&&t(document.body,"touchstart",this.onBlur)}))],model:{event:"update:value"},props:{show:Boolean,title:String,zIndex:[Number,String],randomKeyOrder:Boolean,closeButtonText:String,deleteButtonText:String,closeButtonLoading:Boolean,theme:{type:String,default:"default"},value:{type:String,default:""},extraKey:{type:[String,Array],default:""},maxlength:{type:[Number,String],default:Number.MAX_VALUE},transition:{type:Boolean,default:!0},showDeleteKey:{type:Boolean,default:!0},hideOnClickOutside:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0}},watch:{show:function(t){this.transition||this.$emit(t?"show":"hide")}},computed:{keys:function(){return"custom"===this.theme?this.genCustomKeys():this.genDefaultKeys()}},methods:{genBasicKeys:function(){for(var t=[],e=1;e<=9;e++)t.push({text:e});return this.randomKeyOrder&&t.sort((function(){return Math.random()>.5?1:-1})),t},genDefaultKeys:function(){return[].concat(this.genBasicKeys(),[{text:this.extraKey,type:"extra"},{text:0},{text:this.showDeleteKey?this.deleteButtonText:"",type:this.showDeleteKey?"delete":""}])},genCustomKeys:function(){var t=this.genBasicKeys(),e=this.extraKey,i=Array.isArray(e)?e:[e];return 1===i.length?t.push({text:0,wider:!0},{text:i[0],type:"extra"}):2===i.length&&t.push({text:i[0],type:"extra"},{text:0},{text:i[1],type:"extra"}),t},onBlur:function(){this.show&&this.$emit("blur")},onClose:function(){this.$emit("close"),this.onBlur()},onAnimationEnd:function(){this.$emit(this.show?"show":"hide")},onPress:function(t,e){if(""!==t){var i=this.value;"delete"===e?(this.$emit("delete"),this.$emit("update:value",i.slice(0,i.length-1))):"close"===e?this.onClose():i.lengthe&&(n=(r=e)-i+1);for(var o=n;o<=r;o++){var a=oa(o,o,o===this.value);t.push(a)}if(s&&i>0&&this.forceEllipses){if(n>1){var l=oa(n-1,"...",!1);t.unshift(l)}if(r=0&&t<=100}},showPivot:{type:Boolean,default:!0}},data:function(){return{pivotWidth:0,progressWidth:0}},mounted:function(){this.resize()},watch:{showPivot:"resize",pivotText:"resize"},methods:{resize:function(){var t=this;this.$nextTick((function(){t.progressWidth=t.$el.offsetWidth,t.pivotWidth=t.$refs.pivot?t.$refs.pivot.offsetWidth:0}))}},render:function(){var t=arguments[0],e=this.pivotText,i=this.percentage,n=null!=e?e:i+"%",r=this.showPivot&&n,s=this.inactive?"#cacaca":this.color,o={color:this.textColor,left:(this.progressWidth-this.pivotWidth)*i/100+"px",background:this.pivotColor||s},a={background:s,width:this.progressWidth*i/100+"px"},l={background:this.trackColor,height:Object(Y.a)(this.strokeWidth)};return t("div",{class:Oa(),style:l},[t("span",{class:Oa("portion"),style:a},[r&&t("span",{ref:"pivot",style:o,class:Oa("pivot")},[n])])])}}),$a=Object(l.a)("pull-refresh"),Ba=$a[0],Ia=$a[1],Da=$a[2],Ea=["pulling","loosing","success"],ja=Ba({mixins:[R],props:{disabled:Boolean,successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:[Number,String],value:{type:Boolean,required:!0},successDuration:{type:[Number,String],default:500},animationDuration:{type:[Number,String],default:300},headHeight:{type:[Number,String],default:50}},data:function(){return{status:"normal",distance:0,duration:0}},computed:{touchable:function(){return"loading"!==this.status&&"success"!==this.status&&!this.disabled},headStyle:function(){if(50!==this.headHeight)return{height:this.headHeight+"px"}}},watch:{value:function(t){this.duration=this.animationDuration,t?this.setStatus(+this.headHeight,!0):this.slots("success")||this.successText?this.showSuccessTip():this.setStatus(0,!1)}},mounted:function(){this.bindTouchEvent(this.$refs.track),this.scrollEl=N(this.$el)},methods:{checkPullStart:function(t){this.ceiling=0===A(this.scrollEl),this.ceiling&&(this.duration=0,this.touchStart(t))},onTouchStart:function(t){this.touchable&&this.checkPullStart(t)},onTouchMove:function(t){this.touchable&&(this.ceiling||this.checkPullStart(t),this.touchMove(t),this.ceiling&&this.deltaY>=0&&"vertical"===this.direction&&(k(t),this.setStatus(this.ease(this.deltaY))))},onTouchEnd:function(){var t=this;this.touchable&&this.ceiling&&this.deltaY&&(this.duration=this.animationDuration,"loosing"===this.status?(this.setStatus(+this.headHeight,!0),this.$emit("input",!0),this.$nextTick((function(){t.$emit("refresh")}))):this.setStatus(0))},ease:function(t){var e=+(this.pullDistance||this.headHeight);return t>e&&(t=t<2*e?e+(t-e)/2:1.5*e+(t-2*e)/4),Math.round(t)},setStatus:function(t,e){var i;i=e?"loading":0===t?"normal":t<(this.pullDistance||this.headHeight)?"pulling":"loosing",this.distance=t,i!==this.status&&(this.status=i)},genStatus:function(){var t=this.$createElement,e=this.status,i=this.distance,n=this.slots(e,{distance:i});if(n)return n;var r=[],s=this[e+"Text"]||Da(e);return-1!==Ea.indexOf(e)&&r.push(t("div",{class:Ia("text")},[s])),"loading"===e&&r.push(t(vt,{attrs:{size:"16"}},[s])),r},showSuccessTip:function(){var t=this;this.status="success",setTimeout((function(){t.setStatus(0)}),this.successDuration)}},render:function(){var t=arguments[0],e={transitionDuration:this.duration+"ms",transform:this.distance?"translate3d(0,"+this.distance+"px, 0)":""};return t("div",{class:Ia()},[t("div",{ref:"track",class:Ia("track"),style:e},[t("div",{class:Ia("head"),style:this.headStyle},[this.genStatus()]),this.slots()])])}}),Pa=Object(l.a)("rate"),La=Pa[0],Na=Pa[1];var Aa=La({mixins:[R,ti],props:{size:[Number,String],color:String,gutter:[Number,String],readonly:Boolean,disabled:Boolean,allowHalf:Boolean,voidColor:String,iconPrefix:String,disabledColor:String,value:{type:Number,default:0},icon:{type:String,default:"star"},voidIcon:{type:String,default:"star-o"},count:{type:[Number,String],default:5},touchable:{type:Boolean,default:!0}},computed:{list:function(){for(var t,e,i,n=[],r=1;r<=this.count;r++)n.push((t=this.value,e=r,i=this.allowHalf,t>=e?"full":t+.5>=e&&i?"half":"void"));return n},sizeWithUnit:function(){return Object(Y.a)(this.size)},gutterWithUnit:function(){return Object(Y.a)(this.gutter)}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{select:function(t){this.disabled||this.readonly||t===this.value||(this.$emit("input",t),this.$emit("change",t))},onTouchStart:function(t){var e=this;if(!this.readonly&&!this.disabled&&this.touchable){this.touchStart(t);var i=this.$refs.items.map((function(t){return t.getBoundingClientRect()})),n=[];i.forEach((function(t,i){e.allowHalf?n.push({score:i+.5,left:t.left},{score:i+1,left:t.left+t.width/2}):n.push({score:i+1,left:t.left})})),this.ranges=n}},onTouchMove:function(t){if(!this.readonly&&!this.disabled&&this.touchable&&(this.touchMove(t),"horizontal"===this.direction)){k(t);var e=t.touches[0].clientX;this.select(this.getScoreByPosition(e))}},getScoreByPosition:function(t){for(var e=this.ranges.length-1;e>0;e--)if(t>this.ranges[e].left)return this.ranges[e].score;return this.allowHalf?.5:1},genStar:function(t,e){var i,n=this,r=this.$createElement,s=this.icon,o=this.color,a=this.count,l=this.voidIcon,c=this.disabled,u=this.voidColor,h=this.disabledColor,d=e+1,f="full"===t,p="void"===t;return this.gutterWithUnit&&d!==+a&&(i={paddingRight:this.gutterWithUnit}),r("div",{ref:"items",refInFor:!0,key:e,attrs:{role:"radio",tabindex:"0","aria-setsize":a,"aria-posinset":d,"aria-checked":String(!p)},style:i,class:Na("item")},[r(st,{attrs:{size:this.sizeWithUnit,name:f?s:l,color:c?h:f?o:u,classPrefix:this.iconPrefix,"data-score":d},class:Na("icon",{disabled:c,full:f}),on:{click:function(){n.select(d)}}}),this.allowHalf&&r(st,{attrs:{size:this.sizeWithUnit,name:p?l:s,color:c?h:p?u:o,classPrefix:this.iconPrefix,"data-score":d-.5},class:Na("icon",["half",{disabled:c,full:!p}]),on:{click:function(){n.select(d-.5)}}})])}},render:function(){var t=this,e=arguments[0];return e("div",{class:Na({readonly:this.readonly,disabled:this.disabled}),attrs:{tabindex:"0",role:"radiogroup"}},[this.list.map((function(e,i){return t.genStar(e,i)}))])}}),Ma=Object(l.a)("row"),za=Ma[0],Fa=Ma[1],Va=za({mixins:[De("vanRow")],props:{type:String,align:String,justify:String,tag:{type:String,default:"div"},gutter:{type:[Number,String],default:0}},computed:{spaces:function(){var t=Number(this.gutter);if(t){var e=[],i=[[]],n=0;return this.children.forEach((function(t,e){(n+=Number(t.span))>24?(i.push([e]),n-=24):i[i.length-1].push(e)})),i.forEach((function(i){var n=t*(i.length-1)/i.length;i.forEach((function(i,r){if(0===r)e.push({right:n});else{var s=t-e[i-1].right,o=n-s;e.push({left:s,right:o})}}))})),e}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=arguments[0],i=this.align,n=this.justify,r="flex"===this.type;return e(this.tag,{class:Fa((t={flex:r},t["align-"+i]=r&&i,t["justify-"+n]=r&&n,t)),on:{click:this.onClick}},[this.slots()])}}),Ra=Object(l.a)("search"),Ha=Ra[0],_a=Ra[1],Wa=Ra[2];function qa(t,e,i,r){var o={attrs:r.data.attrs,on:n({},r.listeners,{keypress:function(t){13===t.keyCode&&(k(t),d(r,"search",e.value)),d(r,"keypress",t)}})},a=h(r);return a.attrs=void 0,t("div",s()([{class:_a({"show-action":e.showAction}),style:{background:e.background}},a]),[null==i.left?void 0:i.left(),t("div",{class:_a("content",e.shape)},[function(){if(i.label||e.label)return t("div",{class:_a("label")},[i.label?i.label():e.label])}(),t(le,s()([{attrs:{type:"search",border:!1,value:e.value,leftIcon:e.leftIcon,rightIcon:e.rightIcon,clearable:e.clearable,clearTrigger:e.clearTrigger},scopedSlots:{"left-icon":i["left-icon"],"right-icon":i["right-icon"]}},o]))]),function(){if(e.showAction)return t("div",{class:_a("action"),attrs:{role:"button",tabindex:"0"},on:{click:function(){i.action||(d(r,"input",""),d(r,"cancel"))}}},[i.action?i.action():e.actionText||Wa("cancel")])}()])}qa.props={value:String,label:String,rightIcon:String,actionText:String,background:String,showAction:Boolean,clearTrigger:String,shape:{type:String,default:"square"},clearable:{type:Boolean,default:!0},leftIcon:{type:String,default:"search"}};var Ka=Ha(qa),Ua=["qq","link","weibo","wechat","poster","qrcode","weapp-qrcode","wechat-moments"],Ya=Object(l.a)("share-sheet"),Xa=Ya[0],Qa=Ya[1],Ga=Ya[2],Za=Xa({props:n({},K,{title:String,duration:String,cancelText:String,description:String,getContainer:[String,Function],options:{type:Array,default:function(){return[]}},overlay:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}}),methods:{onCancel:function(){this.toggle(!1),this.$emit("cancel")},onSelect:function(t,e){this.$emit("select",t,e)},toggle:function(t){this.$emit("input",t)},getIconURL:function(t){return-1!==Ua.indexOf(t)?"https://img01.yzcdn.cn/vant/share-sheet-"+t+".png":t},genHeader:function(){var t=this.$createElement,e=this.slots("title")||this.title,i=this.slots("description")||this.description;if(e||i)return t("div",{class:Qa("header")},[e&&t("h2",{class:Qa("title")},[e]),i&&t("span",{class:Qa("description")},[i])])},genOptions:function(t,e){var i=this,n=this.$createElement;return n("div",{class:Qa("options",{border:e})},[t.map((function(t,e){return n("div",{attrs:{role:"button",tabindex:"0"},class:[Qa("option"),t.className],on:{click:function(){i.onSelect(t,e)}}},[n("img",{attrs:{src:i.getIconURL(t.icon)},class:Qa("icon")}),t.name&&n("span",{class:Qa("name")},[t.name]),t.description&&n("span",{class:Qa("option-description")},[t.description])])}))])},genRows:function(){var t=this,e=this.options;return Array.isArray(e[0])?e.map((function(e,i){return t.genOptions(e,0!==i)})):this.genOptions(e)},genCancelText:function(){var t,e=this.$createElement,i=null!=(t=this.cancelText)?t:Ga("cancel");if(i)return e("button",{attrs:{type:"button"},class:Qa("cancel"),on:{click:this.onCancel}},[i])},onClickOverlay:function(){this.$emit("click-overlay")}},render:function(){var t=arguments[0];return t(ct,{attrs:{round:!0,value:this.value,position:"bottom",overlay:this.overlay,duration:this.duration,lazyRender:this.lazyRender,lockScroll:this.lockScroll,getContainer:this.getContainer,closeOnPopstate:this.closeOnPopstate,closeOnClickOverlay:this.closeOnClickOverlay,safeAreaInsetBottom:this.safeAreaInsetBottom},class:Qa(),on:{input:this.toggle,"click-overlay":this.onClickOverlay}},[this.genHeader(),this.genRows(),this.genCancelText()])}}),Ja=Object(l.a)("sidebar"),tl=Ja[0],el=Ja[1],il=tl({mixins:[De("vanSidebar")],model:{prop:"activeKey"},props:{activeKey:{type:[Number,String],default:0}},data:function(){return{index:+this.activeKey}},watch:{activeKey:function(){this.setIndex(+this.activeKey)}},methods:{setIndex:function(t){t!==this.index&&(this.index=t,this.$emit("change",t))}},render:function(){var t=arguments[0];return t("div",{class:el()},[this.slots()])}}),nl=Object(l.a)("sidebar-item"),rl=nl[0],sl=nl[1],ol=rl({mixins:[Ie("vanSidebar")],props:n({},Qt,{dot:Boolean,info:[Number,String],badge:[Number,String],title:String,disabled:Boolean}),computed:{select:function(){return this.index===+this.parent.activeKey}},methods:{onClick:function(){this.disabled||(this.$emit("click",this.index),this.parent.$emit("input",this.index),this.parent.setIndex(this.index),Yt(this.$router,this))}},render:function(){var t,e,i=arguments[0];return i("a",{class:sl({select:this.select,disabled:this.disabled}),on:{click:this.onClick}},[i("div",{class:sl("text")},[null!=(t=this.slots("title"))?t:this.title,i(J,{attrs:{dot:this.dot,info:null!=(e=this.badge)?e:this.info},class:sl("info")})])])}}),al=Object(l.a)("skeleton"),ll=al[0],cl=al[1];function ul(t,e,i,n){if(!e.loading)return i.default&&i.default();return t("div",s()([{class:cl({animate:e.animate,round:e.round})},h(n)]),[function(){if(e.avatar){var i=Object(Y.a)(e.avatarSize);return t("div",{class:cl("avatar",e.avatarShape),style:{width:i,height:i}})}}(),t("div",{class:cl("content")},[function(){if(e.title)return t("h3",{class:cl("title"),style:{width:Object(Y.a)(e.titleWidth)}})}(),function(){for(var i,n=[],r=e.rowWidth,s=0;s0},yl=function(t,e){var i=function(t){var e={};return t.forEach((function(t){var i={};t.v.forEach((function(t){i[t.id]=t})),e[t.k_id]=i})),e}(t);return Object.keys(e).reduce((function(t,r){return e[r].forEach((function(e){t.push(n({},i[r][e]))})),t}),[])},Sl=function(t,e){var i=[];return(t||[]).forEach((function(t){if(e[t.k_id]&&e[t.k_id].length>0){var r=[];t.v.forEach((function(i){e[t.k_id].indexOf(i.id)>-1&&r.push(n({},i))})),i.push(n({},t,{v:r}))}})),i},kl={normalizeSkuTree:pl,getSkuComb:vl,getSelectedSkuValues:gl,isAllSelected:ml,isSkuChoosable:bl,getSelectedPropValues:yl,getSelectedProperties:Sl},xl=Object(l.a)("sku-header"),wl=xl[0],Cl=xl[1];function Ol(t,e,i,r){var o,a=e.sku,l=e.goods,c=e.skuEventBus,u=e.selectedSku,d=e.showHeaderImage,f=void 0===d||d,p=function(t,e){var i;return t.tree.some((function(t){var r=e[t.k_s];if(r&&t.v){var s=t.v.filter((function(t){return t.id===r}))[0]||{},o=s.previewImgUrl||s.imgUrl||s.img_url;if(o)return i=n({},s,{ks:t.k_s,imgUrl:o}),!0}return!1})),i}(a,u),m=p?p.imgUrl:l.picture;return t("div",s()([{class:[Cl(),$t]},h(r)]),[f&&t(sn,{attrs:{fit:"cover",src:m},class:Cl("img-wrap"),on:{click:function(){c.$emit("sku:previewImage",p)}}},[null==(o=i["sku-header-image-extra"])?void 0:o.call(i)]),t("div",{class:Cl("goods-info")},[null==i.default?void 0:i.default()])])}Ol.props={sku:Object,goods:Object,skuEventBus:Object,selectedSku:Object,showHeaderImage:Boolean};var Tl=wl(Ol),$l=Object(l.a)("sku-header-item"),Bl=$l[0],Il=$l[1];var Dl=Bl((function(t,e,i,n){return t("div",s()([{class:Il()},h(n)]),[i.default&&i.default()])})),El=Object(l.a)("sku-row"),jl=El[0],Pl=El[1],Ll=El[2],Nl=jl({mixins:[De("vanSkuRows"),W((function(t){this.scrollable&&this.$refs.scroller&&t(this.$refs.scroller,"scroll",this.onScroll)}))],props:{skuRow:Object},data:function(){return{progress:0}},computed:{scrollable:function(){return this.skuRow.largeImageMode&&this.skuRow.v.length>6}},methods:{onScroll:function(){var t=this.$refs,e=t.scroller,i=t.row.offsetWidth-e.offsetWidth;this.progress=e.scrollLeft/i},genTitle:function(){var t=this.$createElement;return t("div",{class:Pl("title")},[this.skuRow.k,this.skuRow.is_multiple&&t("span",{class:Pl("title-multiple")},["(",Ll("multiple"),")"])])},genIndicator:function(){var t=this.$createElement;if(this.scrollable){var e={transform:"translate3d("+20*this.progress+"px, 0, 0)"};return t("div",{class:Pl("indicator-wrapper")},[t("div",{class:Pl("indicator")},[t("div",{class:Pl("indicator-slider"),style:e})])])}},genContent:function(){var t=this.$createElement,e=this.slots();if(this.skuRow.largeImageMode){var i=[],n=[];return e.forEach((function(t,e){(Math.floor(e/3)%2==0?i:n).push(t)})),t("div",{class:Pl("scroller"),ref:"scroller"},[t("div",{class:Pl("row"),ref:"row"},[i]),n.length?t("div",{class:Pl("row")},[n]):null])}return e},centerItem:function(t){if(this.skuRow.largeImageMode&&t){var e=this.children,i=void 0===e?[]:e,n=this.$refs,r=n.scroller,s=n.row,o=i.find((function(e){return+e.skuValue.id==+t}));if(r&&s&&o&&o.$el){var a=o.$el,l=a.offsetLeft-(r.offsetWidth-a.offsetWidth)/2;r.scrollLeft=l}}}},render:function(){var t=arguments[0];return t("div",{class:[Pl(),$t]},[this.genTitle(),this.genContent(),this.genIndicator()])}}),Al=(0,Object(l.a)("sku-row-item")[0])({mixins:[Ie("vanSkuRows")],props:{lazyLoad:Boolean,skuValue:Object,skuKeyStr:String,skuEventBus:Object,selectedSku:Object,largeImageMode:Boolean,disableSoldoutSku:Boolean,skuList:{type:Array,default:function(){return[]}}},computed:{imgUrl:function(){var t=this.skuValue.imgUrl||this.skuValue.img_url;return this.largeImageMode?t||"https://img01.yzcdn.cn/upload_files/2020/06/24/FmKWDg0bN9rMcTp9ne8MXiQWGtLn.png":t},choosable:function(){return!this.disableSoldoutSku||bl(this.skuList,this.selectedSku,{key:this.skuKeyStr,valueId:this.skuValue.id})}},methods:{onSelect:function(){this.choosable&&this.skuEventBus.$emit("sku:select",n({},this.skuValue,{skuKeyStr:this.skuKeyStr}))},onPreviewImg:function(t){t.stopPropagation();var e=this.skuValue,i=this.skuKeyStr;this.skuEventBus.$emit("sku:previewImage",n({},e,{ks:i,imgUrl:e.imgUrl||e.img_url}))},genImage:function(t){var e=this.$createElement;if(this.imgUrl)return e(sn,{attrs:{fit:"cover",src:this.imgUrl,lazyLoad:this.lazyLoad},class:t+"-img"})}},render:function(){var t=arguments[0],e=this.skuValue.id===this.selectedSku[this.skuKeyStr],i=this.largeImageMode?Pl("image-item"):Pl("item");return t("span",{class:[i,e?i+"--active":"",this.choosable?"":i+"--disabled"],on:{click:this.onSelect}},[this.genImage(i),t("div",{class:i+"-name"},[this.largeImageMode?t("span",{class:{"van-multi-ellipsis--l2":this.largeImageMode}},[this.skuValue.name]):this.skuValue.name]),this.largeImageMode&&t(st,{attrs:{name:"enlarge"},class:i+"-img-icon",on:{click:this.onPreviewImg}})])}}),Ml=(0,Object(l.a)("sku-row-prop-item")[0])({props:{skuValue:Object,skuKeyStr:String,skuEventBus:Object,selectedProp:Object,multiple:Boolean},computed:{choosed:function(){var t=this.selectedProp,e=this.skuKeyStr,i=this.skuValue;return!(!t||!t[e])&&t[e].indexOf(i.id)>-1}},methods:{onSelect:function(){this.skuEventBus.$emit("sku:propSelect",n({},this.skuValue,{skuKeyStr:this.skuKeyStr,multiple:this.multiple}))}},render:function(){var t=arguments[0];return t("span",{class:["van-sku-row__item",{"van-sku-row__item--active":this.choosed}],on:{click:this.onSelect}},[t("span",{class:"van-sku-row__item-name"},[this.skuValue.name])])}}),zl=Object(l.a)("stepper"),Fl=zl[0],Vl=zl[1];function Rl(t,e){return String(t)===String(e)}var Hl=Fl({mixins:[ti],props:{value:null,theme:String,integer:Boolean,disabled:Boolean,allowEmpty:Boolean,inputWidth:[Number,String],buttonSize:[Number,String],asyncChange:Boolean,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,decimalLength:[Number,String],name:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:1/0},step:{type:[Number,String],default:1},defaultValue:{type:[Number,String],default:1},showPlus:{type:Boolean,default:!0},showMinus:{type:Boolean,default:!0},showInput:{type:Boolean,default:!0},longPress:{type:Boolean,default:!0}},data:function(){var t,e=null!=(t=this.value)?t:this.defaultValue,i=this.format(e);return Rl(i,this.value)||this.$emit("input",i),{currentValue:i}},computed:{minusDisabled:function(){return this.disabled||this.disableMinus||this.currentValue<=+this.min},plusDisabled:function(){return this.disabled||this.disablePlus||this.currentValue>=+this.max},inputStyle:function(){var t={};return this.inputWidth&&(t.width=Object(Y.a)(this.inputWidth)),this.buttonSize&&(t.height=Object(Y.a)(this.buttonSize)),t},buttonStyle:function(){if(this.buttonSize){var t=Object(Y.a)(this.buttonSize);return{width:t,height:t}}}},watch:{max:"check",min:"check",integer:"check",decimalLength:"check",value:function(t){Rl(t,this.currentValue)||(this.currentValue=this.format(t))},currentValue:function(t){this.$emit("input",t),this.$emit("change",t,{name:this.name})}},methods:{check:function(){var t=this.format(this.currentValue);Rl(t,this.currentValue)||(this.currentValue=t)},formatNumber:function(t){return jt(String(t),!this.integer)},format:function(t){return this.allowEmpty&&""===t||(t=""===(t=this.formatNumber(t))?0:+t,t=Object(Li.a)(t)?this.min:t,t=Math.max(Math.min(this.max,t),this.min),Object(m.c)(this.decimalLength)&&(t=t.toFixed(this.decimalLength))),t},onInput:function(t){var e=t.target.value,i=this.formatNumber(e);if(Object(m.c)(this.decimalLength)&&-1!==i.indexOf(".")){var n=i.split(".");i=n[0]+"."+n[1].slice(0,this.decimalLength)}Rl(e,i)||(t.target.value=i),i===String(+i)&&(i=+i),this.emitChange(i)},emitChange:function(t){this.asyncChange?(this.$emit("input",t),this.$emit("change",t,{name:this.name})):this.currentValue=t},onChange:function(){var t=this.type;if(this[t+"Disabled"])this.$emit("overlimit",t);else{var e,i,n,r="minus"===t?-this.step:+this.step,s=this.format((e=+this.currentValue,i=r,n=Math.pow(10,10),Math.round((e+i)*n)/n));this.emitChange(s),this.$emit(t)}},onFocus:function(t){this.disableInput&&this.$refs.input?this.$refs.input.blur():this.$emit("focus",t)},onBlur:function(t){var e=this.format(t.target.value);t.target.value=e,this.currentValue=e,this.$emit("blur",t),re()},longPressStep:function(){var t=this;this.longPressTimer=setTimeout((function(){t.onChange(),t.longPressStep(t.type)}),200)},onTouchStart:function(){var t=this;this.longPress&&(clearTimeout(this.longPressTimer),this.isLongPress=!1,this.longPressTimer=setTimeout((function(){t.isLongPress=!0,t.onChange(),t.longPressStep()}),600))},onTouchEnd:function(t){this.longPress&&(clearTimeout(this.longPressTimer),this.isLongPress&&k(t))},onMousedown:function(t){this.disableInput&&t.preventDefault()}},render:function(){var t=this,e=arguments[0],i=function(e){return{on:{click:function(i){i.preventDefault(),t.type=e,t.onChange()},touchstart:function(){t.type=e,t.onTouchStart()},touchend:t.onTouchEnd,touchcancel:t.onTouchEnd}}};return e("div",{class:Vl([this.theme])},[e("button",s()([{directives:[{name:"show",value:this.showMinus}],attrs:{type:"button"},style:this.buttonStyle,class:Vl("minus",{disabled:this.minusDisabled})},i("minus")])),e("input",{directives:[{name:"show",value:this.showInput}],ref:"input",attrs:{type:this.integer?"tel":"text",role:"spinbutton",disabled:this.disabled,readonly:this.disableInput,inputmode:this.integer?"numeric":"decimal",placeholder:this.placeholder,"aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.currentValue},class:Vl("input"),domProps:{value:this.currentValue},style:this.inputStyle,on:{input:this.onInput,focus:this.onFocus,blur:this.onBlur,mousedown:this.onMousedown}}),e("button",s()([{directives:[{name:"show",value:this.showPlus}],attrs:{type:"button"},style:this.buttonStyle,class:Vl("plus",{disabled:this.plusDisabled})},i("plus")]))])}}),_l=Object(l.a)("sku-stepper"),Wl=_l[0],ql=_l[2],Kl=dl.QUOTA_LIMIT,Ul=dl.STOCK_LIMIT,Yl=Wl({props:{stock:Number,skuEventBus:Object,skuStockNum:Number,selectedNum:Number,stepperTitle:String,disableStepperInput:Boolean,customStepperConfig:Object,hideQuotaText:Boolean,quota:{type:Number,default:0},quotaUsed:{type:Number,default:0},startSaleNum:{type:Number,default:1}},data:function(){return{currentNum:this.selectedNum,limitType:Ul}},watch:{currentNum:function(t){var e=parseInt(t,10);e>=this.stepperMinLimit&&e<=this.stepperLimit&&this.skuEventBus.$emit("sku:numChange",e)},stepperLimit:function(t){tthis.currentNum||t>this.stepperLimit)&&(this.currentNum=t),this.checkState(t,this.stepperLimit)}},computed:{stepperLimit:function(){var t,e=this.quota-this.quotaUsed;return this.quota>0&&e<=this.stock?(t=e<0?0:e,this.limitType=Kl):(t=this.stock,this.limitType=Ul),t},stepperMinLimit:function(){return this.startSaleNum<1?1:this.startSaleNum},quotaText:function(){var t=this.customStepperConfig,e=t.quotaText;if(t.hideQuotaText)return"";var i="";if(e)i=e;else{var n=[];this.startSaleNum>1&&n.push(ql("quotaStart",this.startSaleNum)),this.quota>0&&n.push(ql("quotaLimit",this.quota)),i=n.join(ql("comma"))}return i}},created:function(){this.checkState(this.stepperMinLimit,this.stepperLimit)},methods:{setCurrentNum:function(t){this.currentNum=t,this.checkState(this.stepperMinLimit,this.stepperLimit)},onOverLimit:function(t){this.skuEventBus.$emit("sku:overLimit",{action:t,limitType:this.limitType,quota:this.quota,quotaUsed:this.quotaUsed,startSaleNum:this.startSaleNum})},onChange:function(t){var e=parseInt(t,10),i=this.customStepperConfig.handleStepperChange;i&&i(e),this.$emit("change",e)},checkState:function(t,e){this.currentNume?this.currentNum=t:this.currentNum>e&&(this.currentNum=e),this.skuEventBus.$emit("sku:stepperState",{valid:t<=e,min:t,max:e,limitType:this.limitType,quota:this.quota,quotaUsed:this.quotaUsed,startSaleNum:this.startSaleNum})}},render:function(){var t=this,e=arguments[0];return e("div",{class:"van-sku-stepper-stock"},[e("div",{class:"van-sku__stepper-title"},[this.stepperTitle||ql("num")]),e(Hl,{attrs:{integer:!0,min:this.stepperMinLimit,max:this.stepperLimit,disableInput:this.disableStepperInput},class:"van-sku__stepper",on:{overlimit:this.onOverLimit,change:this.onChange},model:{value:t.currentNum,callback:function(e){t.currentNum=e}}}),!this.hideQuotaText&&this.quotaText&&e("span",{class:"van-sku__stepper-quota"},["(",this.quotaText,")"])])}});function Xl(t){return/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(t)}function Ql(t){return Array.isArray(t)?t:[t]}function Gl(t,e){return new Promise((function(i){if("file"!==e){var n=new FileReader;n.onload=function(t){i(t.target.result)},"dataUrl"===e?n.readAsDataURL(t):"text"===e&&n.readAsText(t)}else i(null)}))}function Zl(t,e){return Ql(t).some((function(t){return!!t&&(Object(m.e)(e)?e(t):t.size>e)}))}var Jl=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;function tc(t){return!!t.isImage||(t.file&&t.file.type?0===t.file.type.indexOf("image"):t.url?(e=t.url,Jl.test(e)):!!t.content&&0===t.content.indexOf("data:image"));var e}var ec=Object(l.a)("uploader"),ic=ec[0],nc=ec[1],rc=ic({inheritAttrs:!1,mixins:[ti],model:{prop:"fileList"},props:{disabled:Boolean,lazyLoad:Boolean,uploadText:String,afterRead:Function,beforeRead:Function,beforeDelete:Function,previewSize:[Number,String],previewOptions:Object,name:{type:[Number,String],default:""},accept:{type:String,default:"image/*"},fileList:{type:Array,default:function(){return[]}},maxSize:{type:[Number,String,Function],default:Number.MAX_VALUE},maxCount:{type:[Number,String],default:Number.MAX_VALUE},deletable:{type:Boolean,default:!0},showUpload:{type:Boolean,default:!0},previewImage:{type:Boolean,default:!0},previewFullImage:{type:Boolean,default:!0},imageFit:{type:String,default:"cover"},resultType:{type:String,default:"dataUrl"},uploadIcon:{type:String,default:"photograph"}},computed:{previewSizeWithUnit:function(){return Object(Y.a)(this.previewSize)},value:function(){return this.fileList}},methods:{getDetail:function(t){return void 0===t&&(t=this.fileList.length),{name:this.name,index:t}},onChange:function(t){var e=this,i=t.target.files;if(!this.disabled&&i.length){if(i=1===i.length?i[0]:[].slice.call(i),this.beforeRead){var n=this.beforeRead(i,this.getDetail());if(!n)return void this.resetInput();if(Object(m.g)(n))return void n.then((function(t){t?e.readFile(t):e.readFile(i)})).catch(this.resetInput)}this.readFile(i)}},readFile:function(t){var e=this,i=Zl(t,this.maxSize);if(Array.isArray(t)){var n=this.maxCount-this.fileList.length;t.length>n&&(t=t.slice(0,n)),Promise.all(t.map((function(t){return Gl(t,e.resultType)}))).then((function(n){var r=t.map((function(t,e){var i={file:t,status:"",message:""};return n[e]&&(i.content=n[e]),i}));e.onAfterRead(r,i)}))}else Gl(t,this.resultType).then((function(n){var r={file:t,status:"",message:""};n&&(r.content=n),e.onAfterRead(r,i)}))},onAfterRead:function(t,e){var i=this;this.resetInput();var n=t;if(e){var r=t;Array.isArray(t)?(r=[],n=[],t.forEach((function(t){t.file&&(Zl(t.file,i.maxSize)?r.push(t):n.push(t))}))):n=null,this.$emit("oversize",r,this.getDetail())}(Array.isArray(n)?Boolean(n.length):Boolean(n))&&(this.$emit("input",[].concat(this.fileList,Ql(n))),this.afterRead&&this.afterRead(n,this.getDetail()))},onDelete:function(t,e){var i,n=this,r=null!=(i=t.beforeDelete)?i:this.beforeDelete;if(r){var s=r(t,this.getDetail(e));if(!s)return;if(Object(m.g)(s))return void s.then((function(){n.deleteFile(t,e)})).catch(m.i)}this.deleteFile(t,e)},deleteFile:function(t,e){var i=this.fileList.slice(0);i.splice(e,1),this.$emit("input",i),this.$emit("delete",t,this.getDetail(e))},resetInput:function(){this.$refs.input&&(this.$refs.input.value="")},onPreviewImage:function(t){var e=this;if(this.previewFullImage){var i=this.fileList.filter((function(t){return tc(t)})),r=i.map((function(t){return t.content||t.url}));this.imagePreview=ho(n({images:r,startPosition:i.indexOf(t),onClose:function(){e.$emit("close-preview")}},this.previewOptions))}},closeImagePreview:function(){this.imagePreview&&this.imagePreview.close()},chooseFile:function(){this.disabled||this.$refs.input&&this.$refs.input.click()},genPreviewMask:function(t){var e=this.$createElement,i=t.status,n=t.message;if("uploading"===i||"failed"===i){var r="failed"===i?e(st,{attrs:{name:"close"},class:nc("mask-icon")}):e(vt,{class:nc("loading")}),s=Object(m.c)(n)&&""!==n;return e("div",{class:nc("mask")},[r,s&&e("div",{class:nc("mask-message")},[n])])}},genPreviewItem:function(t,e){var i,r,s,o=this,a=this.$createElement,l=null!=(i=t.deletable)?i:this.deletable,c="uploading"!==t.status&&l&&a("div",{class:nc("preview-delete"),on:{click:function(i){i.stopPropagation(),o.onDelete(t,e)}}},[a(st,{attrs:{name:"cross"},class:nc("preview-delete-icon")})]),u=this.slots("preview-cover",n({index:e},t)),h=u&&a("div",{class:nc("preview-cover")},[u]),d=null!=(r=t.previewSize)?r:this.previewSize,f=null!=(s=t.imageFit)?s:this.imageFit,p=tc(t)?a(sn,{attrs:{fit:f,src:t.content||t.url,width:d,height:d,lazyLoad:this.lazyLoad},class:nc("preview-image"),on:{click:function(){o.onPreviewImage(t)}}},[h]):a("div",{class:nc("file"),style:{width:this.previewSizeWithUnit,height:this.previewSizeWithUnit}},[a(st,{class:nc("file-icon"),attrs:{name:"description"}}),a("div",{class:[nc("file-name"),"van-ellipsis"]},[t.file?t.file.name:t.url]),h]);return a("div",{class:nc("preview"),on:{click:function(){o.$emit("click-preview",t,o.getDetail(e))}}},[p,this.genPreviewMask(t),c])},genPreviewList:function(){if(this.previewImage)return this.fileList.map(this.genPreviewItem)},genUpload:function(){var t=this.$createElement;if(!(this.fileList.length>=this.maxCount)&&this.showUpload){var e,i=this.slots(),r=t("input",{attrs:n({},this.$attrs,{type:"file",accept:this.accept,disabled:this.disabled}),ref:"input",class:nc("input"),on:{change:this.onChange}});if(i)return t("div",{class:nc("input-wrapper"),key:"input-wrapper"},[i,r]);if(this.previewSize){var s=this.previewSizeWithUnit;e={width:s,height:s}}return t("div",{class:nc("upload"),style:e},[t(st,{attrs:{name:this.uploadIcon},class:nc("upload-icon")}),this.uploadText&&t("span",{class:nc("upload-text")},[this.uploadText]),r])}}},render:function(){var t=arguments[0];return t("div",{class:nc()},[t("div",{class:nc("wrapper",{disabled:this.disabled})},[this.genPreviewList(),this.genUpload()])])}}),sc=Object(l.a)("sku-img-uploader"),oc=sc[0],ac=sc[2],lc=oc({props:{value:String,uploadImg:Function,maxSize:{type:Number,default:6}},data:function(){return{fileList:[]}},watch:{value:function(t){this.fileList=t?[{url:t,isImage:!0}]:[]}},methods:{afterReadFile:function(t){var e=this;t.status="uploading",t.message=ac("uploading"),this.uploadImg(t.file,t.content).then((function(i){t.status="done",e.$emit("input",i)})).catch((function(){t.status="failed",t.message=ac("fail")}))},onOversize:function(){this.$toast(ac("oversize",this.maxSize))},onDelete:function(){this.$emit("input","")}},render:function(){var t=this,e=arguments[0];return e(rc,{attrs:{maxCount:1,afterRead:this.afterReadFile,maxSize:1024*this.maxSize*1024},on:{oversize:this.onOversize,delete:this.onDelete},model:{value:t.fileList,callback:function(e){t.fileList=e}}})}});var cc=Object(l.a)("sku-datetime-field"),uc=cc[0],hc=cc[2],dc=uc({props:{value:String,label:String,required:Boolean,placeholder:String,type:{type:String,default:"date"}},data:function(){return{showDatePicker:!1,currentDate:"time"===this.type?"":new Date,minDate:new Date((new Date).getFullYear()-60,0,1)}},watch:{value:function(t){switch(this.type){case"time":this.currentDate=t;break;case"date":case"datetime":this.currentDate=((e=t)?new Date(e.replace(/-/g,"/")):null)||new Date}var e}},computed:{title:function(){return hc("title."+this.type)}},methods:{onClick:function(){this.showDatePicker=!0},onConfirm:function(t){var e=t;"time"!==this.type&&(e=function(t,e){if(void 0===e&&(e="date"),!t)return"";var i=t.getFullYear(),n=t.getMonth()+1,r=t.getDate(),s=i+"-"+Object(Pr.b)(n)+"-"+Object(Pr.b)(r);if("datetime"===e){var o=t.getHours(),a=t.getMinutes();s+=" "+Object(Pr.b)(o)+":"+Object(Pr.b)(a)}return s}(t,this.type)),this.$emit("input",e),this.showDatePicker=!1},onCancel:function(){this.showDatePicker=!1},formatter:function(t,e){return""+e+hc("format."+t)}},render:function(){var t=this,e=arguments[0];return e(le,{attrs:{readonly:!0,"is-link":!0,center:!0,value:this.value,label:this.label,required:this.required,placeholder:this.placeholder},on:{click:this.onClick}},[e(ct,{attrs:{round:!0,position:"bottom",getContainer:"body"},slot:"extra",model:{value:t.showDatePicker,callback:function(e){t.showDatePicker=e}}},[e(us,{attrs:{type:this.type,title:this.title,value:this.currentDate,minDate:this.minDate,formatter:this.formatter},on:{cancel:this.onCancel,confirm:this.onConfirm}})])])}}),fc=Object(l.a)("sku-messages"),pc=fc[0],mc=fc[1],vc=fc[2],gc=pc({props:{messageConfig:Object,goodsId:[Number,String],messages:{type:Array,default:function(){return[]}}},data:function(){return{messageValues:this.resetMessageValues(this.messages)}},watch:{messages:function(t){this.messageValues=this.resetMessageValues(t)}},methods:{resetMessageValues:function(t){var e=this.messageConfig.initialMessages,i=void 0===e?{}:e;return(t||[]).map((function(t){return{value:i[t.name]||""}}))},getType:function(t){return 1==+t.multiple?"textarea":"id_no"===t.type?"text":t.datetime>0?"datetime":t.type},getMessages:function(){var t={};return this.messageValues.forEach((function(e,i){t["message_"+i]=e.value})),t},getCartMessages:function(){var t=this,e={};return this.messageValues.forEach((function(i,n){var r=t.messages[n];e[r.name]=i.value})),e},getPlaceholder:function(t){var e=1==+t.multiple?"textarea":t.type,i=this.messageConfig.placeholderMap||{};return t.placeholder||i[e]||vc("placeholder."+e)},validateMessages:function(){for(var t=this.messageValues,e=0;e18))return vc("invalid.id_no")}}},getFormatter:function(t){return function(e){return"mobile"===t.type||"tel"===t.type?e.replace(/[^\d.]/g,""):e}},genMessage:function(t,e){var i=this,n=this.$createElement;return"image"===t.type?n(ie,{key:this.goodsId+"-"+e,attrs:{title:t.name,required:"1"===String(t.required),valueClass:mc("image-cell-value")},class:mc("image-cell")},[n(lc,{attrs:{maxSize:this.messageConfig.uploadMaxSize,uploadImg:this.messageConfig.uploadImg},model:{value:i.messageValues[e].value,callback:function(t){i.$set(i.messageValues[e],"value",t)}}}),n("div",{class:mc("image-cell-label")},[vc("imageLabel")])]):["date","time"].indexOf(t.type)>-1?n(dc,{attrs:{label:t.name,required:"1"===String(t.required),placeholder:this.getPlaceholder(t),type:this.getType(t)},key:this.goodsId+"-"+e,model:{value:i.messageValues[e].value,callback:function(t){i.$set(i.messageValues[e],"value",t)}}}):n(le,{attrs:{maxlength:"200",center:!t.multiple,label:t.name,required:"1"===String(t.required),placeholder:this.getPlaceholder(t),type:this.getType(t),formatter:this.getFormatter(t)},key:this.goodsId+"-"+e,model:{value:i.messageValues[e].value,callback:function(t){i.$set(i.messageValues[e],"value",t)}}})}},render:function(){var t=arguments[0];return t("div",{class:mc()},[this.messages.map(this.genMessage)])}}),bc=Object(l.a)("sku-actions"),yc=bc[0],Sc=bc[1],kc=bc[2];function xc(t,e,i,n){var r=function(t){return function(){e.skuEventBus.$emit(t)}};return t("div",s()([{class:Sc()},h(n)]),[e.showAddCartBtn&&t($e,{attrs:{size:"large",type:"warning",text:e.addCartText||kc("addCart")},on:{click:r("sku:addCart")}}),t($e,{attrs:{size:"large",type:"danger",text:e.buyText||kc("buy")},on:{click:r("sku:buy")}})])}xc.props={buyText:String,addCartText:String,skuEventBus:Object,showAddCartBtn:Boolean};var wc=yc(xc),Cc=Object(l.a)("sku"),Oc=Cc[0],Tc=Cc[1],$c=Cc[2],Bc=dl.QUOTA_LIMIT,Ic=Oc({props:{sku:Object,goods:Object,value:Boolean,buyText:String,goodsId:[Number,String],priceTag:String,lazyLoad:Boolean,hideStock:Boolean,properties:Array,addCartText:String,stepperTitle:String,getContainer:[String,Function],hideQuotaText:Boolean,hideSelectedText:Boolean,resetStepperOnHide:Boolean,customSkuValidator:Function,disableStepperInput:Boolean,resetSelectedSkuOnHide:Boolean,quota:{type:Number,default:0},quotaUsed:{type:Number,default:0},startSaleNum:{type:Number,default:1},initialSku:{type:Object,default:function(){return{}}},stockThreshold:{type:Number,default:50},showSoldoutSku:{type:Boolean,default:!0},showAddCartBtn:{type:Boolean,default:!0},disableSoldoutSku:{type:Boolean,default:!0},customStepperConfig:{type:Object,default:function(){return{}}},showHeaderImage:{type:Boolean,default:!0},previewOnClickImage:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},bodyOffsetTop:{type:Number,default:200},messageConfig:{type:Object,default:function(){return{initialMessages:{},placeholderMap:{},uploadImg:function(){return Promise.resolve()},uploadMaxSize:5}}}},data:function(){return{selectedSku:{},selectedProp:{},selectedNum:1,show:this.value}},watch:{show:function(t){this.$emit("input",t),t||(this.$emit("sku-close",{selectedSkuValues:this.selectedSkuValues,selectedNum:this.selectedNum,selectedSkuComb:this.selectedSkuComb}),this.resetStepperOnHide&&this.resetStepper(),this.resetSelectedSkuOnHide&&this.resetSelectedSku())},value:function(t){this.show=t},skuTree:"resetSelectedSku",initialSku:function(){this.resetStepper(),this.resetSelectedSku()}},computed:{skuGroupClass:function(){return["van-sku-group-container",{"van-sku-group-container--hide-soldout":!this.showSoldoutSku}]},bodyStyle:function(){if(!this.$isServer)return{maxHeight:window.innerHeight-this.bodyOffsetTop+"px"}},isSkuCombSelected:function(){var t=this;return!(this.hasSku&&!ml(this.skuTree,this.selectedSku))&&!this.propList.filter((function(t){return!1!==t.is_necessary})).some((function(e){return 0===(t.selectedProp[e.k_id]||[]).length}))},isSkuEmpty:function(){return 0===Object.keys(this.sku).length},hasSku:function(){return!this.sku.none_sku},hasSkuOrAttr:function(){return this.hasSku||this.propList.length>0},selectedSkuComb:function(){var t=null;return this.isSkuCombSelected&&(t=this.hasSku?vl(this.skuList,this.selectedSku):{id:this.sku.collection_id,price:Math.round(100*this.sku.price),stock_num:this.sku.stock_num})&&(t.properties=Sl(this.propList,this.selectedProp),t.property_price=this.selectedPropValues.reduce((function(t,e){return t+(e.price||0)}),0)),t},selectedSkuValues:function(){return gl(this.skuTree,this.selectedSku)},selectedPropValues:function(){return yl(this.propList,this.selectedProp)},price:function(){return this.selectedSkuComb?((this.selectedSkuComb.price+this.selectedSkuComb.property_price)/100).toFixed(2):this.sku.price},originPrice:function(){return this.selectedSkuComb&&this.selectedSkuComb.origin_price?((this.selectedSkuComb.origin_price+this.selectedSkuComb.property_price)/100).toFixed(2):this.sku.origin_price},skuTree:function(){return this.sku.tree||[]},skuList:function(){return this.sku.list||[]},propList:function(){return this.properties||[]},imageList:function(){var t=[this.goods.picture];return this.skuTree.length>0&&this.skuTree.forEach((function(e){e.v&&e.v.forEach((function(e){var i=e.previewImgUrl||e.imgUrl||e.img_url;i&&-1===t.indexOf(i)&&t.push(i)}))})),t},stock:function(){var t=this.customStepperConfig.stockNum;return void 0!==t?t:this.selectedSkuComb?this.selectedSkuComb.stock_num:this.sku.stock_num},stockText:function(){var t=this.$createElement,e=this.customStepperConfig.stockFormatter;return e?e(this.stock):[$c("stock")+" ",t("span",{class:Tc("stock-num",{highlight:this.stock0&&this.$nextTick((function(){t.$emit("sku-selected",{skuValue:e[e.length-1],selectedSku:t.selectedSku,selectedSkuComb:t.selectedSkuComb})})),this.selectedProp={};var i=this.initialSku.selectedProp,n=void 0===i?{}:i;this.propList.forEach((function(e){n[e.k_id]&&(t.selectedProp[e.k_id]=n[e.k_id])})),Object(m.d)(this.selectedProp)&&this.propList.forEach((function(e){var i;if((null==e||null==(i=e.v)?void 0:i.length)>0){var n=e.v,r=e.k_id;n.some((function(t){return 0!=+t.price}))||(t.selectedProp[r]=[n[0].id])}}));var r=this.selectedPropValues;r.length>0&&this.$emit("sku-prop-selected",{propValue:r[r.length-1],selectedProp:this.selectedProp,selectedSkuComb:this.selectedSkuComb}),this.$emit("sku-reset",{selectedSku:this.selectedSku,selectedProp:this.selectedProp,selectedSkuComb:this.selectedSkuComb}),this.centerInitialSku()},getSkuMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.getMessages():{}},getSkuCartMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.getCartMessages():{}},validateSkuMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.validateMessages():""},validateSku:function(){if(0===this.selectedNum)return $c("unavailable");if(this.isSkuCombSelected)return this.validateSkuMessages();if(this.customSkuValidator){var t=this.customSkuValidator(this);if(t)return t}return $c("selectSku")},onSelect:function(t){var e,i;this.selectedSku=this.selectedSku[t.skuKeyStr]===t.id?n({},this.selectedSku,((e={})[t.skuKeyStr]="",e)):n({},this.selectedSku,((i={})[t.skuKeyStr]=t.id,i)),this.$emit("sku-selected",{skuValue:t,selectedSku:this.selectedSku,selectedSkuComb:this.selectedSkuComb})},onPropSelect:function(t){var e,i=this.selectedProp[t.skuKeyStr]||[],r=i.indexOf(t.id);r>-1?i.splice(r,1):t.multiple?i.push(t.id):i.splice(0,1,t.id),this.selectedProp=n({},this.selectedProp,((e={})[t.skuKeyStr]=i,e)),this.$emit("sku-prop-selected",{propValue:t,selectedProp:this.selectedProp,selectedSkuComb:this.selectedSkuComb})},onNumChange:function(t){this.selectedNum=t},onPreviewImage:function(t){var e=this,i=this.imageList,r=0,s=i[0];t&&t.imgUrl&&(this.imageList.some((function(e,i){return e===t.imgUrl&&(r=i,!0)})),s=t.imgUrl);var o=n({},t,{index:r,imageList:this.imageList,indexImage:s});this.$emit("open-preview",o),this.previewOnClickImage&&ho({images:this.imageList,startPosition:r,onClose:function(){e.$emit("close-preview",o)}})},onOverLimit:function(t){var e=t.action,i=t.limitType,n=t.quota,r=t.quotaUsed,s=this.customStepperConfig.handleOverLimit;s?s(t):"minus"===e?this.startSaleNum>1?xe($c("minusStartTip",this.startSaleNum)):xe($c("minusTip")):"plus"===e&&xe(i===Bc?r>0?$c("quotaUsedTip",n,r):$c("quotaTip",n):$c("soldout"))},onStepperState:function(t){this.stepperError=t.valid?null:n({},t,{action:"plus"})},onAddCart:function(){this.onBuyOrAddCart("add-cart")},onBuy:function(){this.onBuyOrAddCart("buy-clicked")},onBuyOrAddCart:function(t){if(this.stepperError)return this.onOverLimit(this.stepperError);var e=this.validateSku();e?xe(e):this.$emit(t,this.getSkuData())},getSkuData:function(){return{goodsId:this.goodsId,messages:this.getSkuMessages(),selectedNum:this.selectedNum,cartMessages:this.getSkuCartMessages(),selectedSkuComb:this.selectedSkuComb}},onOpened:function(){this.centerInitialSku()},centerInitialSku:function(){var t=this;(this.$refs.skuRows||[]).forEach((function(e){var i=(e.skuRow||{}).k_s;e.centerItem(t.initialSku[i])}))}},render:function(){var t=this,e=arguments[0];if(!this.isSkuEmpty){var i=this.sku,n=this.skuList,r=this.goods,s=this.price,o=this.lazyLoad,a=this.originPrice,l=this.skuEventBus,c=this.selectedSku,u=this.selectedProp,h=this.selectedNum,d=this.stepperTitle,f=this.selectedSkuComb,p=this.showHeaderImage,m=this.disableSoldoutSku,v={price:s,originPrice:a,selectedNum:h,skuEventBus:l,selectedSku:c,selectedSkuComb:f},g=function(e){return t.slots(e,v)},b=g("sku-header")||e(Tl,{attrs:{sku:i,goods:r,skuEventBus:l,selectedSku:c,showHeaderImage:p}},[e("template",{slot:"sku-header-image-extra"},[g("sku-header-image-extra")]),g("sku-header-price")||e("div",{class:"van-sku__goods-price"},[e("span",{class:"van-sku__price-symbol"},["¥"]),e("span",{class:"van-sku__price-num"},[s]),this.priceTag&&e("span",{class:"van-sku__price-tag"},[this.priceTag])]),g("sku-header-origin-price")||a&&e(Dl,[$c("originPrice")," ¥",a]),!this.hideStock&&e(Dl,[e("span",{class:"van-sku__stock"},[this.stockText])]),this.hasSkuOrAttr&&!this.hideSelectedText&&e(Dl,[this.selectedText]),g("sku-header-extra")]),y=g("sku-group")||this.hasSkuOrAttr&&e("div",{class:this.skuGroupClass},[this.skuTree.map((function(t){return e(Nl,{attrs:{skuRow:t},ref:"skuRows",refInFor:!0},[t.v.map((function(i){return e(Al,{attrs:{skuList:n,lazyLoad:o,skuValue:i,skuKeyStr:t.k_s,selectedSku:c,skuEventBus:l,disableSoldoutSku:m,largeImageMode:t.largeImageMode}})}))])})),this.propList.map((function(t){return e(Nl,{attrs:{skuRow:t}},[t.v.map((function(i){return e(Ml,{attrs:{skuValue:i,skuKeyStr:t.k_id+"",selectedProp:u,skuEventBus:l,multiple:t.is_multiple}})}))])}))]),S=g("sku-stepper")||e(Yl,{ref:"skuStepper",attrs:{stock:this.stock,quota:this.quota,quotaUsed:this.quotaUsed,startSaleNum:this.startSaleNum,skuEventBus:l,selectedNum:h,stepperTitle:d,skuStockNum:i.stock_num,disableStepperInput:this.disableStepperInput,customStepperConfig:this.customStepperConfig,hideQuotaText:this.hideQuotaText},on:{change:function(e){t.$emit("stepper-change",e)}}}),k=g("sku-messages")||e(gc,{ref:"skuMessages",attrs:{goodsId:this.goodsId,messageConfig:this.messageConfig,messages:i.messages}}),x=g("sku-actions")||e(wc,{attrs:{buyText:this.buyText,skuEventBus:l,addCartText:this.addCartText,showAddCartBtn:this.showAddCartBtn}});return e(ct,{attrs:{round:!0,closeable:!0,position:"bottom",getContainer:this.getContainer,closeOnClickOverlay:this.closeOnClickOverlay,safeAreaInsetBottom:this.safeAreaInsetBottom},class:"van-sku-container",on:{opened:this.onOpened},model:{value:t.show,callback:function(e){t.show=e}}},[b,e("div",{class:"van-sku-body",style:this.bodyStyle},[g("sku-body-top"),y,g("extra-sku-group"),S,k]),g("sku-actions-top"),x])}}});Bo.a.add({"zh-CN":{vanSku:{select:"请选择",selected:"已选",selectSku:"请先选择商品规格",soldout:"库存不足",originPrice:"原价",minusTip:"至少选择一件",minusStartTip:function(t){return t+"件起售"},unavailable:"商品已经无法购买啦",stock:"剩余",stockUnit:"件",quotaTip:function(t){return"每人限购"+t+"件"},quotaUsedTip:function(t,e){return"每人限购"+t+"件,你已购买"+e+"件"}},vanSkuActions:{buy:"立即购买",addCart:"加入购物车"},vanSkuImgUploader:{oversize:function(t){return"最大可上传图片为"+t+"MB,请尝试压缩图片尺寸"},fail:"上传失败",uploading:"上传中..."},vanSkuStepper:{quotaLimit:function(t){return"限购"+t+"件"},quotaStart:function(t){return t+"件起售"},comma:",",num:"购买数量"},vanSkuMessages:{fill:"请填写",upload:"请上传",imageLabel:"仅限一张",invalid:{tel:"请填写正确的数字格式留言",mobile:"手机号长度为6-20位数字",email:"请填写正确的邮箱",id_no:"请填写正确的身份证号码"},placeholder:{id_no:"请填写身份证号",text:"请填写留言",tel:"请填写数字",email:"请填写邮箱",date:"请选择日期",time:"请选择时间",textarea:"请填写留言",mobile:"请填写手机号"}},vanSkuRow:{multiple:"可多选"},vanSkuDatetimeField:{title:{date:"选择年月日",time:"选择时间",datetime:"选择日期时间"},format:{year:"年",month:"月",day:"日",hour:"时",minute:"分"}}}}),Ic.SkuActions=wc,Ic.SkuHeader=Tl,Ic.SkuHeaderItem=Dl,Ic.SkuMessages=gc,Ic.SkuStepper=Yl,Ic.SkuRow=Nl,Ic.SkuRowItem=Al,Ic.SkuRowPropItem=Ml,Ic.skuHelper=kl,Ic.skuConstants=fl;var Dc=Ic,Ec=Object(l.a)("slider"),jc=Ec[0],Pc=Ec[1],Lc=function(t,e){return JSON.stringify(t)===JSON.stringify(e)},Nc=jc({mixins:[R,ti],props:{disabled:Boolean,vertical:Boolean,range:Boolean,barHeight:[Number,String],buttonSize:[Number,String],activeColor:String,inactiveColor:String,min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},value:{type:[Number,Array],default:0}},data:function(){return{dragStatus:""}},computed:{scope:function(){return this.max-this.min},buttonStyle:function(){if(this.buttonSize){var t=Object(Y.a)(this.buttonSize);return{width:t,height:t}}}},created:function(){this.updateValue(this.value)},mounted:function(){this.range?(this.bindTouchEvent(this.$refs.wrapper0),this.bindTouchEvent(this.$refs.wrapper1)):this.bindTouchEvent(this.$refs.wrapper)},methods:{onTouchStart:function(t){this.disabled||(this.touchStart(t),this.currentValue=this.value,this.range?this.startValue=this.value.map(this.format):this.startValue=this.format(this.value),this.dragStatus="start")},onTouchMove:function(t){if(!this.disabled){"start"===this.dragStatus&&this.$emit("drag-start"),k(t,!0),this.touchMove(t),this.dragStatus="draging";var e=this.$el.getBoundingClientRect(),i=(this.vertical?this.deltaY:this.deltaX)/(this.vertical?e.height:e.width)*this.scope;this.range?this.currentValue[this.index]=this.startValue[this.index]+i:this.currentValue=this.startValue+i,this.updateValue(this.currentValue)}},onTouchEnd:function(){this.disabled||("draging"===this.dragStatus&&(this.updateValue(this.currentValue,!0),this.$emit("drag-end")),this.dragStatus="")},onClick:function(t){if(t.stopPropagation(),!this.disabled){var e=this.$el.getBoundingClientRect(),i=this.vertical?t.clientY-e.top:t.clientX-e.left,n=this.vertical?e.height:e.width,r=+this.min+i/n*this.scope;if(this.range){var s=this.value,o=s[0],a=s[1];r<=(o+a)/2?o=r:a=r,r=[o,a]}this.startValue=this.value,this.updateValue(r,!0)}},handleOverlap:function(t){return t[0]>t[1]?(t=It(t)).reverse():t},updateValue:function(t,e){t=this.range?this.handleOverlap(t).map(this.format):this.format(t),Lc(t,this.value)||this.$emit("input",t),e&&!Lc(t,this.startValue)&&this.$emit("change",t)},format:function(t){return Math.round(Math.max(this.min,Math.min(t,this.max))/this.step)*this.step}},render:function(){var t,e,i=this,n=arguments[0],r=this.vertical,s=r?"height":"width",o=r?"width":"height",a=((t={background:this.inactiveColor})[o]=Object(Y.a)(this.barHeight),t),l=function(){var t=i.value,e=i.min,n=i.range,r=i.scope;return n?100*(t[1]-t[0])/r+"%":100*(t-e)/r+"%"},c=function(){var t=i.value,e=i.min,n=i.range,r=i.scope;return n?100*(t[0]-e)/r+"%":null},u=((e={})[s]=l(),e.left=this.vertical?null:c(),e.top=this.vertical?c():null,e.background=this.activeColor,e);this.dragStatus&&(u.transition="none");var h=function(t){var e=["left","right"],r="number"==typeof t;return n("div",{ref:r?"wrapper"+t:"wrapper",attrs:{role:"slider",tabindex:i.disabled?-1:0,"aria-valuemin":i.min,"aria-valuenow":i.value,"aria-valuemax":i.max,"aria-orientation":i.vertical?"vertical":"horizontal"},class:Pc(r?"button-wrapper-"+e[t]:"button-wrapper"),on:{touchstart:function(){r&&(i.index=t)},click:function(t){return t.stopPropagation()}}},[i.slots("button")||n("div",{class:Pc("button"),style:i.buttonStyle})])};return n("div",{style:a,class:Pc({disabled:this.disabled,vertical:r}),on:{click:this.onClick}},[n("div",{class:Pc("bar"),style:u},[this.range?[h(0),h(1)]:h()])])}}),Ac=Object(l.a)("step"),Mc=Ac[0],zc=Ac[1],Fc=Mc({mixins:[Ie("vanSteps")],computed:{status:function(){return this.index0?"left":"right"),this.dragging=!1,setTimeout((function(){t.lockClick=!1}),0))},toggle:function(t){var e=Math.abs(this.offset),i=this.opened?.85:.15,n=this.computedLeftWidth,r=this.computedRightWidth;r&&"right"===t&&e>r*i?this.open("right"):n&&"left"===t&&e>n*i?this.open("left"):this.close()},onClick:function(t){void 0===t&&(t="outside"),this.$emit("click",t),this.opened&&!this.lockClick&&(this.beforeClose?this.beforeClose({position:t,name:this.name,instance:this}):this.onClose?this.onClose(t,this,{name:this.name}):this.close(t))},getClickHandler:function(t,e){var i=this;return function(n){e&&n.stopPropagation(),i.onClick(t)}},genLeftPart:function(){var t=this.$createElement,e=this.slots("left");if(e)return t("div",{ref:"left",class:Zc("left"),on:{click:this.getClickHandler("left",!0)}},[e])},genRightPart:function(){var t=this.$createElement,e=this.slots("right");if(e)return t("div",{ref:"right",class:Zc("right"),on:{click:this.getClickHandler("right",!0)}},[e])}},render:function(){var t=arguments[0],e={transform:"translate3d("+this.offset+"px, 0, 0)",transitionDuration:this.dragging?"0s":".6s"};return t("div",{class:Zc(),on:{click:this.getClickHandler("cell")}},[t("div",{class:Zc("wrapper"),style:e},[this.genLeftPart(),this.slots(),this.genRightPart()])])}}),tu=Object(l.a)("switch-cell"),eu=tu[0],iu=tu[1];function nu(t,e,i,r){return t(ie,s()([{attrs:{center:!0,size:e.cellSize,title:e.title,border:e.border},class:iu([e.cellSize])},h(r)]),[t(ri,{props:n({},e),on:n({},r.listeners)})])}nu.props=n({},Je,{title:String,cellSize:String,border:{type:Boolean,default:!0},size:{type:String,default:"24px"}});var ru=eu(nu),su=Object(l.a)("tabbar"),ou=su[0],au=su[1],lu=ou({mixins:[De("vanTabbar")],props:{route:Boolean,zIndex:[Number,String],placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,value:{type:[Number,String],default:0},border:{type:Boolean,default:!0},fixed:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:null}},data:function(){return{height:null}},computed:{fit:function(){return null!==this.safeAreaInsetBottom?this.safeAreaInsetBottom:this.fixed}},watch:{value:"setActiveItem",children:"setActiveItem"},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.tabbar.getBoundingClientRect().height)},methods:{setActiveItem:function(){var t=this;this.children.forEach((function(e,i){e.active=(e.name||i)===t.value}))},onChange:function(t){var e=this;t!==this.value&&gn({interceptor:this.beforeChange,args:[t],done:function(){e.$emit("input",t),e.$emit("change",t)}})},genTabbar:function(){var t;return(0,this.$createElement)("div",{ref:"tabbar",style:{zIndex:this.zIndex},class:[(t={},t[Bt]=this.border,t),au({unfit:!this.fit,fixed:this.fixed})]},[this.slots()])}},render:function(){var t=arguments[0];return this.placeholder&&this.fixed?t("div",{class:au("placeholder"),style:{height:this.height+"px"}},[this.genTabbar()]):this.genTabbar()}}),cu=Object(l.a)("tabbar-item"),uu=cu[0],hu=cu[1],du=uu({mixins:[Ie("vanTabbar")],props:n({},Qt,{dot:Boolean,icon:String,name:[Number,String],info:[Number,String],badge:[Number,String],iconPrefix:String}),data:function(){return{active:!1}},computed:{routeActive:function(){var t=this.to,e=this.$route;if(t&&e){var i=Object(m.f)(t)?t:{path:t},n=i.path===e.path,r=Object(m.c)(i.name)&&i.name===e.name;return n||r}}},methods:{onClick:function(t){this.parent.onChange(this.name||this.index),this.$emit("click",t),Yt(this.$router,this)},genIcon:function(t){var e=this.$createElement,i=this.slots("icon",{active:t});return i||(this.icon?e(st,{attrs:{name:this.icon,classPrefix:this.iconPrefix}}):void 0)}},render:function(){var t,e=arguments[0],i=this.parent.route?this.routeActive:this.active,n=this.parent[i?"activeColor":"inactiveColor"];return e("div",{class:hu({active:i}),style:{color:n},on:{click:this.onClick}},[e("div",{class:hu("icon")},[this.genIcon(i),e(J,{attrs:{dot:this.dot,info:null!=(t=this.badge)?t:this.info}})]),e("div",{class:hu("text")},[this.slots("default",{active:i})])])}}),fu=Object(l.a)("tree-select"),pu=fu[0],mu=fu[1];function vu(t,e,i,n){var r=e.items,o=e.height,a=e.activeId,l=e.selectedIcon,c=e.mainActiveIndex;var u=(r[+c]||{}).children||[],f=Array.isArray(a);function p(t){return f?-1!==a.indexOf(t):a===t}var m=r.map((function(e){var i;return t(ol,{attrs:{dot:e.dot,info:null!=(i=e.badge)?i:e.info,title:e.text,disabled:e.disabled},class:[mu("nav-item"),e.className]})}));return t("div",s()([{class:mu(),style:{height:Object(Y.a)(o)}},h(n)]),[t(il,{class:mu("nav"),attrs:{activeKey:c},on:{change:function(t){d(n,"update:main-active-index",t),d(n,"click-nav",t),d(n,"navclick",t)}}},[m]),t("div",{class:mu("content")},[i.content?i.content():u.map((function(i){return t("div",{key:i.id,class:["van-ellipsis",mu("item",{active:p(i.id),disabled:i.disabled})],on:{click:function(){if(!i.disabled){var t=i.id;if(f){var r=(t=a.slice()).indexOf(i.id);-1!==r?t.splice(r,1):t.length + + + + + + 菩提阁 + + + + + + + + + + + + + +
+
+
+ 菩提阁 +
+
+
+
+
+
{{address.detail}}
+
+ {{address.consignee}}{{address.sex === '1' ? '先生':'女士'}} + {{address.phone}} +
+ +
+
+
预计{{finishTime}}送达
+
+
+
订单明细
+
+
+
+ +
+ +
+
+
+
{{item.name}}
+
+ x{{item.number}} +
+ {{item.amount}}
+
+
+
+
+
+
+
备注
+ +
+
+
+
+
{{ goodsNum }}
+
+ + {{goodsPrice}} +
+
+
去支付
+
+
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/front/page/address-edit.html b/src/main/resources/front/page/address-edit.html new file mode 100644 index 0000000..89017be --- /dev/null +++ b/src/main/resources/front/page/address-edit.html @@ -0,0 +1,166 @@ + + + + + + + 菩提阁 + + + + + + + + + + + + + +
+
+
+ {{title}} +
+
+
+
+ 联系人: + + + + 先生 + + + + 女士 + +
+
+ 手机号: + +
+
+ 收货地址: + +
+
+ 标签: + {{item}} +
+
保存地址
+
删除地址
+
+
+ + + + + + + + + + + + + + diff --git a/src/main/resources/front/page/address.html b/src/main/resources/front/page/address.html new file mode 100644 index 0000000..fa35114 --- /dev/null +++ b/src/main/resources/front/page/address.html @@ -0,0 +1,159 @@ + + + + + + + 菩提阁 + + + + + + + + + + + + + +
+
+
+ 地址管理 +
+
+
+
+
+ {{item.label}} + {{item.detail}} +
+
+ {{item.consignee}} + {{item.sex === '0' ? '女士' : '先生'}} + {{item.phone}} +
+ +
+
+ + 设为默认地址 +
+
+
+
+ 添加收货地址
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/front/page/login.html b/src/main/resources/front/page/login.html new file mode 100644 index 0000000..ec5c0a1 --- /dev/null +++ b/src/main/resources/front/page/login.html @@ -0,0 +1,91 @@ + + + + + + + + 菩提阁 + + + + + + + + + + + + + +
+
登录
+
+ +
+ + 获取验证码 +
+
手机号输入不正确,请重新输入
+ 登录 +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/front/page/no-wify.html b/src/main/resources/front/page/no-wify.html new file mode 100644 index 0000000..0d9bccc --- /dev/null +++ b/src/main/resources/front/page/no-wify.html @@ -0,0 +1,61 @@ + + + + + + + 菩提阁 + + + + + + + + + + + +
+
+
+ 菩提阁 +
+
+
+ +
网络连接异常
+
点击刷新
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/front/page/order.html b/src/main/resources/front/page/order.html new file mode 100644 index 0000000..44fe8f7 --- /dev/null +++ b/src/main/resources/front/page/order.html @@ -0,0 +1,169 @@ + + + + + + + 菩提阁 + + + + + + + + + + + + + +
+
+
+ 菩提阁 +
+
+
+ + +
+ {{order.orderTime}} + {{getStatus(order.status)}} + +
+
+
+ {{item.name}} + x{{item.number}} +
+
+
+ 共{{order.sumNum}} 件商品,实付¥{{order.amount}} +
+
+
再来一单
+
+
+
+
+
+
+ +
暂无订单
+
+
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/front/page/pay-success.html b/src/main/resources/front/page/pay-success.html new file mode 100644 index 0000000..1fd2362 --- /dev/null +++ b/src/main/resources/front/page/pay-success.html @@ -0,0 +1,89 @@ + + + + + + + 菩提阁 + + + + + + + + + + + +
+
+
+ + 菩提阁 + +
+
+
+ +
下单成功
+
预计{{finishTime}}到达
+
后厨正在加紧制作中,请耐心等待~
+
查看订单
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/front/page/user.html b/src/main/resources/front/page/user.html new file mode 100644 index 0000000..b9da72f --- /dev/null +++ b/src/main/resources/front/page/user.html @@ -0,0 +1,195 @@ + + + + + + + 菩提阁 + + + + + + + + + + + +
+
+
+ 个人中心 +
+
+ +
+
林之迷
+
{{userPhone}}
+
+
+
+
+ +
+
最新订单
+
+ {{order[0].orderTime}} + {{getStatus(order[0].status)}} + +
+
+
+ {{item.name}} + x{{item.number}} +
+
+
+ 共{{order[0].sumNum}} 件商品,实付 + ¥{{order[0].amount}} +
+
+
再来一单
+
+
+
+ 退出登录 +
+
+
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/front/styles/add-order.css b/src/main/resources/front/styles/add-order.css new file mode 100644 index 0000000..cb03eeb --- /dev/null +++ b/src/main/resources/front/styles/add-order.css @@ -0,0 +1,332 @@ +#add_order .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#add_order .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; +} + +#add_order .divHead .divTitle i { + position: absolute; + left: 16rem; + top: 50%; + transform: translate(0, -50%); +} + +#add_order .divContent { + margin: 10rem 10rem 0 10rem; + height: calc(100vh - 56rem - 110rem); + overflow-y: auto; +} + +#add_order .divContent .divAddress { + height: 120rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + position: relative; + padding: 11rem 10rem 0 16rem; +} + +#add_order .divContent .divAddress .address { + height: 25rem; + opacity: 1; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #20232a; + line-height: 25rem; + margin-bottom: 4rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 300rem; +} + +#add_order .divContent .divAddress .name { + height: 17rem; + opacity: 1; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; + line-height: 17rem; +} + +#add_order .divContent .divAddress .name span:first-child { + margin-right: 2rem; +} + +#add_order .divContent .divAddress i { + position: absolute; + right: 14rem; + top: 32rem; +} + +#add_order .divContent .divAddress .divSplit { + width: 100%; + height: 1px; + opacity: 1; + border: 0; + background-color: #ebebeb; + margin-top: 14rem; +} + +#add_order .divContent .divAddress .divFinishTime { + height: 47rem; + opacity: 1; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; + line-height: 47rem; + margin-left: 2rem; +} + +#add_order .divContent .order { + background: #ffffff; + border-radius: 6rem; + margin-top: 10rem; + margin-bottom: 10rem; + padding: 3rem 10rem 7rem 16rem; +} + +#add_order .divContent .order .title { + height: 56rem; + line-height: 56rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + letter-spacing: 0; +} + +#add_order .divContent .order .divSplit { + height: 1px; + opacity: 1; + background-color: #efefef; + border: 0; +} + +#add_order .divContent .order .itemList .item { + display: flex; +} + +#add_order .divContent .order .itemList .item .el-image { + padding-top: 20rem; + padding-bottom: 20rem; + width: 64rem; + height: 64rem; +} + +#add_order .divContent .order .itemList .item .el-image img { + width: 64rem; + height: 64rem; +} + +#add_order .divContent .order .itemList .item:first-child .desc { + border: 0; +} + +#add_order .divContent .order .itemList .item .desc { + padding-top: 20rem; + padding-bottom: 20rem; + border-top: 2px solid #ebeef5; + width: calc(100% - 64rem); +} + +#add_order .divContent .order .itemList .item .desc .name { + height: 22rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + text-align: left; + color: #20232a; + line-height: 22rem; + letter-spacing: 0; + margin-left: 10rem; + margin-bottom: 16rem; +} + +#add_order .divContent .order .itemList .item .desc .numPrice { + height: 22rem; + display: flex; + justify-content: space-between; +} + +#add_order .divContent .order .itemList .item .desc .numPrice span { + margin-left: 12rem; + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #818693; + line-height: 20rem; + letter-spacing: 0; + display: inline-block; +} + +#add_order .divContent .order .itemList .item .desc .numPrice .price { + font-size: 20rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; +} + +#add_order + .divContent + .order + .itemList + .item + .desc + .numPrice + .price + .spanMoney { + color: #e94e3c; + font-size: 12rem; +} + +#add_order .divContent .note { + height: 164rem; + opacity: 1; + background: #ffffff; + border-radius: 6px; + margin-top: 11rem; + padding: 3rem 10rem 10rem 11rem; +} + +#add_order .divContent .note .title { + height: 56rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + line-height: 56rem; + letter-spacing: 0px; + border-bottom: 2rem solid #efefef; +} + +#add_order .divContent .note .van-cell { + height: 103rem; +} + +#add_order .divCart { + width: 345rem; + height: 44rem; + opacity: 1; + background: #000000; + border-radius: 25rem; + box-shadow: 0rem 3rem 5rem 0rem rgba(0, 0, 0, 0.25); + margin: 0 auto; + margin-top: 10rem; + z-index: 3000; + position: absolute; + /* bottom: 35rem; */ + bottom: 12rem; + left: 50%; + transform: translate(-50%, 0); +} + +#add_order .divCart .imgCartActive { + background-image: url("./../images/cart_active.png"); +} + +#add_order .divCart .imgCart { + background-image: url("./../images/cart.png"); +} + +#add_order .divCart > div:first-child { + width: 60rem; + height: 60rem; + position: absolute; + left: 11rem; + bottom: 0; + background-size: 60rem 60rem; +} + +#add_order .divCart .divNum { + font-size: 12rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #ffffff; + letter-spacing: 0rem; + position: absolute; + left: 92rem; + top: 10rem; +} + +#add_order .divCart .divNum span:last-child { + font-size: 20rem; +} + +#add_order .divCart > div:last-child { + width: 102rem; + height: 36rem; + opacity: 1; + border-radius: 18rem; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + line-height: 36rem; + position: absolute; + right: 5rem; + top: 4rem; +} + +#add_order .divCart .btnSubmit { + color: white; + background: #d8d8d8; +} +#add_order .divCart .btnSubmitActive { + color: #333333; + background: #ffc200; +} + +#add_order .divCart .divGoodsNum { + width: 18rem; + height: 18rem; + opacity: 1; + background: #e94e3c; + border-radius: 50%; + text-align: center; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + color: #ffffff; + line-height: 18rem; + position: absolute; + left: 57rem; + top: -5rem; +} + +#add_order .divCart .moreGoods { + width: 25rem; + height: 25rem; + line-height: 25rem; +} diff --git a/src/main/resources/front/styles/address-edit.css b/src/main/resources/front/styles/address-edit.css new file mode 100644 index 0000000..e46bcd9 --- /dev/null +++ b/src/main/resources/front/styles/address-edit.css @@ -0,0 +1,156 @@ +#address_edit { + height: 100%; +} +#address_edit .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#address_edit .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; +} + +#address_edit .divHead .divTitle i { + position: absolute; + left: 16rem; + top: 50%; + transform: translate(0, -50%); +} + +#address_edit .divContent { + height: 100%; + opacity: 1; + background: #ffffff; + padding-left: 9rem; + padding-right: 9rem; +} + +#address_edit .divContent .divItem { + height: 55rem; + line-height: 55rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + line-height: 20rem; + letter-spacing: 0rem; + border-bottom: 1px solid #efefef; + display: flex; + align-items: center; +} + +#address_edit .divContent .divItem .el-input { + width: auto; +} + +#address_edit .divContent .divItem input { + border: 0; + padding: 0; +} + +#address_edit .divContent .divItem .inputUser { + width: 150rem; +} + +#address_edit .divContent .divItem span { + display: block; +} + +#address_edit .divContent .divItem span:first-child { + margin-right: 12rem; + white-space: nowrap; + width: 69rem; +} + +#address_edit .divContent .divItem .spanChecked { + width: 50rem; +} + +#address_edit .divContent .divItem span i { + width: 16rem; + height: 16rem; + background: url(./../images/checked_false.png); + display: inline-block; + background-size: cover; + vertical-align: sub; +} + +#address_edit .divContent .divItem span .iActive { + background: url(./../images/checked_true.png); + background-size: cover; +} + +#address_edit .divContent .divItem .spanItem { + width: 34rem; + height: 20rem; + opacity: 1; + border: 1px solid #e5e4e4; + border-radius: 3rem; + text-align: center; + margin-right: 10rem; + border-radius: 2px; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + color: #333333; +} + +#address_edit .divContent .divItem .spanActiveCompany { + background: #e1f1fe; +} + +#address_edit .divContent .divItem .spanActiveHome { + background: #fef8e7; +} + +#address_edit .divContent .divItem .spanActiveSchool { + background: #e7fef8; +} + +#address_edit .divContent .divItem .el-input__inner { + font-size: 13px; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; +} + +#address_edit .divContent .divSave { + height: 36rem; + opacity: 1; + background: #ffc200; + border-radius: 18rem; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + margin-top: 20rem; +} + +#address_edit .divContent .divDelete { + height: 36rem; + opacity: 1; + background: #f6f6f6; + border-radius: 18rem; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + margin-top: 20rem; +} diff --git a/src/main/resources/front/styles/address.css b/src/main/resources/front/styles/address.css new file mode 100644 index 0000000..38b8945 --- /dev/null +++ b/src/main/resources/front/styles/address.css @@ -0,0 +1,162 @@ +#address .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#address .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; +} + +#address .divHead .divTitle i { + position: absolute; + left: 16rem; + top: 50%; + transform: translate(0, -50%); +} + +#address .divContent { + height: calc(100vh - 157rem); + overflow: auto; +} + +#address .divContent .divItem { + height: 128rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + margin-top: 10rem; + margin-left: 10rem; + margin-right: 9rem; + padding-left: 12rem; + position: relative; +} + +#address .divContent .divItem > img { + width: 16rem; + height: 16rem; + position: absolute; + top: 40rem; + right: 24rem; +} + +#address .divContent .divItem .divDefault img { + width: 16rem; + height: 16rem; + opacity: 1; +} + +#address .divContent .divItem .divAddress { + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; + line-height: 20rem; + letter-spacing: 0; + padding-top: 21rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 280rem; +} + +#address .divContent .divItem .divAddress span { + width: 34rem; + height: 20rem; + opacity: 1; + font-size: 12rem; + display: inline-block; + text-align: center; + margin-right: 4rem; + margin-bottom: 10rem; +} + +#address .divContent .divItem .divUserPhone span { + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #999999; + line-height: 20rem; + letter-spacing: 0; + margin-right: 10rem; +} + +#address .divContent .divItem .divUserPhone span:first-child { + margin-right: 2rem; +} + +#address .divContent .divItem .divAddress .spanCompany { + background-color: #e1f1fe; +} + +#address .divContent .divItem .divAddress .spanHome { + background: #fef8e7; +} + +#address .divContent .divItem .divAddress .spanSchool { + background: #e7fef8; +} + +#address .divContent .divItem .divSplit { + height: 1px; + opacity: 1; + background: #efefef; + border: 0; + margin-top: 16rem; + margin-bottom: 10rem; + margin-right: 10rem; +} + +#address .divContent .divItem .divDefault { + height: 18rem; + opacity: 1; + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; + line-height: 18rem; + letter-spacing: 0; +} + +#address .divContent .divItem .divDefault img { + height: 18rem; + width: 18rem; + margin-right: 5rem; + vertical-align: bottom; +} + +#address .divBottom { + height: 36rem; + opacity: 1; + background: #ffc200; + border-radius: 18rem; + opacity: 1; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + position: absolute; + bottom: 23rem; + left: 50%; + transform: translate(-50%, 0); + width: 334rem; +} diff --git a/src/main/resources/front/styles/index.css b/src/main/resources/front/styles/index.css new file mode 100644 index 0000000..fb9589b --- /dev/null +++ b/src/main/resources/front/styles/index.css @@ -0,0 +1,134 @@ +html, +body { + max-width: 750px; + height: 100%; + background: #f3f2f7; + font-family: Helvetica; + overflow: hidden; +} + +html, +body, +h1, +h2, +h3, +h4, +h5, +h6, +p, +ul, +li { + margin: 0; + padding: 0; +} + +ul, +li { + list-style: none; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: normal; +} + +h3 { + font-size: 16px; +} + +h4 { + font-size: 14px; +} + +p { + font-size: 12px; +} + +em, +i { + font-style: normal; +} + +@font-face { + font-family: "DIN-Medium"; + src: url("../fonts/DIN-Medium.otf"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "DIN"; + src: url("../fonts/DIN-Bold.otf"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "PingFangSC-Regular"; + src: url("../fonts/PingFangSC-Regular.ttf"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "PingFangSC-Regular"; + src: url("../fonts/PingFangSC-Regular.ttf"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "PingFangSC-Semibold"; + src: url("../fonts/PingFangSC-Semibold.ttf"); + font-weight: normal; + font-style: normal; +} + +.app { + height: 100%; +} + +.van-overlay { + background-color: rgba(0, 0, 0, 0.3); +} + +.van-dialog { + overflow: inherit; +} + +::-webkit-input-placeholder { + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #999999; +} + +:-moz-placeholder { + /* Firefox 18- */ + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #999999; +} +::-moz-placeholder { + /* Firefox 19+ */ + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #999999; +} + +:-ms-input-placeholder { + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #999999; +} diff --git a/src/main/resources/front/styles/login.css b/src/main/resources/front/styles/login.css new file mode 100644 index 0000000..c7a4dc1 --- /dev/null +++ b/src/main/resources/front/styles/login.css @@ -0,0 +1,96 @@ +#login .divHead { + opacity: 1; + background: #333333; + height: 88rem; + width: 100%; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 88rem; +} + +#login .divContainer { + width: 356rem; + height: 128rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + margin: 0 auto; + margin-top: 10rem; + position: relative; +} + +#login .divContainer input { + border: 0; + height: 63rem; +} + +#login .divContainer .divSplit { + height: 1px; + background-color: #efefef; + border: 0; + margin-left: 10rem; + margin-right: 10rem; +} + +#login .divContainer span { + position: absolute; + right: 20rem; + top: 20rem; + cursor: pointer; + opacity: 1; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #ffc200; + letter-spacing: 0px; +} + +#login .divMsg { + width: 168px; + height: 17px; + opacity: 1; + font-size: 12px; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: center; + color: #e94e3c; + line-height: 17px; + margin-left: 26rem; + margin-top: 10rem; +} + +#login .btnSubmit { + width: 356rem; + height: 40rem; + margin: 20rem 10rem 0 10rem; + border-radius: 20px; + border: 0; + + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; +} + +#login .btnNoPhone { + color: #666666; + background: #d8d8d8; +} + +#login .btnNoPhone:active { + background: #afafaf; +} + +#login .btnPhone { + background: #ffc200; + color: #333333; +} + +#login .btnPhone:active { + background: rgba(255, 142, 0, 1); + color: #333333; +} diff --git a/src/main/resources/front/styles/main.css b/src/main/resources/front/styles/main.css new file mode 100644 index 0000000..217dafb --- /dev/null +++ b/src/main/resources/front/styles/main.css @@ -0,0 +1,911 @@ +/** +首屏样式 +*/ +#main { + height: 100%; +} + +#main .divHead { + background: url(../images/mainBg.png); + background-repeat: no-repeat; + height: 152rem; + background-size: contain; +} + +#main .divHead img { + position: absolute; + left: 19rem; + top: 41rem; + width: 28rem; + height: 28rem; +} + +#main .divTitle { + width: 345rem; + height: 118rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + box-shadow: 0rem 2rem 5rem 0rem rgba(69, 69, 69, 0.1); + position: absolute; + left: 50%; + top: 77rem; + transform: translate(-50%, 0); + box-sizing: border-box; + padding: 14rem 0 0 8rem; +} +#main .divTitle .divStatic { + display: flex; +} +#main .divTitle .divStatic .logo { + width: 39rem; + height: 39rem; + opacity: 1; + background: #333333; + border-radius: 6rem; + margin-right: 10rem; +} + +#main .divTitle .divStatic .divDesc .divName { + width: 90rem; + height: 25rem; + opacity: 1; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #20232a; + line-height: 25rem; +} + +#main .divTitle .divStatic .divDesc .divSend { + opacity: 1; + font-size: 11rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; + margin-bottom: 10rem; +} + +#main .divTitle .divStatic .divDesc .divSend img { + width: 14rem; + height: 14rem; + opacity: 1; + vertical-align: sub; +} + +#main .divTitle .divStatic .divDesc .divSend span { + margin-right: 12rem; +} + +#main .divTitle .divStatic .divDesc .divSend span:last-child { + margin-right: 0; +} + +#main .divTitle > .divDesc { + opacity: 1; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #9b9b9b; + line-height: 17rem; + margin-right: 18rem; + padding-top: 9rem; + border-top: 1rem dashed #ebebeb; +} + +#main .divBody { + display: flex; + height: 100%; +} + +#main .divBody .divType { + background: #f6f6f6; +} + +#main .divBody .divType ul { + margin-top: 61rem; + overflow-y: auto; + height: calc(100% - 61rem); + padding-bottom: 200rem; + box-sizing: border-box; + width: 84rem; + opacity: 1; +} + +#main .divBody .divType ul li { + padding: 16rem; + opacity: 1; + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 18rem; + letter-spacing: 0rem; + word-wrap: break-word; + word-break: normal; +} + +#main .divBody .divType ul li.active { + color: #333333; + font-weight: 500; + background-color: #ffffff; + font-family: PingFangSC, PingFangSC-Regular; +} + +#main .divBody .divMenu { + background-color: #ffffff; + box-sizing: border-box; + width: 100%; + height: 100%; +} + +#main .divBody .divMenu > div { + margin-top: 61rem; + overflow-y: auto; + height: calc(100% - 61rem); + padding-bottom: 200rem; + box-sizing: border-box; +} + +#main .divBody .divMenu .divItem { + margin: 10rem 15rem 20rem 14rem; + display: flex; +} + +#main .divBody .divMenu .divItem .el-image { + width: 86rem; + height: 86rem; + margin-right: 14rem; +} + +#main .divBody .divMenu .divItem .el-image img { + width: 86rem; + height: 86rem; + border-radius: 5rem; +} + +#main .divBody .divMenu .divItem > div { + position: relative; +} + +#main .divBody .divMenu .divItem .divName { + height: 22rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + text-align: left; + color: #333333; + line-height: 22rem; + letter-spacing: 0; + margin-bottom: 5rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 175rem; +} + +#main .divBody .divMenu .divItem .divDesc { + height: 16rem; + opacity: 1; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 16rem; + letter-spacing: 0rem; + margin-bottom: 4rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 144rem; +} + +#main .divBody .divMenu .divItem .divBottom { + font-size: 15rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; + line-height: 20rem; + letter-spacing: 0rem; +} + +#main .divBody .divMenu .divItem .divBottom span:first-child { + font-size: 12rem; +} + +#main .divBody .divMenu .divItem .divBottom span:last-child { + font-size: 15rem; +} + +#main .divBody .divMenu .divItem .divNum { + display: flex; + position: absolute; + right: 12rem; + bottom: 0; +} + +#main .divBody .divMenu .divItem .divNum .divDishNum { + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + width: auto; +} + +#main .divBody .divMenu .divItem .divNum .divTypes { + width: 64rem; + height: 24rem; + opacity: 1; + background: #ffc200; + border-radius: 12rem; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 24rem; + letter-spacing: 0; +} + +#main .divBody .divMenu .divItem .divNum img { + width: 36rem; + height: 36rem; +} + +#main .divCart { + width: 345rem; + height: 44rem; + opacity: 1; + background: #000000; + border-radius: 25rem; + box-shadow: 0rem 3rem 5rem 0rem rgba(0, 0, 0, 0.25); + margin: 0 auto; + bottom: 24rem; + position: fixed; + left: 50%; + transform: translate(-50%, 0); + z-index: 3000; +} + +#main .divCart .imgCartActive { + background-image: url("./../images/cart_active.png"); +} + +#main .divCart .imgCart { + background-image: url("./../images/cart.png"); +} + +#main .divCart > div:first-child { + width: 60rem; + height: 60rem; + position: absolute; + left: 11rem; + bottom: 0; + background-size: 60rem 60rem; +} + +#main .divCart .divNum { + font-size: 12rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #ffffff; + letter-spacing: 0rem; + position: absolute; + left: 92rem; + top: 10rem; +} + +#main .divCart .divNum span:last-child { + font-size: 20rem; +} + +#main .divCart > div:last-child { + width: 102rem; + height: 36rem; + opacity: 1; + border-radius: 18rem; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + line-height: 36rem; + position: absolute; + right: 5rem; + top: 4rem; +} + +#main .divCart .btnSubmit { + color: white; + background: #d8d8d8; +} +#main .divCart .btnSubmitActive { + color: #333333; + background: #ffc200; +} + +#main .divCart .divGoodsNum { + width: 18rem; + height: 18rem; + opacity: 1; + background: #e94e3c; + border-radius: 50%; + text-align: center; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + color: #ffffff; + line-height: 18rem; + position: absolute; + left: 50rem; + top: -5rem; +} + +#main .divCart .moreGoods { + width: 25rem; + height: 25rem; + line-height: 25rem; +} + +#main .divLayer { + position: absolute; + height: 68rem; + width: 100%; + bottom: 0; + display: flex; +} + +#main .divLayer .divLayerLeft { + background-color: #f6f6f6; + opacity: 0.5; + width: 84rem; + height: 100%; +} + +#main .divLayer .divLayerRight { + background-color: white; + opacity: 0.5; + width: calc(100% - 84rem); + height: 100%; +} + +#main .dialogFlavor { + opacity: 1; + background: #ffffff; + border-radius: 10rem; +} + +#main .dialogFlavor .dialogTitle { + margin-top: 26rem; + margin-bottom: 14rem; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + color: #333333; + letter-spacing: 0; + text-align: center; +} + +#main .dialogFlavor .divContent { + margin-left: 15rem; + margin-right: 15rem; +} + +#main .dialogFlavor .divContent .divFlavorTitle { + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; + letter-spacing: 0; + margin-left: 5rem; + margin-bottom: 10rem; + margin-top: 10rem; +} + +#main .dialogFlavor .divContent span { + display: inline-block; + height: 30rem; + opacity: 1; + background: #ffffff; + border: 1rem solid #ffc200; + border-radius: 7rem; + line-height: 30rem; + padding-left: 13rem; + padding-right: 13rem; + margin: 0 5rem 10rem 5rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: center; + color: #333333; +} + +#main .dialogFlavor .divContent .spanActive { + background: #ffc200; + font-weight: 500; +} + +#main .dialogFlavor .divBottom { + margin-top: 20rem; + margin-bottom: 19rem; + margin-left: 20rem; + display: flex; + position: relative; +} + +#main .dialogFlavor .divBottom div:first-child { + height: 30rem; + opacity: 1; + font-size: 20rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; + line-height: 30rem; + letter-spacing: 0; +} + +#main .dialogFlavor .divBottom div span { + font-size: 14rem; +} + +#main .dialogFlavor .divBottom div:last-child { + width: 100rem; + height: 30rem; + opacity: 1; + background: #ffc200; + border-radius: 15rem; + text-align: center; + line-height: 30rem; + position: absolute; + right: 20rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; +} + +#main .dialogFlavor .divFlavorClose { + position: absolute; + bottom: -70rem; + left: 50%; + transform: translate(-50%, 0); +} + +#main .dialogFlavor .divFlavorClose img { + width: 44rem; + height: 44rem; +} + +#main .dialogCart { + background: linear-gradient(180deg, #ffffff 0%, #ffffff 81%); + border-radius: 12px 12px 0px 0px; +} + +#main .dialogCart .divCartTitle { + height: 59rem; + display: flex; + line-height: 60rem; + position: relative; + margin-left: 15rem; + margin-right: 10rem; + border-bottom: 1px solid #efefef; +} + +#main .dialogCart .divCartTitle .title { + font-size: 20rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + text-align: left; + color: #333333; +} +#main .dialogCart .divCartTitle i { + margin-right: 3rem; + font-size: 15rem; + vertical-align: middle; +} + +#main .dialogCart .divCartTitle .clear { + position: absolute; + right: 0; + top: 50%; + transform: translate(0, -50%); + color: #999999; + font-size: 14px; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; +} + +#main .dialogCart .divCartItem { + height: 108rem; + margin-left: 15rem; + margin-right: 10rem; + display: flex; + align-items: center; + position: relative; +} + +#main .dialogCart .divCartContent { + height: calc(100% - 130rem); + overflow-y: auto; +} + +#main .dialogCart .divCartContent .el-image { + width: 64rem; + height: 64rem; + opacity: 1; + margin-right: 10rem; +} + +#main .dialogCart .divCartContent .el-image img { + width: 64rem; + height: 64rem; +} + +#main .dialogCart .divCartContent .divDesc .name { + height: 22rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + text-align: left; + color: #333333; + line-height: 22rem; + letter-spacing: 0; + margin-bottom: 17rem; +} + +#main .dialogCart .divCartContent .divDesc .price { + font-size: 18rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; +} + +#main .dialogCart .divCartContent .divDesc .price .spanMoney { + font-size: 12rem; +} + +#main .dialogCart .divCartContent .divCartItem .divNum { + position: absolute; + right: 0; + bottom: 10rem; + display: flex; + line-height: 36rem; + height: 36rem; +} + +#main .dialogCart .divCartContent .divCartItem .divNum img { + width: 36rem; + height: 36rem; +} + +#main .dialogCart .divCartContent .divCartItem .divSplit { + width: calc(100% - 64rem); + position: absolute; + bottom: 0; + right: 0; + height: 1px; + opacity: 1; + background-color: #efefef; +} + +#main .dialogCart .divCartContent .divCartItem:last-child .divSplit { + height: 0; +} + +#main .detailsDialog { + display: flex; + flex-direction: column; + text-align: center; +} + +#main .detailsDialog .divContainer { + padding: 20rem 20rem 0 20rem; + overflow: auto; + max-height: 50vh; + overflow-y: auto; +} + +#main .detailsDialog .el-image { + width: 100%; + height: 100%; +} + +#main .detailsDialog .el-image img { + width: 100%; + height: 100%; +} + +#main .detailsDialog .title { + height: 28rem; + opacity: 1; + font-size: 20rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + color: #333333; + line-height: 28rem; + letter-spacing: 0; + margin-top: 18rem; + margin-bottom: 11rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 100%; +} + +#main .detailsDialog .content { + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: justify; + color: #333333; + line-height: 24rem; +} + +#main .detailsDialog .divNum { + display: flex; + justify-content: space-between; + margin-top: 23rem; + margin-bottom: 20rem; + padding-left: 20rem; + padding-right: 20rem; +} + +#main .detailsDialog .divNum .left { + font-size: 20rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; + line-height: 36rem; + letter-spacing: 0rem; +} + +#main .detailsDialog .divNum .left span:first-child { + font-size: 12rem; +} + +#main .detailsDialog .divNum .right { + display: flex; +} + +#main .detailsDialog .divNum .divDishNum { + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + width: auto; +} + +#main .detailsDialog .divNum .divTypes { + width: 64rem; + height: 24rem; + opacity: 1; + background: #ffc200; + border-radius: 12rem; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 24rem; + letter-spacing: 0; +} + +#main .detailsDialog .divNum .divSubtract, +.divAdd { + height: 36rem; +} + +#main .detailsDialog .divNum img { + width: 36rem; + height: 36rem; +} + +#main .detailsDialog .detailsDialogClose { + position: absolute; + bottom: -70rem; + left: 50%; + transform: translate(-50%, 0); +} + +#main .detailsDialog .detailsDialogClose img { + width: 44rem; + height: 44rem; +} + +#main .setMealDetailsDialog { + display: flex; + flex-direction: column; + text-align: center; +} + +#main .setMealDetailsDialog .divContainer { + padding: 20rem 20rem 0 20rem; + overflow: auto; + max-height: 50vh; + overflow-y: auto; +} + +#main .setMealDetailsDialog .el-image { + width: 100%; + height: 100%; +} + +#main .setMealDetailsDialog .el-image img { + width: 100%; + height: 100%; +} + +#main .setMealDetailsDialog .divSubTitle { + text-align: left; + margin-top: 16rem; + margin-bottom: 6rem; + height: 25rem; + opacity: 1; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + line-height: 25rem; + letter-spacing: 0px; + position: relative; +} + +#main .setMealDetailsDialog .divContainer .item .divSubTitle .divPrice { + position: absolute; + right: 0; + top: 0; + font-size: 18rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; + line-height: 25rem; + letter-spacing: 0rem; +} + +#main + .setMealDetailsDialog + .divContainer + .item + .divSubTitle + .divPrice + span:first-child { + font-size: 12rem; +} + +#main .setMealDetailsDialog .title { + height: 28rem; + opacity: 1; + font-size: 20rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + color: #333333; + line-height: 28rem; + letter-spacing: 0; + margin-top: 18rem; + margin-bottom: 11rem; +} + +#main .setMealDetailsDialog .content { + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: justify; + color: #333333; + line-height: 24rem; +} + +#main .setMealDetailsDialog .divNum { + display: flex; + justify-content: space-between; + margin-top: 23rem; + padding-bottom: 15rem; + padding-left: 20rem; + padding-right: 20rem; +} + +#main .setMealDetailsDialog .divNum .left { + font-size: 20rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; + line-height: 36rem; + letter-spacing: 0rem; +} + +#main .setMealDetailsDialog .divNum .left span:first-child { + font-size: 12rem; +} + +#main .setMealDetailsDialog .divNum .right { + display: flex; +} + +#main .setMealDetailsDialog .divNum .divDishNum { + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + width: auto; +} + +#main .setMealDetailsDialog .divNum .divTypes { + width: 64rem; + height: 24rem; + opacity: 1; + background: #ffc200; + border-radius: 12rem; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 24rem; + letter-spacing: 0; +} + +#main .setMealDetailsDialog .divNum .divSubtract, +.divAdd { + height: 36rem; +} + +#main .setMealDetailsDialog .divNum img { + width: 36rem; + height: 36rem; +} + +#main .setMealDetailsDialog .divNum .right .addCart { + width: 100rem; + height: 30rem; + opacity: 1; + background: #ffc200; + border-radius: 15rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 30rem; +} + +#main .setMealDetailsDialog .detailsDialogClose { + position: absolute; + bottom: -70rem; + left: 50%; + transform: translate(-50%, 0); +} + +#main .setMealDetailsDialog .detailsDialogClose img { + width: 44rem; + height: 44rem; +} diff --git a/src/main/resources/front/styles/no-wify.css b/src/main/resources/front/styles/no-wify.css new file mode 100644 index 0000000..d66d516 --- /dev/null +++ b/src/main/resources/front/styles/no-wify.css @@ -0,0 +1,74 @@ +#no_wifi .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#no_wifi .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; +} + +#no_wifi .divHead .divTitle i { + position: absolute; + left: 16rem; + top: 50%; + transform: translate(0, -50%); +} + +#no_wifi .divContent { + height: calc(100vh - 88rem); + width: 100%; + background: #ffffff; + display: flex; + flex-direction: column; + text-align: center; + align-items: center; +} + +#no_wifi .divContent img { + width: 239rem; + height: 130rem; + margin-top: 104rem; + margin-bottom: 19rem; +} + +#no_wifi .divContent .divDesc { + height: 33rem; + opacity: 1; + font-size: 24rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 33rem; + letter-spacing: 0; + margin-bottom: 20rem; +} + +#no_wifi .divContent .btnRefresh { + width: 124rem; + height: 36rem; + opacity: 1; + background: #ffc200; + border-radius: 18px; + opacity: 1; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 21rem; + letter-spacing: 0; + line-height: 36rem; +} diff --git a/src/main/resources/front/styles/order.css b/src/main/resources/front/styles/order.css new file mode 100644 index 0000000..ce20a7f --- /dev/null +++ b/src/main/resources/front/styles/order.css @@ -0,0 +1,153 @@ +#order { + height: 100%; +} + +#order .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#order .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; +} + +#order .divHead .divTitle i { + position: absolute; + left: 16rem; + top: 50%; + transform: translate(0, -50%); +} + +#order .divBody { + margin: 10rem 12rem 10rem 12rem; + background: #ffffff; + border-radius: 6rem; + padding-left: 10rem; + padding-right: 10rem; + height: calc(100% - 108rem); + overflow-y: auto; +} + +#order .divBody .van-list .van-cell::after { + border: 0; +} + +#order .divBody .item .timeStatus { + height: 46rem; + line-height: 16rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; + letter-spacing: 0; + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 2rem dashed #efefef; + border-top: 1px solid #efefef; +} + +#order .divBody .item .timeStatus span:first-child { + color: #333333; +} + +#order .divBody .item .dishList { + padding-top: 10rem; + padding-bottom: 11rem; +} + +#order .divBody .item .dishList .item { + padding-top: 5rem; + padding-bottom: 5rem; + display: flex; + justify-content: space-between; + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; + letter-spacing: 0; +} + +#order .divBody .item .result { + display: flex; + justify-content: flex-end; + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; +} + +#order .divBody .item .result .price { + color: #343434; +} + +#order .divBody .item .btn { + display: flex; + justify-content: flex-end; + margin-bottom: 17rem; + margin-top: 20rem; +} + +#order .divBody .btn .btnAgain { + width: 124rem; + height: 36rem; + opacity: 1; + border: 1px solid #e5e4e4; + border-radius: 19rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + position: relative; +} + +#order .divNoData { + width: 100%; + height: calc(100% - 88rem); + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +#order .divNoData .divContainer img { + width: 240rem; + height: 129rem; +} + +#order .divNoData .divContainer div { + font-size: 24rem; + font-family: PingFangSC, PingFangSC-Medium; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 33rem; + height: 33rem; + margin-top: 20rem; +} diff --git a/src/main/resources/front/styles/pay-success.css b/src/main/resources/front/styles/pay-success.css new file mode 100644 index 0000000..70abfa1 --- /dev/null +++ b/src/main/resources/front/styles/pay-success.css @@ -0,0 +1,97 @@ +#pay_success .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#pay_success .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; + display: flex; + justify-content: space-between; + align-items: center; +} + +#pay_success .divHead .divTitle i { + margin-left: 16rem; +} + +#pay_success .divHead .divTitle img { + width: 18rem; + height: 18rem; + margin-right: 19rem; +} + +#pay_success .divContent { + height: calc(100vh - 88rem); + width: 100%; + background: #ffffff; + display: flex; + flex-direction: column; + text-align: center; + align-items: center; +} + +#pay_success .divContent img { + margin-top: 148rem; + margin-bottom: 19rem; + width: 90rem; + height: 86rem; +} + +#pay_success .divContent .divSuccess { + height: 33rem; + opacity: 1; + font-size: 24rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 33rem; + margin-top: 19rem; + margin-bottom: 10rem; +} + +#pay_success .divContent .divDesc, +.divDesc1 { + height: 22rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: center; + color: #666666; + line-height: 22rem; +} + +#pay_success .divContent .divDesc1 { + margin-top: 7rem; + margin-bottom: 20rem; +} + +#pay_success .divContent .btnView { + width: 124rem; + height: 36rem; + opacity: 1; + background: #ffc200; + border-radius: 18px; + opacity: 1; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 21rem; + letter-spacing: 0; + line-height: 36rem; +} diff --git a/src/main/resources/front/styles/user.css b/src/main/resources/front/styles/user.css new file mode 100644 index 0000000..095cca4 --- /dev/null +++ b/src/main/resources/front/styles/user.css @@ -0,0 +1,240 @@ +#user { + height: 100%; +} + +#user .divHead { + width: 100%; + height: 164rem; + opacity: 1; + background: #ffc200; + box-sizing: border-box; + padding-left: 12rem; + padding-right: 12rem; +} + +#user .divHead .divTitle { + height: 25rem; + opacity: 1; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 25rem; + letter-spacing: 0; + padding-top: 50rem; + margin-bottom: 18rem; + position: relative; +} + +#user .divHead .divTitle i { + position: absolute; + left: 0; + margin-top: 5rem; +} + +#user .divHead .divUser { + display: flex; +} + +#user .divHead .divUser > img { + width: 58rem; + height: 58rem; + border-radius: 50%; + margin-right: 16rem; +} + +#user .divHead .divUser .desc { + display: flex; + flex-direction: column; + justify-content: center; +} + +#user .divHead .divUser .desc .divName { + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + margin-right: 6rem; + margin-bottom: 5rem; + display: flex; + align-items: center; +} + +#user .divHead .divUser .desc .divName img { + width: 16rem; + height: 16rem; + opacity: 1; + margin-left: 6rem; +} + +#user .divHead .divUser .desc .divPhone { + font-size: 14px; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; +} + +#user .divContent { + height: calc(100% - 174rem); + overflow-y: auto; +} + +#user .divLinks { + height: 104rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + padding-left: 17rem; + padding-right: 11rem; + margin: 10rem; +} + +#user .divLinks .item { + height: 51rem; + line-height: 51rem; + position: relative; + display: flex; + align-items: center; +} + +#user .divLinks .divSplit { + height: 1rem; + opacity: 1; + background-color: #ebebeb; + border: 0; +} + +#user .divLinks .item img { + width: 18rem; + height: 18rem; + margin-right: 5rem; +} + +#user .divLinks .item i { + position: absolute; + right: 0; + top: 50%; + transform: translate(0, -50%); +} + +#user .divOrders { + margin: 0 10rem 10rem 10rem; + background: #ffffff; + border-radius: 6rem; + padding-left: 10rem; + padding-right: 10rem; + padding-bottom: 17rem; +} + +#user .divOrders .title { + height: 60rem; + line-height: 60rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + letter-spacing: 0; + border-bottom: 2px solid #efefef; +} + +#user .divOrders .timeStatus { + height: 46rem; + line-height: 16rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; + letter-spacing: 0; + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 2rem dashed #efefef; +} + +#user .divOrders .timeStatus span:first-child { + color: #333333; +} + +#user .divOrders .dishList { + padding-top: 10rem; + padding-bottom: 11rem; +} + +#user .divOrders .dishList .item { + padding-top: 5rem; + padding-bottom: 5rem; + display: flex; + justify-content: space-between; + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; + letter-spacing: 0; +} + +#user .divOrders .result { + display: flex; + justify-content: flex-end; + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; +} + +#user .divOrders .result .price { + color: black; +} + +#user .divOrders .btn { + margin-top: 20rem; + display: flex; + justify-content: flex-end; +} + +#user .divOrders .btn .btnAgain { + width: 124rem; + height: 36rem; + opacity: 1; + border: 1px solid #e5e4e4; + border-radius: 19rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + position: relative; +} + +#user .quitLogin { + margin: 0 10rem 10rem 10rem; + height: 50rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + opacity: 1; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 50rem; +} diff --git a/src/main/resources/front/styles/vant.min.css b/src/main/resources/front/styles/vant.min.css new file mode 100644 index 0000000..8295f78 --- /dev/null +++ b/src/main/resources/front/styles/vant.min.css @@ -0,0 +1 @@ +html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Segoe UI,Arial,Roboto,'PingFang SC',miui,'Hiragino Sans GB','Microsoft Yahei',sans-serif}a{text-decoration:none}button,input,textarea{color:inherit;font:inherit}[class*=van-]:focus,a:focus,button:focus,input:focus,textarea:focus{outline:0}ol,ul{margin:0;padding:0;list-style:none}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.van-clearfix::after{display:table;clear:both;content:''}[class*=van-hairline]::after{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #ebedf0;-webkit-transform:scale(.5);transform:scale(.5)}.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--top::after{border-top-width:1px}.van-hairline--left::after{border-left-width:1px}.van-hairline--right::after{border-right-width:1px}.van-hairline--bottom::after{border-bottom-width:1px}.van-hairline--top-bottom::after,.van-hairline-unset--top-bottom::after{border-width:1px 0}.van-hairline--surround::after{border-width:1px}@-webkit-keyframes van-slide-up-enter{from{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes van-slide-up-enter{from{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes van-slide-up-leave{to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes van-slide-down-enter{from{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-enter{from{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes van-slide-down-leave{to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes van-slide-left-enter{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-enter{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes van-slide-left-leave{to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes van-slide-right-enter{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes van-slide-right-enter{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes van-slide-right-leave{to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes van-fade-in{from{opacity:0}to{opacity:1}}@keyframes van-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes van-fade-out{from{opacity:1}to{opacity:0}}@keyframes van-fade-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes van-rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes van-rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.van-fade-enter-active{-webkit-animation:.3s van-fade-in both ease-out;animation:.3s van-fade-in both ease-out}.van-fade-leave-active{-webkit-animation:.3s van-fade-out both ease-in;animation:.3s van-fade-out both ease-in}.van-slide-up-enter-active{-webkit-animation:van-slide-up-enter .3s both ease-out;animation:van-slide-up-enter .3s both ease-out}.van-slide-up-leave-active{-webkit-animation:van-slide-up-leave .3s both ease-in;animation:van-slide-up-leave .3s both ease-in}.van-slide-down-enter-active{-webkit-animation:van-slide-down-enter .3s both ease-out;animation:van-slide-down-enter .3s both ease-out}.van-slide-down-leave-active{-webkit-animation:van-slide-down-leave .3s both ease-in;animation:van-slide-down-leave .3s both ease-in}.van-slide-left-enter-active{-webkit-animation:van-slide-left-enter .3s both ease-out;animation:van-slide-left-enter .3s both ease-out}.van-slide-left-leave-active{-webkit-animation:van-slide-left-leave .3s both ease-in;animation:van-slide-left-leave .3s both ease-in}.van-slide-right-enter-active{-webkit-animation:van-slide-right-enter .3s both ease-out;animation:van-slide-right-enter .3s both ease-out}.van-slide-right-leave-active{-webkit-animation:van-slide-right-leave .3s both ease-in;animation:van-slide-right-leave .3s both ease-in}.van-overlay{position:fixed;top:0;left:0;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.7)}.van-info{position:absolute;top:0;right:0;box-sizing:border-box;min-width:16px;padding:0 3px;color:#fff;font-weight:500;font-size:12px;font-family:-apple-system-font,Helvetica Neue,Arial,sans-serif;line-height:1.2;text-align:center;background-color:#ee0a24;border:1px solid #fff;border-radius:16px;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100%;transform-origin:100%}.van-info--dot{width:8px;min-width:0;height:8px;background-color:#ee0a24;border-radius:100%}.van-sidebar-item{position:relative;display:block;box-sizing:border-box;padding:20px 12px;overflow:hidden;color:#323233;font-size:14px;line-height:20px;background-color:#f7f8fa;cursor:pointer;-webkit-user-select:none;user-select:none}.van-sidebar-item:active{background-color:#f2f3f5}.van-sidebar-item__text{position:relative;display:inline-block;word-break:break-all}.van-sidebar-item:not(:last-child)::after{border-bottom-width:1px}.van-sidebar-item--select{color:#323233;font-weight:500}.van-sidebar-item--select,.van-sidebar-item--select:active{background-color:#fff}.van-sidebar-item--select::before{position:absolute;top:50%;left:0;width:4px;height:16px;background-color:#ee0a24;-webkit-transform:translateY(-50%);transform:translateY(-50%);content:''}.van-sidebar-item--disabled{color:#c8c9cc;cursor:not-allowed}.van-sidebar-item--disabled:active{background-color:#f7f8fa}@font-face{font-weight:400;font-family:vant-icon;font-style:normal;font-display:auto;src:url(data:font/ttf;base64,d09GMgABAAAAAF+QAAsAAAAA41QAAF8+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGVgCcdAqDgHyCuwEBNgIkA4dAC4NiAAQgBYR2B5RiG7C9B8a427DbAREi9V4hitI8qyMR9oKSss3+/09KOsYQhg6Uv2ulL0WPFr17UPIj32woeaBI3EETqrC4UH5jgqiaZxmv5+KtlsskpCIgpn0LrRc+R7ko/t/mjSk0edG74kcoOdxyrLW6fmucKuVBDRC+xZr5kKRoijx8f9/O/e0Lf2rZLZDGo3U8CijgDBJMMAwfN8Tr5l8ICSEJvCQkeQFCIAkzA7LIC9OQkDAyQCCMJYSxNAEHAUWtCoLorouodRKstoqtYhVsFay2VVvFMaFDbR1fjKL9VVvfpiqWIlbXy/hThgXf2vTTCpOwxIgCGJCSz79fTnvJ0L4nje3kA+PhguTxBHYbKiyyL9J15to0y3D9gNDuzvcuraqcZO+uynAgqRriwWaHcRAFhpkxJp5bz6L3Lm9f/0i/0q9K1RDcdAvb7oTtJgeGAtxwCAHAGHARDYILD4K7ITMEPDtVAgS4w9NvllEywvQ6fV1lhZnAJJl9wGcHSLqLbZUFSTeBtBCm2KJjtsyJ/+7xvBt0d9yNCPLAdntHYmC7sXckQAA45pIvuRNdkEcAnOsApzTxGQ+o+iMS5EkfAjjXAfjAHshW8YuMj4FxuhBBXCR+Znt9rFyq+mMuSNy21llgPZap6Sa+RkQQjd9PT5US25dfTTRCh8JNIykAMKpCDsnP1YgRqEXA/Jtq2WJI0aYuUhcz3qNc5T7monTT/TQA/v8zA84MAGkwAJcAJC0BkBIHELkEQO1DEhcYcrUkFZ5Iai/EiAGoPZCU7gDxArVRdAipupBSd67cxy7Ect25aF266HY716VLF+UVpYuqN+Lg/MAXHIClBUzZJqGeGZQBDL3ofZJm0P7sp9YHGe3WU8SxCEFEJIgG7brbf9chtgnt1FU9Y+CLUyRaDOCCi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/krbX+UoVCD9HC64DNfCSXSvCmVX9BkjvoGBqeGh15f0tHSfjSum4PKq7AUx+SNNdGStT7te/79ljekvL4qZPlg80fnsO24yDL1A/gdua4Uq0ofJNxlEz6wjfg8zfvRp0VM11GIx2E25cWuMMyCWCoL0JubyKKzzP8Qd03YZKOxVMarH7FY+ZQs4KHPUUZCAlZJDFLh1OxnfZF4Pcf9MmA5Btebuz/I0NbCtX8AQA=) format('woff2'),url(https://b.yzcdn.cn/vant/vant-icon-f463a9.woff) format('woff'),url(https://b.yzcdn.cn/vant/vant-icon-f463a9.ttf) format('truetype')}.van-icon{position:relative;display:inline-block;font:normal normal normal 14px/1 vant-icon;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}.van-icon::before{display:inline-block}.van-icon-add-o::before{content:'\F000'}.van-icon-add-square::before{content:'\F001'}.van-icon-add::before{content:'\F002'}.van-icon-after-sale::before{content:'\F003'}.van-icon-aim::before{content:'\F004'}.van-icon-alipay::before{content:'\F005'}.van-icon-apps-o::before{content:'\F006'}.van-icon-arrow-down::before{content:'\F007'}.van-icon-arrow-left::before{content:'\F008'}.van-icon-arrow-up::before{content:'\F009'}.van-icon-arrow::before{content:'\F00A'}.van-icon-ascending::before{content:'\F00B'}.van-icon-audio::before{content:'\F00C'}.van-icon-award-o::before{content:'\F00D'}.van-icon-award::before{content:'\F00E'}.van-icon-back-top::before{content:'\F0E6'}.van-icon-bag-o::before{content:'\F00F'}.van-icon-bag::before{content:'\F010'}.van-icon-balance-list-o::before{content:'\F011'}.van-icon-balance-list::before{content:'\F012'}.van-icon-balance-o::before{content:'\F013'}.van-icon-balance-pay::before{content:'\F014'}.van-icon-bar-chart-o::before{content:'\F015'}.van-icon-bars::before{content:'\F016'}.van-icon-bell::before{content:'\F017'}.van-icon-bill-o::before{content:'\F018'}.van-icon-bill::before{content:'\F019'}.van-icon-birthday-cake-o::before{content:'\F01A'}.van-icon-bookmark-o::before{content:'\F01B'}.van-icon-bookmark::before{content:'\F01C'}.van-icon-browsing-history-o::before{content:'\F01D'}.van-icon-browsing-history::before{content:'\F01E'}.van-icon-brush-o::before{content:'\F01F'}.van-icon-bulb-o::before{content:'\F020'}.van-icon-bullhorn-o::before{content:'\F021'}.van-icon-calendar-o::before{content:'\F022'}.van-icon-card::before{content:'\F023'}.van-icon-cart-circle-o::before{content:'\F024'}.van-icon-cart-circle::before{content:'\F025'}.van-icon-cart-o::before{content:'\F026'}.van-icon-cart::before{content:'\F027'}.van-icon-cash-back-record::before{content:'\F028'}.van-icon-cash-on-deliver::before{content:'\F029'}.van-icon-cashier-o::before{content:'\F02A'}.van-icon-certificate::before{content:'\F02B'}.van-icon-chart-trending-o::before{content:'\F02C'}.van-icon-chat-o::before{content:'\F02D'}.van-icon-chat::before{content:'\F02E'}.van-icon-checked::before{content:'\F02F'}.van-icon-circle::before{content:'\F030'}.van-icon-clear::before{content:'\F031'}.van-icon-clock-o::before{content:'\F032'}.van-icon-clock::before{content:'\F033'}.van-icon-close::before{content:'\F034'}.van-icon-closed-eye::before{content:'\F035'}.van-icon-cluster-o::before{content:'\F036'}.van-icon-cluster::before{content:'\F037'}.van-icon-column::before{content:'\F038'}.van-icon-comment-circle-o::before{content:'\F039'}.van-icon-comment-circle::before{content:'\F03A'}.van-icon-comment-o::before{content:'\F03B'}.van-icon-comment::before{content:'\F03C'}.van-icon-completed::before{content:'\F03D'}.van-icon-contact::before{content:'\F03E'}.van-icon-coupon-o::before{content:'\F03F'}.van-icon-coupon::before{content:'\F040'}.van-icon-credit-pay::before{content:'\F041'}.van-icon-cross::before{content:'\F042'}.van-icon-debit-pay::before{content:'\F043'}.van-icon-delete-o::before{content:'\F0E9'}.van-icon-delete::before{content:'\F044'}.van-icon-descending::before{content:'\F045'}.van-icon-description::before{content:'\F046'}.van-icon-desktop-o::before{content:'\F047'}.van-icon-diamond-o::before{content:'\F048'}.van-icon-diamond::before{content:'\F049'}.van-icon-discount::before{content:'\F04A'}.van-icon-down::before{content:'\F04B'}.van-icon-ecard-pay::before{content:'\F04C'}.van-icon-edit::before{content:'\F04D'}.van-icon-ellipsis::before{content:'\F04E'}.van-icon-empty::before{content:'\F04F'}.van-icon-enlarge::before{content:'\F0E4'}.van-icon-envelop-o::before{content:'\F050'}.van-icon-exchange::before{content:'\F051'}.van-icon-expand-o::before{content:'\F052'}.van-icon-expand::before{content:'\F053'}.van-icon-eye-o::before{content:'\F054'}.van-icon-eye::before{content:'\F055'}.van-icon-fail::before{content:'\F056'}.van-icon-failure::before{content:'\F057'}.van-icon-filter-o::before{content:'\F058'}.van-icon-fire-o::before{content:'\F059'}.van-icon-fire::before{content:'\F05A'}.van-icon-flag-o::before{content:'\F05B'}.van-icon-flower-o::before{content:'\F05C'}.van-icon-font-o::before{content:'\F0EC'}.van-icon-font::before{content:'\F0EB'}.van-icon-free-postage::before{content:'\F05D'}.van-icon-friends-o::before{content:'\F05E'}.van-icon-friends::before{content:'\F05F'}.van-icon-gem-o::before{content:'\F060'}.van-icon-gem::before{content:'\F061'}.van-icon-gift-card-o::before{content:'\F062'}.van-icon-gift-card::before{content:'\F063'}.van-icon-gift-o::before{content:'\F064'}.van-icon-gift::before{content:'\F065'}.van-icon-gold-coin-o::before{content:'\F066'}.van-icon-gold-coin::before{content:'\F067'}.van-icon-good-job-o::before{content:'\F068'}.van-icon-good-job::before{content:'\F069'}.van-icon-goods-collect-o::before{content:'\F06A'}.van-icon-goods-collect::before{content:'\F06B'}.van-icon-graphic::before{content:'\F06C'}.van-icon-home-o::before{content:'\F06D'}.van-icon-hot-o::before{content:'\F06E'}.van-icon-hot-sale-o::before{content:'\F06F'}.van-icon-hot-sale::before{content:'\F070'}.van-icon-hot::before{content:'\F071'}.van-icon-hotel-o::before{content:'\F072'}.van-icon-idcard::before{content:'\F073'}.van-icon-info-o::before{content:'\F074'}.van-icon-info::before{content:'\F075'}.van-icon-invition::before{content:'\F076'}.van-icon-label-o::before{content:'\F077'}.van-icon-label::before{content:'\F078'}.van-icon-like-o::before{content:'\F079'}.van-icon-like::before{content:'\F07A'}.van-icon-live::before{content:'\F07B'}.van-icon-location-o::before{content:'\F07C'}.van-icon-location::before{content:'\F07D'}.van-icon-lock::before{content:'\F07E'}.van-icon-logistics::before{content:'\F07F'}.van-icon-manager-o::before{content:'\F080'}.van-icon-manager::before{content:'\F081'}.van-icon-map-marked::before{content:'\F082'}.van-icon-medal-o::before{content:'\F083'}.van-icon-medal::before{content:'\F084'}.van-icon-minus::before{content:'\F0E8'}.van-icon-more-o::before{content:'\F085'}.van-icon-more::before{content:'\F086'}.van-icon-music-o::before{content:'\F087'}.van-icon-music::before{content:'\F088'}.van-icon-new-arrival-o::before{content:'\F089'}.van-icon-new-arrival::before{content:'\F08A'}.van-icon-new-o::before{content:'\F08B'}.van-icon-new::before{content:'\F08C'}.van-icon-newspaper-o::before{content:'\F08D'}.van-icon-notes-o::before{content:'\F08E'}.van-icon-orders-o::before{content:'\F08F'}.van-icon-other-pay::before{content:'\F090'}.van-icon-paid::before{content:'\F091'}.van-icon-passed::before{content:'\F092'}.van-icon-pause-circle-o::before{content:'\F093'}.van-icon-pause-circle::before{content:'\F094'}.van-icon-pause::before{content:'\F095'}.van-icon-peer-pay::before{content:'\F096'}.van-icon-pending-payment::before{content:'\F097'}.van-icon-phone-circle-o::before{content:'\F098'}.van-icon-phone-circle::before{content:'\F099'}.van-icon-phone-o::before{content:'\F09A'}.van-icon-phone::before{content:'\F09B'}.van-icon-photo-fail::before{content:'\F0E5'}.van-icon-photo-o::before{content:'\F09C'}.van-icon-photo::before{content:'\F09D'}.van-icon-photograph::before{content:'\F09E'}.van-icon-play-circle-o::before{content:'\F09F'}.van-icon-play-circle::before{content:'\F0A0'}.van-icon-play::before{content:'\F0A1'}.van-icon-plus::before{content:'\F0A2'}.van-icon-point-gift-o::before{content:'\F0A3'}.van-icon-point-gift::before{content:'\F0A4'}.van-icon-points::before{content:'\F0A5'}.van-icon-printer::before{content:'\F0A6'}.van-icon-qr-invalid::before{content:'\F0A7'}.van-icon-qr::before{content:'\F0A8'}.van-icon-question-o::before{content:'\F0A9'}.van-icon-question::before{content:'\F0AA'}.van-icon-records::before{content:'\F0AB'}.van-icon-refund-o::before{content:'\F0AC'}.van-icon-replay::before{content:'\F0AD'}.van-icon-revoke::before{content:'\F0ED'}.van-icon-scan::before{content:'\F0AE'}.van-icon-search::before{content:'\F0AF'}.van-icon-send-gift-o::before{content:'\F0B0'}.van-icon-send-gift::before{content:'\F0B1'}.van-icon-service-o::before{content:'\F0B2'}.van-icon-service::before{content:'\F0B3'}.van-icon-setting-o::before{content:'\F0B4'}.van-icon-setting::before{content:'\F0B5'}.van-icon-share-o::before{content:'\F0E7'}.van-icon-share::before{content:'\F0B6'}.van-icon-shop-collect-o::before{content:'\F0B7'}.van-icon-shop-collect::before{content:'\F0B8'}.van-icon-shop-o::before{content:'\F0B9'}.van-icon-shop::before{content:'\F0BA'}.van-icon-shopping-cart-o::before{content:'\F0BB'}.van-icon-shopping-cart::before{content:'\F0BC'}.van-icon-shrink::before{content:'\F0BD'}.van-icon-sign::before{content:'\F0BE'}.van-icon-smile-comment-o::before{content:'\F0BF'}.van-icon-smile-comment::before{content:'\F0C0'}.van-icon-smile-o::before{content:'\F0C1'}.van-icon-smile::before{content:'\F0C2'}.van-icon-sort::before{content:'\F0EA'}.van-icon-star-o::before{content:'\F0C3'}.van-icon-star::before{content:'\F0C4'}.van-icon-stop-circle-o::before{content:'\F0C5'}.van-icon-stop-circle::before{content:'\F0C6'}.van-icon-stop::before{content:'\F0C7'}.van-icon-success::before{content:'\F0C8'}.van-icon-thumb-circle-o::before{content:'\F0C9'}.van-icon-thumb-circle::before{content:'\F0CA'}.van-icon-todo-list-o::before{content:'\F0CB'}.van-icon-todo-list::before{content:'\F0CC'}.van-icon-tosend::before{content:'\F0CD'}.van-icon-tv-o::before{content:'\F0CE'}.van-icon-umbrella-circle::before{content:'\F0CF'}.van-icon-underway-o::before{content:'\F0D0'}.van-icon-underway::before{content:'\F0D1'}.van-icon-upgrade::before{content:'\F0D2'}.van-icon-user-circle-o::before{content:'\F0D3'}.van-icon-user-o::before{content:'\F0D4'}.van-icon-video-o::before{content:'\F0D5'}.van-icon-video::before{content:'\F0D6'}.van-icon-vip-card-o::before{content:'\F0D7'}.van-icon-vip-card::before{content:'\F0D8'}.van-icon-volume-o::before{content:'\F0D9'}.van-icon-volume::before{content:'\F0DA'}.van-icon-wap-home-o::before{content:'\F0DB'}.van-icon-wap-home::before{content:'\F0DC'}.van-icon-wap-nav::before{content:'\F0DD'}.van-icon-warn-o::before{content:'\F0DE'}.van-icon-warning-o::before{content:'\F0DF'}.van-icon-warning::before{content:'\F0E0'}.van-icon-weapp-nav::before{content:'\F0E1'}.van-icon-wechat-pay::before{content:'\F0E2'}.van-icon-wechat::before{content:'\F0EE'}.van-icon-youzan-shield::before{content:'\F0E3'}.van-icon__image{width:1em;height:1em;object-fit:contain}.van-tabbar-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#646566;font-size:12px;line-height:1;cursor:pointer}.van-tabbar-item__icon{position:relative;margin-bottom:4px;font-size:22px}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon img{display:block;height:20px}.van-tabbar-item--active{color:#1989fa;background-color:#fff}.van-tabbar-item .van-info{margin-top:4px}.van-step{position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#969799;font-size:14px}.van-step__circle{display:block;width:5px;height:5px;background-color:#969799;border-radius:50%}.van-step__line{position:absolute;background-color:#ebedf0;-webkit-transition:background-color .3s;transition:background-color .3s}.van-step--horizontal{float:left}.van-step--horizontal:first-child .van-step__title{margin-left:0;-webkit-transform:none;transform:none}.van-step--horizontal:last-child{position:absolute;right:1px;width:auto}.van-step--horizontal:last-child .van-step__title{margin-left:0;-webkit-transform:none;transform:none}.van-step--horizontal:last-child .van-step__circle-container{right:-9px;left:auto}.van-step--horizontal .van-step__circle-container{position:absolute;top:30px;left:-8px;z-index:1;padding:0 8px;background-color:#fff;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.van-step--horizontal .van-step__title{display:inline-block;margin-left:3px;font-size:12px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}@media (max-width:321px){.van-step--horizontal .van-step__title{font-size:11px}}.van-step--horizontal .van-step__line{top:30px;left:0;width:100%;height:1px}.van-step--horizontal .van-step__icon{display:block;font-size:12px}.van-step--horizontal .van-step--process{color:#323233}.van-step--vertical{display:block;float:none;padding:10px 10px 10px 0;line-height:18px}.van-step--vertical:not(:last-child)::after{border-bottom-width:1px}.van-step--vertical:first-child::before{position:absolute;top:0;left:-15px;z-index:1;width:1px;height:20px;background-color:#fff;content:''}.van-step--vertical .van-step__circle-container{position:absolute;top:19px;left:-15px;z-index:2;font-size:12px;line-height:1;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.van-step--vertical .van-step__line{top:16px;left:-15px;width:1px;height:100%}.van-step:last-child .van-step__line{width:0}.van-step--finish{color:#323233}.van-step--finish .van-step__circle,.van-step--finish .van-step__line{background-color:#07c160}.van-step__icon,.van-step__title{-webkit-transition:color .3s;transition:color .3s}.van-step__icon--active,.van-step__icon--finish,.van-step__title--active,.van-step__title--finish{color:#07c160}.van-rate{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none}.van-rate__item{position:relative}.van-rate__item:not(:last-child){padding-right:4px}.van-rate__icon{display:block;width:1em;color:#c8c9cc;font-size:20px}.van-rate__icon--half{position:absolute;top:0;left:0;width:.5em;overflow:hidden}.van-rate__icon--full{color:#ee0a24}.van-rate__icon--disabled{color:#c8c9cc}.van-rate--disabled{cursor:not-allowed}.van-rate--readonly{cursor:default}.van-notice-bar{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:40px;padding:0 16px;color:#ed6a0c;font-size:14px;line-height:24px;background-color:#fffbe8}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:24px;font-size:16px}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;-webkit-transition-timing-function:linear;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:8px 16px}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}.van-nav-bar{position:relative;z-index:1;line-height:22px;text-align:center;background-color:#fff;-webkit-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:#1989fa}.van-nav-bar__content{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:46px}.van-nav-bar__arrow{margin-right:4px;font-size:16px}.van-nav-bar__title{max-width:60%;margin:0 auto;color:#323233;font-weight:500;font-size:16px}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 16px;font-size:14px;cursor:pointer}.van-nav-bar__left:active,.van-nav-bar__right:active{opacity:.7}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:#1989fa}.van-grid-item{position:relative;box-sizing:border-box}.van-grid-item--square{height:0}.van-grid-item__icon{font-size:28px}.van-grid-item__icon-wrapper{position:relative}.van-grid-item__text{color:#646566;font-size:12px;line-height:1.5;word-break:break-all}.van-grid-item__icon+.van-grid-item__text{margin-top:8px}.van-grid-item__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;box-sizing:border-box;height:100%;padding:16px 8px;background-color:#fff}.van-grid-item__content::after{z-index:1;border-width:0 1px 1px 0}.van-grid-item__content--square{position:absolute;top:0;right:0;left:0}.van-grid-item__content--center{-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.van-grid-item__content--horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.van-grid-item__content--horizontal .van-grid-item__icon+.van-grid-item__text{margin-top:0;margin-left:8px}.van-grid-item__content--surround::after{border-width:1px}.van-grid-item__content--clickable{cursor:pointer}.van-grid-item__content--clickable:active{background-color:#f2f3f5}.van-goods-action-icon{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-width:48px;height:100%;color:#646566;font-size:10px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.van-goods-action-icon:active{background-color:#f2f3f5}.van-goods-action-icon__icon{position:relative;width:1em;margin:0 auto 5px;color:#323233;font-size:18px}.van-checkbox{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:12px}.van-checkbox__icon{-webkit-box-flex:0;-webkit-flex:none;flex:none;height:1em;font-size:20px;line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid #c8c9cc;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:color,border-color,background-color;transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--checked .van-icon{color:#fff;background-color:#1989fa;border-color:#1989fa}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:#ebedf0;border-color:#c8c9cc}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:#c8c9cc}.van-checkbox__label{margin-left:8px;color:#323233;line-height:20px}.van-checkbox__label--left{margin:0 8px 0 0}.van-checkbox__label--disabled{color:#c8c9cc}.van-coupon{margin:0 12px 12px;overflow:hidden;background-color:#fff;border-radius:8px;box-shadow:0 0 4px rgba(0,0,0,.1)}.van-coupon:active{background-color:#f2f3f5}.van-coupon__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;min-height:84px;padding:14px 0;color:#323233}.van-coupon__head{position:relative;min-width:96px;padding:0 8px;color:#ee0a24;text-align:center}.van-coupon__amount,.van-coupon__condition,.van-coupon__name,.van-coupon__valid{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount{margin-bottom:6px;font-weight:500;font-size:30px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount span{font-weight:400;font-size:40%}.van-coupon__amount span:not(:empty){margin-left:2px}.van-coupon__condition{font-size:12px;line-height:16px;white-space:pre-wrap}.van-coupon__body{position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1;border-radius:0 8px 8px 0}.van-coupon__name{margin-bottom:10px;font-weight:700;font-size:14px;line-height:20px}.van-coupon__valid{font-size:12px}.van-coupon__corner{position:absolute;top:0;right:16px;bottom:0}.van-coupon__description{padding:8px 16px;font-size:12px;border-top:1px dashed #ebedf0}.van-coupon--disabled:active{background-color:#fff}.van-coupon--disabled .van-coupon-item__content{height:74px}.van-coupon--disabled .van-coupon__head{color:inherit}.van-image{position:relative;display:inline-block}.van-image--round{overflow:hidden;border-radius:50%}.van-image--round img{border-radius:inherit}.van-image__error,.van-image__img,.van-image__loading{display:block;width:100%;height:100%}.van-image__error,.van-image__loading{position:absolute;top:0;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#969799;font-size:14px;background-color:#f7f8fa}.van-image__loading-icon{color:#dcdee0;font-size:32px}.van-image__error-icon{color:#dcdee0;font-size:32px}.van-radio{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-radio--disabled{cursor:not-allowed}.van-radio--label-disabled{cursor:default}.van-radio--horizontal{margin-right:12px}.van-radio__icon{-webkit-box-flex:0;-webkit-flex:none;flex:none;height:1em;font-size:20px;line-height:1em;cursor:pointer}.van-radio__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid #c8c9cc;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:color,border-color,background-color;transition-property:color,border-color,background-color}.van-radio__icon--round .van-icon{border-radius:100%}.van-radio__icon--checked .van-icon{color:#fff;background-color:#1989fa;border-color:#1989fa}.van-radio__icon--disabled{cursor:not-allowed}.van-radio__icon--disabled .van-icon{background-color:#ebedf0;border-color:#c8c9cc}.van-radio__icon--disabled.van-radio__icon--checked .van-icon{color:#c8c9cc}.van-radio__label{margin-left:8px;color:#323233;line-height:20px}.van-radio__label--left{margin:0 8px 0 0}.van-radio__label--disabled{color:#c8c9cc}.van-tag{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 4px;color:#fff;font-size:12px;line-height:16px;border-radius:2px}.van-tag--default{background-color:#969799}.van-tag--default.van-tag--plain{color:#969799}.van-tag--danger{background-color:#ee0a24}.van-tag--danger.van-tag--plain{color:#ee0a24}.van-tag--primary{background-color:#1989fa}.van-tag--primary.van-tag--plain{color:#1989fa}.van-tag--success{background-color:#07c160}.van-tag--success.van-tag--plain{color:#07c160}.van-tag--warning{background-color:#ff976a}.van-tag--warning.van-tag--plain{color:#ff976a}.van-tag--plain{background-color:#fff;border-color:currentColor}.van-tag--plain::before{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;border-color:inherit;border-radius:inherit;content:'';pointer-events:none}.van-tag--medium{padding:2px 6px}.van-tag--large{padding:4px 8px;font-size:14px;border-radius:4px}.van-tag--mark{border-radius:0 999px 999px 0}.van-tag--mark::after{display:block;width:2px;content:''}.van-tag--round{border-radius:999px}.van-tag__close{margin-left:2px;cursor:pointer}.van-card{position:relative;box-sizing:border-box;padding:8px 16px;color:#323233;font-size:12px;background-color:#fafafa}.van-card:not(:first-child){margin-top:8px}.van-card__header{display:-webkit-box;display:-webkit-flex;display:flex}.van-card__thumb{position:relative;-webkit-box-flex:0;-webkit-flex:none;flex:none;width:88px;height:88px;margin-right:8px}.van-card__thumb img{border-radius:8px}.van-card__content{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;min-width:0;min-height:88px}.van-card__content--centered{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.van-card__desc,.van-card__title{word-wrap:break-word}.van-card__title{max-height:32px;font-weight:500;line-height:16px}.van-card__desc{max-height:20px;color:#646566;line-height:20px}.van-card__bottom{line-height:20px}.van-card__price{display:inline-block;color:#323233;font-weight:500;font-size:12px}.van-card__price-integer{font-size:16px;font-family:Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif}.van-card__price-decimal{font-family:Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif}.van-card__origin-price{display:inline-block;margin-left:5px;color:#969799;font-size:10px;text-decoration:line-through}.van-card__num{float:right;color:#969799}.van-card__tag{position:absolute;top:2px;left:0}.van-card__footer{-webkit-box-flex:0;-webkit-flex:none;flex:none;text-align:right}.van-card__footer .van-button{margin-left:5px}.van-cell{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:border-box;width:100%;padding:10px 16px;overflow:hidden;color:#323233;font-size:14px;line-height:24px;background-color:#fff}.van-cell::after{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;right:16px;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-cell--borderless::after,.van-cell:last-child::after{display:none}.van-cell__label{margin-top:4px;color:#969799;font-size:12px;line-height:18px}.van-cell__title,.van-cell__value{-webkit-box-flex:1;-webkit-flex:1;flex:1}.van-cell__value{position:relative;overflow:hidden;color:#969799;text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__value--alone{color:#323233;text-align:left}.van-cell__left-icon,.van-cell__right-icon{height:24px;font-size:16px;line-height:24px}.van-cell__left-icon{margin-right:4px}.van-cell__right-icon{margin-left:4px;color:#969799}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:#f2f3f5}.van-cell--required{overflow:visible}.van-cell--required::before{position:absolute;left:8px;color:#ee0a24;font-size:14px;content:'*'}.van-cell--center{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.van-cell--large{padding-top:12px;padding-bottom:12px}.van-cell--large .van-cell__title{font-size:16px}.van-cell--large .van-cell__label{font-size:14px}.van-coupon-cell__value--selected{color:#323233}.van-contact-card{padding:16px}.van-contact-card__value{margin-left:5px;line-height:20px}.van-contact-card--add .van-contact-card__value{line-height:40px}.van-contact-card--add .van-cell__left-icon{color:#1989fa;font-size:40px}.van-contact-card::before{position:absolute;right:0;bottom:0;left:0;height:2px;background:-webkit-repeating-linear-gradient(135deg,#ff6c6c 0,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background:repeating-linear-gradient(-45deg,#ff6c6c 0,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background-size:80px;content:''}.van-collapse-item{position:relative}.van-collapse-item--border::after{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;top:0;right:16px;left:16px;border-top:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-collapse-item__title .van-cell__right-icon::before{-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.van-collapse-item__title::after{right:16px;display:none}.van-collapse-item__title--expanded .van-cell__right-icon::before{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.van-collapse-item__title--expanded::after{display:block}.van-collapse-item__title--borderless::after{display:none}.van-collapse-item__title--disabled{cursor:not-allowed}.van-collapse-item__title--disabled,.van-collapse-item__title--disabled .van-cell__right-icon{color:#c8c9cc}.van-collapse-item__title--disabled:active{background-color:#fff}.van-collapse-item__wrapper{overflow:hidden;-webkit-transition:height .3s ease-in-out;transition:height .3s ease-in-out;will-change:height}.van-collapse-item__content{padding:12px 16px;color:#969799;font-size:14px;line-height:1.5;background-color:#fff}.van-field__label{-webkit-box-flex:0;-webkit-flex:none;flex:none;box-sizing:border-box;width:6.2em;margin-right:12px;color:#646566;text-align:left;word-wrap:break-word}.van-field__label--center{text-align:center}.van-field__label--right{text-align:right}.van-field--disabled .van-field__label{color:#c8c9cc}.van-field__value{overflow:visible}.van-field__body{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.van-field__control{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;color:#323233;line-height:inherit;text-align:left;background-color:transparent;border:0;resize:none}.van-field__control::-webkit-input-placeholder{color:#c8c9cc}.van-field__control::placeholder{color:#c8c9cc}.van-field__control:disabled{color:#c8c9cc;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#c8c9cc}.van-field__control:read-only{cursor:default}.van-field__control--center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.van-field__control--right{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;text-align:right}.van-field__control--custom{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;min-height:24px}.van-field__control[type=date],.van-field__control[type=datetime-local],.van-field__control[type=time]{min-height:24px}.van-field__control[type=search]{-webkit-appearance:none}.van-field__button,.van-field__clear,.van-field__icon,.van-field__right-icon{-webkit-flex-shrink:0;flex-shrink:0}.van-field__clear,.van-field__right-icon{margin-right:-8px;padding:0 8px;line-height:inherit}.van-field__clear{color:#c8c9cc;font-size:16px;cursor:pointer}.van-field__left-icon .van-icon,.van-field__right-icon .van-icon{display:block;font-size:16px;line-height:inherit}.van-field__left-icon{margin-right:4px}.van-field__right-icon{color:#969799}.van-field__button{padding-left:8px}.van-field__error-message{color:#ee0a24;font-size:12px;text-align:left}.van-field__error-message--center{text-align:center}.van-field__error-message--right{text-align:right}.van-field__word-limit{margin-top:4px;color:#646566;font-size:12px;line-height:16px;text-align:right}.van-field--error .van-field__control::-webkit-input-placeholder{color:#ee0a24;-webkit-text-fill-color:currentColor}.van-field--error .van-field__control,.van-field--error .van-field__control::placeholder{color:#ee0a24;-webkit-text-fill-color:currentColor}.van-field--min-height .van-field__control{min-height:60px}.van-search{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;padding:10px 12px;background-color:#fff}.van-search__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding-left:12px;background-color:#f7f8fa;border-radius:2px}.van-search__content--round{border-radius:999px}.van-search__label{padding:0 5px;color:#323233;font-size:14px;line-height:34px}.van-search .van-cell{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:5px 8px 5px 0;background-color:transparent}.van-search .van-cell__left-icon{color:#969799}.van-search--show-action{padding-right:0}.van-search input::-webkit-search-cancel-button,.van-search input::-webkit-search-decoration,.van-search input::-webkit-search-results-button,.van-search input::-webkit-search-results-decoration{display:none}.van-search__action{padding:0 8px;color:#323233;font-size:14px;line-height:34px;cursor:pointer;-webkit-user-select:none;user-select:none}.van-search__action:active{background-color:#f2f3f5}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;background-color:#fff;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:50%;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.van-popup--center.van-popup--round{border-radius:16px}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 16px 16px}.van-popup--right{top:50%;right:0;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:16px 0 0 16px}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:16px 16px 0 0}.van-popup--left{top:50%;left:0;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 16px 16px 0}.van-popup--safe-area-inset-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-popup-slide-bottom-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-top-enter-active{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.van-popup-slide-bottom-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-top-leave-active{-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}.van-popup-slide-top-enter,.van-popup-slide-top-leave-active{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter,.van-popup-slide-right-leave-active{-webkit-transform:translate3d(100%,-50%,0);transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter,.van-popup-slide-bottom-leave-active{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.van-popup-slide-left-enter,.van-popup-slide-left-leave-active{-webkit-transform:translate3d(-100%,-50%,0);transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:1;color:#c8c9cc;font-size:22px;cursor:pointer}.van-popup__close-icon:active{color:#969799}.van-popup__close-icon--top-left{top:16px;left:16px}.van-popup__close-icon--top-right{top:16px;right:16px}.van-popup__close-icon--bottom-left{bottom:16px;left:16px}.van-popup__close-icon--bottom-right{right:16px;bottom:16px}.van-share-sheet__header{padding:12px 16px 4px;text-align:center}.van-share-sheet__title{margin-top:8px;color:#323233;font-weight:400;font-size:14px;line-height:20px}.van-share-sheet__description{display:block;margin-top:8px;color:#969799;font-size:12px;line-height:16px}.van-share-sheet__options{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;padding:16px 0 16px 8px;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border::before{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;top:0;right:0;left:16px;border-top:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.van-share-sheet__option:active{opacity:.7}.van-share-sheet__icon{width:48px;height:48px;margin:0 16px}.van-share-sheet__name{margin-top:8px;padding:0 4px;color:#646566;font-size:12px}.van-share-sheet__option-description{padding:0 4px;color:#c8c9cc;font-size:12px}.van-share-sheet__cancel{display:block;width:100%;padding:0;font-size:16px;line-height:48px;text-align:center;background:#fff;border:none;cursor:pointer}.van-share-sheet__cancel::before{display:block;height:8px;background-color:#f7f8fa;content:' '}.van-share-sheet__cancel:active{background-color:#f2f3f5}.van-popover{position:absolute;overflow:visible;background-color:transparent;-webkit-transition:opacity .15s,-webkit-transform .15s;transition:opacity .15s,-webkit-transform .15s;transition:opacity .15s,transform .15s;transition:opacity .15s,transform .15s,-webkit-transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:6px}.van-popover__content{overflow:hidden;border-radius:8px}.van-popover__action{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;width:128px;height:44px;padding:0 16px;font-size:14px;line-height:20px;cursor:pointer}.van-popover__action:last-child .van-popover__action-text::after{display:none}.van-popover__action-text{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:100%}.van-popover__action-icon{margin-right:8px;font-size:20px}.van-popover__action--with-icon .van-popover__action-text{-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;-webkit-transform:translate(-50%,100%);transform:translate(-50%,100%)}.van-popover[data-popper-placement=top]{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=top-start]{-webkit-transform-origin:0 100%;transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:16px}.van-popover[data-popper-placement=top-end]{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:16px}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;-webkit-transform:translate(100%,-50%);transform:translate(100%,-50%)}.van-popover[data-popper-placement=left]{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=left-start]{-webkit-transform-origin:100% 0;transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:16px}.van-popover[data-popper-placement=left-end]{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:16px}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.van-popover[data-popper-placement=right]{-webkit-transform-origin:0 50%;transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=right-start]{-webkit-transform-origin:0 0;transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:16px}.van-popover[data-popper-placement=right-end]{-webkit-transform-origin:0 100%;transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:16px}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.van-popover[data-popper-placement=bottom]{-webkit-transform-origin:50% 0;transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=bottom-start]{-webkit-transform-origin:0 0;transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:16px}.van-popover[data-popper-placement=bottom-end]{-webkit-transform-origin:100% 0;transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:16px}.van-popover--light{color:#323233}.van-popover--light .van-popover__content{background-color:#fff;box-shadow:0 2px 12px rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:#fff}.van-popover--light .van-popover__action:active{background-color:#f2f3f5}.van-popover--light .van-popover__action--disabled{color:#c8c9cc;cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:#fff}.van-popover--dark .van-popover__content{background-color:#4a4a4a}.van-popover--dark .van-popover__arrow{color:#4a4a4a}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:#969799}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text::after{border-color:#646566}.van-popover-zoom-enter,.van-popover-zoom-leave-active{-webkit-transform:scale(.8);transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.van-popover-zoom-leave-active{-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}.van-notify{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:8px 16px;color:#fff;font-size:14px;line-height:20px;white-space:pre-wrap;text-align:center;word-wrap:break-word}.van-notify--primary{background-color:#1989fa}.van-notify--success{background-color:#07c160}.van-notify--danger{background-color:#ee0a24}.van-notify--warning{background-color:#ff976a}.van-dropdown-item{position:fixed;right:0;left:0;z-index:10;overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active{color:#ee0a24}.van-dropdown-item__option--active .van-dropdown-item__icon{color:#ee0a24}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:80%}.van-loading{position:relative;color:#c8c9cc;font-size:0;vertical-align:middle}.van-loading__spinner{position:relative;display:inline-block;width:30px;max-width:100%;height:30px;max-height:100%;vertical-align:middle;-webkit-animation:van-rotate .8s linear infinite;animation:van-rotate .8s linear infinite}.van-loading__spinner--spinner{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.van-loading__spinner--spinner i{position:absolute;top:0;left:0;width:100%;height:100%}.van-loading__spinner--spinner i::before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:' '}.van-loading__spinner--circular{-webkit-animation-duration:2s;animation-duration:2s}.van-loading__circular{display:block;width:100%;height:100%}.van-loading__circular circle{-webkit-animation:van-circular 1.5s ease-in-out infinite;animation:van-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.van-loading__text{display:inline-block;margin-left:8px;color:#969799;font-size:14px;vertical-align:middle}.van-loading--vertical{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.van-loading--vertical .van-loading__text{margin:8px 0 0}@-webkit-keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}100%{stroke-dasharray:90,150;stroke-dashoffset:-120}}@keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}100%{stroke-dasharray:90,150;stroke-dashoffset:-120}}.van-loading__spinner--spinner i:nth-of-type(1){-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.van-loading__spinner--spinner i:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.van-loading__spinner--spinner i:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.van-loading__spinner--spinner i:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.van-loading__spinner--spinner i:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.van-loading__spinner--spinner i:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.van-loading__spinner--spinner i:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.van-loading__spinner--spinner i:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.van-loading__spinner--spinner i:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.van-loading__spinner--spinner i:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.van-loading__spinner--spinner i:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.van-loading__spinner--spinner i:nth-of-type(12){-webkit-transform:rotate(360deg);transform:rotate(360deg);opacity:.3125}.van-pull-refresh{overflow:hidden;-webkit-user-select:none;user-select:none}.van-pull-refresh__track{position:relative;height:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.van-pull-refresh__head{position:absolute;left:0;width:100%;height:50px;overflow:hidden;color:#969799;font-size:14px;line-height:50px;text-align:center;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:100;width:100%;padding-bottom:22px;background-color:#f2f3f5;-webkit-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:20px 20px 0 0}.van-number-keyboard__header{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:content-box;height:34px;padding-top:6px;color:#646566;font-size:16px}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:-webkit-box;display:-webkit-flex;display:flex;padding:6px 0 0 6px}.van-number-keyboard__keys{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:3;-webkit-flex:3;flex:3;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:0 16px;color:#576b95;font-size:14px;background-color:transparent;border:none;cursor:pointer}.van-number-keyboard__close:active{opacity:.7}.van-number-keyboard__sidebar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:48px;font-size:28px;line-height:1.5;background-color:#fff;border-radius:8px;cursor:pointer}.van-key--large{position:absolute;top:0;right:6px;bottom:6px;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:16px}.van-key--active{background-color:#ebedf0}.van-key--blue{color:#fff;background-color:#1989fa}.van-key--blue.van-key--active{background-color:#0570db}.van-key__wrapper{position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:33%;flex-basis:33%;box-sizing:border-box;padding:0 6px 6px 0}.van-key__wrapper--wider{-webkit-flex-basis:66%;flex-basis:66%}.van-key__delete-icon{width:32px;height:22px}.van-key__collapse-icon{width:30px;height:24px}.van-key__loading-icon{color:#fff}.van-list__error-text,.van-list__finished-text,.van-list__loading{color:#969799;font-size:14px;line-height:50px;text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:2em;height:1em;font-size:30px;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:1em;cursor:pointer;-webkit-transition:background-color .3s;transition:background-color .3s}.van-switch__node{position:absolute;top:0;left:0;width:1em;height:1em;background-color:#fff;border-radius:100%;box-shadow:0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05);-webkit-transition:-webkit-transform .3s cubic-bezier(.3,1.05,.4,1.05);transition:-webkit-transform .3s cubic-bezier(.3,1.05,.4,1.05);transition:transform .3s cubic-bezier(.3,1.05,.4,1.05);transition:transform .3s cubic-bezier(.3,1.05,.4,1.05),-webkit-transform .3s cubic-bezier(.3,1.05,.4,1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background-color:#1989fa}.van-switch--on .van-switch__node{-webkit-transform:translateX(1em);transform:translateX(1em)}.van-switch--on .van-switch__loading{color:#1989fa}.van-switch--disabled{cursor:not-allowed;opacity:.5}.van-switch--loading{cursor:default}.van-switch-cell{padding-top:9px;padding-bottom:9px}.van-switch-cell--large{padding-top:11px;padding-bottom:11px}.van-switch-cell .van-switch{float:right}.van-button{position:relative;display:inline-block;box-sizing:border-box;height:44px;margin:0;padding:0;font-size:16px;line-height:1.2;text-align:center;border-radius:2px;cursor:pointer;-webkit-transition:opacity .2s;transition:opacity .2s;-webkit-appearance:none}.van-button::before{position:absolute;top:50%;left:50%;width:100%;height:100%;background-color:#000;border:inherit;border-color:#000;border-radius:inherit;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);opacity:0;content:' '}.van-button:active::before{opacity:.1}.van-button--disabled::before,.van-button--loading::before{display:none}.van-button--default{color:#323233;background-color:#fff;border:1px solid #ebedf0}.van-button--primary{color:#fff;background-color:#07c160;border:1px solid #07c160}.van-button--info{color:#fff;background-color:#1989fa;border:1px solid #1989fa}.van-button--danger{color:#fff;background-color:#ee0a24;border:1px solid #ee0a24}.van-button--warning{color:#fff;background-color:#ff976a;border:1px solid #ff976a}.van-button--plain{background-color:#fff}.van-button--plain.van-button--primary{color:#07c160}.van-button--plain.van-button--info{color:#1989fa}.van-button--plain.van-button--danger{color:#ee0a24}.van-button--plain.van-button--warning{color:#ff976a}.van-button--large{width:100%;height:50px}.van-button--normal{padding:0 15px;font-size:14px}.van-button--small{height:32px;padding:0 8px;font-size:12px}.van-button__loading{color:inherit;font-size:inherit}.van-button--mini{height:24px;padding:0 4px;font-size:10px}.van-button--mini+.van-button--mini{margin-left:4px}.van-button--block{display:block;width:100%}.van-button--disabled{cursor:not-allowed;opacity:.5}.van-button--loading{cursor:default}.van-button--round{border-radius:999px}.van-button--square{border-radius:0}.van-button__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:100%}.van-button__content::before{content:' '}.van-button__icon{font-size:1.2em;line-height:inherit}.van-button__icon+.van-button__text,.van-button__loading+.van-button__text,.van-button__text+.van-button__icon,.van-button__text+.van-button__loading{margin-left:4px}.van-button--hairline{border-width:0}.van-button--hairline::after{border-color:inherit;border-radius:4px}.van-button--hairline.van-button--round::after{border-radius:999px}.van-button--hairline.van-button--square::after{border-radius:0}.van-submit-bar{position:fixed;bottom:0;left:0;z-index:100;width:100%;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff;-webkit-user-select:none;user-select:none}.van-submit-bar__tip{padding:8px 12px;color:#f56723;font-size:12px;line-height:1.5;background-color:#fff7cc}.van-submit-bar__tip-icon{min-width:18px;font-size:12px;vertical-align:middle}.van-submit-bar__tip-text{vertical-align:middle}.van-submit-bar__bar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;height:50px;padding:0 16px;font-size:14px}.van-submit-bar__text{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding-right:12px;color:#323233;text-align:right}.van-submit-bar__text span{display:inline-block}.van-submit-bar__suffix-label{margin-left:5px;font-weight:500}.van-submit-bar__price{color:#ee0a24;font-weight:500;font-size:12px}.van-submit-bar__price--integer{font-size:20px;font-family:Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif}.van-submit-bar__button{width:110px;height:40px;font-weight:500;border:none}.van-submit-bar__button--danger{background:-webkit-linear-gradient(left,#ff6034,#ee0a24);background:linear-gradient(to right,#ff6034,#ee0a24)}.van-submit-bar--unfit{padding-bottom:0}.van-goods-action-button{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:40px;font-weight:500;font-size:14px;border:none;border-radius:0}.van-goods-action-button--first{margin-left:5px;border-top-left-radius:999px;border-bottom-left-radius:999px}.van-goods-action-button--last{margin-right:5px;border-top-right-radius:999px;border-bottom-right-radius:999px}.van-goods-action-button--warning{background:-webkit-linear-gradient(left,#ffd01e,#ff8917);background:linear-gradient(to right,#ffd01e,#ff8917)}.van-goods-action-button--danger{background:-webkit-linear-gradient(left,#ff6034,#ee0a24);background:linear-gradient(to right,#ff6034,#ee0a24)}@media (max-width:321px){.van-goods-action-button{font-size:13px}}.van-toast{position:fixed;top:50%;left:50%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:content-box;width:88px;max-width:70%;min-height:88px;padding:16px;color:#fff;font-size:14px;line-height:20px;white-space:pre-wrap;text-align:center;word-wrap:break-word;background-color:rgba(0,0,0,.7);border-radius:8px;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.van-toast--unclickable{overflow:hidden}.van-toast--unclickable *{pointer-events:none}.van-toast--html,.van-toast--text{width:-webkit-fit-content;width:fit-content;min-width:96px;min-height:0;padding:8px 12px}.van-toast--html .van-toast__text,.van-toast--text .van-toast__text{margin-top:0}.van-toast--top{top:20%}.van-toast--bottom{top:auto;bottom:20%}.van-toast__icon{font-size:36px}.van-toast__loading{padding:4px;color:#fff}.van-toast__text{margin-top:8px}.van-calendar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:100%;background-color:#fff}.van-calendar__popup.van-popup--bottom,.van-calendar__popup.van-popup--top{height:80%}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{-webkit-flex-shrink:0;flex-shrink:0;box-shadow:0 2px 10px rgba(125,126,128,.16)}.van-calendar__header-subtitle,.van-calendar__header-title,.van-calendar__month-title{height:44px;font-weight:500;line-height:44px;text-align:center}.van-calendar__header-title{font-size:16px}.van-calendar__header-subtitle{font-size:14px}.van-calendar__month-title{font-size:14px}.van-calendar__weekdays{display:-webkit-box;display:-webkit-flex;display:flex}.van-calendar__weekday{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:12px;line-height:30px;text-align:center}.van-calendar__body{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:rgba(242,243,245,.8);font-size:160px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:64px;font-size:16px;cursor:pointer}.van-calendar__day--end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected,.van-calendar__day--start,.van-calendar__day--start-end{color:#fff;background-color:#ee0a24}.van-calendar__day--start{border-radius:4px 0 0 4px}.van-calendar__day--end{border-radius:0 4px 4px 0}.van-calendar__day--multiple-selected,.van-calendar__day--start-end{border-radius:4px}.van-calendar__day--middle{color:#ee0a24}.van-calendar__day--middle::after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:.1;content:''}.van-calendar__day--disabled{color:#c8c9cc;cursor:default}.van-calendar__bottom-info,.van-calendar__top-info{position:absolute;right:0;left:0;font-size:10px;line-height:14px}@media (max-width:350px){.van-calendar__bottom-info,.van-calendar__top-info{font-size:9px}}.van-calendar__top-info{top:6px}.van-calendar__bottom-info{bottom:6px}.van-calendar__selected-day{width:54px;height:54px;color:#fff;background-color:#ee0a24;border-radius:4px}.van-calendar__footer{-webkit-flex-shrink:0;flex-shrink:0;padding:0 16px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-calendar__footer--unfit{padding-bottom:0}.van-calendar__confirm{height:36px;margin:7px 0}.van-picker{position:relative;background-color:#fff;-webkit-user-select:none;user-select:none}.van-picker__toolbar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:44px}.van-picker__cancel,.van-picker__confirm{height:100%;padding:0 16px;font-size:14px;background-color:transparent;border:none;cursor:pointer}.van-picker__cancel:active,.van-picker__confirm:active{opacity:.7}.van-picker__confirm{color:#576b95}.van-picker__cancel{color:#969799}.van-picker__title{max-width:50%;font-weight:500;font-size:16px;line-height:20px;text-align:center}.van-picker__columns{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#1989fa;background-color:rgba(255,255,255,.9)}.van-picker__frame{position:absolute;top:50%;right:16px;left:16px;z-index:2;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:-webkit-linear-gradient(top,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4)),-webkit-linear-gradient(bottom,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4));background-image:linear-gradient(180deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4)),linear-gradient(0deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4));background-repeat:no-repeat;background-position:top,bottom;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none}.van-picker-column{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:hidden;font-size:16px}.van-picker-column__wrapper{-webkit-transition-timing-function:cubic-bezier(.23,1,.68,1);transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:0 4px;color:#000}.van-picker-column__item--disabled{cursor:not-allowed;opacity:.3}.van-action-sheet{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;max-height:80%;overflow:hidden;color:#323233}.van-action-sheet__content{-webkit-box-flex:1;-webkit-flex:1 auto;flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__cancel,.van-action-sheet__item{display:block;width:100%;padding:14px 16px;font-size:16px;background-color:#fff;border:none;cursor:pointer}.van-action-sheet__cancel:active,.van-action-sheet__item:active{background-color:#f2f3f5}.van-action-sheet__item{line-height:22px}.van-action-sheet__item--disabled,.van-action-sheet__item--loading{color:#c8c9cc}.van-action-sheet__item--disabled:active,.van-action-sheet__item--loading:active{background-color:#fff}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{-webkit-flex-shrink:0;flex-shrink:0;box-sizing:border-box;color:#646566}.van-action-sheet__subname{margin-top:8px;color:#969799;font-size:12px;line-height:18px}.van-action-sheet__gap{display:block;height:8px;background-color:#f7f8fa}.van-action-sheet__header{-webkit-flex-shrink:0;flex-shrink:0;font-weight:500;font-size:16px;line-height:48px;text-align:center}.van-action-sheet__description{position:relative;-webkit-flex-shrink:0;flex-shrink:0;padding:20px 16px;color:#969799;font-size:14px;line-height:20px;text-align:center}.van-action-sheet__description::after{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;right:16px;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:22px;height:22px}.van-action-sheet__close{position:absolute;top:0;right:0;padding:0 16px;color:#c8c9cc;font-size:22px;line-height:inherit}.van-action-sheet__close:active{color:#969799}.van-goods-action{position:fixed;right:0;bottom:0;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:content-box;height:50px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff}.van-goods-action--unfit{padding-bottom:0}.van-dialog{position:fixed;top:45%;left:50%;width:320px;overflow:hidden;font-size:16px;background-color:#fff;border-radius:16px;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:.3s;transition:.3s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}@media (max-width:321px){.van-dialog{width:90%}}.van-dialog__header{padding-top:26px;font-weight:500;line-height:24px;text-align:center}.van-dialog__header--isolated{padding:24px 0}.van-dialog__content--isolated{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;min-height:104px}.van-dialog__message{-webkit-box-flex:1;-webkit-flex:1;flex:1;max-height:60vh;padding:26px 24px;overflow-y:auto;font-size:14px;line-height:20px;white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:8px;color:#646566}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__footer{display:-webkit-box;display:-webkit-flex;display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-dialog__cancel,.van-dialog__confirm{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:48px;margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:#ee0a24}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:8px 24px 16px}.van-dialog--round-button .van-dialog__message{padding-bottom:16px;color:#323233}.van-dialog--round-button .van-dialog__cancel,.van-dialog--round-button .van-dialog__confirm{height:36px}.van-dialog--round-button .van-dialog__confirm{color:#fff}.van-dialog-bounce-enter{-webkit-transform:translate3d(-50%,-50%,0) scale(.7);transform:translate3d(-50%,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{-webkit-transform:translate3d(-50%,-50%,0) scale(.9);transform:translate3d(-50%,-50%,0) scale(.9);opacity:0}.van-contact-edit{padding:16px}.van-contact-edit__fields{overflow:hidden;border-radius:4px}.van-contact-edit__fields .van-field__label{width:4.1em}.van-contact-edit__switch-cell{margin-top:10px;padding-top:9px;padding-bottom:9px;border-radius:4px}.van-contact-edit__buttons{padding:32px 0}.van-contact-edit .van-button{margin-bottom:12px;font-size:16px}.van-address-edit{padding:12px}.van-address-edit__fields{overflow:hidden;border-radius:8px}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:12px;overflow:hidden;border-radius:8px}.van-address-edit__buttons{padding:32px 4px}.van-address-edit__buttons .van-button{margin-bottom:12px}.van-address-edit-detail{padding:0}.van-address-edit-detail__search-item{background-color:#f2f3f5}.van-address-edit-detail__keyword{color:#ee0a24}.van-address-edit-detail__finish{color:#1989fa;font-size:12px}.van-radio-group--horizontal{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-contact-list{box-sizing:border-box;height:100%;padding-bottom:80px}.van-contact-list__item{padding:16px}.van-contact-list__item-value{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding-right:32px;padding-left:8px}.van-contact-list__item-tag{-webkit-box-flex:0;-webkit-flex:none;flex:none;margin-left:8px;padding-top:0;padding-bottom:0;line-height:1.4em}.van-contact-list__group{box-sizing:border-box;height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-contact-list__edit{font-size:16px}.van-contact-list__bottom{position:fixed;right:0;bottom:0;left:0;z-index:999;padding:0 16px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff}.van-contact-list__add{height:40px;margin:5px 0}.van-address-list{box-sizing:border-box;height:100%;padding:12px 12px 80px}.van-address-list__bottom{position:fixed;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:0 16px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff}.van-address-list__add{height:40px;margin:5px 0}.van-address-list__disabled-text{padding:20px 0 16px;color:#969799;font-size:14px;line-height:20px}.van-address-item{padding:12px;background-color:#fff;border-radius:8px}.van-address-item:not(:last-child){margin-bottom:12px}.van-address-item__value{padding-right:44px}.van-address-item__name{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:8px;font-size:16px;line-height:22px}.van-address-item__tag{-webkit-box-flex:0;-webkit-flex:none;flex:none;margin-left:8px;padding-top:0;padding-bottom:0;line-height:1.4em}.van-address-item__address{color:#323233;font-size:13px;line-height:18px}.van-address-item--disabled .van-address-item__address,.van-address-item--disabled .van-address-item__name{color:#c8c9cc}.van-address-item__edit{position:absolute;top:50%;right:16px;color:#969799;font-size:20px;-webkit-transform:translate(0,-50%);transform:translate(0,-50%)}.van-address-item .van-cell{padding:0}.van-address-item .van-radio__label{margin-left:12px}.van-address-item .van-radio__icon--checked .van-icon{background-color:#ee0a24;border-color:#ee0a24}.van-badge{display:inline-block;box-sizing:border-box;min-width:16px;padding:0 3px;color:#fff;font-weight:500;font-size:12px;font-family:-apple-system-font,Helvetica Neue,Arial,sans-serif;line-height:1.2;text-align:center;background-color:#ee0a24;border:1px solid #fff;border-radius:999px}.van-badge--fixed{position:absolute;top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100%;transform-origin:100%}.van-badge--dot{width:8px;min-width:0;height:8px;background-color:#ee0a24;border-radius:100%}.van-badge__wrapper{position:relative;display:inline-block}.van-tab__pane,.van-tab__pane-wrapper{-webkit-flex-shrink:0;flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__pane-wrapper--inactive{height:0;overflow:visible}.van-sticky--fixed{position:fixed;top:0;right:0;left:0;z-index:99}.van-tab{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:0 4px;color:#646566;font-size:14px;line-height:20px;cursor:pointer}.van-tab--active{color:#323233;font-weight:500}.van-tab--disabled{color:#c8c9cc;cursor:not-allowed}.van-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.van-tab__text-wrapper{position:relative}.van-tabs{position:relative}.van-tabs__wrap{overflow:hidden}.van-tabs__wrap--page-top{position:fixed}.van-tabs__wrap--content-bottom{top:auto;bottom:0}.van-tabs__wrap--scrollable .van-tab{-webkit-box-flex:1;-webkit-flex:1 0 auto;flex:1 0 auto;padding:0 12px}.van-tabs__wrap--scrollable .van-tabs__nav{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-tabs__wrap--scrollable .van-tabs__nav::-webkit-scrollbar{display:none}.van-tabs__nav{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;-webkit-user-select:none;user-select:none}.van-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:15px}.van-tabs__nav--complete{padding-right:8px;padding-left:8px}.van-tabs__nav--card{box-sizing:border-box;height:30px;margin:0 16px;border:1px solid #ee0a24;border-radius:2px}.van-tabs__nav--card .van-tab{color:#ee0a24;border-right:1px solid #ee0a24}.van-tabs__nav--card .van-tab:last-child{border-right:none}.van-tabs__nav--card .van-tab.van-tab--active{color:#fff;background-color:#ee0a24}.van-tabs__nav--card .van-tab--disabled{color:#c8c9cc}.van-tabs__line{position:absolute;bottom:15px;left:0;z-index:1;width:40px;height:3px;background-color:#ee0a24;border-radius:3px}.van-tabs__track{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;width:100%;height:100%;will-change:left}.van-tabs__content--animated{overflow:hidden}.van-tabs--line .van-tabs__wrap{height:44px}.van-tabs--card>.van-tabs__wrap{height:30px}.van-coupon-list{position:relative;height:100%;background-color:#f7f8fa}.van-coupon-list__field{padding:5px 0 5px 16px}.van-coupon-list__field .van-field__body{height:34px;padding-left:12px;line-height:34px;background:#f7f8fa;border-radius:17px}.van-coupon-list__field .van-field__body::-webkit-input-placeholder{color:#c8c9cc}.van-coupon-list__field .van-field__body::placeholder{color:#c8c9cc}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:#fff}.van-coupon-list__exchange{-webkit-box-flex:0;-webkit-flex:none;flex:none;height:32px;font-size:16px;line-height:30px;border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 6px 12px -12px #969799}.van-coupon-list__list{box-sizing:border-box;padding:16px 0 24px;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:66px}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:5px 16px;font-weight:500;background-color:#fff}.van-coupon-list__close{height:40px}.van-coupon-list__empty{padding-top:60px;text-align:center}.van-coupon-list__empty p{margin:16px 0;color:#969799;font-size:14px;line-height:20px}.van-coupon-list__empty img{width:200px;height:200px}.van-cascader__header{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:48px;padding:0 16px}.van-cascader__title{font-weight:500;font-size:16px;line-height:20px}.van-cascader__close-icon{color:#c8c9cc;font-size:22px}.van-cascader__close-icon:active{color:#969799}.van-cascader__tabs .van-tab{-webkit-box-flex:0;-webkit-flex:none;flex:none;padding:0 10px}.van-cascader__tabs.van-tabs--line .van-tabs__wrap{height:48px}.van-cascader__tabs .van-tabs__nav--complete{padding-right:6px;padding-left:6px}.van-cascader__tab{color:#323233;font-weight:500}.van-cascader__tab--unselected{color:#969799;font-weight:400}.van-cascader__option{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:10px 16px;font-size:14px;line-height:20px}.van-cascader__option:active{background-color:#f2f3f5}.van-cascader__option--selected{color:#ee0a24;font-weight:500}.van-cascader__selected-icon{font-size:18px}.van-cascader__options{box-sizing:border-box;height:384px;padding-top:6px;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-cell-group{background-color:#fff}.van-cell-group__title{padding:16px 16px 8px;color:#969799;font-size:14px;line-height:16px}.van-panel{background:#fff}.van-panel__header-value{color:#ee0a24}.van-panel__footer{padding:8px 16px}.van-checkbox-group--horizontal{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-circle{position:relative;display:inline-block;width:100px;height:100px;text-align:center}.van-circle svg{position:absolute;top:0;left:0;width:100%;height:100%}.van-circle__layer{stroke:#fff}.van-circle__hover{fill:none;stroke:#1989fa;stroke-linecap:round}.van-circle__text{position:absolute;top:50%;left:0;box-sizing:border-box;width:100%;padding:0 4px;color:#323233;font-weight:500;font-size:14px;line-height:20px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.van-col{float:left;box-sizing:border-box;min-height:1px}.van-col--1{width:4.16666667%}.van-col--offset-1{margin-left:4.16666667%}.van-col--2{width:8.33333333%}.van-col--offset-2{margin-left:8.33333333%}.van-col--3{width:12.5%}.van-col--offset-3{margin-left:12.5%}.van-col--4{width:16.66666667%}.van-col--offset-4{margin-left:16.66666667%}.van-col--5{width:20.83333333%}.van-col--offset-5{margin-left:20.83333333%}.van-col--6{width:25%}.van-col--offset-6{margin-left:25%}.van-col--7{width:29.16666667%}.van-col--offset-7{margin-left:29.16666667%}.van-col--8{width:33.33333333%}.van-col--offset-8{margin-left:33.33333333%}.van-col--9{width:37.5%}.van-col--offset-9{margin-left:37.5%}.van-col--10{width:41.66666667%}.van-col--offset-10{margin-left:41.66666667%}.van-col--11{width:45.83333333%}.van-col--offset-11{margin-left:45.83333333%}.van-col--12{width:50%}.van-col--offset-12{margin-left:50%}.van-col--13{width:54.16666667%}.van-col--offset-13{margin-left:54.16666667%}.van-col--14{width:58.33333333%}.van-col--offset-14{margin-left:58.33333333%}.van-col--15{width:62.5%}.van-col--offset-15{margin-left:62.5%}.van-col--16{width:66.66666667%}.van-col--offset-16{margin-left:66.66666667%}.van-col--17{width:70.83333333%}.van-col--offset-17{margin-left:70.83333333%}.van-col--18{width:75%}.van-col--offset-18{margin-left:75%}.van-col--19{width:79.16666667%}.van-col--offset-19{margin-left:79.16666667%}.van-col--20{width:83.33333333%}.van-col--offset-20{margin-left:83.33333333%}.van-col--21{width:87.5%}.van-col--offset-21{margin-left:87.5%}.van-col--22{width:91.66666667%}.van-col--offset-22{margin-left:91.66666667%}.van-col--23{width:95.83333333%}.van-col--offset-23{margin-left:95.83333333%}.van-col--24{width:100%}.van-col--offset-24{margin-left:100%}.van-count-down{color:#323233;font-size:14px;line-height:20px}.van-divider{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:16px 0;color:#969799;font-size:14px;line-height:24px;border-color:#ebedf0;border-style:solid;border-width:0}.van-divider::after,.van-divider::before{display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;box-sizing:border-box;height:1px;border-color:inherit;border-style:inherit;border-width:1px 0 0}.van-divider::before{content:''}.van-divider--hairline::after,.van-divider--hairline::before{-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--content-center::before,.van-divider--content-left::before,.van-divider--content-right::before{margin-right:16px}.van-divider--content-center::after,.van-divider--content-left::after,.van-divider--content-right::after{margin-left:16px;content:''}.van-divider--content-left::before{max-width:10%}.van-divider--content-right::after{max-width:10%}.van-dropdown-menu{-webkit-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;height:48px;background-color:#fff;box-shadow:0 2px 12px rgba(100,101,102,.12)}.van-dropdown-menu__bar--opened{z-index:11}.van-dropdown-menu__item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-width:0;cursor:pointer}.van-dropdown-menu__item:active{opacity:.7}.van-dropdown-menu__item--disabled:active{opacity:1}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:#969799}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:0 8px;color:#323233;font-size:15px;line-height:22px}.van-dropdown-menu__title::after{position:absolute;top:50%;right:-4px;margin-top:-5px;border:3px solid;border-color:transparent transparent #dcdee0 #dcdee0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:.8;content:''}.van-dropdown-menu__title--active{color:#ee0a24}.van-dropdown-menu__title--active::after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down::after{margin-top:-1px;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.van-empty{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:32px 0}.van-empty__image{width:160px;height:160px}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:16px;padding:0 60px;color:#969799;font-size:14px;line-height:20px}.van-empty__bottom{margin-top:24px}.van-grid{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-swipe{position:relative;overflow:hidden;cursor:grab;-webkit-user-select:none;user-select:none}.van-swipe__track{display:-webkit-box;display:-webkit-flex;display:flex;height:100%}.van-swipe__track--vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.van-swipe__indicators{position:absolute;bottom:12px;left:50%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:12px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:6px}.van-swipe__indicator{width:6px;height:6px;background-color:#ebedf0;border-radius:100%;opacity:.3;-webkit-transition:opacity .2s,background-color .2s;transition:opacity .2s,background-color .2s}.van-swipe__indicator:not(:last-child){margin-right:6px}.van-swipe__indicator--active{background-color:#1989fa;opacity:1}.van-swipe-item{position:relative;-webkit-flex-shrink:0;flex-shrink:0;width:100%;height:100%}.van-image-preview{position:fixed;top:0;left:0;width:100%;height:100%}.van-image-preview__swipe{height:100%}.van-image-preview__swipe-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;overflow:hidden}.van-image-preview__cover{position:absolute;top:0;left:0}.van-image-preview__image{width:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.van-image-preview__image--vertical{width:auto;height:100%}.van-image-preview__image img{-webkit-user-drag:none}.van-image-preview__image .van-image__error{top:30%;height:40%}.van-image-preview__image .van-image__error-icon{font-size:36px}.van-image-preview__image .van-image__loading{background-color:transparent}.van-image-preview__index{position:absolute;top:16px;left:50%;color:#fff;font-size:14px;line-height:20px;text-shadow:0 1px 1px #323233;-webkit-transform:translate(-50%,0);transform:translate(-50%,0)}.van-image-preview__overlay{background-color:rgba(0,0,0,.9)}.van-image-preview__close-icon{position:absolute;z-index:1;color:#c8c9cc;font-size:22px;cursor:pointer}.van-image-preview__close-icon:active{color:#969799}.van-image-preview__close-icon--top-left{top:16px;left:16px}.van-image-preview__close-icon--top-right{top:16px;right:16px}.van-image-preview__close-icon--bottom-left{bottom:16px;left:16px}.van-image-preview__close-icon--bottom-right{right:16px;bottom:16px}.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-uploader__wrapper--disabled{opacity:.5}.van-uploader__input{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;cursor:pointer;opacity:0}.van-uploader__input-wrapper{position:relative}.van-uploader__input:disabled{cursor:not-allowed}.van-uploader__upload{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;width:80px;height:80px;margin:0 8px 8px 0;background-color:#f7f8fa}.van-uploader__upload:active{background-color:#f2f3f5}.van-uploader__upload-icon{color:#dcdee0;font-size:24px}.van-uploader__upload-text{margin-top:8px;color:#969799;font-size:12px}.van-uploader__preview{position:relative;margin:0 8px 8px 0;cursor:pointer}.van-uploader__preview-image{display:block;width:80px;height:80px;overflow:hidden}.van-uploader__preview-delete{position:absolute;top:0;right:0;width:14px;height:14px;background-color:rgba(0,0,0,.7);border-radius:0 0 0 12px}.van-uploader__preview-delete-icon{position:absolute;top:-2px;right:-2px;color:#fff;font-size:16px;-webkit-transform:scale(.5);transform:scale(.5)}.van-uploader__preview-cover{position:absolute;top:0;right:0;bottom:0;left:0}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#fff;background-color:rgba(50,50,51,.88)}.van-uploader__mask-icon{font-size:22px}.van-uploader__mask-message{margin-top:6px;padding:0 4px;font-size:12px;line-height:14px}.van-uploader__loading{width:22px;height:22px;color:#fff}.van-uploader__file{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:80px;height:80px;background-color:#f7f8fa}.van-uploader__file-icon{color:#646566;font-size:20px}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:8px;padding:0 4px;color:#646566;font-size:12px;text-align:center}.van-index-anchor{z-index:1;box-sizing:border-box;padding:0 16px;color:#323233;font-weight:500;font-size:14px;line-height:32px;background-color:transparent}.van-index-anchor--sticky{position:fixed;top:0;right:0;left:0;color:#ee0a24;background-color:#fff}.van-index-bar__sidebar{position:fixed;top:50%;right:0;z-index:2;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.van-index-bar__index{padding:0 8px 0 16px;font-weight:500;font-size:10px;line-height:14px}.van-index-bar__index--active{color:#ee0a24}.van-pagination{display:-webkit-box;display:-webkit-flex;display:flex;font-size:14px}.van-pagination__item,.van-pagination__page-desc{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.van-pagination__item{-webkit-box-flex:1;-webkit-flex:1;flex:1;box-sizing:border-box;min-width:36px;height:40px;color:#1989fa;background-color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none}.van-pagination__item:active{color:#fff;background-color:#1989fa}.van-pagination__item::after{border-width:1px 0 1px 1px}.van-pagination__item:last-child::after{border-right-width:1px}.van-pagination__item--active{color:#fff;background-color:#1989fa}.van-pagination__next,.van-pagination__prev{padding:0 4px;cursor:pointer}.van-pagination__item--disabled,.van-pagination__item--disabled:active{color:#646566;background-color:#f7f8fa;cursor:not-allowed;opacity:.5}.van-pagination__page{-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0}.van-pagination__page-desc{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:40px;color:#646566}.van-pagination--simple .van-pagination__next::after,.van-pagination--simple .van-pagination__prev::after{border-width:1px}.van-password-input{position:relative;margin:0 16px;-webkit-user-select:none;user-select:none}.van-password-input__error-info,.van-password-input__info{margin-top:16px;font-size:14px;text-align:center}.van-password-input__info{color:#969799}.van-password-input__error-info{color:#ee0a24}.van-password-input__security{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;height:50px;cursor:pointer}.van-password-input__security::after{border-radius:6px}.van-password-input__security li{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:100%;font-size:20px;line-height:1.2;background-color:#fff}.van-password-input__security i{position:absolute;top:50%;left:50%;width:10px;height:10px;background-color:#000;border-radius:100%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:1px;height:40%;background-color:#323233;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-animation:1s van-cursor-flicker infinite;animation:1s van-cursor-flicker infinite}@-webkit-keyframes van-cursor-flicker{from{opacity:0}50%{opacity:1}100%{opacity:0}}@keyframes van-cursor-flicker{from{opacity:0}50%{opacity:1}100%{opacity:0}}.van-progress{position:relative;height:4px;background:#ebedf0;border-radius:4px}.van-progress__portion{position:absolute;left:0;height:100%;background:#1989fa;border-radius:inherit}.van-progress__pivot{position:absolute;top:50%;box-sizing:border-box;min-width:3.6em;padding:0 5px;color:#fff;font-size:10px;line-height:1.6;text-align:center;word-break:keep-all;background-color:#1989fa;border-radius:1em;-webkit-transform:translate(0,-50%);transform:translate(0,-50%)}.van-row::after{display:table;clear:both;content:''}.van-row--flex{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-row--flex::after{display:none}.van-row--justify-center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.van-row--justify-end{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.van-row--justify-space-between{-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.van-row--justify-space-around{-webkit-justify-content:space-around;justify-content:space-around}.van-row--align-center{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.van-row--align-bottom{-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}.van-sidebar{width:80px;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-tree-select{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;font-size:14px;-webkit-user-select:none;user-select:none}.van-tree-select__nav{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto;background-color:#f7f8fa;-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:14px 12px}.van-tree-select__content{-webkit-box-flex:2;-webkit-flex:2;flex:2;overflow-y:auto;background-color:#fff;-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 32px 0 16px;font-weight:500;line-height:48px;cursor:pointer}.van-tree-select__item--active{color:#ee0a24}.van-tree-select__item--disabled{color:#c8c9cc;cursor:not-allowed}.van-tree-select__selected{position:absolute;top:50%;right:16px;margin-top:-8px;font-size:16px}.van-skeleton{display:-webkit-box;display:-webkit-flex;display:flex;padding:0 16px}.van-skeleton__avatar{-webkit-flex-shrink:0;flex-shrink:0;width:32px;height:32px;margin-right:16px;background-color:#f2f3f5}.van-skeleton__avatar--round{border-radius:999px}.van-skeleton__content{width:100%}.van-skeleton__avatar+.van-skeleton__content{padding-top:8px}.van-skeleton__row,.van-skeleton__title{height:16px;background-color:#f2f3f5}.van-skeleton__title{width:40%;margin:0}.van-skeleton__row:not(:first-child){margin-top:12px}.van-skeleton__title+.van-skeleton__row{margin-top:20px}.van-skeleton--animate{-webkit-animation:van-skeleton-blink 1.2s ease-in-out infinite;animation:van-skeleton-blink 1.2s ease-in-out infinite}.van-skeleton--round .van-skeleton__row,.van-skeleton--round .van-skeleton__title{border-radius:999px}@-webkit-keyframes van-skeleton-blink{50%{opacity:.6}}@keyframes van-skeleton-blink{50%{opacity:.6}}.van-stepper{font-size:0;-webkit-user-select:none;user-select:none}.van-stepper__minus,.van-stepper__plus{position:relative;box-sizing:border-box;width:28px;height:28px;margin:0;padding:0;color:#323233;vertical-align:middle;background-color:#f2f3f5;border:0;cursor:pointer}.van-stepper__minus::before,.van-stepper__plus::before{width:50%;height:1px}.van-stepper__minus::after,.van-stepper__plus::after{width:1px;height:50%}.van-stepper__minus::after,.van-stepper__minus::before,.van-stepper__plus::after,.van-stepper__plus::before{position:absolute;top:50%;left:50%;background-color:currentColor;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);content:''}.van-stepper__minus:active,.van-stepper__plus:active{background-color:#e8e8e8}.van-stepper__minus--disabled,.van-stepper__plus--disabled{color:#c8c9cc;background-color:#f7f8fa;cursor:not-allowed}.van-stepper__minus--disabled:active,.van-stepper__plus--disabled:active{background-color:#f7f8fa}.van-stepper__minus{border-radius:4px 0 0 4px}.van-stepper__minus::after{display:none}.van-stepper__plus{border-radius:0 4px 4px 0}.van-stepper__input{box-sizing:border-box;width:32px;height:28px;margin:0 2px;padding:0;color:#323233;font-size:14px;line-height:normal;text-align:center;vertical-align:middle;background-color:#f2f3f5;border:0;border-width:1px 0;border-radius:0;-webkit-appearance:none}.van-stepper__input:disabled{color:#c8c9cc;background-color:#f2f3f5;-webkit-text-fill-color:#c8c9cc;opacity:1}.van-stepper__input:read-only{cursor:default}.van-stepper--round .van-stepper__input{background-color:transparent}.van-stepper--round .van-stepper__minus,.van-stepper--round .van-stepper__plus{border-radius:100%}.van-stepper--round .van-stepper__minus:active,.van-stepper--round .van-stepper__plus:active{opacity:.7}.van-stepper--round .van-stepper__minus--disabled,.van-stepper--round .van-stepper__minus--disabled:active,.van-stepper--round .van-stepper__plus--disabled,.van-stepper--round .van-stepper__plus--disabled:active{opacity:.3}.van-stepper--round .van-stepper__plus{color:#fff;background-color:#ee0a24}.van-stepper--round .van-stepper__minus{color:#ee0a24;background-color:#fff;border:1px solid #ee0a24}.van-sku-container{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;min-height:50%;max-height:80%;overflow-y:visible;font-size:14px;background:#fff}.van-sku-body{-webkit-box-flex:1;-webkit-flex:1 1 auto;flex:1 1 auto;min-height:44px;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-sku-body::-webkit-scrollbar{display:none}.van-sku-header{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;margin:0 16px}.van-sku-header__img-wrap{-webkit-flex-shrink:0;flex-shrink:0;width:96px;height:96px;margin:12px 12px 12px 0;overflow:hidden;border-radius:4px}.van-sku-header__goods-info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;padding:12px 20px 12px 0}.van-sku-header-item{margin-top:8px;color:#969799;font-size:12px;line-height:16px}.van-sku__price-symbol{font-size:16px;vertical-align:bottom}.van-sku__price-num{font-weight:500;font-size:22px;vertical-align:bottom;word-wrap:break-word}.van-sku__goods-price{margin-left:-2px;color:#ee0a24}.van-sku__price-tag{position:relative;display:inline-block;margin-left:8px;padding:0 5px;overflow:hidden;color:#ee0a24;font-size:12px;line-height:16px;border-radius:8px}.van-sku__price-tag::before{position:absolute;top:0;left:0;width:100%;height:100%;background:currentColor;opacity:.1;content:''}.van-sku-group-container{padding-top:12px}.van-sku-group-container--hide-soldout .van-sku-row__item--disabled{display:none}.van-sku-row{margin:0 16px 12px}.van-sku-row:last-child{margin-bottom:0}.van-sku-row__image-item,.van-sku-row__item{position:relative;overflow:hidden;color:#323233;border-radius:4px;cursor:pointer}.van-sku-row__image-item::before,.van-sku-row__item::before{position:absolute;top:0;left:0;width:100%;height:100%;background:#f7f8fa;content:''}.van-sku-row__image-item--active,.van-sku-row__item--active{color:#ee0a24}.van-sku-row__image-item--active::before,.van-sku-row__item--active::before{background:currentColor;opacity:.1}.van-sku-row__item{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-width:40px;margin:0 12px 12px 0;font-size:13px;line-height:16px;vertical-align:middle}.van-sku-row__item-img{z-index:1;width:24px;height:24px;margin:4px 0 4px 4px;object-fit:cover;border-radius:2px}.van-sku-row__item-name{z-index:1;padding:8px}.van-sku-row__item--disabled{color:#c8c9cc;background:#f2f3f5;cursor:not-allowed}.van-sku-row__item--disabled .van-sku-row__item-img{opacity:.3}.van-sku-row__image{margin-right:0}.van-sku-row__image-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;width:110px;margin:0 4px 4px 0;border:1px solid transparent}.van-sku-row__image-item:last-child{margin-right:0}.van-sku-row__image-item-img{width:100%;height:110px}.van-sku-row__image-item-img-icon{position:absolute;top:0;right:0;z-index:3;width:18px;height:18px;color:#fff;line-height:18px;text-align:center;background-color:rgba(0,0,0,.4);border-bottom-left-radius:4px}.van-sku-row__image-item-name{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;height:40px;padding:4px;font-size:12px;line-height:16px}.van-sku-row__image-item-name span{word-wrap:break-word}.van-sku-row__image-item--active{border-color:currentColor}.van-sku-row__image-item--disabled{color:#c8c9cc;cursor:not-allowed}.van-sku-row__image-item--disabled::before{z-index:2;background:#f2f3f5;opacity:.4}.van-sku-row__title{padding-bottom:12px}.van-sku-row__title-multiple{color:#969799}.van-sku-row__scroller{margin:0 -16px;overflow-x:scroll;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-sku-row__scroller::-webkit-scrollbar{display:none}.van-sku-row__row{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin-bottom:4px;padding:0 16px}.van-sku-row__indicator{width:40px;height:4px;background:#ebedf0;border-radius:2px}.van-sku-row__indicator-wrapper{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding-bottom:16px}.van-sku-row__indicator-slider{width:50%;height:100%;background-color:#ee0a24;border-radius:2px}.van-sku-stepper-stock{padding:12px 16px;overflow:hidden;line-height:30px}.van-sku__stepper{float:right;padding-left:4px}.van-sku__stepper-title{float:left}.van-sku__stepper-quota{float:right;color:#ee0a24;font-size:12px}.van-sku__stock{display:inline-block;margin-right:8px;color:#969799;font-size:12px}.van-sku__stock-num--highlight{color:#ee0a24}.van-sku-messages{padding-bottom:32px}.van-sku-messages__image-cell .van-cell__title{max-width:6.2em;margin-right:12px;color:#646566;text-align:left;word-wrap:break-word}.van-sku-messages__image-cell .van-cell__value{overflow:visible;text-align:left}.van-sku-messages__image-cell-label{color:#969799;font-size:12px;line-height:18px}.van-sku-actions{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;padding:8px 16px}.van-sku-actions .van-button{height:40px;font-weight:500;font-size:14px;border:none;border-radius:0}.van-sku-actions .van-button:first-of-type{border-top-left-radius:20px;border-bottom-left-radius:20px}.van-sku-actions .van-button:last-of-type{border-top-right-radius:20px;border-bottom-right-radius:20px}.van-sku-actions .van-button--warning{background:-webkit-linear-gradient(left,#ffd01e,#ff8917);background:linear-gradient(to right,#ffd01e,#ff8917)}.van-sku-actions .van-button--danger{background:-webkit-linear-gradient(left,#ff6034,#ee0a24);background:linear-gradient(to right,#ff6034,#ee0a24)}.van-slider{position:relative;width:100%;height:2px;background-color:#ebedf0;border-radius:999px;cursor:pointer}.van-slider::before{position:absolute;top:-8px;right:0;bottom:-8px;left:0;content:''}.van-slider__bar{position:relative;width:100%;height:100%;background-color:#1989fa;border-radius:inherit;-webkit-transition:all .2s;transition:all .2s}.van-slider__button{width:24px;height:24px;background-color:#fff;border-radius:50%;box-shadow:0 1px 2px rgba(0,0,0,.5)}.van-slider__button-wrapper,.van-slider__button-wrapper-right{position:absolute;top:50%;right:0;-webkit-transform:translate3d(50%,-50%,0);transform:translate3d(50%,-50%,0);cursor:grab}.van-slider__button-wrapper-left{position:absolute;top:50%;left:0;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);cursor:grab}.van-slider--disabled{cursor:not-allowed;opacity:.5}.van-slider--disabled .van-slider__button-wrapper,.van-slider--disabled .van-slider__button-wrapper-left,.van-slider--disabled .van-slider__button-wrapper-right{cursor:not-allowed}.van-slider--vertical{display:inline-block;width:2px;height:100%}.van-slider--vertical .van-slider__button-wrapper,.van-slider--vertical .van-slider__button-wrapper-right{top:auto;right:50%;bottom:0;-webkit-transform:translate3d(50%,50%,0);transform:translate3d(50%,50%,0)}.van-slider--vertical .van-slider__button-wrapper-left{top:0;right:50%;left:auto;-webkit-transform:translate3d(50%,-50%,0);transform:translate3d(50%,-50%,0)}.van-slider--vertical::before{top:0;right:-8px;bottom:0;left:-8px}.van-steps{overflow:hidden;background-color:#fff}.van-steps--horizontal{padding:10px 10px 0}.van-steps--horizontal .van-steps__items{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;margin:0 0 10px;padding-bottom:22px}.van-steps--vertical{padding:0 0 0 32px}.van-swipe-cell{position:relative;overflow:hidden;cursor:grab}.van-swipe-cell__wrapper{-webkit-transition-timing-function:cubic-bezier(.18,.89,.32,1);transition-timing-function:cubic-bezier(.18,.89,.32,1);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.van-tabbar{z-index:1;display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:content-box;width:100%;height:50px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff}.van-tabbar--fixed{position:fixed;bottom:0;left:0}.van-tabbar--unfit{padding-bottom:0} \ No newline at end of file diff --git a/target/classes/application.yml b/target/classes/application.yml index 8b13cd5..e0a9484 100644 --- a/target/classes/application.yml +++ b/target/classes/application.yml @@ -3,11 +3,11 @@ server: spring: application: #应用的名称,可选 - name: reggie_take_out + name: FWDev datasource: druid: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/reggie?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true + url: jdbc:mysql://localhost:3306/fwsystem?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true username: root password: 123456 mybatis-plus: diff --git a/target/classes/backend/api/hearCase.js b/target/classes/backend/api/hearCase.js new file mode 100644 index 0000000..f90ec7f --- /dev/null +++ b/target/classes/backend/api/hearCase.js @@ -0,0 +1,8 @@ +// 查询列表接口 +const getHearCasePage = (params) => { + return $axios({ + url: '/hearCase/page', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/target/classes/backend/api/login.js b/target/classes/backend/api/login.js index f293e51..c82f760 100644 --- a/target/classes/backend/api/login.js +++ b/target/classes/backend/api/login.js @@ -1,6 +1,6 @@ function loginApi(data) { return $axios({ - 'url': '/employee/login', + 'url': '/user/login', 'method': 'post', data }) @@ -8,7 +8,7 @@ function loginApi(data) { function logoutApi(){ return $axios({ - 'url': '/employee/logout', + 'url': '/user/logout', 'method': 'post', }) } diff --git a/target/classes/backend/api/member.js b/target/classes/backend/api/member.js index 0384c38..aa87b20 100644 --- a/target/classes/backend/api/member.js +++ b/target/classes/backend/api/member.js @@ -1,15 +1,15 @@ function getMemberList (params) { return $axios({ - url: '/employee/page', + url: '/user/page', method: 'get', params }) } // 修改---启用禁用接口 -function enableOrDisableEmployee (params) { +function enableOrDisableUser (params) { return $axios({ - url: '/employee', + url: '/user', method: 'put', data: { ...params } }) @@ -18,16 +18,16 @@ function enableOrDisableEmployee (params) { // 新增---添加员工 function addEmployee (params) { return $axios({ - url: '/employee', + url: '/user', method: 'post', data: { ...params } }) } // 修改---添加员工 -function editEmployee (params) { +function editUser (params) { return $axios({ - url: '/employee', + url: '/user', method: 'put', data: { ...params } }) @@ -36,7 +36,7 @@ function editEmployee (params) { // 修改页面反查详情接口 function queryEmployeeById (id) { return $axios({ - url: `/employee/${id}`, + url: `/user/${id}`, method: 'get' }) } \ No newline at end of file diff --git a/target/classes/backend/index.html b/target/classes/backend/index.html index 8f738f9..2902442 100644 --- a/target/classes/backend/index.html +++ b/target/classes/backend/index.html @@ -158,7 +158,7 @@ { id: '7', name: '案件列表', - url: 'page/legal/list.html', + url: 'page/hearCase/list.html', icon: 'icon-category' }, /* { diff --git a/target/classes/backend/page/legal/add.html b/target/classes/backend/page/hearCase/add.html similarity index 100% rename from target/classes/backend/page/legal/add.html rename to target/classes/backend/page/hearCase/add.html diff --git a/target/classes/backend/page/legal/detail.html b/target/classes/backend/page/hearCase/detail.html similarity index 100% rename from target/classes/backend/page/legal/detail.html rename to target/classes/backend/page/hearCase/detail.html diff --git a/target/classes/backend/page/legal/list.html b/target/classes/backend/page/hearCase/list.html similarity index 90% rename from target/classes/backend/page/legal/list.html rename to target/classes/backend/page/hearCase/list.html index 8a046b0..baa202e 100644 --- a/target/classes/backend/page/legal/list.html +++ b/target/classes/backend/page/hearCase/list.html @@ -11,7 +11,7 @@ -
+
- + + - - - + + + + + + + + + + + +
+
+ +
+
+
+ +
+
菩提阁餐厅
+
+ 距离1.5km + 配送费6元 + 预计时长12min +
+
+
+
+ 简介: 菩提阁中餐厅是菩提阁点餐的独立的品牌,定位“大众 化的美食外送餐饮”,旨为顾客打造专业美食。 +
+
+
+
+
    +
  • {{item.name}}
  • +
+
+
+
+
+ +
+ +
+
+
+
{{item.name}}
+
{{item.description}}
+
{{'月销' + (item.saleNum ? item.saleNum : 0) }}
+
{{item.price/100}}
+
+
+ +
+
{{item.number}}
+
选择规格
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
{{ goodsNum }}
+
+ + {{goodsPrice}} +
+
+
去结算
+
+ +
{{dialogFlavor.name}}
+
+
+
{{flavor.name}}
+ {{item}} +
+
+
+
{{dialogFlavor.price/100}}
+
加入购物车
+
+
+ +
+
+ +
+
购物车
+
+ 清空 +
+
+
+
+ +
+ +
+
+
+
{{item.name}}
+
+ {{item.amount}}
+
+
+
+ +
+
{{item.number}}
+
+ +
+
+
+
+
+
+ +
+ +
+ +
+
+
{{detailsDialog.item.name}}
+
{{detailsDialog.item.description}}
+
+
+
+ {{detailsDialog.item.price/100}} +
+
+
+ +
+
{{detailsDialog.item.number}}
+
选择规格
+
+ +
+
+
+
+ +
+
+ +
+
{{setMealDialog.item.name}}
+
+ +
+ +
+
+
{{item.name + '(' + item.copies + '份)' }} +
+ {{item.price/100}} +
+
+
{{item.description}}
+
+
+
+
+ {{setMealDialog.item.price/100}} +
+
+
+ +
+
{{setMealDialog.item.number}}
+
+ +
+
加入购物车
+
+
+
+ +
+
+
+ + + + + + + + + + + + + + diff --git a/target/classes/front/js/base.js b/target/classes/front/js/base.js new file mode 100644 index 0000000..94e2f08 --- /dev/null +++ b/target/classes/front/js/base.js @@ -0,0 +1,17 @@ +(function (doc, win) { + var docEl = doc.documentElement, + resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', + recalc = function () { + var clientWidth = docEl.clientWidth; + if (!clientWidth) return; + if (clientWidth > 750) { + docEl.style.fontSize = '28px'; + } else { + docEl.style.fontSize = (clientWidth / 375) + 'px'; + } + }; + + if (!doc.addEventListener) return; + win.addEventListener(resizeEvt, recalc, false); + doc.addEventListener('DOMContentLoaded', recalc, false); +})(document, window); \ No newline at end of file diff --git a/target/classes/front/js/common.js b/target/classes/front/js/common.js new file mode 100644 index 0000000..824b88f --- /dev/null +++ b/target/classes/front/js/common.js @@ -0,0 +1,23 @@ +var web_prefix = '/front' + +function imgPath(path){ + return '/common/download?name=' + path +} + +//将url传参转换为数组 +function parseUrl(url) { + // 找到url中的第一个?号 + var parse = url.substring(url.indexOf("?") + 1), + params = parse.split("&"), + len = params.length, + item = [], + param = {}; + + for (var i = 0; i < len; i++) { + item = params[i].split("="); + param[item[0]] = item[1]; + } + + return param; +} + diff --git a/target/classes/front/js/request.js b/target/classes/front/js/request.js new file mode 100644 index 0000000..f60dcb2 --- /dev/null +++ b/target/classes/front/js/request.js @@ -0,0 +1,74 @@ +(function (win) { + axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' + // 创建axios实例 + const service = axios.create({ + // axios中请求配置有baseURL选项,表示请求URL公共部分 + baseURL: '/', + // 超时 + timeout: 10000 + }) + // request拦截器 + service.interceptors.request.use(config => { + // 是否需要设置 token + // const isToken = (config.headers || {}).isToken === false + // if (getToken() && !isToken) { + // config.headers['Authorization'] = 'Bearer ' + getToken() // 让每个请求携带自定义token 请根据实际情况自行修改 + // } + // get请求映射params参数 + if (config.method === 'get' && config.params) { + let url = config.url + '?'; + for (const propName of Object.keys(config.params)) { + const value = config.params[propName]; + var part = encodeURIComponent(propName) + "="; + if (value !== null && typeof(value) !== "undefined") { + if (typeof value === 'object') { + for (const key of Object.keys(value)) { + let params = propName + '[' + key + ']'; + var subPart = encodeURIComponent(params) + "="; + url += subPart + encodeURIComponent(value[key]) + "&"; + } + } else { + url += part + encodeURIComponent(value) + "&"; + } + } + } + url = url.slice(0, -1); + config.params = {}; + config.url = url; + } + return config + }, error => { + Promise.reject(error) + }) + + // 响应拦截器 + service.interceptors.response.use(res => { + console.log('---响应拦截器---',res) + if (res.data.code === 0 && res.data.msg === 'NOTLOGIN') {// 返回登录页面 + window.top.location.href = '/front/page/login.html' + } else { + return res.data + } + }, + error => { + let { message } = error; + if (message == "Network Error") { + message = "后端接口连接异常"; + } + else if (message.includes("timeout")) { + message = "系统接口请求超时"; + } + else if (message.includes("Request failed with status code")) { + message = "系统接口" + message.substr(message.length - 3) + "异常"; + } + window.vant.Notify({ + message: message, + type: 'warning', + duration: 5 * 1000 + }) + //window.top.location.href = '/front/page/no-wify.html' + return Promise.reject(error) + } + ) +  win.$axios = service +})(window); diff --git a/target/classes/front/js/vant.min.js b/target/classes/front/js/vant.min.js new file mode 100644 index 0000000..4b5d111 --- /dev/null +++ b/target/classes/front/js/vant.min.js @@ -0,0 +1,7 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define("vant",["vue"],e):"object"==typeof exports?exports.vant=e(require("vue")):t.vant=e(t.Vue)}("undefined"!=typeof self?self:this,(function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=12)}([function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"h",(function(){return s})),i.d(e,"i",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"e",(function(){return l})),i.d(e,"f",(function(){return c})),i.d(e,"g",(function(){return u})),i.d(e,"a",(function(){return h})),i.d(e,"d",(function(){return d}));var n=i(4),r="undefined"!=typeof window,s=i.n(n).a.prototype.$isServer;function o(){}function a(t){return null!=t}function l(t){return"function"==typeof t}function c(t){return null!==t&&"object"==typeof t}function u(t){return c(t)&&l(t.then)&&l(t.catch)}function h(t,e){var i=e.split("."),n=t;return i.forEach((function(t){var e;n=null!=(e=n[t])?e:""})),n}function d(t){return null==t||("object"!=typeof t||0===Object.keys(t).length)}},function(t,e,i){"use strict";function n(){return(n=Object.assign||function(t){for(var e,i=1;i=0?e.ownerDocument.body:l(e)&&d(e)?e:t(p(e))}(t),n="body"===c(i),r=s(i),o=n?[r].concat(r.visualViewport||[],d(i)?i:[]):i,a=e.concat(o);return n?a:a.concat(m(p(o)))}function v(t){return["table","td","th"].indexOf(c(t))>=0}function g(t){if(!l(t)||"fixed"===h(t).position)return null;var e=t.offsetParent;if(e){var i=u(e);if("body"===c(e)&&"static"===h(e).position&&"static"!==h(i).position)return i}return e}function b(t){for(var e=s(t),i=g(t);i&&v(i)&&"static"===h(i).position;)i=g(i);return i&&"body"===c(i)&&"static"===h(i).position?e:i||function(t){for(var e=p(t);l(e)&&["html","body"].indexOf(c(e))<0;){var i=h(e);if("none"!==i.transform||"none"!==i.perspective||i.willChange&&"auto"!==i.willChange)return e;e=e.parentNode}return null}(t)||e}Object.defineProperty(e,"__esModule",{value:!0});var y="top",S="right",k="left",x=[].concat([y,"bottom",S,k],["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),w=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function C(t){var e=new Map,i=new Set,n=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||function t(r){i.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(n){if(!i.has(n)){var r=e.get(n);r&&t(r)}})),n.push(r)}(t)})),n}function O(t){return t.split("-")[0]}var T={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var t=arguments.length,e=new Array(t),i=0;i=0?"x":"y"}(s):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case"start":e[c]=Math.floor(e[c])-Math.floor(i[u]/2-n[u]/2);break;case"end":e[c]=Math.floor(e[c])+Math.ceil(i[u]/2-n[u]/2)}}return e}({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,r=i.gpuAcceleration,s=void 0===r||r,o=i.adaptive,a=void 0===o||o,l={placement:O(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=n(n({},e.styles.popper),E(n(n({},l),{},{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a})))),null!=e.modifiersData.arrow&&(e.styles.arrow=n(n({},e.styles.arrow),E(n(n({},l),{},{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=n(n({},e.attributes.popper),{},{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},r=e.attributes[t]||{},s=e.elements[t];l(s)&&c(s)&&(n(s.style,i),Object.keys(r).forEach((function(t){var e=r[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return n(e.elements.popper.style,i.popper),e.elements.arrow&&n(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});l(r)&&c(r)&&(n(r.style,o),Object.keys(s).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]}]});var P={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,r=t.name,s=i.offset,o=void 0===s?[0,0]:s,a=x.reduce((function(t,i){return t[i]=function(t,e,i){var r=O(t),s=[k,y].indexOf(r)>=0?-1:1,o="function"==typeof i?i(n(n({},e),{},{placement:t})):i,a=o[0],l=o[1];return a=a||0,l=(l||0)*s,[k,S].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(i,e.rects,o),t}),{}),l=a[e.placement],c=l.x,u=l.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=a}};e.createPopper=j,e.offsetModifier=P},function(t,e,i){"use strict";function n(t){return function(e,i){return e&&"string"!=typeof e&&(i=e,e=""),""+(e=e?t+"__"+e:t)+function t(e,i){return i?"string"==typeof i?" "+e+"--"+i:Array.isArray(i)?i.reduce((function(i,n){return i+t(e,n)}),""):Object.keys(i).reduce((function(n,r){return n+(i[r]?t(e,r):"")}),""):""}(e,i)}}i.d(e,"a",(function(){return d}));var r=i(0),s=i(2),o={methods:{slots:function(t,e){void 0===t&&(t="default");var i=this.$slots,n=this.$scopedSlots[t];return n?n(e):i[t]}}};i(4);function a(t){var e=this.name;t.component(e,this),t.component(Object(s.a)("-"+e),this)}function l(t){return{functional:!0,props:t.props,model:t.model,render:function(e,i){return t(e,i.props,function(t){var e=t.scopedSlots||t.data.scopedSlots||{},i=t.slots();return Object.keys(i).forEach((function(t){e[t]||(e[t]=function(){return i[t]})})),e}(i),i)}}}function c(t){return function(e){return Object(r.e)(e)&&(e=l(e)),e.functional||(e.mixins=e.mixins||[],e.mixins.push(o)),e.name=t,e.install=a,e}}var u=i(7);function h(t){var e=Object(s.a)(t)+".";return function(t){for(var i=u.a.messages(),n=Object(r.a)(i,e+t)||Object(r.a)(i,t),s=arguments.length,o=new Array(s>1?s-1:0),a=1;a + * Released under the MIT License. + */ +t.exports=function(){"use strict";function t(t){t=t||{};var n=arguments.length,r=0;if(1===n)return t;for(;++r-1?t.splice(i,1):void 0}}function s(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var i=t.getAttribute("data-srcset"),n=[],r=t.parentNode.offsetWidth*e,s=void 0,o=void 0,a=void 0;(i=i.trim().split(",")).map((function(t){t=t.trim(),-1===(s=t.lastIndexOf(" "))?(o=t,a=999998):(o=t.substr(0,s),a=parseInt(t.substr(s+1,t.length-s-2),10)),n.push([a,o])})),n.sort((function(t,e){if(t[0]e[0])return 1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0}));for(var l="",c=void 0,u=n.length,h=0;h=r){l=c[1];break}return l}}function o(t,e){for(var i=void 0,n=0,r=t.length;n0&&void 0!==arguments[0]?arguments[0]:1;return g&&window.devicePixelRatio||t},w=function(){if(g){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),C={on:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];w?t.addEventListener(e,i,{capture:n,passive:!0}):t.addEventListener(e,i,n)},off:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,i,n)}},O=function(t,e,i){var n=new Image;n.src=t.src,n.onload=function(){e({naturalHeight:n.naturalHeight,naturalWidth:n.naturalWidth,src:n.src})},n.onerror=function(t){i(t)}},T=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},$=function(t){return T(t,"overflow")+T(t,"overflow-y")+T(t,"overflow-x")},B={},I=function(){function t(e){var i=e.el,n=e.src,r=e.error,s=e.loading,o=e.bindType,a=e.$parent,l=e.options,c=e.elRenderer;u(this,t),this.el=i,this.src=n,this.error=r,this.loading=s,this.bindType=o,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=l,this.rect=null,this.$parent=a,this.elRenderer=c,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return h(t,[{key:"initState",value:function(){this.el.dataset.src=this.src,this.state={error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,i=t.loading,n=t.error,r=this.src;this.src=e,this.loading=i,this.error=n,this.filter(),r!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.topthis.options.preLoadTop&&this.rect.left0}},{key:"filter",value:function(){var t=this;(function(t){if(!(t instanceof Object))return[];if(Object.keys)return Object.keys(t);var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);return e})(this.options.filter).map((function(e){t.options.filter[e](t,t.options)}))}},{key:"renderLoading",value:function(t){var e=this;O({src:this.loading},(function(i){e.render("loading",!1),t()}),(function(){t(),e.options.silent||console.warn("VueLazyload log: load failed with loading image("+e.loading+")")}))}},{key:"load",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent||console.log("VueLazyload log: "+this.src+" tried too more than "+this.options.attempt+" times"),void e()):this.state.loaded||B[this.src]?(this.state.loaded=!0,e(),this.render("loaded",!0)):void this.renderLoading((function(){t.attempt++,t.record("loadStart"),O({src:t.src},(function(i){t.naturalHeight=i.naturalHeight,t.naturalWidth=i.naturalWidth,t.state.loaded=!0,t.state.error=!1,t.record("loadEnd"),t.render("loaded",!1),B[t.src]=1,e()}),(function(e){!t.options.silent&&console.error(e),t.state.error=!0,t.state.loaded=!1,t.render("error",!1)}))}))}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),t}(),D="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",E=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],j={rootMargin:"0px",threshold:0},P=function(t){return function(){function e(t){var i=t.preLoad,n=t.error,r=t.throttleWait,s=t.preLoadTop,o=t.dispatchEvent,l=t.loading,c=t.attempt,h=t.silent,d=void 0===h||h,f=t.scale,p=t.listenEvents,m=(t.hasbind,t.filter),v=t.adapter,g=t.observer,b=t.observerOptions;u(this,e),this.version="1.2.3",this.mode=y,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:d,dispatchEvent:!!o,throttleWait:r||200,preLoad:i||1.3,preLoadTop:s||0,error:n||D,loading:l||D,attempt:c||3,scale:f||x(f),ListenEvents:p||E,hasbind:!1,supportWebp:a(),filter:m||{},adapter:v||{},observer:!!g,observerOptions:b||j},this._initEvent(),this.lazyLoadHandler=function(t,e){var i=null,n=0;return function(){if(!i){var r=Date.now()-n,s=this,o=arguments,a=function(){n=Date.now(),i=!1,t.apply(s,o)};r>=e?a():i=setTimeout(a,e)}}}(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?S:y)}return h(e,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this.options,t)}},{key:"performance",value:function(){var t=[];return this.ListenerQueue.map((function(e){t.push(e.performance())})),t}},{key:"addLazyBox",value:function(t){this.ListenerQueue.push(t),g&&(this._addListenerTarget(window),this._observer&&this._observer.observe(t.el),t.$el&&t.$el.parentNode&&this._addListenerTarget(t.$el.parentNode))}},{key:"add",value:function(e,i,n){var r=this;if(function(t,e){for(var i=!1,n=0,r=t.length;n0&&this.rect.left0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)}}}},N=function(){function t(e){var i=e.lazy;u(this,t),this.lazy=i,i.lazyContainerMananger=this,this._queue=[]}return h(t,[{key:"bind",value:function(t,e,i){var n=new M({el:t,binding:e,vnode:i,lazy:this.lazy});this._queue.push(n)}},{key:"update",value:function(t,e,i){var n=o(this._queue,(function(e){return e.el===t}));n&&n.update({el:t,binding:e,vnode:i})}},{key:"unbind",value:function(t,e,i){var n=o(this._queue,(function(e){return e.el===t}));n&&(n.clear(),r(this._queue,n))}}]),t}(),A={selector:"img"},M=function(){function t(e){var i=e.el,n=e.binding,r=e.vnode,s=e.lazy;u(this,t),this.el=null,this.vnode=r,this.binding=n,this.options={},this.lazy=s,this._queue=[],this.update({el:i,binding:n})}return h(t,[{key:"update",value:function(t){var e=this,i=t.el,n=t.binding;this.el=i,this.options=v({},A,n.value),this.getImgs().forEach((function(t){e.lazy.add(t,v({},e.binding,{value:{src:t.dataset.src,error:t.dataset.error,loading:t.dataset.loading}}),e.vnode)}))}},{key:"getImgs",value:function(){return function(t){for(var e=t.length,i=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:{},i=P(t),n=new i(e),r=new N({lazy:n}),s="2"===t.version.split(".")[0];t.prototype.$Lazyload=n,e.lazyComponent&&t.component("lazy-component",L(n)),s?(t.directive("lazy",{bind:n.add.bind(n),update:n.update.bind(n),componentUpdated:n.lazyLoadHandler.bind(n),unbind:n.remove.bind(n)}),t.directive("lazy-container",{bind:r.bind.bind(r),update:r.update.bind(r),unbind:r.unbind.bind(r)})):(t.directive("lazy",{bind:n.lazyLoadHandler.bind(n),update:function(t,e){v(this.vm.$refs,this.vm.$els),n.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){n.remove(this.el)}}),t.directive("lazy-container",{update:function(t,e){r.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){r.unbind(this.el)}}))}}}()},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";function n(){return(n=Object.assign||function(t){for(var e=1;e2?i-2:0),r=2;ri&&e>10?"horizontal":i>e&&i>10?"vertical":"")},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(t){var e=this.onTouchStart,i=this.onTouchMove,n=this.onTouchEnd;b(t,"touchstart",e),b(t,"touchmove",i),n&&(b(t,"touchend",n),b(t,"touchcancel",n))}}};function H(t){var e=void 0===t?{}:t,i=e.ref,n=e.afterPortal;return{props:{getContainer:[String,Function]},watch:{getContainer:"portal"},mounted:function(){this.getContainer&&this.portal()},methods:{portal:function(){var t,e,r=this.getContainer,s=i?this.$refs[i]:this.$el;r?t="string"==typeof(e=r)?document.querySelector(e):e():this.$parent&&(t=this.$parent.$el),t&&t!==s.parentNode&&t.appendChild(s),n&&n.call(this)}}}}var _=0;function W(t){var e="binded_"+_++;function i(){this[e]||(t.call(this,b,!0),this[e]=!0)}function n(){this[e]&&(t.call(this,y,!1),this[e]=!1)}return{mounted:i,activated:i,deactivated:n,beforeDestroy:n}}var q={mixins:[W((function(t,e){this.handlePopstate(e&&this.closeOnPopstate)}))],props:{closeOnPopstate:Boolean},data:function(){return{bindStatus:!1}},watch:{closeOnPopstate:function(t){this.handlePopstate(t)}},methods:{onPopstate:function(){this.close(),this.shouldReopen=!1},handlePopstate:function(t){this.$isServer||this.bindStatus!==t&&(this.bindStatus=t,(t?b:y)(window,"popstate",this.onPopstate))}}},K={transitionAppear:Boolean,value:Boolean,overlay:Boolean,overlayStyle:Object,overlayClass:String,closeOnClickOverlay:Boolean,zIndex:[Number,String],lockScroll:{type:Boolean,default:!0},lazyRender:{type:Boolean,default:!0}};function U(t){return void 0===t&&(t={}),{mixins:[R,q,H({afterPortal:function(){this.overlay&&D()}})],props:K,data:function(){return{inited:this.value}},computed:{shouldRender:function(){return this.inited||!this.lazyRender}},watch:{value:function(e){var i=e?"open":"close";this.inited=this.inited||this.value,this[i](),t.skipToggleEvent||this.$emit(i)},overlay:"renderOverlay"},mounted:function(){this.value&&this.open()},activated:function(){this.shouldReopen&&(this.$emit("input",!0),this.shouldReopen=!1)},beforeDestroy:function(){var t,e;t=this,(e=p.find(t))&&B(e.overlay.$el),this.opened&&this.removeLock(),this.getContainer&&B(this.$el)},deactivated:function(){this.value&&(this.close(),this.shouldReopen=!0)},methods:{open:function(){this.$isServer||this.opened||(void 0!==this.zIndex&&(p.zIndex=this.zIndex),this.opened=!0,this.renderOverlay(),this.addLock())},addLock:function(){this.lockScroll&&(b(document,"touchstart",this.touchStart),b(document,"touchmove",this.onTouchMove),p.lockCount||document.body.classList.add("van-overflow-hidden"),p.lockCount++)},removeLock:function(){this.lockScroll&&p.lockCount&&(p.lockCount--,y(document,"touchstart",this.touchStart),y(document,"touchmove",this.onTouchMove),p.lockCount||document.body.classList.remove("van-overflow-hidden"))},close:function(){this.opened&&(j(this),this.opened=!1,this.removeLock(),this.$emit("input",!1))},onTouchMove:function(t){this.touchMove(t);var e=this.deltaY>0?"10":"01",i=N(t.target,this.$el),n=i.scrollHeight,r=i.offsetHeight,s=i.scrollTop,o="11";0===s?o=r>=n?"00":"01":s+r>=n&&(o="10"),"11"===o||"vertical"!==this.direction||parseInt(o,2)&parseInt(e,2)||k(t,!0)},renderOverlay:function(){var t=this;!this.$isServer&&this.value&&this.$nextTick((function(){t.updateZIndex(t.overlay?1:0),t.overlay?E(t,{zIndex:p.zIndex++,duration:t.duration,className:t.overlayClass,customStyle:t.overlayStyle}):j(t)}))},updateZIndex:function(t){void 0===t&&(t=0),this.$el.style.zIndex=++p.zIndex+t}}}}var Y=i(6),X=Object(l.a)("info"),Q=X[0],G=X[1];function Z(t,e,i,n){var r=e.dot,o=e.info,a=Object(m.c)(o)&&""!==o;if(r||a)return t("div",s()([{class:G({dot:r})},h(n,!0)]),[r?"":e.info])}Z.props={dot:Boolean,info:[Number,String]};var J=Q(Z),tt=Object(l.a)("icon"),et=tt[0],it=tt[1];var nt={medel:"medal","medel-o":"medal-o","calender-o":"calendar-o"};function rt(t,e,i,n){var r,o=function(t){return t&&nt[t]||t}(e.name),a=function(t){return!!t&&-1!==t.indexOf("/")}(o);return t(e.tag,s()([{class:[e.classPrefix,a?"":e.classPrefix+"-"+o],style:{color:e.color,fontSize:Object(Y.a)(e.size)}},h(n,!0)]),[i.default&&i.default(),a&&t("img",{class:it("image"),attrs:{src:o}}),t(J,{attrs:{dot:e.dot,info:null!=(r=e.badge)?r:e.info}})])}rt.props={dot:Boolean,name:String,size:[Number,String],info:[Number,String],badge:[Number,String],color:String,tag:{type:String,default:"i"},classPrefix:{type:String,default:it()}};var st=et(rt),ot=Object(l.a)("popup"),at=ot[0],lt=ot[1],ct=at({mixins:[U()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){var t=this,e=function(e){return function(i){return t.$emit(e,i)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},methods:{onClickCloseIcon:function(t){this.$emit("click-close-icon",t),this.close()}},render:function(){var t,e=arguments[0];if(this.shouldRender){var i=this.round,n=this.position,r=this.duration,s="center"===n,o=this.transition||(s?"van-fade":"van-popup-slide-"+n),a={};if(Object(m.c)(r)){var l=s?"animationDuration":"transitionDuration";a[l]=r+"s"}return e("transition",{attrs:{appear:this.transitionAppear,name:o},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:a,class:lt((t={round:i},t[n]=n,t["safe-area-inset-bottom"]=this.safeAreaInsetBottom,t)),on:{click:this.onClick}},[this.slots(),this.closeable&&e(st,{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:lt("close-icon",this.closeIconPosition),on:{click:this.onClickCloseIcon}})])])}}}),ut=Object(l.a)("loading"),ht=ut[0],dt=ut[1];function ft(t,e){if("spinner"===e.type){for(var i=[],n=0;n<12;n++)i.push(t("i"));return i}return t("svg",{class:dt("circular"),attrs:{viewBox:"25 25 50 50"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])}function pt(t,e,i){if(i.default){var n,r={fontSize:Object(Y.a)(e.textSize),color:null!=(n=e.textColor)?n:e.color};return t("span",{class:dt("text"),style:r},[i.default()])}}function mt(t,e,i,n){var r=e.color,o=e.size,a=e.type,l={color:r};if(o){var c=Object(Y.a)(o);l.width=c,l.height=c}return t("div",s()([{class:dt([a,{vertical:e.vertical}])},h(n,!0)]),[t("span",{class:dt("spinner",a),style:l},[ft(t,e)]),pt(t,e,i)])}mt.props={color:String,size:[Number,String],vertical:Boolean,textSize:[Number,String],textColor:String,type:{type:String,default:"circular"}};var vt=ht(mt),gt=Object(l.a)("action-sheet"),bt=gt[0],yt=gt[1];function St(t,e,i,n){var r=e.title,o=e.cancelText,l=e.closeable;function c(){d(n,"input",!1),d(n,"cancel")}return t(ct,s()([{class:yt(),attrs:{position:"bottom",round:e.round,value:e.value,overlay:e.overlay,duration:e.duration,lazyRender:e.lazyRender,lockScroll:e.lockScroll,getContainer:e.getContainer,closeOnPopstate:e.closeOnPopstate,closeOnClickOverlay:e.closeOnClickOverlay,safeAreaInsetBottom:e.safeAreaInsetBottom}},h(n,!0)]),[function(){if(r)return t("div",{class:yt("header")},[r,l&&t(st,{attrs:{name:e.closeIcon},class:yt("close"),on:{click:c}})])}(),function(){var n=(null==i.description?void 0:i.description())||e.description;if(n)return t("div",{class:yt("description")},[n])}(),t("div",{class:yt("content")},[e.actions&&e.actions.map((function(i,r){var s=i.disabled,o=i.loading,l=i.callback;return t("button",{attrs:{type:"button"},class:[yt("item",{disabled:s,loading:o}),i.className],style:{color:i.color},on:{click:function(t){t.stopPropagation(),s||o||(l&&l(i),e.closeOnClickAction&&d(n,"input",!1),a.a.nextTick((function(){d(n,"select",i,r)})))}}},[o?t(vt,{class:yt("loading-icon")}):[t("span",{class:yt("name")},[i.name]),i.subname&&t("div",{class:yt("subname")},[i.subname])]])})),null==i.default?void 0:i.default()]),function(){if(o)return[t("div",{class:yt("gap")}),t("button",{attrs:{type:"button"},class:yt("cancel"),on:{click:c}},[o])]}()])}St.props=n({},K,{title:String,actions:Array,duration:[Number,String],cancelText:String,description:String,getContainer:[String,Function],closeOnPopstate:Boolean,closeOnClickAction:Boolean,round:{type:Boolean,default:!0},closeable:{type:Boolean,default:!0},closeIcon:{type:String,default:"cross"},safeAreaInsetBottom:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}});var kt=bt(St);function xt(t){return t=t.replace(/[^-|\d]/g,""),/^((\+86)|(86))?(1)\d{10}$/.test(t)||/^0[0-9-]{10,13}$/.test(t)}var wt={title:String,loading:Boolean,readonly:Boolean,itemHeight:[Number,String],showToolbar:Boolean,cancelButtonText:String,confirmButtonText:String,allowHtml:{type:Boolean,default:!0},visibleItemCount:{type:[Number,String],default:6},swipeDuration:{type:[Number,String],default:1e3}},Ct="#ee0a24",Ot="van-hairline",Tt=Ot+"--top",$t=Ot+"--bottom",Bt=Ot+"--top-bottom";function It(t){if(!Object(m.c)(t))return t;if(Array.isArray(t))return t.map((function(t){return It(t)}));if("object"==typeof t){var e={};return Object.keys(t).forEach((function(i){e[i]=It(t[i])})),e}return t}function Dt(t,e,i){return Math.min(Math.max(t,e),i)}function Et(t,e,i){var n=t.indexOf(e),r="";return-1===n?t:"-"===e&&0!==n?t.slice(0,n):("."===e&&t.match(/^(\.|-\.)/)&&(r=n?"-0":"0"),r+t.slice(0,n+1)+t.slice(n).replace(i,""))}function jt(t,e,i){void 0===e&&(e=!0),void 0===i&&(i=!0),t=e?Et(t,".",/\./g):t.split(".")[0];var n=e?/[^-0-9.]/g:/[^-0-9]/g;return(t=i?Et(t,"-",/-/g):t.replace(/-/,"")).replace(n,"")}var Pt=Object(l.a)("picker-column"),Lt=Pt[0],Nt=Pt[1];function At(t){return Object(m.f)(t)&&t.disabled}var Mt=Lt({mixins:[R],props:{valueKey:String,readonly:Boolean,allowHtml:Boolean,className:String,itemHeight:Number,defaultIndex:Number,swipeDuration:[Number,String],visibleItemCount:[Number,String],initialOptions:{type:Array,default:function(){return[]}}},data:function(){return{offset:0,duration:0,options:It(this.initialOptions),currentIndex:this.defaultIndex}},created:function(){this.$parent.children&&this.$parent.children.push(this),this.setIndex(this.currentIndex)},mounted:function(){this.bindTouchEvent(this.$el)},destroyed:function(){var t=this.$parent.children;t&&t.splice(t.indexOf(this),1)},watch:{initialOptions:"setOptions",defaultIndex:function(t){this.setIndex(t)}},computed:{count:function(){return this.options.length},baseOffset:function(){return this.itemHeight*(this.visibleItemCount-1)/2}},methods:{setOptions:function(t){JSON.stringify(t)!==JSON.stringify(this.options)&&(this.options=It(t),this.setIndex(this.defaultIndex))},onTouchStart:function(t){if(!this.readonly){if(this.touchStart(t),this.moving){var e=function(t){var e=window.getComputedStyle(t),i=e.transform||e.webkitTransform,n=i.slice(7,i.length-1).split(", ")[5];return Number(n)}(this.$refs.wrapper);this.offset=Math.min(0,e-this.baseOffset),this.startOffset=this.offset}else this.startOffset=this.offset;this.duration=0,this.transitionEndTrigger=null,this.touchStartTime=Date.now(),this.momentumOffset=this.startOffset}},onTouchMove:function(t){if(!this.readonly){this.touchMove(t),"vertical"===this.direction&&(this.moving=!0,k(t,!0)),this.offset=Dt(this.startOffset+this.deltaY,-this.count*this.itemHeight,this.itemHeight);var e=Date.now();e-this.touchStartTime>300&&(this.touchStartTime=e,this.momentumOffset=this.offset)}},onTouchEnd:function(){var t=this;if(!this.readonly){var e=this.offset-this.momentumOffset,i=Date.now()-this.touchStartTime;if(i<300&&Math.abs(e)>15)this.momentum(e,i);else{var n=this.getIndexByOffset(this.offset);this.duration=200,this.setIndex(n,!0),setTimeout((function(){t.moving=!1}),0)}}},onTransitionEnd:function(){this.stopMomentum()},onClickItem:function(t){this.moving||this.readonly||(this.transitionEndTrigger=null,this.duration=200,this.setIndex(t,!0))},adjustIndex:function(t){for(var e=t=Dt(t,0,this.count);e=0;i--)if(!At(this.options[i]))return i},getOptionText:function(t){return Object(m.f)(t)&&this.valueKey in t?t[this.valueKey]:t},setIndex:function(t,e){var i=this,n=-(t=this.adjustIndex(t)||0)*this.itemHeight,r=function(){t!==i.currentIndex&&(i.currentIndex=t,e&&i.$emit("change",t))};this.moving&&n!==this.offset?this.transitionEndTrigger=r:r(),this.offset=n},setValue:function(t){for(var e=this.options,i=0;ii&&(t=this.value&&this.value.length===+i?this.value:t.slice(0,i)),"number"===this.type||"digit"===this.type){var n="number"===this.type;t=jt(t,n,n)}this.formatter&&e===this.formatTrigger&&(t=this.formatter(t));var r=this.$refs.input;r&&t!==r.value&&(r.value=t),t!==this.value&&this.$emit("input",t)},onInput:function(t){t.target.composing||this.updateValue(t.target.value)},onFocus:function(t){this.focused=!0,this.$emit("focus",t),this.getProp("readonly")&&this.blur()},onBlur:function(t){this.focused=!1,this.updateValue(this.value,"onBlur"),this.$emit("blur",t),this.validateWithTrigger("onBlur"),re()},onClick:function(t){this.$emit("click",t)},onClickInput:function(t){this.$emit("click-input",t)},onClickLeftIcon:function(t){this.$emit("click-left-icon",t)},onClickRightIcon:function(t){this.$emit("click-right-icon",t)},onClear:function(t){k(t),this.$emit("input",""),this.$emit("clear",t)},onKeypress:function(t){13===t.keyCode&&(this.getProp("submitOnEnter")||"textarea"===this.type||k(t),"search"===this.type&&this.blur());this.$emit("keypress",t)},adjustSize:function(){var t=this.$refs.input;if("textarea"===this.type&&this.autosize&&t){t.style.height="auto";var e=t.scrollHeight;if(Object(m.f)(this.autosize)){var i=this.autosize,n=i.maxHeight,r=i.minHeight;n&&(e=Math.min(e,n)),r&&(e=Math.max(e,r))}e&&(t.style.height=e+"px")}},genInput:function(){var t=this.$createElement,e=this.type,i=this.getProp("disabled"),r=this.getProp("readonly"),o=this.slots("input"),a=this.getProp("inputAlign");if(o)return t("div",{class:ae("control",[a,"custom"]),on:{click:this.onClickInput}},[o]);var l={ref:"input",class:ae("control",a),domProps:{value:this.value},attrs:n({},this.$attrs,{name:this.name,disabled:i,readonly:r,placeholder:this.placeholder}),on:this.listeners,directives:[{name:"model",value:this.value}]};if("textarea"===e)return t("textarea",s()([{},l]));var c,u=e;return"number"===e&&(u="text",c="decimal"),"digit"===e&&(u="tel",c="numeric"),t("input",s()([{attrs:{type:u,inputmode:c}},l]))},genLeftIcon:function(){var t=this.$createElement;if(this.slots("left-icon")||this.leftIcon)return t("div",{class:ae("left-icon"),on:{click:this.onClickLeftIcon}},[this.slots("left-icon")||t(st,{attrs:{name:this.leftIcon,classPrefix:this.iconPrefix}})])},genRightIcon:function(){var t=this.$createElement,e=this.slots;if(e("right-icon")||this.rightIcon)return t("div",{class:ae("right-icon"),on:{click:this.onClickRightIcon}},[e("right-icon")||t(st,{attrs:{name:this.rightIcon,classPrefix:this.iconPrefix}})])},genWordLimit:function(){var t=this.$createElement;if(this.showWordLimit&&this.maxlength){var e=(this.value||"").length;return t("div",{class:ae("word-limit")},[t("span",{class:ae("word-num")},[e]),"/",this.maxlength])}},genMessage:function(){var t=this.$createElement;if(!this.vanForm||!1!==this.vanForm.showErrorMessage){var e=this.errorMessage||this.validateMessage;if(e){var i=this.getProp("errorMessageAlign");return t("div",{class:ae("error-message",i)},[e])}}},getProp:function(t){return Object(m.c)(this[t])?this[t]:this.vanForm&&Object(m.c)(this.vanForm[t])?this.vanForm[t]:void 0},genLabel:function(){var t=this.$createElement,e=this.getProp("colon")?":":"";return this.slots("label")?[this.slots("label"),e]:this.label?t("span",[this.label+e]):void 0}},render:function(){var t,e=arguments[0],i=this.slots,n=this.getProp("disabled"),r=this.getProp("labelAlign"),s={icon:this.genLeftIcon},o=this.genLabel();o&&(s.title=function(){return o});var a=this.slots("extra");return a&&(s.extra=function(){return a}),e(ie,{attrs:{icon:this.leftIcon,size:this.size,center:this.center,border:this.border,isLink:this.isLink,required:this.required,clickable:this.clickable,titleStyle:this.labelStyle,valueClass:ae("value"),titleClass:[ae("label",r),this.labelClass],arrowDirection:this.arrowDirection},scopedSlots:s,class:ae((t={error:this.showError,disabled:n},t["label-"+r]=r,t["min-height"]="textarea"===this.type&&!this.autosize,t)),on:{click:this.onClick}},[e("div",{class:ae("body")},[this.genInput(),this.showClear&&e(st,{attrs:{name:"clear"},class:ae("clear"),on:{touchstart:this.onClear}}),this.genRightIcon(),i("button")&&e("div",{class:ae("button")},[i("button")])]),this.genWordLimit(),this.genMessage()])}}),ce=0;var ue=Object(l.a)("toast"),he=ue[0],de=ue[1],fe=he({mixins:[U()],props:{icon:String,className:null,iconPrefix:String,loadingType:String,forbidClick:Boolean,closeOnClick:Boolean,message:[Number,String],type:{type:String,default:"text"},position:{type:String,default:"middle"},transition:{type:String,default:"van-fade"},lockScroll:{type:Boolean,default:!1}},data:function(){return{clickable:!1}},mounted:function(){this.toggleClickable()},destroyed:function(){this.toggleClickable()},watch:{value:"toggleClickable",forbidClick:"toggleClickable"},methods:{onClick:function(){this.closeOnClick&&this.close()},toggleClickable:function(){var t=this.value&&this.forbidClick;this.clickable!==t&&(this.clickable=t,t?(ce||document.body.classList.add("van-toast--unclickable"),ce++):--ce||document.body.classList.remove("van-toast--unclickable"))},onAfterEnter:function(){this.$emit("opened"),this.onOpened&&this.onOpened()},onAfterLeave:function(){this.$emit("closed")},genIcon:function(){var t=this.$createElement,e=this.icon,i=this.type,n=this.iconPrefix,r=this.loadingType;return e||"success"===i||"fail"===i?t(st,{class:de("icon"),attrs:{classPrefix:n,name:e||i}}):"loading"===i?t(vt,{class:de("loading"),attrs:{type:r}}):void 0},genMessage:function(){var t=this.$createElement,e=this.type,i=this.message;if(Object(m.c)(i)&&""!==i)return"html"===e?t("div",{class:de("text"),domProps:{innerHTML:i}}):t("div",{class:de("text")},[i])}},render:function(){var t,e=arguments[0];return e("transition",{attrs:{name:this.transition},on:{afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[e("div",{directives:[{name:"show",value:this.value}],class:[de([this.position,(t={},t[this.type]=!this.icon,t)]),this.className],on:{click:this.onClick}},[this.genIcon(),this.genMessage()])])}}),pe={icon:"",type:"text",mask:!1,value:!0,message:"",className:"",overlay:!1,onClose:null,onOpened:null,duration:2e3,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,getContainer:"body",overlayStyle:null,closeOnClick:!1,closeOnClickOverlay:!1},me={},ve=[],ge=!1,be=n({},pe);function ye(t){return Object(m.f)(t)?t:{message:t}}function Se(){if(m.h)return{};if(!(ve=ve.filter((function(t){return!t.$el.parentNode||(e=t.$el,document.body.contains(e));var e}))).length||ge){var t=new(a.a.extend(fe))({el:document.createElement("div")});t.$on("input",(function(e){t.value=e})),ve.push(t)}return ve[ve.length-1]}function ke(t){void 0===t&&(t={});var e=Se();return e.value&&e.updateZIndex(),t=ye(t),(t=n({},be,me[t.type||be.type],t)).clear=function(){e.value=!1,t.onClose&&(t.onClose(),t.onClose=null),ge&&!m.h&&e.$on("closed",(function(){clearTimeout(e.timer),ve=ve.filter((function(t){return t!==e})),B(e.$el),e.$destroy()}))},n(e,function(t){return n({},t,{overlay:t.mask||t.overlay,mask:void 0,duration:void 0})}(t)),clearTimeout(e.timer),t.duration>0&&(e.timer=setTimeout((function(){e.clear()}),t.duration)),e}["loading","success","fail"].forEach((function(t){var e;ke[t]=(e=t,function(t){return ke(n({type:e},ye(t)))})})),ke.clear=function(t){ve.length&&(t?(ve.forEach((function(t){t.clear()})),ve=[]):ge?ve.shift().clear():ve[0].clear())},ke.setDefaultOptions=function(t,e){"string"==typeof t?me[t]=e:n(be,t)},ke.resetDefaultOptions=function(t){"string"==typeof t?me[t]=null:(be=n({},pe),me={})},ke.allowMultiple=function(t){void 0===t&&(t=!0),ge=t},ke.install=function(){a.a.use(fe)},a.a.prototype.$toast=ke;var xe=ke,we=Object(l.a)("button"),Ce=we[0],Oe=we[1];function Te(t,e,i,n){var r,o=e.tag,a=e.icon,l=e.type,c=e.color,u=e.plain,f=e.disabled,p=e.loading,m=e.hairline,v=e.loadingText,g=e.iconPosition,b={};c&&(b.color=u?c:"white",u||(b.background=c),-1!==c.indexOf("gradient")?b.border=0:b.borderColor=c);var y,S,k=[Oe([l,e.size,{plain:u,loading:p,disabled:f,hairline:m,block:e.block,round:e.round,square:e.square}]),(r={},r["van-hairline--surround"]=m,r)];function x(){return p?i.loading?i.loading():t(vt,{class:Oe("loading"),attrs:{size:e.loadingSize,type:e.loadingType,color:"currentColor"}}):a?t(st,{attrs:{name:a,classPrefix:e.iconPrefix},class:Oe("icon")}):void 0}return t(o,s()([{style:b,class:k,attrs:{type:e.nativeType,disabled:f},on:{click:function(t){e.loading&&t.preventDefault(),p||f||(d(n,"click",t),Xt(n))},touchstart:function(t){d(n,"touchstart",t)}}},h(n)]),[t("div",{class:Oe("content")},[(S=[],"left"===g&&S.push(x()),(y=p?v:i.default?i.default():e.text)&&S.push(t("span",{class:Oe("text")},[y])),"right"===g&&S.push(x()),S)])])}Te.props=n({},Qt,{text:String,icon:String,color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:String,loadingText:String,loadingType:String,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"},loadingSize:{type:String,default:"20px"},iconPosition:{type:String,default:"left"}});var $e=Ce(Te);function Be(t,e){var i=e.$vnode.componentOptions;if(i&&i.children){var n=function(t){var e=[];return function t(i){i.forEach((function(i){e.push(i),i.componentInstance&&t(i.componentInstance.$children.map((function(t){return t.$vnode}))),i.children&&t(i.children)}))}(t),e}(i.children);t.sort((function(t,e){return n.indexOf(t.$vnode)-n.indexOf(e.$vnode)}))}}function Ie(t,e){var i,n;void 0===e&&(e={});var r=e.indexKey||"index";return{inject:(i={},i[t]={default:null},i),computed:(n={parent:function(){return this.disableBindRelation?null:this[t]}},n[r]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},n),watch:{disableBindRelation:function(t){t||this.bindRelation()}},mounted:function(){this.bindRelation()},beforeDestroy:function(){var t=this;this.parent&&(this.parent.children=this.parent.children.filter((function(e){return e!==t})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var t=[].concat(this.parent.children,[this]);Be(t,this.parent),this.parent.children=t}}}}}function De(t){return{provide:function(){var e;return(e={})[t]=this,e},data:function(){return{children:[]}}}}var Ee,je=Object(l.a)("goods-action"),Pe=je[0],Le=je[1],Ne=Pe({mixins:[De("vanGoodsAction")],props:{safeAreaInsetBottom:{type:Boolean,default:!0}},render:function(){var t=arguments[0];return t("div",{class:Le({unfit:!this.safeAreaInsetBottom})},[this.slots()])}}),Ae=Object(l.a)("goods-action-button"),Me=Ae[0],ze=Ae[1],Fe=Me({mixins:[Ie("vanGoodsAction")],props:n({},Qt,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),computed:{isFirst:function(){var t=this.parent&&this.parent.children[this.index-1];return!t||t.$options.name!==this.$options.name},isLast:function(){var t=this.parent&&this.parent.children[this.index+1];return!t||t.$options.name!==this.$options.name}},methods:{onClick:function(t){this.$emit("click",t),Yt(this.$router,this)}},render:function(){var t=arguments[0];return t($e,{class:ze([{first:this.isFirst,last:this.isLast},this.type]),attrs:{size:"large",type:this.type,icon:this.icon,color:this.color,loading:this.loading,disabled:this.disabled},on:{click:this.onClick}},[this.slots()||this.text])}}),Ve=Object(l.a)("dialog"),Re=Ve[0],He=Ve[1],_e=Ve[2],We=Re({mixins:[U()],props:{title:String,theme:String,width:[Number,String],message:String,className:null,callback:Function,beforeClose:Function,messageAlign:String,cancelButtonText:String,cancelButtonColor:String,confirmButtonText:String,confirmButtonColor:String,showCancelButton:Boolean,overlay:{type:Boolean,default:!0},allowHtml:{type:Boolean,default:!0},transition:{type:String,default:"van-dialog-bounce"},showConfirmButton:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1}},data:function(){return{loading:{confirm:!1,cancel:!1}}},methods:{onClickOverlay:function(){this.handleAction("overlay")},handleAction:function(t){var e=this;this.$emit(t),this.value&&(this.beforeClose?(this.loading[t]=!0,this.beforeClose(t,(function(i){!1!==i&&e.loading[t]&&e.onClose(t),e.loading.confirm=!1,e.loading.cancel=!1}))):this.onClose(t))},onClose:function(t){this.close(),this.callback&&this.callback(t)},onOpened:function(){this.$emit("opened")},onClosed:function(){this.$emit("closed")},genRoundButtons:function(){var t=this,e=this.$createElement;return e(Ne,{class:He("footer")},[this.showCancelButton&&e(Fe,{attrs:{size:"large",type:"warning",text:this.cancelButtonText||_e("cancel"),color:this.cancelButtonColor,loading:this.loading.cancel},class:He("cancel"),on:{click:function(){t.handleAction("cancel")}}}),this.showConfirmButton&&e(Fe,{attrs:{size:"large",type:"danger",text:this.confirmButtonText||_e("confirm"),color:this.confirmButtonColor,loading:this.loading.confirm},class:He("confirm"),on:{click:function(){t.handleAction("confirm")}}})])},genButtons:function(){var t,e=this,i=this.$createElement,n=this.showCancelButton&&this.showConfirmButton;return i("div",{class:[Tt,He("footer")]},[this.showCancelButton&&i($e,{attrs:{size:"large",loading:this.loading.cancel,text:this.cancelButtonText||_e("cancel")},class:He("cancel"),style:{color:this.cancelButtonColor},on:{click:function(){e.handleAction("cancel")}}}),this.showConfirmButton&&i($e,{attrs:{size:"large",loading:this.loading.confirm,text:this.confirmButtonText||_e("confirm")},class:[He("confirm"),(t={},t["van-hairline--left"]=n,t)],style:{color:this.confirmButtonColor},on:{click:function(){e.handleAction("confirm")}}})])},genContent:function(t,e){var i=this.$createElement;if(e)return i("div",{class:He("content")},[e]);var n=this.message,r=this.messageAlign;if(n){var o,a,l={class:He("message",(o={"has-title":t},o[r]=r,o)),domProps:(a={},a[this.allowHtml?"innerHTML":"textContent"]=n,a)};return i("div",{class:He("content",{isolated:!t})},[i("div",s()([{},l]))])}}},render:function(){var t=arguments[0];if(this.shouldRender){var e=this.message,i=this.slots(),n=this.slots("title")||this.title,r=n&&t("div",{class:He("header",{isolated:!e&&!i})},[n]);return t("transition",{attrs:{name:this.transition},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],attrs:{role:"dialog","aria-labelledby":this.title||e},class:[He([this.theme]),this.className],style:{width:Object(Y.a)(this.width)}},[r,this.genContent(n,i),"round-button"===this.theme?this.genRoundButtons():this.genButtons()])])}}});function qe(t){return m.h?Promise.resolve():new Promise((function(e,i){var r;Ee&&(r=Ee.$el,document.body.contains(r))||(Ee&&Ee.$destroy(),(Ee=new(a.a.extend(We))({el:document.createElement("div"),propsData:{lazyRender:!1}})).$on("input",(function(t){Ee.value=t}))),n(Ee,qe.currentOptions,t,{resolve:e,reject:i})}))}qe.defaultOptions={value:!0,title:"",width:"",theme:null,message:"",overlay:!0,className:"",allowHtml:!0,lockScroll:!0,transition:"van-dialog-bounce",beforeClose:null,overlayClass:"",overlayStyle:null,messageAlign:"",getContainer:"body",cancelButtonText:"",cancelButtonColor:null,confirmButtonText:"",confirmButtonColor:null,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1,callback:function(t){Ee["confirm"===t?"resolve":"reject"](t)}},qe.alert=qe,qe.confirm=function(t){return qe(n({showCancelButton:!0},t))},qe.close=function(){Ee&&(Ee.value=!1)},qe.setDefaultOptions=function(t){n(qe.currentOptions,t)},qe.resetDefaultOptions=function(){qe.currentOptions=n({},qe.defaultOptions)},qe.resetDefaultOptions(),qe.install=function(){a.a.use(We)},qe.Component=We,a.a.prototype.$dialog=qe;var Ke=qe,Ue=Object(l.a)("address-edit-detail"),Ye=Ue[0],Xe=Ue[1],Qe=Ue[2],Ge=!m.h&&/android/.test(navigator.userAgent.toLowerCase()),Ze=Ye({props:{value:String,errorMessage:String,focused:Boolean,detailRows:[Number,String],searchResult:Array,detailMaxlength:[Number,String],showSearchResult:Boolean},computed:{shouldShowSearchResult:function(){return this.focused&&this.searchResult&&this.showSearchResult}},methods:{onSelect:function(t){this.$emit("select-search",t),this.$emit("input",((t.address||"")+" "+(t.name||"")).trim())},onFinish:function(){this.$refs.field.blur()},genFinish:function(){var t=this.$createElement;if(this.value&&this.focused&&Ge)return t("div",{class:Xe("finish"),on:{click:this.onFinish}},[Qe("complete")])},genSearchResult:function(){var t=this,e=this.$createElement,i=this.value,n=this.shouldShowSearchResult,r=this.searchResult;if(n)return r.map((function(n){return e(ie,{key:n.name+n.address,attrs:{clickable:!0,border:!1,icon:"location-o",label:n.address},class:Xe("search-item"),on:{click:function(){t.onSelect(n)}},scopedSlots:{title:function(){if(n.name){var t=n.name.replace(i,""+i+"");return e("div",{domProps:{innerHTML:t}})}}}})}))}},render:function(){var t=arguments[0];return t(ie,{class:Xe()},[t(le,{attrs:{autosize:!0,rows:this.detailRows,clearable:!Ge,type:"textarea",value:this.value,errorMessage:this.errorMessage,border:!this.shouldShowSearchResult,label:Qe("label"),maxlength:this.detailMaxlength,placeholder:Qe("placeholder")},ref:"field",scopedSlots:{icon:this.genFinish},on:n({},this.$listeners)}),this.genSearchResult()])}}),Je={size:[Number,String],value:null,loading:Boolean,disabled:Boolean,activeColor:String,inactiveColor:String,activeValue:{type:null,default:!0},inactiveValue:{type:null,default:!1}},ti={inject:{vanField:{default:null}},watch:{value:function(){var t=this.vanField;t&&(t.resetValidation(),t.validateWithTrigger("onChange"))}},created:function(){var t=this.vanField;t&&!t.children&&(t.children=this)}},ei=Object(l.a)("switch"),ii=ei[0],ni=ei[1],ri=ii({mixins:[ti],props:Je,computed:{checked:function(){return this.value===this.activeValue},style:function(){return{fontSize:Object(Y.a)(this.size),backgroundColor:this.checked?this.activeColor:this.inactiveColor}}},methods:{onClick:function(t){if(this.$emit("click",t),!this.disabled&&!this.loading){var e=this.checked?this.inactiveValue:this.activeValue;this.$emit("input",e),this.$emit("change",e)}},genLoading:function(){var t=this.$createElement;if(this.loading){var e=this.checked?this.activeColor:this.inactiveColor;return t(vt,{class:ni("loading"),attrs:{color:e}})}}},render:function(){var t=arguments[0],e=this.checked,i=this.loading,n=this.disabled;return t("div",{class:ni({on:e,loading:i,disabled:n}),attrs:{role:"switch","aria-checked":String(e)},style:this.style,on:{click:this.onClick}},[t("div",{class:ni("node")},[this.genLoading()])])}}),si=Object(l.a)("address-edit"),oi=si[0],ai=si[1],li=si[2],ci={name:"",tel:"",country:"",province:"",city:"",county:"",areaCode:"",postalCode:"",addressDetail:"",isDefault:!1};var ui=oi({props:{areaList:Object,isSaving:Boolean,isDeleting:Boolean,validator:Function,showDelete:Boolean,showPostal:Boolean,searchResult:Array,telMaxlength:[Number,String],showSetDefault:Boolean,saveButtonText:String,areaPlaceholder:String,deleteButtonText:String,showSearchResult:Boolean,showArea:{type:Boolean,default:!0},showDetail:{type:Boolean,default:!0},disableArea:Boolean,detailRows:{type:[Number,String],default:1},detailMaxlength:{type:[Number,String],default:200},addressInfo:{type:Object,default:function(){return n({},ci)}},telValidator:{type:Function,default:xt},postalValidator:{type:Function,default:function(t){return/^\d{6}$/.test(t)}},areaColumnsPlaceholder:{type:Array,default:function(){return[]}}},data:function(){return{data:{},showAreaPopup:!1,detailFocused:!1,errorInfo:{tel:"",name:"",areaCode:"",postalCode:"",addressDetail:""}}},computed:{areaListLoaded:function(){return Object(m.f)(this.areaList)&&Object.keys(this.areaList).length},areaText:function(){var t=this.data,e=t.country,i=t.province,n=t.city,r=t.county;if(t.areaCode){var s=[e,i,n,r];return i&&i===n&&s.splice(1,1),s.filter((function(t){return t})).join("/")}return""},hideBottomFields:function(){var t=this.searchResult;return t&&t.length&&this.detailFocused}},watch:{addressInfo:{handler:function(t){this.data=n({},ci,t),this.setAreaCode(t.areaCode)},deep:!0,immediate:!0},areaList:function(){this.setAreaCode(this.data.areaCode)}},methods:{onFocus:function(t){this.errorInfo[t]="",this.detailFocused="addressDetail"===t,this.$emit("focus",t)},onChangeDetail:function(t){this.data.addressDetail=t,this.$emit("change-detail",t)},onAreaConfirm:function(t){(t=t.filter((function(t){return!!t}))).some((function(t){return!t.code}))?xe(li("areaEmpty")):(this.showAreaPopup=!1,this.assignAreaValues(),this.$emit("change-area",t))},assignAreaValues:function(){var t=this.$refs.area;if(t){var e=t.getArea();e.areaCode=e.code,delete e.code,n(this.data,e)}},onSave:function(){var t=this,e=["name","tel"];this.showArea&&e.push("areaCode"),this.showDetail&&e.push("addressDetail"),this.showPostal&&e.push("postalCode"),e.every((function(e){var i=t.getErrorMessage(e);return i&&(t.errorInfo[e]=i),!i}))&&!this.isSaving&&this.$emit("save",this.data)},getErrorMessage:function(t){var e=String(this.data[t]||"").trim();if(this.validator){var i=this.validator(t,e);if(i)return i}switch(t){case"name":return e?"":li("nameEmpty");case"tel":return this.telValidator(e)?"":li("telInvalid");case"areaCode":return e?"":li("areaEmpty");case"addressDetail":return e?"":li("addressEmpty");case"postalCode":return e&&!this.postalValidator(e)?li("postalEmpty"):""}},onDelete:function(){var t=this;Ke.confirm({title:li("confirmDelete")}).then((function(){t.$emit("delete",t.data)})).catch((function(){t.$emit("cancel-delete",t.data)}))},getArea:function(){return this.$refs.area?this.$refs.area.getValues():[]},setAreaCode:function(t){this.data.areaCode=t||"",t&&this.$nextTick(this.assignAreaValues)},setAddressDetail:function(t){this.data.addressDetail=t},onDetailBlur:function(){var t=this;setTimeout((function(){t.detailFocused=!1}))},genSetDefaultCell:function(t){var e=this;if(this.showSetDefault){var i={"right-icon":function(){return t(ri,{attrs:{size:"24"},on:{change:function(t){e.$emit("change-default",t)}},model:{value:e.data.isDefault,callback:function(t){e.$set(e.data,"isDefault",t)}}})}};return t(ie,{directives:[{name:"show",value:!this.hideBottomFields}],attrs:{center:!0,title:li("defaultAddress")},class:ai("default"),scopedSlots:i})}return t()}},render:function(t){var e=this,i=this.data,n=this.errorInfo,r=this.disableArea,s=this.hideBottomFields,o=function(t){return function(){return e.onFocus(t)}};return t("div",{class:ai()},[t("div",{class:ai("fields")},[t(le,{attrs:{clearable:!0,label:li("name"),placeholder:li("namePlaceholder"),errorMessage:n.name},on:{focus:o("name")},model:{value:i.name,callback:function(t){e.$set(i,"name",t)}}}),t(le,{attrs:{clearable:!0,type:"tel",label:li("tel"),maxlength:this.telMaxlength,placeholder:li("telPlaceholder"),errorMessage:n.tel},on:{focus:o("tel")},model:{value:i.tel,callback:function(t){e.$set(i,"tel",t)}}}),t(le,{directives:[{name:"show",value:this.showArea}],attrs:{readonly:!0,clickable:!r,label:li("area"),placeholder:this.areaPlaceholder||li("areaPlaceholder"),errorMessage:n.areaCode,rightIcon:r?null:"arrow",value:this.areaText},on:{focus:o("areaCode"),click:function(){e.$emit("click-area"),e.showAreaPopup=!r}}}),t(Ze,{directives:[{name:"show",value:this.showDetail}],attrs:{focused:this.detailFocused,value:i.addressDetail,errorMessage:n.addressDetail,detailRows:this.detailRows,detailMaxlength:this.detailMaxlength,searchResult:this.searchResult,showSearchResult:this.showSearchResult},on:{focus:o("addressDetail"),blur:this.onDetailBlur,input:this.onChangeDetail,"select-search":function(t){e.$emit("select-search",t)}}}),this.showPostal&&t(le,{directives:[{name:"show",value:!s}],attrs:{type:"tel",maxlength:"6",label:li("postal"),placeholder:li("postal"),errorMessage:n.postalCode},on:{focus:o("postalCode")},model:{value:i.postalCode,callback:function(t){e.$set(i,"postalCode",t)}}}),this.slots()]),this.genSetDefaultCell(t),t("div",{directives:[{name:"show",value:!s}],class:ai("buttons")},[t($e,{attrs:{block:!0,round:!0,loading:this.isSaving,type:"danger",text:this.saveButtonText||li("save")},on:{click:this.onSave}}),this.showDelete&&t($e,{attrs:{block:!0,round:!0,loading:this.isDeleting,text:this.deleteButtonText||li("delete")},on:{click:this.onDelete}})]),t(ct,{attrs:{round:!0,position:"bottom",lazyRender:!1,getContainer:"body"},model:{value:e.showAreaPopup,callback:function(t){e.showAreaPopup=t}}},[t(Ut,{ref:"area",attrs:{value:i.areaCode,loading:!this.areaListLoaded,areaList:this.areaList,columnsPlaceholder:this.areaColumnsPlaceholder},on:{confirm:this.onAreaConfirm,cancel:function(){e.showAreaPopup=!1}}})])])}}),hi=Object(l.a)("radio-group"),di=hi[0],fi=hi[1],pi=di({mixins:[De("vanRadio"),ti],props:{value:null,disabled:Boolean,direction:String,checkedColor:String,iconSize:[Number,String]},watch:{value:function(t){this.$emit("change",t)}},render:function(){var t=arguments[0];return t("div",{class:fi([this.direction]),attrs:{role:"radiogroup"}},[this.slots()])}}),mi=Object(l.a)("tag"),vi=mi[0],gi=mi[1];function bi(t,e,i,n){var r,o=e.type,a=e.mark,l=e.plain,c=e.color,u=e.round,f=e.size,p=e.textColor,m=((r={})[l?"color":"backgroundColor"]=c,r);l?(m.color=p||c,m.borderColor=c):(m.color=p,m.background=c);var v={mark:a,plain:l,round:u};f&&(v[f]=f);var g=e.closeable&&t(st,{attrs:{name:"cross"},class:gi("close"),on:{click:function(t){t.stopPropagation(),d(n,"close")}}});return t("transition",{attrs:{name:e.closeable?"van-fade":null}},[t("span",s()([{key:"content",style:m,class:gi([v,o])},h(n,!0)]),[null==i.default?void 0:i.default(),g])])}bi.props={size:String,mark:Boolean,color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean,type:{type:String,default:"default"}};var yi=vi(bi),Si=function(t){var e=t.parent,i=t.bem,n=t.role;return{mixins:[Ie(e),ti],props:{name:null,value:null,disabled:Boolean,iconSize:[Number,String],checkedColor:String,labelPosition:String,labelDisabled:Boolean,shape:{type:String,default:"round"},bindGroup:{type:Boolean,default:!0}},computed:{disableBindRelation:function(){return!this.bindGroup},isDisabled:function(){return this.parent&&this.parent.disabled||this.disabled},direction:function(){return this.parent&&this.parent.direction||null},iconStyle:function(){var t=this.checkedColor||this.parent&&this.parent.checkedColor;if(t&&this.checked&&!this.isDisabled)return{borderColor:t,backgroundColor:t}},tabindex:function(){return this.isDisabled||"radio"===n&&!this.checked?-1:0}},methods:{onClick:function(t){var e=this,i=t.target,n=this.$refs.icon,r=n===i||n.contains(i);this.isDisabled||!r&&this.labelDisabled?this.$emit("click",t):(this.toggle(),setTimeout((function(){e.$emit("click",t)})))},genIcon:function(){var t=this.$createElement,e=this.checked,n=this.iconSize||this.parent&&this.parent.iconSize;return t("div",{ref:"icon",class:i("icon",[this.shape,{disabled:this.isDisabled,checked:e}]),style:{fontSize:Object(Y.a)(n)}},[this.slots("icon",{checked:e})||t(st,{attrs:{name:"success"},style:this.iconStyle})])},genLabel:function(){var t=this.$createElement,e=this.slots();if(e)return t("span",{class:i("label",[this.labelPosition,{disabled:this.isDisabled}])},[e])}},render:function(){var t=arguments[0],e=[this.genIcon()];return"left"===this.labelPosition?e.unshift(this.genLabel()):e.push(this.genLabel()),t("div",{attrs:{role:n,tabindex:this.tabindex,"aria-checked":String(this.checked)},class:i([{disabled:this.isDisabled,"label-disabled":this.labelDisabled},this.direction]),on:{click:this.onClick}},[e])}}},ki=Object(l.a)("radio"),xi=(0,ki[0])({mixins:[Si({bem:ki[1],role:"radio",parent:"vanRadio"})],computed:{currentValue:{get:function(){return this.parent?this.parent.value:this.value},set:function(t){(this.parent||this).$emit("input",t)}},checked:function(){return this.currentValue===this.name}},methods:{toggle:function(){this.currentValue=this.name}}}),wi=Object(l.a)("address-item"),Ci=wi[0],Oi=wi[1];function Ti(t,e,i,r){var o=e.disabled,a=e.switchable;return t("div",{class:Oi({disabled:o}),on:{click:function(){a&&d(r,"select"),d(r,"click")}}},[t(ie,s()([{attrs:{border:!1,valueClass:Oi("value")},scopedSlots:{default:function(){var r=e.data,s=[t("div",{class:Oi("name")},[r.name+" "+r.tel,i.tag?i.tag(n({},e.data)):e.data.isDefault&&e.defaultTagText?t(yi,{attrs:{type:"danger",round:!0},class:Oi("tag")},[e.defaultTagText]):void 0]),t("div",{class:Oi("address")},[r.address])];return a&&!o?t(xi,{attrs:{name:r.id,iconSize:18}},[s]):s},"right-icon":function(){return t(st,{attrs:{name:"edit"},class:Oi("edit"),on:{click:function(t){t.stopPropagation(),d(r,"edit"),d(r,"click")}}})}}},h(r)])),null==i.bottom?void 0:i.bottom(n({},e.data,{disabled:o}))])}Ti.props={data:Object,disabled:Boolean,switchable:Boolean,defaultTagText:String};var $i=Ci(Ti),Bi=Object(l.a)("address-list"),Ii=Bi[0],Di=Bi[1],Ei=Bi[2];function ji(t,e,i,n){function r(r,s){if(r)return r.map((function(r,o){return t($i,{attrs:{data:r,disabled:s,switchable:e.switchable,defaultTagText:e.defaultTagText},key:r.id,scopedSlots:{bottom:i["item-bottom"],tag:i.tag},on:{select:function(){d(n,s?"select-disabled":"select",r,o),s||d(n,"input",r.id)},edit:function(){d(n,s?"edit-disabled":"edit",r,o)},click:function(){d(n,"click-item",r,o)}}})}))}var o=r(e.list),a=r(e.disabledList,!0);return t("div",s()([{class:Di()},h(n)]),[null==i.top?void 0:i.top(),t(pi,{attrs:{value:e.value}},[o]),e.disabledText&&t("div",{class:Di("disabled-text")},[e.disabledText]),a,null==i.default?void 0:i.default(),t("div",{class:Di("bottom")},[t($e,{attrs:{round:!0,block:!0,type:"danger",text:e.addButtonText||Ei("add")},class:Di("add"),on:{click:function(){d(n,"add")}}})])])}ji.props={list:Array,value:[Number,String],disabledList:Array,disabledText:String,addButtonText:String,defaultTagText:String,switchable:{type:Boolean,default:!0}};var Pi=Ii(ji),Li=i(5),Ni=Object(l.a)("badge"),Ai=Ni[0],Mi=Ni[1],zi=Ai({props:{dot:Boolean,max:[Number,String],color:String,content:[Number,String],tag:{type:String,default:"div"}},methods:{hasContent:function(){return!!(this.$scopedSlots.content||Object(m.c)(this.content)&&""!==this.content)},renderContent:function(){var t=this.dot,e=this.max,i=this.content;if(!t&&this.hasContent())return this.$scopedSlots.content?this.$scopedSlots.content():Object(m.c)(e)&&Object(Li.b)(i)&&+i>e?e+"+":i},renderBadge:function(){var t=this.$createElement;if(this.hasContent()||this.dot)return t("div",{class:Mi({dot:this.dot,fixed:!!this.$scopedSlots.default}),style:{background:this.color}},[this.renderContent()])}},render:function(){var t=arguments[0];if(this.$scopedSlots.default){var e=this.tag;return t(e,{class:Mi("wrapper")},[this.$scopedSlots.default(),this.renderBadge()])}return this.renderBadge()}}),Fi=i(3);function Vi(t){return"[object Date]"===Object.prototype.toString.call(t)&&!Object(Li.a)(t.getTime())}var Ri=Object(l.a)("calendar"),Hi=Ri[0],_i=Ri[1],Wi=Ri[2];function qi(t,e){var i=t.getFullYear(),n=e.getFullYear(),r=t.getMonth(),s=e.getMonth();return i===n?r===s?0:r>s?1:-1:i>n?1:-1}function Ki(t,e){var i=qi(t,e);if(0===i){var n=t.getDate(),r=e.getDate();return n===r?0:n>r?1:-1}return i}function Ui(t,e){return(t=new Date(t)).setDate(t.getDate()+e),t}function Yi(t){return Ui(t,1)}function Xi(t){return new Date(t)}function Qi(t){return Array.isArray(t)?t.map((function(t){return null===t?t:Xi(t)})):Xi(t)}function Gi(t,e){return 32-new Date(t,e-1,32).getDate()}var Zi=(0,Object(l.a)("calendar-month")[0])({props:{date:Date,type:String,color:String,minDate:Date,maxDate:Date,showMark:Boolean,rowHeight:[Number,String],formatter:Function,lazyRender:Boolean,currentDate:[Date,Array],allowSameDay:Boolean,showSubtitle:Boolean,showMonthTitle:Boolean,firstDayOfWeek:Number},data:function(){return{visible:!1}},computed:{title:function(){return t=this.date,Wi("monthTitle",t.getFullYear(),t.getMonth()+1);var t},rowHeightWithUnit:function(){return Object(Y.a)(this.rowHeight)},offset:function(){var t=this.firstDayOfWeek,e=this.date.getDay();return t?(e+7-this.firstDayOfWeek)%7:e},totalDay:function(){return Gi(this.date.getFullYear(),this.date.getMonth()+1)},shouldRender:function(){return this.visible||!this.lazyRender},placeholders:function(){for(var t=[],e=Math.ceil((this.totalDay+this.offset)/7),i=1;i<=e;i++)t.push({type:"placeholder"});return t},days:function(){for(var t=[],e=this.date.getFullYear(),i=this.date.getMonth(),n=1;n<=this.totalDay;n++){var r=new Date(e,i,n),s=this.getDayType(r),o={date:r,type:s,text:n,bottomInfo:this.getBottomInfo(s)};this.formatter&&(o=this.formatter(o)),t.push(o)}return t}},methods:{getHeight:function(){return this.height||(this.height=this.$el.getBoundingClientRect().height),this.height},scrollIntoView:function(t){var e=this.$refs,i=e.days,n=e.month,r=(this.showSubtitle?i:n).getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop;M(t,r)},getMultipleDayType:function(t){var e=this,i=function(t){return e.currentDate.some((function(e){return 0===Ki(e,t)}))};if(i(t)){var n=Ui(t,-1),r=Yi(t),s=i(n),o=i(r);return s&&o?"multiple-middle":s?"end":o?"start":"multiple-selected"}return""},getRangeDayType:function(t){var e=this.currentDate,i=e[0],n=e[1];if(!i)return"";var r=Ki(t,i);if(!n)return 0===r?"start":"";var s=Ki(t,n);return 0===r&&0===s&&this.allowSameDay?"start-end":0===r?"start":0===s?"end":r>0&&s<0?"middle":void 0},getDayType:function(t){var e=this.type,i=this.minDate,n=this.maxDate,r=this.currentDate;return Ki(t,i)<0||Ki(t,n)>0?"disabled":null!==r?"single"===e?0===Ki(t,r)?"selected":"":"multiple"===e?this.getMultipleDayType(t):"range"===e?this.getRangeDayType(t):void 0:void 0},getBottomInfo:function(t){if("range"===this.type){if("start"===t||"end"===t)return Wi(t);if("start-end"===t)return Wi("startEnd")}},getDayStyle:function(t,e){var i={height:this.rowHeightWithUnit};return"placeholder"===t?(i.width="100%",i):(0===e&&(i.marginLeft=100*this.offset/7+"%"),this.color&&("start"===t||"end"===t||"start-end"===t||"multiple-selected"===t||"multiple-middle"===t?i.background=this.color:"middle"===t&&(i.color=this.color)),i)},genTitle:function(){var t=this.$createElement;if(this.showMonthTitle)return t("div",{class:_i("month-title")},[this.title])},genMark:function(){var t=this.$createElement;if(this.showMark&&this.shouldRender)return t("div",{class:_i("month-mark")},[this.date.getMonth()+1])},genDays:function(){var t=this.$createElement,e=this.shouldRender?this.days:this.placeholders;return t("div",{ref:"days",attrs:{role:"grid"},class:_i("days")},[this.genMark(),e.map(this.genDay)])},genDay:function(t,e){var i=this,n=this.$createElement,r=t.type,s=t.topInfo,o=t.bottomInfo,a=this.getDayStyle(r,e),l="disabled"===r,c=function(){l||i.$emit("click",t)},u=s&&n("div",{class:_i("top-info")},[s]),h=o&&n("div",{class:_i("bottom-info")},[o]);return"selected"===r?n("div",{attrs:{role:"gridcell",tabindex:-1},style:a,class:[_i("day"),t.className],on:{click:c}},[n("div",{class:_i("selected-day"),style:{width:this.rowHeightWithUnit,height:this.rowHeightWithUnit,background:this.color}},[u,t.text,h])]):n("div",{attrs:{role:"gridcell",tabindex:l?null:-1},style:a,class:[_i("day",r),t.className],on:{click:c}},[u,t.text,h])}},render:function(){var t=arguments[0];return t("div",{class:_i("month"),ref:"month"},[this.genTitle(),this.genDays()])}}),Ji=(0,Object(l.a)("calendar-header")[0])({props:{title:String,subtitle:String,showTitle:Boolean,showSubtitle:Boolean,firstDayOfWeek:Number},methods:{genTitle:function(){var t=this.$createElement;if(this.showTitle){var e=this.slots("title")||this.title||Wi("title");return t("div",{class:_i("header-title")},[e])}},genSubtitle:function(){var t=this.$createElement;if(this.showSubtitle)return t("div",{class:_i("header-subtitle")},[this.subtitle])},genWeekDays:function(){var t=this.$createElement,e=Wi("weekdays"),i=this.firstDayOfWeek,n=[].concat(e.slice(i,7),e.slice(0,i));return t("div",{class:_i("weekdays")},[n.map((function(e){return t("span",{class:_i("weekday")},[e])}))])}},render:function(){var t=arguments[0];return t("div",{class:_i("header")},[this.genTitle(),this.genSubtitle(),this.genWeekDays()])}}),tn=Hi({props:{title:String,color:String,value:Boolean,readonly:Boolean,formatter:Function,rowHeight:[Number,String],confirmText:String,rangePrompt:String,defaultDate:[Date,Array],getContainer:[String,Function],allowSameDay:Boolean,confirmDisabledText:String,type:{type:String,default:"single"},round:{type:Boolean,default:!0},position:{type:String,default:"bottom"},poppable:{type:Boolean,default:!0},maxRange:{type:[Number,String],default:null},lazyRender:{type:Boolean,default:!0},showMark:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showSubtitle:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},minDate:{type:Date,validator:Vi,default:function(){return new Date}},maxDate:{type:Date,validator:Vi,default:function(){var t=new Date;return new Date(t.getFullYear(),t.getMonth()+6,t.getDate())}},firstDayOfWeek:{type:[Number,String],default:0,validator:function(t){return t>=0&&t<=6}}},data:function(){return{subtitle:"",currentDate:this.getInitialDate()}},computed:{months:function(){var t=[],e=new Date(this.minDate);e.setDate(1);do{t.push(new Date(e)),e.setMonth(e.getMonth()+1)}while(1!==qi(e,this.maxDate));return t},buttonDisabled:function(){var t=this.type,e=this.currentDate;if(e){if("range"===t)return!e[0]||!e[1];if("multiple"===t)return!e.length}return!e},dayOffset:function(){return this.firstDayOfWeek?this.firstDayOfWeek%7:0}},watch:{value:"init",type:function(){this.reset()},defaultDate:function(t){this.currentDate=t,this.scrollIntoView()}},mounted:function(){this.init()},activated:function(){this.init()},methods:{reset:function(t){void 0===t&&(t=this.getInitialDate()),this.currentDate=t,this.scrollIntoView()},init:function(){var t=this;this.poppable&&!this.value||this.$nextTick((function(){t.bodyHeight=Math.floor(t.$refs.body.getBoundingClientRect().height),t.onScroll(),t.scrollIntoView()}))},scrollToDate:function(t){var e=this;Object(Fi.c)((function(){var i=e.value||!e.poppable;t&&i&&(e.months.some((function(i,n){if(0===qi(i,t)){var r=e.$refs,s=r.body;return r.months[n].scrollIntoView(s),!0}return!1})),e.onScroll())}))},scrollIntoView:function(){var t=this.currentDate;if(t){var e="single"===this.type?t:t[0];this.scrollToDate(e)}},getInitialDate:function(){var t=this.type,e=this.minDate,i=this.maxDate,n=this.defaultDate;if(null===n)return n;var r=new Date;if(-1===Ki(r,e)?r=e:1===Ki(r,i)&&(r=i),"range"===t){var s=n||[];return[s[0]||r,s[1]||Yi(r)]}return"multiple"===t?n||[r]:n||r},onScroll:function(){var t=this.$refs,e=t.body,i=t.months,n=A(e),r=n+this.bodyHeight,s=i.map((function(t){return t.getHeight()}));if(!(r>s.reduce((function(t,e){return t+e}),0)&&n>0)){for(var o,a=0,l=[-1,-1],c=0;c=n&&(l[1]=c,o||(o=i[c],l[0]=c),i[c].showed||(i[c].showed=!0,this.$emit("month-show",{date:i[c].date,title:i[c].title}))),a+=s[c]}i.forEach((function(t,e){t.visible=e>=l[0]-1&&e<=l[1]+1})),o&&(this.subtitle=o.title)}},onClickDay:function(t){if(!this.readonly){var e=t.date,i=this.type,n=this.currentDate;if("range"===i){if(!n)return void this.select([e,null]);var r=n[0],s=n[1];if(r&&!s){var o=Ki(e,r);1===o?this.select([r,e],!0):-1===o?this.select([e,null]):this.allowSameDay&&this.select([e,e],!0)}else this.select([e,null])}else if("multiple"===i){if(!n)return void this.select([e]);var a;if(this.currentDate.some((function(t,i){var n=0===Ki(t,e);return n&&(a=i),n}))){var l=n.splice(a,1)[0];this.$emit("unselect",Xi(l))}else this.maxRange&&n.length>=this.maxRange?xe(this.rangePrompt||Wi("rangePrompt",this.maxRange)):this.select([].concat(n,[e]))}else this.select(e,!0)}},togglePopup:function(t){this.$emit("input",t)},select:function(t,e){var i=this,n=function(t){i.currentDate=t,i.$emit("select",Qi(i.currentDate))};if(e&&"range"===this.type&&!this.checkRange(t))return void(this.showConfirm?n([t[0],Ui(t[0],this.maxRange-1)]):n(t));n(t),e&&!this.showConfirm&&this.onConfirm()},checkRange:function(t){var e=this.maxRange,i=this.rangePrompt;return!(e&&function(t){var e=t[0].getTime();return(t[1].getTime()-e)/864e5+1}(t)>e)||(xe(i||Wi("rangePrompt",e)),!1)},onConfirm:function(){this.$emit("confirm",Qi(this.currentDate))},genMonth:function(t,e){var i=this.$createElement,n=0!==e||!this.showSubtitle;return i(Zi,{ref:"months",refInFor:!0,attrs:{date:t,type:this.type,color:this.color,minDate:this.minDate,maxDate:this.maxDate,showMark:this.showMark,formatter:this.formatter,rowHeight:this.rowHeight,lazyRender:this.lazyRender,currentDate:this.currentDate,showSubtitle:this.showSubtitle,allowSameDay:this.allowSameDay,showMonthTitle:n,firstDayOfWeek:this.dayOffset},on:{click:this.onClickDay}})},genFooterContent:function(){var t=this.$createElement,e=this.slots("footer");if(e)return e;if(this.showConfirm){var i=this.buttonDisabled?this.confirmDisabledText:this.confirmText;return t($e,{attrs:{round:!0,block:!0,type:"danger",color:this.color,disabled:this.buttonDisabled,nativeType:"button"},class:_i("confirm"),on:{click:this.onConfirm}},[i||Wi("confirm")])}},genFooter:function(){return(0,this.$createElement)("div",{class:_i("footer",{unfit:!this.safeAreaInsetBottom})},[this.genFooterContent()])},genCalendar:function(){var t=this,e=this.$createElement;return e("div",{class:_i()},[e(Ji,{attrs:{title:this.title,showTitle:this.showTitle,subtitle:this.subtitle,showSubtitle:this.showSubtitle,firstDayOfWeek:this.dayOffset},scopedSlots:{title:function(){return t.slots("title")}}}),e("div",{ref:"body",class:_i("body"),on:{scroll:this.onScroll}},[this.months.map(this.genMonth)]),this.genFooter()])}},render:function(){var t=this,e=arguments[0];if(this.poppable){var i,n=function(e){return function(){return t.$emit(e)}};return e(ct,{attrs:(i={round:!0,value:this.value},i.round=this.round,i.position=this.position,i.closeable=this.showTitle||this.showSubtitle,i.getContainer=this.getContainer,i.closeOnPopstate=this.closeOnPopstate,i.closeOnClickOverlay=this.closeOnClickOverlay,i),class:_i("popup"),on:{input:this.togglePopup,open:n("open"),opened:n("opened"),close:n("close"),closed:n("closed")}},[this.genCalendar()])}return this.genCalendar()}}),en=Object(l.a)("image"),nn=en[0],rn=en[1],sn=nn({props:{src:String,fit:String,alt:String,round:Boolean,width:[Number,String],height:[Number,String],radius:[Number,String],lazyLoad:Boolean,iconPrefix:String,showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},errorIcon:{type:String,default:"photo-fail"},loadingIcon:{type:String,default:"photo"}},data:function(){return{loading:!0,error:!1}},watch:{src:function(){this.loading=!0,this.error=!1}},computed:{style:function(){var t={};return Object(m.c)(this.width)&&(t.width=Object(Y.a)(this.width)),Object(m.c)(this.height)&&(t.height=Object(Y.a)(this.height)),Object(m.c)(this.radius)&&(t.overflow="hidden",t.borderRadius=Object(Y.a)(this.radius)),t}},created:function(){var t=this.$Lazyload;t&&m.b&&(t.$on("loaded",this.onLazyLoaded),t.$on("error",this.onLazyLoadError))},beforeDestroy:function(){var t=this.$Lazyload;t&&(t.$off("loaded",this.onLazyLoaded),t.$off("error",this.onLazyLoadError))},methods:{onLoad:function(t){this.loading=!1,this.$emit("load",t)},onLazyLoaded:function(t){t.el===this.$refs.image&&this.loading&&this.onLoad()},onLazyLoadError:function(t){t.el!==this.$refs.image||this.error||this.onError()},onError:function(t){this.error=!0,this.loading=!1,this.$emit("error",t)},onClick:function(t){this.$emit("click",t)},genPlaceholder:function(){var t=this.$createElement;return this.loading&&this.showLoading?t("div",{class:rn("loading")},[this.slots("loading")||t(st,{attrs:{name:this.loadingIcon,classPrefix:this.iconPrefix},class:rn("loading-icon")})]):this.error&&this.showError?t("div",{class:rn("error")},[this.slots("error")||t(st,{attrs:{name:this.errorIcon,classPrefix:this.iconPrefix},class:rn("error-icon")})]):void 0},genImage:function(){var t=this.$createElement,e={class:rn("img"),attrs:{alt:this.alt},style:{objectFit:this.fit}};if(!this.error)return this.lazyLoad?t("img",s()([{ref:"image",directives:[{name:"lazy",value:this.src}]},e])):t("img",s()([{attrs:{src:this.src},on:{load:this.onLoad,error:this.onError}},e]))}},render:function(){var t=arguments[0];return t("div",{class:rn({round:this.round}),style:this.style,on:{click:this.onClick}},[this.genImage(),this.genPlaceholder(),this.slots()])}}),on=Object(l.a)("card"),an=on[0],ln=on[1];function cn(t,e,i,n){var r,o=e.thumb,a=i.num||Object(m.c)(e.num),l=i.price||Object(m.c)(e.price),c=i["origin-price"]||Object(m.c)(e.originPrice),u=a||l||c||i.bottom;function f(t){d(n,"click-thumb",t)}function p(){if(i.tag||e.tag)return t("div",{class:ln("tag")},[i.tag?i.tag():t(yi,{attrs:{mark:!0,type:"danger"}},[e.tag])])}return t("div",s()([{class:ln()},h(n,!0)]),[t("div",{class:ln("header")},[function(){if(i.thumb||o)return t("a",{attrs:{href:e.thumbLink},class:ln("thumb"),on:{click:f}},[i.thumb?i.thumb():t(sn,{attrs:{src:o,width:"100%",height:"100%",fit:"cover","lazy-load":e.lazyLoad}}),p()])}(),t("div",{class:ln("content",{centered:e.centered})},[t("div",[i.title?i.title():e.title?t("div",{class:[ln("title"),"van-multi-ellipsis--l2"]},[e.title]):void 0,i.desc?i.desc():e.desc?t("div",{class:[ln("desc"),"van-ellipsis"]},[e.desc]):void 0,null==i.tags?void 0:i.tags()]),u&&t("div",{class:"van-card__bottom"},[null==(r=i["price-top"])?void 0:r.call(i),function(){if(l)return t("div",{class:ln("price")},[i.price?i.price():(n=e.price.toString().split("."),t("div",[t("span",{class:ln("price-currency")},[e.currency]),t("span",{class:ln("price-integer")},[n[0]]),".",t("span",{class:ln("price-decimal")},[n[1]])]))]);var n}(),function(){if(c){var n=i["origin-price"];return t("div",{class:ln("origin-price")},[n?n():e.currency+" "+e.originPrice])}}(),function(){if(a)return t("div",{class:ln("num")},[i.num?i.num():"x"+e.num])}(),null==i.bottom?void 0:i.bottom()])])]),function(){if(i.footer)return t("div",{class:ln("footer")},[i.footer()])}()])}cn.props={tag:String,desc:String,thumb:String,title:String,centered:Boolean,lazyLoad:Boolean,thumbLink:String,num:[Number,String],price:[Number,String],originPrice:[Number,String],currency:{type:String,default:"¥"}};var un,hn=an(cn),dn=Object(l.a)("tab"),fn=dn[0],pn=dn[1],mn=fn({mixins:[Ie("vanTabs")],props:n({},Qt,{dot:Boolean,name:[Number,String],info:[Number,String],badge:[Number,String],title:String,titleStyle:null,titleClass:null,disabled:Boolean}),data:function(){return{inited:!1}},computed:{computedName:function(){var t;return null!=(t=this.name)?t:this.index},isActive:function(){var t=this.computedName===this.parent.currentName;return t&&(this.inited=!0),t}},watch:{title:function(){this.parent.setLine(),this.parent.scrollIntoView()},inited:function(t){var e=this;this.parent.lazyRender&&t&&this.$nextTick((function(){e.parent.$emit("rendered",e.computedName,e.title)}))}},render:function(t){var e=this.slots,i=this.parent,n=this.isActive,r=e();if(r||i.animated){var s=i.scrollspy||n,o=this.inited||i.scrollspy||!i.lazyRender?r:t();return i.animated?t("div",{attrs:{role:"tabpanel","aria-hidden":!n},class:pn("pane-wrapper",{inactive:!n})},[t("div",{class:pn("pane")},[o])]):t("div",{directives:[{name:"show",value:s}],attrs:{role:"tabpanel"},class:pn("pane")},[o])}}});function vn(t){var e=window.getComputedStyle(t),i="none"===e.display,n=null===t.offsetParent&&"fixed"!==e.position;return i||n}function gn(t){var e=t.interceptor,i=t.args,n=t.done;if(e){var r=e.apply(void 0,i);Object(m.g)(r)?r.then((function(t){t&&n()})).catch(m.i):r&&n()}else n()}var bn=Object(l.a)("tab"),yn=bn[0],Sn=bn[1],kn=yn({props:{dot:Boolean,type:String,info:[Number,String],color:String,title:String,isActive:Boolean,disabled:Boolean,scrollable:Boolean,activeColor:String,inactiveColor:String},computed:{style:function(){var t={},e=this.color,i=this.isActive,n="card"===this.type;e&&n&&(t.borderColor=e,this.disabled||(i?t.backgroundColor=e:t.color=e));var r=i?this.activeColor:this.inactiveColor;return r&&(t.color=r),t}},methods:{onClick:function(){this.$emit("click")},genText:function(){var t=this.$createElement,e=t("span",{class:Sn("text",{ellipsis:!this.scrollable})},[this.slots()||this.title]);return this.dot||Object(m.c)(this.info)&&""!==this.info?t("span",{class:Sn("text-wrapper")},[e,t(J,{attrs:{dot:this.dot,info:this.info}})]):e}},render:function(){var t=arguments[0];return t("div",{attrs:{role:"tab","aria-selected":this.isActive},class:[Sn({active:this.isActive,disabled:this.disabled})],style:this.style,on:{click:this.onClick}},[this.genText()])}}),xn=Object(l.a)("sticky"),wn=xn[0],Cn=xn[1],On=wn({mixins:[W((function(t,e){if(this.scroller||(this.scroller=N(this.$el)),this.observer){var i=e?"observe":"unobserve";this.observer[i](this.$el)}t(this.scroller,"scroll",this.onScroll,!0),this.onScroll()}))],props:{zIndex:[Number,String],container:null,offsetTop:{type:[Number,String],default:0}},data:function(){return{fixed:!1,height:0,transform:0}},computed:{offsetTopPx:function(){return Object(Y.b)(this.offsetTop)},style:function(){if(this.fixed){var t={};return Object(m.c)(this.zIndex)&&(t.zIndex=this.zIndex),this.offsetTopPx&&this.fixed&&(t.top=this.offsetTopPx+"px"),this.transform&&(t.transform="translate3d(0, "+this.transform+"px, 0)"),t}}},watch:{fixed:function(t){this.$emit("change",t)}},created:function(){var t=this;!m.h&&window.IntersectionObserver&&(this.observer=new IntersectionObserver((function(e){e[0].intersectionRatio>0&&t.onScroll()}),{root:document.body}))},methods:{onScroll:function(){var t=this;if(!vn(this.$el)){this.height=this.$el.offsetHeight;var e=this.container,i=this.offsetTopPx,n=A(window),r=V(this.$el),s=function(){t.$emit("scroll",{scrollTop:n,isFixed:t.fixed})};if(e){var o=r+e.offsetHeight;if(n+i+this.height>o){var a=this.height+n-o;return ar?(this.fixed=!0,this.transform=0):this.fixed=!1,s()}}},render:function(){var t=arguments[0],e=this.fixed,i={height:e?this.height+"px":null};return t("div",{style:i},[t("div",{class:Cn({fixed:e}),style:this.style},[this.slots()])])}}),Tn=Object(l.a)("tabs"),$n=Tn[0],Bn=Tn[1],In=$n({mixins:[R],props:{count:Number,duration:[Number,String],animated:Boolean,swipeable:Boolean,currentIndex:Number},computed:{style:function(){if(this.animated)return{transform:"translate3d("+-1*this.currentIndex*100+"%, 0, 0)",transitionDuration:this.duration+"s"}},listeners:function(){if(this.swipeable)return{touchstart:this.touchStart,touchmove:this.touchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}}},methods:{onTouchEnd:function(){var t=this.direction,e=this.deltaX,i=this.currentIndex;"horizontal"===t&&this.offsetX>=50&&(e>0&&0!==i?this.$emit("change",i-1):e<0&&i!==this.count-1&&this.$emit("change",i+1))},genChildren:function(){var t=this.$createElement;return this.animated?t("div",{class:Bn("track"),style:this.style},[this.slots()]):this.slots()}},render:function(){var t=arguments[0];return t("div",{class:Bn("content",{animated:this.animated}),on:n({},this.listeners)},[this.genChildren()])}}),Dn=Object(l.a)("tabs"),En=Dn[0],jn=Dn[1],Pn=En({mixins:[De("vanTabs"),W((function(t){this.scroller||(this.scroller=N(this.$el)),t(window,"resize",this.resize,!0),this.scrollspy&&t(this.scroller,"scroll",this.onScroll,!0)}))],model:{prop:"active"},props:{color:String,border:Boolean,sticky:Boolean,animated:Boolean,swipeable:Boolean,scrollspy:Boolean,background:String,lineWidth:[Number,String],lineHeight:[Number,String],beforeChange:Function,titleActiveColor:String,titleInactiveColor:String,type:{type:String,default:"line"},active:{type:[Number,String],default:0},ellipsis:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},offsetTop:{type:[Number,String],default:0},lazyRender:{type:Boolean,default:!0},swipeThreshold:{type:[Number,String],default:5}},data:function(){return{position:"",currentIndex:null,lineStyle:{backgroundColor:this.color}}},computed:{scrollable:function(){return this.children.length>this.swipeThreshold||!this.ellipsis},navStyle:function(){return{borderColor:this.color,background:this.background}},currentName:function(){var t=this.children[this.currentIndex];if(t)return t.computedName},offsetTopPx:function(){return Object(Y.b)(this.offsetTop)},scrollOffset:function(){return this.sticky?this.offsetTopPx+this.tabHeight:0}},watch:{color:"setLine",active:function(t){t!==this.currentName&&this.setCurrentIndexByName(t)},children:function(){var t=this;this.setCurrentIndexByName(this.active),this.setLine(),this.$nextTick((function(){t.scrollIntoView(!0)}))},currentIndex:function(){this.scrollIntoView(),this.setLine(),this.stickyFixed&&!this.scrollspy&&F(Math.ceil(V(this.$el)-this.offsetTopPx))},scrollspy:function(t){t?b(this.scroller,"scroll",this.onScroll,!0):y(this.scroller,"scroll",this.onScroll)}},mounted:function(){this.init()},activated:function(){this.init(),this.setLine()},methods:{resize:function(){this.setLine()},init:function(){var t=this;this.$nextTick((function(){var e;t.inited=!0,t.tabHeight=P(e=t.$refs.wrap)?e.innerHeight:e.getBoundingClientRect().height,t.scrollIntoView(!0)}))},setLine:function(){var t=this,e=this.inited;this.$nextTick((function(){var i=t.$refs.titles;if(i&&i[t.currentIndex]&&"line"===t.type&&!vn(t.$el)){var n=i[t.currentIndex].$el,r=t.lineWidth,s=t.lineHeight,o=n.offsetLeft+n.offsetWidth/2,a={width:Object(Y.a)(r),backgroundColor:t.color,transform:"translateX("+o+"px) translateX(-50%)"};if(e&&(a.transitionDuration=t.duration+"s"),Object(m.c)(s)){var l=Object(Y.a)(s);a.height=l,a.borderRadius=l}t.lineStyle=a}}))},setCurrentIndexByName:function(t){var e=this.children.filter((function(e){return e.computedName===t})),i=(this.children[0]||{}).index||0;this.setCurrentIndex(e.length?e[0].index:i)},setCurrentIndex:function(t){var e=this.findAvailableTab(t);if(Object(m.c)(e)){var i=this.children[e],n=i.computedName,r=null!==this.currentIndex;this.currentIndex=e,n!==this.active&&(this.$emit("input",n),r&&this.$emit("change",n,i.title))}},findAvailableTab:function(t){for(var e=t=0&&te||!s&&re?Object(Fi.c)(i):n&&Object(Fi.c)(n)}()}(this.scroller,r,t?0:+this.duration,(function(){e.lockScroll=!1}))}}},onScroll:function(){if(this.scrollspy&&!this.lockScroll){var t=this.getCurrentIndexOnScroll();this.setCurrentIndex(t)}},getCurrentIndexOnScroll:function(){for(var t,e=this.children,i=0;ithis.scrollOffset)return 0===i?0:i-1}return e.length-1}},render:function(){var t,e=this,i=arguments[0],n=this.type,r=this.animated,s=this.scrollable,o=this.children.map((function(t,r){var o;return i(kn,{ref:"titles",refInFor:!0,attrs:{type:n,dot:t.dot,info:null!=(o=t.badge)?o:t.info,title:t.title,color:e.color,isActive:r===e.currentIndex,disabled:t.disabled,scrollable:s,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor},style:t.titleStyle,class:t.titleClass,scopedSlots:{default:function(){return t.slots("title")}},on:{click:function(){e.onClick(t,r)}}})})),a=i("div",{ref:"wrap",class:[jn("wrap",{scrollable:s}),(t={},t[Bt]="line"===n&&this.border,t)]},[i("div",{ref:"nav",attrs:{role:"tablist"},class:jn("nav",[n,{complete:this.scrollable}]),style:this.navStyle},[this.slots("nav-left"),o,"line"===n&&i("div",{class:jn("line"),style:this.lineStyle}),this.slots("nav-right")])]);return i("div",{class:jn([n])},[this.sticky?i(On,{attrs:{container:this.$el,offsetTop:this.offsetTop},on:{scroll:this.onSticktScroll}},[a]):a,i(In,{attrs:{count:this.children.length,animated:r,duration:this.duration,swipeable:this.swipeable,currentIndex:this.currentIndex},on:{change:this.setCurrentIndex}},[this.slots()])])}}),Ln=Object(l.a)("cascader"),Nn=Ln[0],An=Ln[1],Mn=Ln[2],zn=Nn({props:{title:String,value:[Number,String],fieldNames:Object,placeholder:String,activeColor:String,options:{type:Array,default:function(){return[]}},closeable:{type:Boolean,default:!0}},data:function(){return{tabs:[],activeTab:0}},computed:{textKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.text)||"text"},valueKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.value)||"value"},childrenKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.children)||"children"}},watch:{options:{deep:!0,handler:"updateTabs"},value:function(t){var e=this;if((t||0===t)&&-1!==this.tabs.map((function(t){var i;return null==(i=t.selectedOption)?void 0:i[e.valueKey]})).indexOf(t))return;this.updateTabs()}},created:function(){this.updateTabs()},methods:{getSelectedOptionsByValue:function(t,e){for(var i=0;ie+1&&(this.tabs=this.tabs.slice(0,e+1)),t[this.childrenKey]){var n={options:t[this.childrenKey],selectedOption:null};this.tabs[e+1]?this.$set(this.tabs,e+1,n):this.tabs.push(n),this.$nextTick((function(){i.activeTab++}))}var r=this.tabs.map((function(t){return t.selectedOption})).filter((function(t){return!!t})),s={value:t[this.valueKey],tabIndex:e,selectedOptions:r};this.$emit("input",t[this.valueKey]),this.$emit("change",s),t[this.childrenKey]||this.$emit("finish",s)},onClose:function(){this.$emit("close")},renderHeader:function(){var t=this.$createElement;return t("div",{class:An("header")},[t("h2",{class:An("title")},[this.slots("title")||this.title]),this.closeable?t(st,{attrs:{name:"cross"},class:An("close-icon"),on:{click:this.onClose}}):null])},renderOptions:function(t,e,i){var n=this,r=this.$createElement;return r("ul",{class:An("options")},[t.map((function(t){var s=e&&t[n.valueKey]===e[n.valueKey];return r("li",{class:An("option",{selected:s}),style:{color:s?n.activeColor:null},on:{click:function(){n.onSelect(t,i)}}},[r("span",[t[n.textKey]]),s?r(st,{attrs:{name:"success"},class:An("selected-icon")}):null])}))])},renderTab:function(t,e){var i=this.$createElement,n=t.options,r=t.selectedOption,s=r?r[this.textKey]:this.placeholder||Mn("select");return i(mn,{attrs:{title:s,titleClass:An("tab",{unselected:!r})}},[this.renderOptions(n,r,e)])},renderTabs:function(){var t=this;return(0,this.$createElement)(Pn,{attrs:{animated:!0,swipeable:!0,swipeThreshold:0,color:this.activeColor},class:An("tabs"),model:{value:t.activeTab,callback:function(e){t.activeTab=e}}},[this.tabs.map(this.renderTab)])}},render:function(){var t=arguments[0];return t("div",{class:An()},[this.renderHeader(),this.renderTabs()])}}),Fn=Object(l.a)("cell-group"),Vn=Fn[0],Rn=Fn[1];function Hn(t,e,i,n){var r,o=t("div",s()([{class:[Rn(),(r={},r[Bt]=e.border,r)]},h(n,!0)]),[null==i.default?void 0:i.default()]);return e.title||i.title?t("div",[t("div",{class:Rn("title")},[i.title?i.title():e.title]),o]):o}Hn.props={title:String,border:{type:Boolean,default:!0}};var _n=Vn(Hn),Wn=Object(l.a)("checkbox"),qn=(0,Wn[0])({mixins:[Si({bem:Wn[1],role:"checkbox",parent:"vanCheckbox"})],computed:{checked:{get:function(){return this.parent?-1!==this.parent.value.indexOf(this.name):this.value},set:function(t){this.parent?this.setParentValue(t):this.$emit("input",t)}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggle:function(t){var e=this;void 0===t&&(t=!this.checked),clearTimeout(this.toggleTask),this.toggleTask=setTimeout((function(){e.checked=t}))},setParentValue:function(t){var e=this.parent,i=e.value.slice();if(t){if(e.max&&i.length>=e.max)return;-1===i.indexOf(this.name)&&(i.push(this.name),e.$emit("input",i))}else{var n=i.indexOf(this.name);-1!==n&&(i.splice(n,1),e.$emit("input",i))}}}}),Kn=Object(l.a)("checkbox-group"),Un=Kn[0],Yn=Kn[1],Xn=Un({mixins:[De("vanCheckbox"),ti],props:{max:[Number,String],disabled:Boolean,direction:String,iconSize:[Number,String],checkedColor:String,value:{type:Array,default:function(){return[]}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggleAll:function(t){void 0===t&&(t={}),"boolean"==typeof t&&(t={checked:t});var e=t,i=e.checked,n=e.skipDisabled,r=this.children.filter((function(t){return t.disabled&&n?t.checked:null!=i?i:!t.checked})).map((function(t){return t.name}));this.$emit("input",r)}},render:function(){var t=arguments[0];return t("div",{class:Yn([this.direction])},[this.slots()])}}),Qn=Object(l.a)("circle"),Gn=Qn[0],Zn=Qn[1],Jn=0;function tr(t){return Math.min(Math.max(t,0),100)}var er=Gn({props:{text:String,size:[Number,String],color:[String,Object],layerColor:String,strokeLinecap:String,value:{type:Number,default:0},speed:{type:[Number,String],default:0},fill:{type:String,default:"none"},rate:{type:[Number,String],default:100},strokeWidth:{type:[Number,String],default:40},clockwise:{type:Boolean,default:!0}},beforeCreate:function(){this.uid="van-circle-gradient-"+Jn++},computed:{style:function(){var t=Object(Y.a)(this.size);return{width:t,height:t}},path:function(){return t=this.clockwise,"M "+(e=this.viewBoxSize)/2+" "+e/2+" m 0, -500 a 500, 500 0 1, "+(i=t?1:0)+" 0, 1000 a 500, 500 0 1, "+i+" 0, -1000";var t,e,i},viewBoxSize:function(){return+this.strokeWidth+1e3},layerStyle:function(){return{fill:""+this.fill,stroke:""+this.layerColor,strokeWidth:this.strokeWidth+"px"}},hoverStyle:function(){var t=3140*this.value/100;return{stroke:""+(this.gradient?"url(#"+this.uid+")":this.color),strokeWidth:+this.strokeWidth+1+"px",strokeLinecap:this.strokeLinecap,strokeDasharray:t+"px 3140px"}},gradient:function(){return Object(m.f)(this.color)},LinearGradient:function(){var t=this,e=this.$createElement;if(this.gradient){var i=Object.keys(this.color).sort((function(t,e){return parseFloat(t)-parseFloat(e)})).map((function(i,n){return e("stop",{key:n,attrs:{offset:i,"stop-color":t.color[i]}})}));return e("defs",[e("linearGradient",{attrs:{id:this.uid,x1:"100%",y1:"0%",x2:"0%",y2:"0%"}},[i])])}}},watch:{rate:{handler:function(t){this.startTime=Date.now(),this.startRate=this.value,this.endRate=tr(t),this.increase=this.endRate>this.startRate,this.duration=Math.abs(1e3*(this.startRate-this.endRate)/this.speed),this.speed?(Object(Fi.a)(this.rafId),this.rafId=Object(Fi.c)(this.animate)):this.$emit("input",this.endRate)},immediate:!0}},methods:{animate:function(){var t=Date.now(),e=Math.min((t-this.startTime)/this.duration,1)*(this.endRate-this.startRate)+this.startRate;this.$emit("input",tr(parseFloat(e.toFixed(1)))),(this.increase?ethis.endRate)&&(this.rafId=Object(Fi.c)(this.animate))}},render:function(){var t=arguments[0];return t("div",{class:Zn(),style:this.style},[t("svg",{attrs:{viewBox:"0 0 "+this.viewBoxSize+" "+this.viewBoxSize}},[this.LinearGradient,t("path",{class:Zn("layer"),style:this.layerStyle,attrs:{d:this.path}}),t("path",{attrs:{d:this.path},class:Zn("hover"),style:this.hoverStyle})]),this.slots()||this.text&&t("div",{class:Zn("text")},[this.text])])}}),ir=Object(l.a)("col"),nr=ir[0],rr=ir[1],sr=nr({mixins:[Ie("vanRow")],props:{span:[Number,String],offset:[Number,String],tag:{type:String,default:"div"}},computed:{style:function(){var t=this.index,e=(this.parent||{}).spaces;if(e&&e[t]){var i=e[t],n=i.left,r=i.right;return{paddingLeft:n?n+"px":null,paddingRight:r?r+"px":null}}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=arguments[0],i=this.span,n=this.offset;return e(this.tag,{style:this.style,class:rr((t={},t[i]=i,t["offset-"+n]=n,t)),on:{click:this.onClick}},[this.slots()])}}),or=Object(l.a)("collapse"),ar=or[0],lr=or[1],cr=ar({mixins:[De("vanCollapse")],props:{accordion:Boolean,value:[String,Number,Array],border:{type:Boolean,default:!0}},methods:{switch:function(t,e){this.accordion||(t=e?this.value.concat(t):this.value.filter((function(e){return e!==t}))),this.$emit("change",t),this.$emit("input",t)}},render:function(){var t,e=arguments[0];return e("div",{class:[lr(),(t={},t[Bt]=this.border,t)]},[this.slots()])}}),ur=Object(l.a)("collapse-item"),hr=ur[0],dr=ur[1],fr=["title","icon","right-icon"],pr=hr({mixins:[Ie("vanCollapse")],props:n({},Gt,{name:[Number,String],disabled:Boolean,isLink:{type:Boolean,default:!0}}),data:function(){return{show:null,inited:null}},computed:{currentName:function(){var t;return null!=(t=this.name)?t:this.index},expanded:function(){var t=this;if(!this.parent)return null;var e=this.parent,i=e.value;return e.accordion?i===this.currentName:i.some((function(e){return e===t.currentName}))}},created:function(){this.show=this.expanded,this.inited=this.expanded},watch:{expanded:function(t,e){var i=this;null!==e&&(t&&(this.show=!0,this.inited=!0),(t?this.$nextTick:Fi.c)((function(){var e=i.$refs,n=e.content,r=e.wrapper;if(n&&r){var s=n.offsetHeight;if(s){var o=s+"px";r.style.height=t?0:o,Object(Fi.b)((function(){r.style.height=t?o:0}))}else i.onTransitionEnd()}})))}},methods:{onClick:function(){this.disabled||this.toggle()},toggle:function(t){void 0===t&&(t=!this.expanded);var e=this.parent,i=this.currentName,n=e.accordion&&i===e.value?"":i;this.parent.switch(n,t)},onTransitionEnd:function(){this.expanded?this.$refs.wrapper.style.height="":this.show=!1},genTitle:function(){var t=this,e=this.$createElement,i=this.border,r=this.disabled,s=this.expanded,o=fr.reduce((function(e,i){return t.slots(i)&&(e[i]=function(){return t.slots(i)}),e}),{});return this.slots("value")&&(o.default=function(){return t.slots("value")}),e(ie,{attrs:{role:"button",tabindex:r?-1:0,"aria-expanded":String(s)},class:dr("title",{disabled:r,expanded:s,borderless:!i}),on:{click:this.onClick},scopedSlots:o,props:n({},this.$props)})},genContent:function(){var t=this.$createElement;if(this.inited)return t("div",{directives:[{name:"show",value:this.show}],ref:"wrapper",class:dr("wrapper"),on:{transitionend:this.onTransitionEnd}},[t("div",{ref:"content",class:dr("content")},[this.slots()])])}},render:function(){var t=arguments[0];return t("div",{class:[dr({border:this.index&&this.border})]},[this.genTitle(),this.genContent()])}}),mr=Object(l.a)("contact-card"),vr=mr[0],gr=mr[1],br=mr[2];function yr(t,e,i,n){var r=e.type,o=e.editable;return t(ie,s()([{attrs:{center:!0,border:!1,isLink:o,valueClass:gr("value"),icon:"edit"===r?"contact":"add-square"},class:gr([r]),on:{click:function(t){o&&d(n,"click",t)}}},h(n)]),["add"===r?e.addText||br("addText"):[t("div",[br("name")+":"+e.name]),t("div",[br("tel")+":"+e.tel])]])}yr.props={tel:String,name:String,addText:String,editable:{type:Boolean,default:!0},type:{type:String,default:"add"}};var Sr=vr(yr),kr=Object(l.a)("contact-edit"),xr=kr[0],wr=kr[1],Cr=kr[2],Or={tel:"",name:""},Tr=xr({props:{isEdit:Boolean,isSaving:Boolean,isDeleting:Boolean,showSetDefault:Boolean,setDefaultLabel:String,contactInfo:{type:Object,default:function(){return n({},Or)}},telValidator:{type:Function,default:xt}},data:function(){return{data:n({},Or,this.contactInfo),errorInfo:{name:"",tel:""}}},watch:{contactInfo:function(t){this.data=n({},Or,t)}},methods:{onFocus:function(t){this.errorInfo[t]=""},getErrorMessageByKey:function(t){var e=this.data[t].trim();switch(t){case"name":return e?"":Cr("nameInvalid");case"tel":return this.telValidator(e)?"":Cr("telInvalid")}},onSave:function(){var t=this;["name","tel"].every((function(e){var i=t.getErrorMessageByKey(e);return i&&(t.errorInfo[e]=i),!i}))&&!this.isSaving&&this.$emit("save",this.data)},onDelete:function(){var t=this;Ke.confirm({title:Cr("confirmDelete")}).then((function(){t.$emit("delete",t.data)}))}},render:function(){var t=this,e=arguments[0],i=this.data,n=this.errorInfo,r=function(e){return function(){return t.onFocus(e)}};return e("div",{class:wr()},[e("div",{class:wr("fields")},[e(le,{attrs:{clearable:!0,maxlength:"30",label:Cr("name"),placeholder:Cr("nameEmpty"),errorMessage:n.name},on:{focus:r("name")},model:{value:i.name,callback:function(e){t.$set(i,"name",e)}}}),e(le,{attrs:{clearable:!0,type:"tel",label:Cr("tel"),placeholder:Cr("telEmpty"),errorMessage:n.tel},on:{focus:r("tel")},model:{value:i.tel,callback:function(e){t.$set(i,"tel",e)}}})]),this.showSetDefault&&e(ie,{attrs:{title:this.setDefaultLabel,border:!1},class:wr("switch-cell")},[e(ri,{attrs:{size:24},slot:"right-icon",on:{change:function(e){t.$emit("change-default",e)}},model:{value:i.isDefault,callback:function(e){t.$set(i,"isDefault",e)}}})]),e("div",{class:wr("buttons")},[e($e,{attrs:{block:!0,round:!0,type:"danger",text:Cr("save"),loading:this.isSaving},on:{click:this.onSave}}),this.isEdit&&e($e,{attrs:{block:!0,round:!0,text:Cr("delete"),loading:this.isDeleting},on:{click:this.onDelete}})])])}}),$r=Object(l.a)("contact-list"),Br=$r[0],Ir=$r[1],Dr=$r[2];function Er(t,e,i,n){var r=e.list&&e.list.map((function(i,r){function s(){d(n,"input",i.id),d(n,"select",i,r)}return t(ie,{key:i.id,attrs:{isLink:!0,center:!0,valueClass:Ir("item-value")},class:Ir("item"),scopedSlots:{icon:function(){return t(st,{attrs:{name:"edit"},class:Ir("edit"),on:{click:function(t){t.stopPropagation(),d(n,"edit",i,r)}}})},default:function(){var n=[i.name+","+i.tel];return i.isDefault&&e.defaultTagText&&n.push(t(yi,{attrs:{type:"danger",round:!0},class:Ir("item-tag")},[e.defaultTagText])),n},"right-icon":function(){return t(xi,{attrs:{name:i.id,iconSize:16,checkedColor:Ct},on:{click:s}})}},on:{click:s}})}));return t("div",s()([{class:Ir()},h(n)]),[t(pi,{attrs:{value:e.value},class:Ir("group")},[r]),t("div",{class:Ir("bottom")},[t($e,{attrs:{round:!0,block:!0,type:"danger",text:e.addText||Dr("addText")},class:Ir("add"),on:{click:function(){d(n,"add")}}})])])}Er.props={value:null,list:Array,addText:String,defaultTagText:String};var jr=Br(Er),Pr=i(2);var Lr=Object(l.a)("count-down"),Nr=Lr[0],Ar=Lr[1],Mr=Nr({props:{millisecond:Boolean,time:{type:[Number,String],default:0},format:{type:String,default:"HH:mm:ss"},autoStart:{type:Boolean,default:!0}},data:function(){return{remain:0}},computed:{timeData:function(){return t=this.remain,{days:Math.floor(t/864e5),hours:Math.floor(t%864e5/36e5),minutes:Math.floor(t%36e5/6e4),seconds:Math.floor(t%6e4/1e3),milliseconds:Math.floor(t%1e3)};var t},formattedTime:function(){return function(t,e){var i=e.days,n=e.hours,r=e.minutes,s=e.seconds,o=e.milliseconds;if(-1===t.indexOf("DD")?n+=24*i:t=t.replace("DD",Object(Pr.b)(i)),-1===t.indexOf("HH")?r+=60*n:t=t.replace("HH",Object(Pr.b)(n)),-1===t.indexOf("mm")?s+=60*r:t=t.replace("mm",Object(Pr.b)(r)),-1===t.indexOf("ss")?o+=1e3*s:t=t.replace("ss",Object(Pr.b)(s)),-1!==t.indexOf("S")){var a=Object(Pr.b)(o,3);t=-1!==t.indexOf("SSS")?t.replace("SSS",a):-1!==t.indexOf("SS")?t.replace("SS",a.slice(0,2)):t.replace("S",a.charAt(0))}return t}(this.format,this.timeData)}},watch:{time:{immediate:!0,handler:"reset"}},activated:function(){this.keepAlivePaused&&(this.counting=!0,this.keepAlivePaused=!1,this.tick())},deactivated:function(){this.counting&&(this.pause(),this.keepAlivePaused=!0)},beforeDestroy:function(){this.pause()},methods:{start:function(){this.counting||(this.counting=!0,this.endTime=Date.now()+this.remain,this.tick())},pause:function(){this.counting=!1,Object(Fi.a)(this.rafId)},reset:function(){this.pause(),this.remain=+this.time,this.autoStart&&this.start()},tick:function(){m.b&&(this.millisecond?this.microTick():this.macroTick())},microTick:function(){var t=this;this.rafId=Object(Fi.c)((function(){t.counting&&(t.setRemain(t.getRemain()),t.remain>0&&t.microTick())}))},macroTick:function(){var t=this;this.rafId=Object(Fi.c)((function(){if(t.counting){var e,i,n=t.getRemain();e=n,i=t.remain,(Math.floor(e/1e3)!==Math.floor(i/1e3)||0===n)&&t.setRemain(n),t.remain>0&&t.macroTick()}}))},getRemain:function(){return Math.max(this.endTime-Date.now(),0)},setRemain:function(t){this.remain=t,this.$emit("change",this.timeData),0===t&&(this.pause(),this.$emit("finish"))}},render:function(){var t=arguments[0];return t("div",{class:Ar()},[this.slots("default",this.timeData)||this.formattedTime])}}),zr=Object(l.a)("coupon"),Fr=zr[0],Vr=zr[1],Rr=zr[2];function Hr(t){var e=new Date(function(t){return t"+(e.unitDesc||"")+"";if(e.denominations){var i=_r(e.denominations);return""+this.currency+" "+i}return e.discount?Rr("discount",((t=e.discount)/10).toFixed(t%10==0?0:1)):""},conditionMessage:function(){var t=_r(this.coupon.originCondition);return"0"===t?Rr("unlimited"):Rr("condition",t)}},render:function(){var t=arguments[0],e=this.coupon,i=this.disabled,n=i&&e.reason||e.description;return t("div",{class:Vr({disabled:i})},[t("div",{class:Vr("content")},[t("div",{class:Vr("head")},[t("h2",{class:Vr("amount"),domProps:{innerHTML:this.faceAmount}}),t("p",{class:Vr("condition")},[this.coupon.condition||this.conditionMessage])]),t("div",{class:Vr("body")},[t("p",{class:Vr("name")},[e.name]),t("p",{class:Vr("valid")},[this.validPeriod]),!this.disabled&&t(qn,{attrs:{size:18,value:this.chosen,checkedColor:Ct},class:Vr("corner")})])]),n&&t("p",{class:Vr("description")},[n])])}}),qr=Object(l.a)("coupon-cell"),Kr=qr[0],Ur=qr[1],Yr=qr[2];function Xr(t,e,i,n){var r=e.coupons[+e.chosenCoupon],o=function(t){var e=t.coupons,i=t.chosenCoupon,n=t.currency,r=e[+i];if(r){var s=0;return Object(m.c)(r.value)?s=r.value:Object(m.c)(r.denominations)&&(s=r.denominations),"-"+n+" "+(s/100).toFixed(2)}return 0===e.length?Yr("tips"):Yr("count",e.length)}(e);return t(ie,s()([{class:Ur(),attrs:{value:o,title:e.title||Yr("title"),border:e.border,isLink:e.editable,valueClass:Ur("value",{selected:r})}},h(n,!0)]))}Xr.model={prop:"chosenCoupon"},Xr.props={title:String,coupons:{type:Array,default:function(){return[]}},currency:{type:String,default:"¥"},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},chosenCoupon:{type:[Number,String],default:-1}};var Qr=Kr(Xr),Gr=Object(l.a)("coupon-list"),Zr=Gr[0],Jr=Gr[1],ts=Gr[2],es=Zr({model:{prop:"code"},props:{code:String,closeButtonText:String,inputPlaceholder:String,enabledTitle:String,disabledTitle:String,exchangeButtonText:String,exchangeButtonLoading:Boolean,exchangeButtonDisabled:Boolean,exchangeMinLength:{type:Number,default:1},chosenCoupon:{type:Number,default:-1},coupons:{type:Array,default:function(){return[]}},disabledCoupons:{type:Array,default:function(){return[]}},displayedCouponIndex:{type:Number,default:-1},showExchangeBar:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},showCount:{type:Boolean,default:!0},currency:{type:String,default:"¥"},emptyImage:{type:String,default:"https://img01.yzcdn.cn/vant/coupon-empty.png"}},data:function(){return{tab:0,winHeight:window.innerHeight,currentCode:this.code||""}},computed:{buttonDisabled:function(){return!this.exchangeButtonLoading&&(this.exchangeButtonDisabled||!this.currentCode||this.currentCode.length1))return 0;t=t.slice(1)}return parseInt(t,10)}(n.originColumns[e].values[s[e]])};"month-day"===r?(t=(this.innerValue?this.innerValue:this.minDate).getFullYear(),e=o("month"),i=o("day")):(t=o("year"),e=o("month"),i="year-month"===r?1:o("day"));var a=Gi(t,e);i=i>a?a:i;var l=0,c=0;"datehour"===r&&(l=o("hour")),"datetime"===r&&(l=o("hour"),c=o("minute"));var u=new Date(t,e-1,i,l,c);this.innerValue=this.formatValue(u)},onChange:function(t){var e=this;this.updateInnerValue(),this.$nextTick((function(){e.$nextTick((function(){e.$emit("change",t)}))}))},updateColumnValue:function(){var t=this,e=this.innerValue?this.innerValue:this.minDate,i=this.formatter,n=this.originColumns.map((function(t){switch(t.type){case"year":return i("year",""+e.getFullYear());case"month":return i("month",Object(Pr.b)(e.getMonth()+1));case"day":return i("day",Object(Pr.b)(e.getDate()));case"hour":return i("hour",Object(Pr.b)(e.getHours()));case"minute":return i("minute",Object(Pr.b)(e.getMinutes()));default:return null}}));this.$nextTick((function(){t.getPicker().setValues(n)}))}}}),as=Object(l.a)("datetime-picker"),ls=as[0],cs=as[1],us=ls({props:n({},rs.props,os.props),methods:{getPicker:function(){return this.$refs.root.getPicker()}},render:function(){var t=arguments[0],e="time"===this.type?rs:os;return t(e,{ref:"root",class:cs(),scopedSlots:this.$scopedSlots,props:n({},this.$props),on:n({},this.$listeners)})}}),hs=Object(l.a)("divider"),ds=hs[0],fs=hs[1];function ps(t,e,i,n){var r;return t("div",s()([{attrs:{role:"separator"},style:{borderColor:e.borderColor},class:fs((r={dashed:e.dashed,hairline:e.hairline},r["content-"+e.contentPosition]=i.default,r))},h(n,!0)]),[i.default&&i.default()])}ps.props={dashed:Boolean,hairline:{type:Boolean,default:!0},contentPosition:{type:String,default:"center"}};var ms=ds(ps),vs=Object(l.a)("dropdown-item"),gs=vs[0],bs=vs[1],ys=gs({mixins:[H({ref:"wrapper"}),Ie("vanDropdownMenu")],props:{value:null,title:String,disabled:Boolean,titleClass:String,options:{type:Array,default:function(){return[]}},lazyRender:{type:Boolean,default:!0}},data:function(){return{transition:!0,showPopup:!1,showWrapper:!1}},computed:{displayTitle:function(){var t=this;if(this.title)return this.title;var e=this.options.filter((function(e){return e.value===t.value}));return e.length?e[0].text:""}},watch:{showPopup:function(t){this.bindScroll(t)}},beforeCreate:function(){var t=this,e=function(e){return function(){return t.$emit(e)}};this.onOpen=e("open"),this.onClose=e("close"),this.onOpened=e("opened")},methods:{toggle:function(t,e){void 0===t&&(t=!this.showPopup),void 0===e&&(e={}),t!==this.showPopup&&(this.transition=!e.immediate,this.showPopup=t,t&&(this.parent.updateOffset(),this.showWrapper=!0))},bindScroll:function(t){(t?b:y)(this.parent.scroller,"scroll",this.onScroll,!0)},onScroll:function(){this.parent.updateOffset()},onClickWrapper:function(t){this.getContainer&&t.stopPropagation()}},render:function(){var t=this,e=arguments[0],i=this.parent,n=i.zIndex,r=i.offset,s=i.overlay,o=i.duration,a=i.direction,l=i.activeColor,c=i.closeOnClickOverlay,u=this.options.map((function(i){var n=i.value===t.value;return e(ie,{attrs:{clickable:!0,icon:i.icon,title:i.text},key:i.value,class:bs("option",{active:n}),style:{color:n?l:""},on:{click:function(){t.showPopup=!1,i.value!==t.value&&(t.$emit("input",i.value),t.$emit("change",i.value))}}},[n&&e(st,{class:bs("icon"),attrs:{color:l,name:"success"}})])})),h={zIndex:n};return"down"===a?h.top=r+"px":h.bottom=r+"px",e("div",[e("div",{directives:[{name:"show",value:this.showWrapper}],ref:"wrapper",style:h,class:bs([a]),on:{click:this.onClickWrapper}},[e(ct,{attrs:{overlay:s,position:"down"===a?"top":"bottom",duration:this.transition?o:0,lazyRender:this.lazyRender,overlayStyle:{position:"absolute"},closeOnClickOverlay:c},class:bs("content"),on:{open:this.onOpen,close:this.onClose,opened:this.onOpened,closed:function(){t.showWrapper=!1,t.$emit("closed")}},model:{value:t.showPopup,callback:function(e){t.showPopup=e}}},[u,this.slots("default")])])])}}),Ss=function(t){return{props:{closeOnClickOutside:{type:Boolean,default:!0}},data:function(){var e=this;return{clickOutsideHandler:function(i){e.closeOnClickOutside&&!e.$el.contains(i.target)&&e[t.method]()}}},mounted:function(){b(document,t.event,this.clickOutsideHandler)},beforeDestroy:function(){y(document,t.event,this.clickOutsideHandler)}}},ks=Object(l.a)("dropdown-menu"),xs=ks[0],ws=ks[1],Cs=xs({mixins:[De("vanDropdownMenu"),Ss({event:"click",method:"onClickOutside"})],props:{zIndex:[Number,String],activeColor:String,overlay:{type:Boolean,default:!0},duration:{type:[Number,String],default:.2},direction:{type:String,default:"down"},closeOnClickOverlay:{type:Boolean,default:!0}},data:function(){return{offset:0}},computed:{scroller:function(){return N(this.$el)},opened:function(){return this.children.some((function(t){return t.showWrapper}))},barStyle:function(){if(this.opened&&Object(m.c)(this.zIndex))return{zIndex:1+this.zIndex}}},methods:{updateOffset:function(){if(this.$refs.bar){var t=this.$refs.bar.getBoundingClientRect();"down"===this.direction?this.offset=t.bottom:this.offset=window.innerHeight-t.top}},toggleItem:function(t){this.children.forEach((function(e,i){i===t?e.toggle():e.showPopup&&e.toggle(!1,{immediate:!0})}))},onClickOutside:function(){this.children.forEach((function(t){t.toggle(!1)}))}},render:function(){var t=this,e=arguments[0],i=this.children.map((function(i,n){return e("div",{attrs:{role:"button",tabindex:i.disabled?-1:0},class:ws("item",{disabled:i.disabled}),on:{click:function(){i.disabled||t.toggleItem(n)}}},[e("span",{class:[ws("title",{active:i.showPopup,down:i.showPopup===("down"===t.direction)}),i.titleClass],style:{color:i.showPopup?t.activeColor:""}},[e("div",{class:"van-ellipsis"},[i.slots("title")||i.displayTitle])])])}));return e("div",{class:ws()},[e("div",{ref:"bar",style:this.barStyle,class:ws("bar",{opened:this.opened})},[i]),this.slots("default")])}}),Os="van-empty-network-",Ts={render:function(){var t=arguments[0],e=function(e,i,n){return t("stop",{attrs:{"stop-color":e,offset:i+"%","stop-opacity":n}})};return t("svg",{attrs:{viewBox:"0 0 160 160",xmlns:"http://www.w3.org/2000/svg"}},[t("defs",[t("linearGradient",{attrs:{id:Os+"1",x1:"64.022%",y1:"100%",x2:"64.022%",y2:"0%"}},[e("#FFF",0,.5),e("#F2F3F5",100)]),t("linearGradient",{attrs:{id:Os+"2",x1:"50%",y1:"0%",x2:"50%",y2:"84.459%"}},[e("#EBEDF0",0),e("#DCDEE0",100,0)]),t("linearGradient",{attrs:{id:Os+"3",x1:"100%",y1:"0%",x2:"100%",y2:"100%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("linearGradient",{attrs:{id:Os+"4",x1:"100%",y1:"100%",x2:"100%",y2:"0%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("linearGradient",{attrs:{id:Os+"5",x1:"0%",y1:"43.982%",x2:"100%",y2:"54.703%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("linearGradient",{attrs:{id:Os+"6",x1:"94.535%",y1:"43.837%",x2:"5.465%",y2:"54.948%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("radialGradient",{attrs:{id:Os+"7",cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54835 0 .5 -.5)"}},[e("#EBEDF0",0),e("#FFF",100,0)])]),t("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[t("g",{attrs:{opacity:".8"}},[t("path",{attrs:{d:"M0 124V46h20v20h14v58H0z",fill:"url(#"+Os+"1)",transform:"matrix(-1 0 0 1 36 7)"}}),t("path",{attrs:{d:"M121 8h22.231v14H152v77.37h-31V8z",fill:"url(#"+Os+"1)",transform:"translate(2 7)"}})]),t("path",{attrs:{fill:"url(#"+Os+"7)",d:"M0 139h160v21H0z"}}),t("path",{attrs:{d:"M37 18a7 7 0 013 13.326v26.742c0 1.23-.997 2.227-2.227 2.227h-1.546A2.227 2.227 0 0134 58.068V31.326A7 7 0 0137 18z",fill:"url(#"+Os+"2)","fill-rule":"nonzero",transform:"translate(43 36)"}}),t("g",{attrs:{opacity:".6","stroke-linecap":"round","stroke-width":"7"}},[t("path",{attrs:{d:"M20.875 11.136a18.868 18.868 0 00-5.284 13.121c0 5.094 2.012 9.718 5.284 13.12",stroke:"url(#"+Os+"3)",transform:"translate(43 36)"}}),t("path",{attrs:{d:"M9.849 0C3.756 6.225 0 14.747 0 24.146c0 9.398 3.756 17.92 9.849 24.145",stroke:"url(#"+Os+"3)",transform:"translate(43 36)"}}),t("path",{attrs:{d:"M57.625 11.136a18.868 18.868 0 00-5.284 13.121c0 5.094 2.012 9.718 5.284 13.12",stroke:"url(#"+Os+"4)",transform:"rotate(-180 76.483 42.257)"}}),t("path",{attrs:{d:"M73.216 0c-6.093 6.225-9.849 14.747-9.849 24.146 0 9.398 3.756 17.92 9.849 24.145",stroke:"url(#"+Os+"4)",transform:"rotate(-180 89.791 42.146)"}})]),t("g",{attrs:{transform:"translate(31 105)","fill-rule":"nonzero"}},[t("rect",{attrs:{fill:"url(#"+Os+"5)",width:"98",height:"34",rx:"2"}}),t("rect",{attrs:{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.114"}}),t("rect",{attrs:{fill:"url(#"+Os+"6)",x:"15",y:"12",width:"18",height:"6",rx:"1.114"}})])])])}},$s=Object(l.a)("empty"),Bs=$s[0],Is=$s[1],Ds=["error","search","default"],Es=Bs({props:{imageSize:[Number,String],description:String,image:{type:String,default:"default"}},methods:{genImageContent:function(){var t=this.$createElement,e=this.slots("image");if(e)return e;if("network"===this.image)return t(Ts);var i=this.image;return-1!==Ds.indexOf(i)&&(i="https://img01.yzcdn.cn/vant/empty-image-"+i+".png"),t("img",{attrs:{src:i}})},genImage:function(){var t=this.$createElement,e={width:Object(Y.a)(this.imageSize),height:Object(Y.a)(this.imageSize)};return t("div",{class:Is("image"),style:e},[this.genImageContent()])},genDescription:function(){var t=this.$createElement,e=this.slots("description")||this.description;if(e)return t("p",{class:Is("description")},[e])},genBottom:function(){var t=this.$createElement,e=this.slots();if(e)return t("div",{class:Is("bottom")},[e])}},render:function(){var t=arguments[0];return t("div",{class:Is()},[this.genImage(),this.genDescription(),this.genBottom()])}}),js=Object(l.a)("form"),Ps=js[0],Ls=js[1],Ns=Ps({props:{colon:Boolean,disabled:Boolean,readonly:Boolean,labelWidth:[Number,String],labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,errorMessageAlign:String,submitOnEnter:{type:Boolean,default:!0},validateTrigger:{type:String,default:"onBlur"},showError:{type:Boolean,default:!0},showErrorMessage:{type:Boolean,default:!0}},provide:function(){return{vanForm:this}},data:function(){return{fields:[]}},methods:{getFieldsByNames:function(t){return t?this.fields.filter((function(e){return-1!==t.indexOf(e.name)})):this.fields},validateSeq:function(t){var e=this;return new Promise((function(i,n){var r=[];e.getFieldsByNames(t).reduce((function(t,e){return t.then((function(){if(!r.length)return e.validate().then((function(t){t&&r.push(t)}))}))}),Promise.resolve()).then((function(){r.length?n(r):i()}))}))},validateFields:function(t){var e=this;return new Promise((function(i,n){var r=e.getFieldsByNames(t);Promise.all(r.map((function(t){return t.validate()}))).then((function(t){(t=t.filter((function(t){return t}))).length?n(t):i()}))}))},validate:function(t){return t&&!Array.isArray(t)?this.validateField(t):this.validateFirst?this.validateSeq(t):this.validateFields(t)},validateField:function(t){var e=this.fields.filter((function(e){return e.name===t}));return e.length?new Promise((function(t,i){e[0].validate().then((function(e){e?i(e):t()}))})):Promise.reject()},resetValidation:function(t){t&&!Array.isArray(t)&&(t=[t]),this.getFieldsByNames(t).forEach((function(t){t.resetValidation()}))},scrollToField:function(t,e){this.fields.some((function(i){return i.name===t&&(i.$el.scrollIntoView(e),!0)}))},addField:function(t){this.fields.push(t),Be(this.fields,this)},removeField:function(t){this.fields=this.fields.filter((function(e){return e!==t}))},getValues:function(){return this.fields.reduce((function(t,e){return t[e.name]=e.formValue,t}),{})},onSubmit:function(t){t.preventDefault(),this.submit()},submit:function(){var t=this,e=this.getValues();this.validate().then((function(){t.$emit("submit",e)})).catch((function(i){t.$emit("failed",{values:e,errors:i}),t.scrollToError&&t.scrollToField(i[0].name)}))}},render:function(){var t=arguments[0];return t("form",{class:Ls(),on:{submit:this.onSubmit}},[this.slots()])}}),As=Object(l.a)("goods-action-icon"),Ms=As[0],zs=As[1],Fs=Ms({mixins:[Ie("vanGoodsAction")],props:n({},Qt,{dot:Boolean,text:String,icon:String,color:String,info:[Number,String],badge:[Number,String],iconClass:null}),methods:{onClick:function(t){this.$emit("click",t),Yt(this.$router,this)},genIcon:function(){var t,e=this.$createElement,i=this.slots("icon"),n=null!=(t=this.badge)?t:this.info;return i?e("div",{class:zs("icon")},[i,e(J,{attrs:{dot:this.dot,info:n}})]):e(st,{class:[zs("icon"),this.iconClass],attrs:{tag:"div",dot:this.dot,name:this.icon,badge:n,color:this.color}})}},render:function(){var t=arguments[0];return t("div",{attrs:{role:"button",tabindex:"0"},class:zs(),on:{click:this.onClick}},[this.genIcon(),this.slots()||this.text])}}),Vs=Object(l.a)("grid"),Rs=Vs[0],Hs=Vs[1],_s=Rs({mixins:[De("vanGrid")],props:{square:Boolean,gutter:[Number,String],iconSize:[Number,String],direction:String,clickable:Boolean,columnNum:{type:[Number,String],default:4},center:{type:Boolean,default:!0},border:{type:Boolean,default:!0}},computed:{style:function(){var t=this.gutter;if(t)return{paddingLeft:Object(Y.a)(t)}}},render:function(){var t,e=arguments[0];return e("div",{style:this.style,class:[Hs(),(t={},t[Tt]=this.border&&!this.gutter,t)]},[this.slots()])}}),Ws=Object(l.a)("grid-item"),qs=Ws[0],Ks=Ws[1],Us=qs({mixins:[Ie("vanGrid")],props:n({},Qt,{dot:Boolean,text:String,icon:String,iconPrefix:String,info:[Number,String],badge:[Number,String]}),computed:{style:function(){var t=this.parent,e=t.square,i=t.gutter,n=t.columnNum,r=100/n+"%",s={flexBasis:r};if(e)s.paddingTop=r;else if(i){var o=Object(Y.a)(i);s.paddingRight=o,this.index>=n&&(s.marginTop=o)}return s},contentStyle:function(){var t=this.parent,e=t.square,i=t.gutter;if(e&&i){var n=Object(Y.a)(i);return{right:n,bottom:n,height:"auto"}}}},methods:{onClick:function(t){this.$emit("click",t),Yt(this.$router,this)},genIcon:function(){var t,e=this.$createElement,i=this.slots("icon"),n=null!=(t=this.badge)?t:this.info;return i?e("div",{class:Ks("icon-wrapper")},[i,e(J,{attrs:{dot:this.dot,info:n}})]):this.icon?e(st,{attrs:{name:this.icon,dot:this.dot,badge:n,size:this.parent.iconSize,classPrefix:this.iconPrefix},class:Ks("icon")}):void 0},getText:function(){var t=this.$createElement,e=this.slots("text");return e||(this.text?t("span",{class:Ks("text")},[this.text]):void 0)},genContent:function(){var t=this.slots();return t||[this.genIcon(),this.getText()]}},render:function(){var t,e=arguments[0],i=this.parent,n=i.center,r=i.border,s=i.square,o=i.gutter,a=i.direction,l=i.clickable;return e("div",{class:[Ks({square:s})],style:this.style},[e("div",{style:this.contentStyle,attrs:{role:l?"button":null,tabindex:l?0:null},class:[Ks("content",[a,{center:n,square:s,clickable:l,surround:r&&o}]),(t={},t[Ot]=r,t)],on:{click:this.onClick}},[this.genContent()])])}}),Ys=Object(l.a)("image-preview"),Xs=Ys[0],Qs=Ys[1],Gs=Object(l.a)("swipe"),Zs=Gs[0],Js=Gs[1],to=Zs({mixins:[R,De("vanSwipe"),W((function(t,e){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),e?this.initialize():this.clear()}))],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){t>0?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t={transitionDuration:(this.swiping?0:this.duration)+"ms",transform:"translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)"};if(this.size){var e=this.vertical?"height":"width",i=this.vertical?"width":"height";t[e]=this.trackSize+"px",t[i]=this[i]?this[i]+"px":""}return t},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){if(void 0===t&&(t=+this.initialSwipe),this.$el&&!vn(this.$el)){clearTimeout(this.timer);var e={width:this.$el.offsetWidth,height:this.$el.offsetHeight};this.rect=e,this.swiping=!0,this.active=t,this.computedWidth=+this.width||e.width,this.computedHeight=+this.height||e.height,this.offset=this.getTargetOffset(t),this.children.forEach((function(t){t.offset=0})),this.autoPlay()}},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&(k(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){if(this.touchable&&this.swiping){var t=this.size,e=this.delta,i=e/(Date.now()-this.touchStartTime);if((Math.abs(i)>.25||Math.abs(e)>t/2)&&this.isCorrectDirection){var n=this.vertical?this.offsetY:this.offsetX,r=0;r=this.loop?n>0?e>0?-1:1:0:-Math[e>0?"ceil":"floor"](e/t),this.move({pace:r,emitChange:!0})}else e&&this.move({pace:0});this.swiping=!1,this.autoPlay()}},getTargetActive:function(t){var e=this.active,i=this.count,n=this.maxCount;return t?this.loop?Dt(e+t,-1,i):Dt(e+t,0,n):e},getTargetOffset:function(t,e){void 0===e&&(e=0);var i=t*this.size;this.loop||(i=Math.min(i,-this.minOffset));var n=e-i;return this.loop||(n=Dt(n,this.minOffset,0)),n},move:function(t){var e=t.pace,i=void 0===e?0:e,n=t.offset,r=void 0===n?0:n,s=t.emitChange,o=this.loop,a=this.count,l=this.active,c=this.children,u=this.trackSize,h=this.minOffset;if(!(a<=1)){var d=this.getTargetActive(i),f=this.getTargetOffset(d,r);if(o){if(c[0]&&f!==h){var p=f0;c[a-1].offset=m?-u:0}}this.active=d,this.offset=f,s&&d!==l&&this.$emit("change",this.activeIndicator)}},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(Fi.b)((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(Fi.b)((function(){t.swiping=!1,t.move({pace:1,emitChange:!0})}))},swipeTo:function(t,e){var i=this;void 0===e&&(e={}),this.correctPosition(),this.resetTouchStatus(),Object(Fi.b)((function(){var n;n=i.loop&&t===i.count?0===i.active?0:t:t%i.count,e.immediate?Object(Fi.b)((function(){i.swiping=!1})):i.swiping=!1,i.move({pace:n-i.active,emitChange:!0})}))},correctPosition:function(){this.swiping=!0,this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,e=this.autoplay;e>0&&this.count>1&&(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),e))},genIndicator:function(){var t=this,e=this.$createElement,i=this.count,n=this.activeIndicator,r=this.slots("indicator");return r||(this.showIndicators&&i>1?e("div",{class:Js("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(i)).map((function(i,r){return e("i",{class:Js("indicator",{active:r===n}),style:r===n?t.indicatorStyle:null})}))]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:Js()},[t("div",{ref:"track",style:this.trackStyle,class:Js("track",{vertical:this.vertical})},[this.slots()]),this.genIndicator()])}}),eo=Object(l.a)("swipe-item"),io=eo[0],no=eo[1],ro=io({mixins:[Ie("vanSwipe")],data:function(){return{offset:0,inited:!1,mounted:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.mounted=!0}))},computed:{style:function(){var t={},e=this.parent,i=e.size,n=e.vertical;return i&&(t[n?"height":"width"]=i+"px"),this.offset&&(t.transform="translate"+(n?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,e=this.inited,i=this.parent,n=this.mounted;if(!i.lazyRender||e)return!0;if(!n)return!1;var r=i.activeIndicator,s=i.count-1,o=0===r&&i.loop?s:r-1,a=r===s&&i.loop?0:r+1,l=t===r||t===o||t===a;return l&&(this.inited=!0),l}},render:function(){var t=arguments[0];return t("div",{class:no(),style:this.style,on:n({},this.$listeners)},[this.shouldRender&&this.slots()])}});function so(t){return Math.sqrt(Math.pow(t[0].clientX-t[1].clientX,2)+Math.pow(t[0].clientY-t[1].clientY,2))}var oo,ao={mixins:[R],props:{src:String,show:Boolean,active:Number,minZoom:[Number,String],maxZoom:[Number,String],rootWidth:Number,rootHeight:Number},data:function(){return{scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}},computed:{vertical:function(){var t=this.rootWidth,e=this.rootHeight/t;return this.imageRatio>e},imageStyle:function(){var t=this.scale,e={transitionDuration:this.zooming||this.moving?"0s":".3s"};if(1!==t){var i=this.moveX/t,n=this.moveY/t;e.transform="scale("+t+", "+t+") translate("+i+"px, "+n+"px)"}return e},maxMoveX:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight/this.imageRatio:this.rootWidth;return Math.max(0,(this.scale*t-this.rootWidth)/2)}return 0},maxMoveY:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight:this.rootWidth*this.imageRatio;return Math.max(0,(this.scale*t-this.rootHeight)/2)}return 0}},watch:{active:"resetScale",show:function(t){t||this.resetScale()}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{resetScale:function(){this.setScale(1),this.moveX=0,this.moveY=0},setScale:function(t){(t=Dt(t,+this.minZoom,+this.maxZoom))!==this.scale&&(this.scale=t,this.$emit("scale",{scale:this.scale,index:this.active}))},toggleScale:function(){var t=this.scale>1?1:2;this.setScale(t),this.moveX=0,this.moveY=0},onTouchStart:function(t){var e=t.touches,i=this.offsetX,n=void 0===i?0:i;this.touchStart(t),this.touchStartTime=new Date,this.startMoveX=this.moveX,this.startMoveY=this.moveY,this.moving=1===e.length&&1!==this.scale,this.zooming=2===e.length&&!n,this.zooming&&(this.startScale=this.scale,this.startDistance=so(t.touches))},onTouchMove:function(t){var e=t.touches;if(this.touchMove(t),(this.moving||this.zooming)&&k(t,!0),this.moving){var i=this.deltaX+this.startMoveX,n=this.deltaY+this.startMoveY;this.moveX=Dt(i,-this.maxMoveX,this.maxMoveX),this.moveY=Dt(n,-this.maxMoveY,this.maxMoveY)}if(this.zooming&&2===e.length){var r=so(e),s=this.startScale*r/this.startDistance;this.setScale(s)}},onTouchEnd:function(t){var e=!1;(this.moving||this.zooming)&&(e=!0,this.moving&&this.startMoveX===this.moveX&&this.startMoveY===this.moveY&&(e=!1),t.touches.length||(this.zooming&&(this.moveX=Dt(this.moveX,-this.maxMoveX,this.maxMoveX),this.moveY=Dt(this.moveY,-this.maxMoveY,this.maxMoveY),this.zooming=!1),this.moving=!1,this.startMoveX=0,this.startMoveY=0,this.startScale=1,this.scale<1&&this.resetScale())),k(t,e),this.checkTap(),this.resetTouchStatus()},checkTap:function(){var t=this,e=this.offsetX,i=void 0===e?0:e,n=this.offsetY,r=void 0===n?0:n,s=new Date-this.touchStartTime;i<10&&r<10&&s<250&&(this.doubleTapTimer?(clearTimeout(this.doubleTapTimer),this.doubleTapTimer=null,this.toggleScale()):this.doubleTapTimer=setTimeout((function(){t.$emit("close"),t.doubleTapTimer=null}),250))},onLoad:function(t){var e=t.target,i=e.naturalWidth,n=e.naturalHeight;this.imageRatio=n/i}},render:function(){var t=arguments[0],e={loading:function(){return t(vt,{attrs:{type:"spinner"}})}};return t(ro,{class:Qs("swipe-item")},[t(sn,{attrs:{src:this.src,fit:"contain"},class:Qs("image",{vertical:this.vertical}),style:this.imageStyle,scopedSlots:e,on:{load:this.onLoad}})])}},lo=Xs({mixins:[R,U({skipToggleEvent:!0}),W((function(t){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0)}))],props:{className:null,closeable:Boolean,asyncClose:Boolean,showIndicators:Boolean,images:{type:Array,default:function(){return[]}},loop:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},minZoom:{type:[Number,String],default:1/3},maxZoom:{type:[Number,String],default:3},transition:{type:String,default:"van-fade"},showIndex:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:300},startPosition:{type:[Number,String],default:0},overlayClass:{type:String,default:Qs("overlay")},closeIcon:{type:String,default:"clear"},closeOnPopstate:{type:Boolean,default:!0},closeIconPosition:{type:String,default:"top-right"}},data:function(){return{active:0,rootWidth:0,rootHeight:0,doubleClickTimer:null}},mounted:function(){this.resize()},watch:{startPosition:"setActive",value:function(t){var e=this;t?(this.setActive(+this.startPosition),this.$nextTick((function(){e.resize(),e.$refs.swipe.swipeTo(+e.startPosition,{immediate:!0})}))):this.$emit("close",{index:this.active,url:this.images[this.active]})}},methods:{resize:function(){if(this.$el&&this.$el.getBoundingClientRect){var t=this.$el.getBoundingClientRect();this.rootWidth=t.width,this.rootHeight=t.height}},emitClose:function(){this.asyncClose||this.$emit("input",!1)},emitScale:function(t){this.$emit("scale",t)},setActive:function(t){t!==this.active&&(this.active=t,this.$emit("change",t))},genIndex:function(){var t=this.$createElement;if(this.showIndex)return t("div",{class:Qs("index")},[this.slots("index",{index:this.active})||this.active+1+" / "+this.images.length])},genCover:function(){var t=this.$createElement,e=this.slots("cover");if(e)return t("div",{class:Qs("cover")},[e])},genImages:function(){var t=this,e=this.$createElement;return e(to,{ref:"swipe",attrs:{lazyRender:!0,loop:this.loop,duration:this.swipeDuration,initialSwipe:this.startPosition,showIndicators:this.showIndicators,indicatorColor:"white"},class:Qs("swipe"),on:{change:this.setActive}},[this.images.map((function(i){return e(ao,{attrs:{src:i,show:t.value,active:t.active,maxZoom:t.maxZoom,minZoom:t.minZoom,rootWidth:t.rootWidth,rootHeight:t.rootHeight},on:{scale:t.emitScale,close:t.emitClose}})}))])},genClose:function(){var t=this.$createElement;if(this.closeable)return t(st,{attrs:{role:"button",name:this.closeIcon},class:Qs("close-icon",this.closeIconPosition),on:{click:this.emitClose}})},onClosed:function(){this.$emit("closed")},swipeTo:function(t,e){this.$refs.swipe&&this.$refs.swipe.swipeTo(t,e)}},render:function(){var t=arguments[0];return t("transition",{attrs:{name:this.transition},on:{afterLeave:this.onClosed}},[this.shouldRender?t("div",{directives:[{name:"show",value:this.value}],class:[Qs(),this.className]},[this.genClose(),this.genImages(),this.genIndex(),this.genCover()]):null])}}),co={loop:!0,value:!0,images:[],maxZoom:3,minZoom:1/3,onClose:null,onChange:null,className:"",showIndex:!0,closeable:!1,closeIcon:"clear",asyncClose:!1,transition:"van-fade",getContainer:"body",startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"},uo=function(t,e){if(void 0===e&&(e=0),!m.h){oo||(oo=new(a.a.extend(lo))({el:document.createElement("div")}),document.body.appendChild(oo.$el),oo.$on("change",(function(t){oo.onChange&&oo.onChange(t)})),oo.$on("scale",(function(t){oo.onScale&&oo.onScale(t)})));var i=Array.isArray(t)?{images:t,startPosition:e}:t;return n(oo,co,i),oo.$once("input",(function(t){oo.value=t})),oo.$once("closed",(function(){oo.images=[]})),i.onClose&&(oo.$off("close"),oo.$once("close",i.onClose)),oo}};uo.Component=lo,uo.install=function(){a.a.use(lo)};var ho=uo,fo=Object(l.a)("index-anchor"),po=fo[0],mo=fo[1],vo=po({mixins:[Ie("vanIndexBar",{indexKey:"childrenIndex"})],props:{index:[Number,String]},data:function(){return{top:0,left:null,rect:{top:0,height:0},width:null,active:!1}},computed:{sticky:function(){return this.active&&this.parent.sticky},anchorStyle:function(){if(this.sticky)return{zIndex:""+this.parent.zIndex,left:this.left?this.left+"px":null,width:this.width?this.width+"px":null,transform:"translate3d(0, "+this.top+"px, 0)",color:this.parent.highlightColor}}},mounted:function(){var t=this.$el.getBoundingClientRect();this.rect.height=t.height},methods:{scrollIntoView:function(){this.$el.scrollIntoView()},getRect:function(t,e){var i=this.$el.getBoundingClientRect();return this.rect.height=i.height,t===window||t===document.body?this.rect.top=i.top+z():this.rect.top=i.top+A(t)-e.top,this.rect}},render:function(){var t,e=arguments[0],i=this.sticky;return e("div",{style:{height:i?this.rect.height+"px":null}},[e("div",{style:this.anchorStyle,class:[mo({sticky:i}),(t={},t[$t]=i,t)]},[this.slots("default")||this.index])])}});var go=Object(l.a)("index-bar"),bo=go[0],yo=go[1],So=bo({mixins:[R,De("vanIndexBar"),W((function(t){this.scroller||(this.scroller=N(this.$el)),t(this.scroller,"scroll",this.onScroll)}))],props:{zIndex:[Number,String],highlightColor:String,sticky:{type:Boolean,default:!0},stickyOffsetTop:{type:Number,default:0},indexList:{type:Array,default:function(){for(var t=[],e="A".charCodeAt(0),i=0;i<26;i++)t.push(String.fromCharCode(e+i));return t}}},data:function(){return{activeAnchorIndex:null}},computed:{sidebarStyle:function(){if(Object(m.c)(this.zIndex))return{zIndex:this.zIndex+1}},highlightStyle:function(){var t=this.highlightColor;if(t)return{color:t}}},watch:{indexList:function(){this.$nextTick(this.onScroll)},activeAnchorIndex:function(t){t&&this.$emit("change",t)}},methods:{onScroll:function(){var t=this;if(!vn(this.$el)){var e=A(this.scroller),i=this.getScrollerRect(),n=this.children.map((function(e){return e.getRect(t.scroller,i)})),r=this.getActiveAnchorIndex(e,n);this.activeAnchorIndex=this.indexList[r],this.sticky&&this.children.forEach((function(s,o){if(o===r||o===r-1){var a=s.$el.getBoundingClientRect();s.left=a.left,s.width=a.width}else s.left=null,s.width=null;if(o===r)s.active=!0,s.top=Math.max(t.stickyOffsetTop,n[o].top-e)+i.top;else if(o===r-1){var l=n[r].top-e;s.active=l>0,s.top=l+i.top-n[o].height}else s.active=!1}))}},getScrollerRect:function(){return this.scroller.getBoundingClientRect?this.scroller.getBoundingClientRect():{top:0,left:0}},getActiveAnchorIndex:function(t,e){for(var i=this.children.length-1;i>=0;i--){var n=i>0?e[i-1].height:0;if(t+(this.sticky?n+this.stickyOffsetTop:0)>=e[i].top)return i}return-1},onClick:function(t){this.scrollToElement(t.target)},onTouchMove:function(t){if(this.touchMove(t),"vertical"===this.direction){k(t);var e=t.touches[0],i=e.clientX,n=e.clientY,r=document.elementFromPoint(i,n);if(r){var s=r.dataset.index;this.touchActiveIndex!==s&&(this.touchActiveIndex=s,this.scrollToElement(r))}}},scrollTo:function(t){var e=this.children.filter((function(e){return String(e.index)===t}));e[0]&&(e[0].scrollIntoView(),this.sticky&&this.stickyOffsetTop&&F(z()-this.stickyOffsetTop),this.$emit("select",e[0].index))},scrollToElement:function(t){var e=t.dataset.index;this.scrollTo(e)},onTouchEnd:function(){this.active=null}},render:function(){var t=this,e=arguments[0],i=this.indexList.map((function(i){var n=i===t.activeAnchorIndex;return e("span",{class:yo("index",{active:n}),style:n?t.highlightStyle:null,attrs:{"data-index":i}},[i])}));return e("div",{class:yo()},[e("div",{class:yo("sidebar"),style:this.sidebarStyle,on:{click:this.onClick,touchstart:this.touchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}},[i]),this.slots("default")])}}),ko=i(10),xo=i.n(ko).a,wo=Object(l.a)("list"),Co=wo[0],Oo=wo[1],To=wo[2],$o=Co({mixins:[W((function(t){this.scroller||(this.scroller=N(this.$el)),t(this.scroller,"scroll",this.check)}))],model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:[Number,String],default:300},direction:{type:String,default:"down"}},data:function(){return{innerLoading:this.loading}},updated:function(){this.innerLoading=this.loading},mounted:function(){this.immediateCheck&&this.check()},watch:{loading:"check",finished:"check"},methods:{check:function(){var t=this;this.$nextTick((function(){if(!(t.innerLoading||t.finished||t.error)){var e,i=t.$el,n=t.scroller,r=t.offset,s=t.direction;if(!((e=n.getBoundingClientRect?n.getBoundingClientRect():{top:0,bottom:n.innerHeight}).bottom-e.top)||vn(i))return!1;var o=t.$refs.placeholder.getBoundingClientRect();("up"===s?e.top-o.top<=r:o.bottom-e.bottom<=r)&&(t.innerLoading=!0,t.$emit("input",!0),t.$emit("load"))}}))},clickErrorText:function(){this.$emit("update:error",!1),this.check()},genLoading:function(){var t=this.$createElement;if(this.innerLoading&&!this.finished)return t("div",{key:"loading",class:Oo("loading")},[this.slots("loading")||t(vt,{attrs:{size:"16"}},[this.loadingText||To("loading")])])},genFinishedText:function(){var t=this.$createElement;if(this.finished){var e=this.slots("finished")||this.finishedText;if(e)return t("div",{class:Oo("finished-text")},[e])}},genErrorText:function(){var t=this.$createElement;if(this.error){var e=this.slots("error")||this.errorText;if(e)return t("div",{on:{click:this.clickErrorText},class:Oo("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",key:"placeholder",class:Oo("placeholder")});return t("div",{class:Oo(),attrs:{role:"feed","aria-busy":this.innerLoading}},["down"===this.direction?this.slots():e,this.genLoading(),this.genFinishedText(),this.genErrorText(),"up"===this.direction?this.slots():e])}}),Bo=i(7),Io=Object(l.a)("nav-bar"),Do=Io[0],Eo=Io[1],jo=Do({props:{title:String,fixed:Boolean,zIndex:[Number,String],leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,border:{type:Boolean,default:!0}},data:function(){return{height:null}},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.navBar.getBoundingClientRect().height)},methods:{genLeft:function(){var t=this.$createElement,e=this.slots("left");return e||[this.leftArrow&&t(st,{class:Eo("arrow"),attrs:{name:"arrow-left"}}),this.leftText&&t("span",{class:Eo("text")},[this.leftText])]},genRight:function(){var t=this.$createElement,e=this.slots("right");return e||(this.rightText?t("span",{class:Eo("text")},[this.rightText]):void 0)},genNavBar:function(){var t,e=this.$createElement;return e("div",{ref:"navBar",style:{zIndex:this.zIndex},class:[Eo({fixed:this.fixed,"safe-area-inset-top":this.safeAreaInsetTop}),(t={},t[$t]=this.border,t)]},[e("div",{class:Eo("content")},[this.hasLeft()&&e("div",{class:Eo("left"),on:{click:this.onClickLeft}},[this.genLeft()]),e("div",{class:[Eo("title"),"van-ellipsis"]},[this.slots("title")||this.title]),this.hasRight()&&e("div",{class:Eo("right"),on:{click:this.onClickRight}},[this.genRight()])])])},hasLeft:function(){return this.leftArrow||this.leftText||this.slots("left")},hasRight:function(){return this.rightText||this.slots("right")},onClickLeft:function(t){this.$emit("click-left",t)},onClickRight:function(t){this.$emit("click-right",t)}},render:function(){var t=arguments[0];return this.placeholder&&this.fixed?t("div",{class:Eo("placeholder"),style:{height:this.height+"px"}},[this.genNavBar()]):this.genNavBar()}}),Po=Object(l.a)("notice-bar"),Lo=Po[0],No=Po[1],Ao=Lo({mixins:[W((function(t){t(window,"pageshow",this.start)}))],props:{text:String,mode:String,color:String,leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null},delay:{type:[Number,String],default:1},speed:{type:[Number,String],default:60}},data:function(){return{show:!0,offset:0,duration:0,wrapWidth:0,contentWidth:0}},watch:{scrollable:"start",text:{handler:"start",immediate:!0}},activated:function(){this.start()},methods:{onClickIcon:function(t){"closeable"===this.mode&&(this.show=!1,this.$emit("close",t))},onTransitionEnd:function(){var t=this;this.offset=this.wrapWidth,this.duration=0,Object(Fi.c)((function(){Object(Fi.b)((function(){t.offset=-t.contentWidth,t.duration=(t.contentWidth+t.wrapWidth)/t.speed,t.$emit("replay")}))}))},reset:function(){this.offset=0,this.duration=0,this.wrapWidth=0,this.contentWidth=0},start:function(){var t=this,e=Object(m.c)(this.delay)?1e3*this.delay:0;this.reset(),clearTimeout(this.startTimer),this.startTimer=setTimeout((function(){var e=t.$refs,i=e.wrap,n=e.content;if(i&&n&&!1!==t.scrollable){var r=i.getBoundingClientRect().width,s=n.getBoundingClientRect().width;(t.scrollable||s>r)&&Object(Fi.b)((function(){t.offset=-s,t.duration=s/t.speed,t.wrapWidth=r,t.contentWidth=s}))}}),e)}},render:function(){var t=this,e=arguments[0],i=this.slots,n=this.mode,r=this.leftIcon,s=this.onClickIcon,o={color:this.color,background:this.background},a={transform:this.offset?"translateX("+this.offset+"px)":"",transitionDuration:this.duration+"s"};function l(){var t=i("left-icon");return t||(r?e(st,{class:No("left-icon"),attrs:{name:r}}):void 0)}function c(){var t,r=i("right-icon");return r||("closeable"===n?t="cross":"link"===n&&(t="arrow"),t?e(st,{class:No("right-icon"),attrs:{name:t},on:{click:s}}):void 0)}return e("div",{attrs:{role:"alert"},directives:[{name:"show",value:this.show}],class:No({wrapable:this.wrapable}),style:o,on:{click:function(e){t.$emit("click",e)}}},[l(),e("div",{ref:"wrap",class:No("wrap"),attrs:{role:"marquee"}},[e("div",{ref:"content",class:[No("content"),{"van-ellipsis":!1===this.scrollable&&!this.wrapable}],style:a,on:{transitionend:this.onTransitionEnd}},[this.slots()||this.text])]),c()])}}),Mo=Object(l.a)("notify"),zo=Mo[0],Fo=Mo[1];function Vo(t,e,i,n){var r={color:e.color,background:e.background};return t(ct,s()([{attrs:{value:e.value,position:"top",overlay:!1,duration:.2,lockScroll:!1},style:r,class:[Fo([e.type]),e.className]},h(n,!0)]),[(null==i.default?void 0:i.default())||e.message])}Vo.props=n({},K,{color:String,message:[Number,String],duration:[Number,String],className:null,background:String,getContainer:[String,Function],type:{type:String,default:"danger"}});var Ro,Ho,_o=zo(Vo);function Wo(t){var e;if(!m.h)return Ho||(Ho=f(_o,{on:{click:function(t){Ho.onClick&&Ho.onClick(t)},close:function(){Ho.onClose&&Ho.onClose()},opened:function(){Ho.onOpened&&Ho.onOpened()}}})),t=n({},Wo.currentOptions,(e=t,Object(m.f)(e)?e:{message:e})),n(Ho,t),clearTimeout(Ro),t.duration&&t.duration>0&&(Ro=setTimeout(Wo.clear,t.duration)),Ho}Wo.clear=function(){Ho&&(Ho.value=!1)},Wo.currentOptions={type:"danger",value:!0,message:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:null,onClick:null,onOpened:null},Wo.setDefaultOptions=function(t){n(Wo.currentOptions,t)},Wo.resetDefaultOptions=function(){Wo.currentOptions={type:"danger",value:!0,message:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:null,onClick:null,onOpened:null}},Wo.install=function(){a.a.use(_o)},Wo.Component=_o,a.a.prototype.$notify=Wo;var qo=Wo,Ko={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 32 22",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M28.016 0A3.991 3.991 0 0132 3.987v14.026c0 2.2-1.787 3.987-3.98 3.987H10.382c-.509 0-.996-.206-1.374-.585L.89 13.09C.33 12.62 0 11.84 0 11.006c0-.86.325-1.62.887-2.08L9.01.585A1.936 1.936 0 0110.383 0zm0 1.947H10.368L2.24 10.28c-.224.226-.312.432-.312.73 0 .287.094.51.312.729l8.128 8.333h17.648a2.041 2.041 0 002.037-2.04V3.987c0-1.127-.915-2.04-2.037-2.04zM23.028 6a.96.96 0 01.678.292.95.95 0 01-.003 1.377l-3.342 3.348 3.326 3.333c.189.188.292.43.292.679 0 .248-.103.49-.292.679a.96.96 0 01-.678.292.959.959 0 01-.677-.292L18.99 12.36l-3.343 3.345a.96.96 0 01-.677.292.96.96 0 01-.678-.292.962.962 0 01-.292-.68c0-.248.104-.49.292-.679l3.342-3.348-3.342-3.348A.963.963 0 0114 6.971c0-.248.104-.49.292-.679A.96.96 0 0114.97 6a.96.96 0 01.677.292l3.358 3.348 3.345-3.348A.96.96 0 0123.028 6z",fill:"currentColor"}})])}},Uo={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 30 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M25.877 12.843h-1.502c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.5c.187 0 .187 0 .187-.188v-1.511c0-.19 0-.191-.185-.191zM17.999 10.2c0 .188 0 .188.188.188h1.687c.188 0 .188 0 .188-.188V8.688c0-.187.004-.187-.186-.19h-1.69c-.187 0-.187 0-.187.19V10.2zm2.25-3.967h1.5c.188 0 .188 0 .188-.188v-1.7c0-.19 0-.19-.188-.19h-1.5c-.189 0-.189 0-.189.19v1.7c0 .188 0 .188.19.188zm2.063 4.157h3.563c.187 0 .187 0 .187-.189V4.346c0-.19.004-.19-.185-.19h-1.69c-.187 0-.187 0-.187.188v4.155h-1.688c-.187 0-.187 0-.187.189v1.514c0 .19 0 .19.187.19zM14.812 24l2.812-3.4H12l2.813 3.4zm-9-11.157H4.31c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.502c.187 0 .187 0 .187-.188v-1.511c0-.19.01-.191-.189-.191zm15.937 0H8.25c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h13.5c.188 0 .188 0 .188-.188v-1.511c0-.19 0-.191-.188-.191zm-11.438-2.454h1.5c.188 0 .188 0 .188-.188V8.688c0-.187 0-.187-.188-.189h-1.5c-.187 0-.187 0-.187.189V10.2c0 .188 0 .188.187.188zM27.94 0c.563 0 .917.21 1.313.567.518.466.748.757.748 1.51v14.92c0 .567-.188 1.134-.562 1.512-.376.378-.938.566-1.313.566H2.063c-.563 0-.938-.188-1.313-.566-.562-.378-.75-.945-.75-1.511V2.078C0 1.51.188.944.562.567.938.189 1.5 0 1.875 0zm-.062 2H2v14.92h25.877V2zM5.81 4.157c.19 0 .19 0 .19.189v1.762c-.003.126-.024.126-.188.126H4.249c-.126-.003-.126-.023-.126-.188v-1.7c-.187-.19 0-.19.188-.19zm10.5 2.077h1.503c.187 0 .187 0 .187-.188v-1.7c0-.19 0-.19-.187-.19h-1.502c-.188 0-.188.001-.188.19v1.7c0 .188 0 .188.188.188zM7.875 8.5c.187 0 .187.002.187.189V10.2c0 .188 0 .188-.187.188H4.249c-.126-.002-.126-.023-.126-.188V8.625c.003-.126.024-.126.188-.126zm7.875 0c.19.002.19.002.19.189v1.575c-.003.126-.024.126-.19.126h-1.563c-.126-.002-.126-.023-.126-.188V8.625c.002-.126.023-.126.189-.126zm-6-4.342c.187 0 .187 0 .187.189v1.7c0 .188 0 .188-.187.188H8.187c-.126-.003-.126-.023-.126-.188V4.283c.003-.126.024-.126.188-.126zm3.94 0c.185 0 .372 0 .372.189v1.762c-.002.126-.023.126-.187.126h-1.75C12 6.231 12 6.211 12 6.046v-1.7c0-.19.187-.19.187-.19z",fill:"currentColor"}})])}},Yo=Object(l.a)("key"),Xo=Yo[0],Qo=Yo[1],Go=Xo({mixins:[R],props:{type:String,text:[Number,String],color:String,wider:Boolean,large:Boolean,loading:Boolean},data:function(){return{active:!1}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{onTouchStart:function(t){t.stopPropagation(),this.touchStart(t),this.active=!0},onTouchMove:function(t){this.touchMove(t),this.direction&&(this.active=!1)},onTouchEnd:function(t){this.active&&(this.slots("default")||t.preventDefault(),this.active=!1,this.$emit("press",this.text,this.type))},genContent:function(){var t=this.$createElement,e="extra"===this.type,i="delete"===this.type,n=this.slots("default")||this.text;return this.loading?t(vt,{class:Qo("loading-icon")}):i?n||t(Ko,{class:Qo("delete-icon")}):e?n||t(Uo,{class:Qo("collapse-icon")}):n}},render:function(){var t=arguments[0];return t("div",{class:Qo("wrapper",{wider:this.wider})},[t("div",{attrs:{role:"button",tabindex:"0"},class:Qo([this.color,{large:this.large,active:this.active,delete:"delete"===this.type}])},[this.genContent()])])}}),Zo=Object(l.a)("number-keyboard"),Jo=Zo[0],ta=Zo[1],ea=Jo({mixins:[H(),W((function(t){this.hideOnClickOutside&&t(document.body,"touchstart",this.onBlur)}))],model:{event:"update:value"},props:{show:Boolean,title:String,zIndex:[Number,String],randomKeyOrder:Boolean,closeButtonText:String,deleteButtonText:String,closeButtonLoading:Boolean,theme:{type:String,default:"default"},value:{type:String,default:""},extraKey:{type:[String,Array],default:""},maxlength:{type:[Number,String],default:Number.MAX_VALUE},transition:{type:Boolean,default:!0},showDeleteKey:{type:Boolean,default:!0},hideOnClickOutside:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0}},watch:{show:function(t){this.transition||this.$emit(t?"show":"hide")}},computed:{keys:function(){return"custom"===this.theme?this.genCustomKeys():this.genDefaultKeys()}},methods:{genBasicKeys:function(){for(var t=[],e=1;e<=9;e++)t.push({text:e});return this.randomKeyOrder&&t.sort((function(){return Math.random()>.5?1:-1})),t},genDefaultKeys:function(){return[].concat(this.genBasicKeys(),[{text:this.extraKey,type:"extra"},{text:0},{text:this.showDeleteKey?this.deleteButtonText:"",type:this.showDeleteKey?"delete":""}])},genCustomKeys:function(){var t=this.genBasicKeys(),e=this.extraKey,i=Array.isArray(e)?e:[e];return 1===i.length?t.push({text:0,wider:!0},{text:i[0],type:"extra"}):2===i.length&&t.push({text:i[0],type:"extra"},{text:0},{text:i[1],type:"extra"}),t},onBlur:function(){this.show&&this.$emit("blur")},onClose:function(){this.$emit("close"),this.onBlur()},onAnimationEnd:function(){this.$emit(this.show?"show":"hide")},onPress:function(t,e){if(""!==t){var i=this.value;"delete"===e?(this.$emit("delete"),this.$emit("update:value",i.slice(0,i.length-1))):"close"===e?this.onClose():i.lengthe&&(n=(r=e)-i+1);for(var o=n;o<=r;o++){var a=oa(o,o,o===this.value);t.push(a)}if(s&&i>0&&this.forceEllipses){if(n>1){var l=oa(n-1,"...",!1);t.unshift(l)}if(r=0&&t<=100}},showPivot:{type:Boolean,default:!0}},data:function(){return{pivotWidth:0,progressWidth:0}},mounted:function(){this.resize()},watch:{showPivot:"resize",pivotText:"resize"},methods:{resize:function(){var t=this;this.$nextTick((function(){t.progressWidth=t.$el.offsetWidth,t.pivotWidth=t.$refs.pivot?t.$refs.pivot.offsetWidth:0}))}},render:function(){var t=arguments[0],e=this.pivotText,i=this.percentage,n=null!=e?e:i+"%",r=this.showPivot&&n,s=this.inactive?"#cacaca":this.color,o={color:this.textColor,left:(this.progressWidth-this.pivotWidth)*i/100+"px",background:this.pivotColor||s},a={background:s,width:this.progressWidth*i/100+"px"},l={background:this.trackColor,height:Object(Y.a)(this.strokeWidth)};return t("div",{class:Oa(),style:l},[t("span",{class:Oa("portion"),style:a},[r&&t("span",{ref:"pivot",style:o,class:Oa("pivot")},[n])])])}}),$a=Object(l.a)("pull-refresh"),Ba=$a[0],Ia=$a[1],Da=$a[2],Ea=["pulling","loosing","success"],ja=Ba({mixins:[R],props:{disabled:Boolean,successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:[Number,String],value:{type:Boolean,required:!0},successDuration:{type:[Number,String],default:500},animationDuration:{type:[Number,String],default:300},headHeight:{type:[Number,String],default:50}},data:function(){return{status:"normal",distance:0,duration:0}},computed:{touchable:function(){return"loading"!==this.status&&"success"!==this.status&&!this.disabled},headStyle:function(){if(50!==this.headHeight)return{height:this.headHeight+"px"}}},watch:{value:function(t){this.duration=this.animationDuration,t?this.setStatus(+this.headHeight,!0):this.slots("success")||this.successText?this.showSuccessTip():this.setStatus(0,!1)}},mounted:function(){this.bindTouchEvent(this.$refs.track),this.scrollEl=N(this.$el)},methods:{checkPullStart:function(t){this.ceiling=0===A(this.scrollEl),this.ceiling&&(this.duration=0,this.touchStart(t))},onTouchStart:function(t){this.touchable&&this.checkPullStart(t)},onTouchMove:function(t){this.touchable&&(this.ceiling||this.checkPullStart(t),this.touchMove(t),this.ceiling&&this.deltaY>=0&&"vertical"===this.direction&&(k(t),this.setStatus(this.ease(this.deltaY))))},onTouchEnd:function(){var t=this;this.touchable&&this.ceiling&&this.deltaY&&(this.duration=this.animationDuration,"loosing"===this.status?(this.setStatus(+this.headHeight,!0),this.$emit("input",!0),this.$nextTick((function(){t.$emit("refresh")}))):this.setStatus(0))},ease:function(t){var e=+(this.pullDistance||this.headHeight);return t>e&&(t=t<2*e?e+(t-e)/2:1.5*e+(t-2*e)/4),Math.round(t)},setStatus:function(t,e){var i;i=e?"loading":0===t?"normal":t<(this.pullDistance||this.headHeight)?"pulling":"loosing",this.distance=t,i!==this.status&&(this.status=i)},genStatus:function(){var t=this.$createElement,e=this.status,i=this.distance,n=this.slots(e,{distance:i});if(n)return n;var r=[],s=this[e+"Text"]||Da(e);return-1!==Ea.indexOf(e)&&r.push(t("div",{class:Ia("text")},[s])),"loading"===e&&r.push(t(vt,{attrs:{size:"16"}},[s])),r},showSuccessTip:function(){var t=this;this.status="success",setTimeout((function(){t.setStatus(0)}),this.successDuration)}},render:function(){var t=arguments[0],e={transitionDuration:this.duration+"ms",transform:this.distance?"translate3d(0,"+this.distance+"px, 0)":""};return t("div",{class:Ia()},[t("div",{ref:"track",class:Ia("track"),style:e},[t("div",{class:Ia("head"),style:this.headStyle},[this.genStatus()]),this.slots()])])}}),Pa=Object(l.a)("rate"),La=Pa[0],Na=Pa[1];var Aa=La({mixins:[R,ti],props:{size:[Number,String],color:String,gutter:[Number,String],readonly:Boolean,disabled:Boolean,allowHalf:Boolean,voidColor:String,iconPrefix:String,disabledColor:String,value:{type:Number,default:0},icon:{type:String,default:"star"},voidIcon:{type:String,default:"star-o"},count:{type:[Number,String],default:5},touchable:{type:Boolean,default:!0}},computed:{list:function(){for(var t,e,i,n=[],r=1;r<=this.count;r++)n.push((t=this.value,e=r,i=this.allowHalf,t>=e?"full":t+.5>=e&&i?"half":"void"));return n},sizeWithUnit:function(){return Object(Y.a)(this.size)},gutterWithUnit:function(){return Object(Y.a)(this.gutter)}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{select:function(t){this.disabled||this.readonly||t===this.value||(this.$emit("input",t),this.$emit("change",t))},onTouchStart:function(t){var e=this;if(!this.readonly&&!this.disabled&&this.touchable){this.touchStart(t);var i=this.$refs.items.map((function(t){return t.getBoundingClientRect()})),n=[];i.forEach((function(t,i){e.allowHalf?n.push({score:i+.5,left:t.left},{score:i+1,left:t.left+t.width/2}):n.push({score:i+1,left:t.left})})),this.ranges=n}},onTouchMove:function(t){if(!this.readonly&&!this.disabled&&this.touchable&&(this.touchMove(t),"horizontal"===this.direction)){k(t);var e=t.touches[0].clientX;this.select(this.getScoreByPosition(e))}},getScoreByPosition:function(t){for(var e=this.ranges.length-1;e>0;e--)if(t>this.ranges[e].left)return this.ranges[e].score;return this.allowHalf?.5:1},genStar:function(t,e){var i,n=this,r=this.$createElement,s=this.icon,o=this.color,a=this.count,l=this.voidIcon,c=this.disabled,u=this.voidColor,h=this.disabledColor,d=e+1,f="full"===t,p="void"===t;return this.gutterWithUnit&&d!==+a&&(i={paddingRight:this.gutterWithUnit}),r("div",{ref:"items",refInFor:!0,key:e,attrs:{role:"radio",tabindex:"0","aria-setsize":a,"aria-posinset":d,"aria-checked":String(!p)},style:i,class:Na("item")},[r(st,{attrs:{size:this.sizeWithUnit,name:f?s:l,color:c?h:f?o:u,classPrefix:this.iconPrefix,"data-score":d},class:Na("icon",{disabled:c,full:f}),on:{click:function(){n.select(d)}}}),this.allowHalf&&r(st,{attrs:{size:this.sizeWithUnit,name:p?l:s,color:c?h:p?u:o,classPrefix:this.iconPrefix,"data-score":d-.5},class:Na("icon",["half",{disabled:c,full:!p}]),on:{click:function(){n.select(d-.5)}}})])}},render:function(){var t=this,e=arguments[0];return e("div",{class:Na({readonly:this.readonly,disabled:this.disabled}),attrs:{tabindex:"0",role:"radiogroup"}},[this.list.map((function(e,i){return t.genStar(e,i)}))])}}),Ma=Object(l.a)("row"),za=Ma[0],Fa=Ma[1],Va=za({mixins:[De("vanRow")],props:{type:String,align:String,justify:String,tag:{type:String,default:"div"},gutter:{type:[Number,String],default:0}},computed:{spaces:function(){var t=Number(this.gutter);if(t){var e=[],i=[[]],n=0;return this.children.forEach((function(t,e){(n+=Number(t.span))>24?(i.push([e]),n-=24):i[i.length-1].push(e)})),i.forEach((function(i){var n=t*(i.length-1)/i.length;i.forEach((function(i,r){if(0===r)e.push({right:n});else{var s=t-e[i-1].right,o=n-s;e.push({left:s,right:o})}}))})),e}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=arguments[0],i=this.align,n=this.justify,r="flex"===this.type;return e(this.tag,{class:Fa((t={flex:r},t["align-"+i]=r&&i,t["justify-"+n]=r&&n,t)),on:{click:this.onClick}},[this.slots()])}}),Ra=Object(l.a)("search"),Ha=Ra[0],_a=Ra[1],Wa=Ra[2];function qa(t,e,i,r){var o={attrs:r.data.attrs,on:n({},r.listeners,{keypress:function(t){13===t.keyCode&&(k(t),d(r,"search",e.value)),d(r,"keypress",t)}})},a=h(r);return a.attrs=void 0,t("div",s()([{class:_a({"show-action":e.showAction}),style:{background:e.background}},a]),[null==i.left?void 0:i.left(),t("div",{class:_a("content",e.shape)},[function(){if(i.label||e.label)return t("div",{class:_a("label")},[i.label?i.label():e.label])}(),t(le,s()([{attrs:{type:"search",border:!1,value:e.value,leftIcon:e.leftIcon,rightIcon:e.rightIcon,clearable:e.clearable,clearTrigger:e.clearTrigger},scopedSlots:{"left-icon":i["left-icon"],"right-icon":i["right-icon"]}},o]))]),function(){if(e.showAction)return t("div",{class:_a("action"),attrs:{role:"button",tabindex:"0"},on:{click:function(){i.action||(d(r,"input",""),d(r,"cancel"))}}},[i.action?i.action():e.actionText||Wa("cancel")])}()])}qa.props={value:String,label:String,rightIcon:String,actionText:String,background:String,showAction:Boolean,clearTrigger:String,shape:{type:String,default:"square"},clearable:{type:Boolean,default:!0},leftIcon:{type:String,default:"search"}};var Ka=Ha(qa),Ua=["qq","link","weibo","wechat","poster","qrcode","weapp-qrcode","wechat-moments"],Ya=Object(l.a)("share-sheet"),Xa=Ya[0],Qa=Ya[1],Ga=Ya[2],Za=Xa({props:n({},K,{title:String,duration:String,cancelText:String,description:String,getContainer:[String,Function],options:{type:Array,default:function(){return[]}},overlay:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}}),methods:{onCancel:function(){this.toggle(!1),this.$emit("cancel")},onSelect:function(t,e){this.$emit("select",t,e)},toggle:function(t){this.$emit("input",t)},getIconURL:function(t){return-1!==Ua.indexOf(t)?"https://img01.yzcdn.cn/vant/share-sheet-"+t+".png":t},genHeader:function(){var t=this.$createElement,e=this.slots("title")||this.title,i=this.slots("description")||this.description;if(e||i)return t("div",{class:Qa("header")},[e&&t("h2",{class:Qa("title")},[e]),i&&t("span",{class:Qa("description")},[i])])},genOptions:function(t,e){var i=this,n=this.$createElement;return n("div",{class:Qa("options",{border:e})},[t.map((function(t,e){return n("div",{attrs:{role:"button",tabindex:"0"},class:[Qa("option"),t.className],on:{click:function(){i.onSelect(t,e)}}},[n("img",{attrs:{src:i.getIconURL(t.icon)},class:Qa("icon")}),t.name&&n("span",{class:Qa("name")},[t.name]),t.description&&n("span",{class:Qa("option-description")},[t.description])])}))])},genRows:function(){var t=this,e=this.options;return Array.isArray(e[0])?e.map((function(e,i){return t.genOptions(e,0!==i)})):this.genOptions(e)},genCancelText:function(){var t,e=this.$createElement,i=null!=(t=this.cancelText)?t:Ga("cancel");if(i)return e("button",{attrs:{type:"button"},class:Qa("cancel"),on:{click:this.onCancel}},[i])},onClickOverlay:function(){this.$emit("click-overlay")}},render:function(){var t=arguments[0];return t(ct,{attrs:{round:!0,value:this.value,position:"bottom",overlay:this.overlay,duration:this.duration,lazyRender:this.lazyRender,lockScroll:this.lockScroll,getContainer:this.getContainer,closeOnPopstate:this.closeOnPopstate,closeOnClickOverlay:this.closeOnClickOverlay,safeAreaInsetBottom:this.safeAreaInsetBottom},class:Qa(),on:{input:this.toggle,"click-overlay":this.onClickOverlay}},[this.genHeader(),this.genRows(),this.genCancelText()])}}),Ja=Object(l.a)("sidebar"),tl=Ja[0],el=Ja[1],il=tl({mixins:[De("vanSidebar")],model:{prop:"activeKey"},props:{activeKey:{type:[Number,String],default:0}},data:function(){return{index:+this.activeKey}},watch:{activeKey:function(){this.setIndex(+this.activeKey)}},methods:{setIndex:function(t){t!==this.index&&(this.index=t,this.$emit("change",t))}},render:function(){var t=arguments[0];return t("div",{class:el()},[this.slots()])}}),nl=Object(l.a)("sidebar-item"),rl=nl[0],sl=nl[1],ol=rl({mixins:[Ie("vanSidebar")],props:n({},Qt,{dot:Boolean,info:[Number,String],badge:[Number,String],title:String,disabled:Boolean}),computed:{select:function(){return this.index===+this.parent.activeKey}},methods:{onClick:function(){this.disabled||(this.$emit("click",this.index),this.parent.$emit("input",this.index),this.parent.setIndex(this.index),Yt(this.$router,this))}},render:function(){var t,e,i=arguments[0];return i("a",{class:sl({select:this.select,disabled:this.disabled}),on:{click:this.onClick}},[i("div",{class:sl("text")},[null!=(t=this.slots("title"))?t:this.title,i(J,{attrs:{dot:this.dot,info:null!=(e=this.badge)?e:this.info},class:sl("info")})])])}}),al=Object(l.a)("skeleton"),ll=al[0],cl=al[1];function ul(t,e,i,n){if(!e.loading)return i.default&&i.default();return t("div",s()([{class:cl({animate:e.animate,round:e.round})},h(n)]),[function(){if(e.avatar){var i=Object(Y.a)(e.avatarSize);return t("div",{class:cl("avatar",e.avatarShape),style:{width:i,height:i}})}}(),t("div",{class:cl("content")},[function(){if(e.title)return t("h3",{class:cl("title"),style:{width:Object(Y.a)(e.titleWidth)}})}(),function(){for(var i,n=[],r=e.rowWidth,s=0;s0},yl=function(t,e){var i=function(t){var e={};return t.forEach((function(t){var i={};t.v.forEach((function(t){i[t.id]=t})),e[t.k_id]=i})),e}(t);return Object.keys(e).reduce((function(t,r){return e[r].forEach((function(e){t.push(n({},i[r][e]))})),t}),[])},Sl=function(t,e){var i=[];return(t||[]).forEach((function(t){if(e[t.k_id]&&e[t.k_id].length>0){var r=[];t.v.forEach((function(i){e[t.k_id].indexOf(i.id)>-1&&r.push(n({},i))})),i.push(n({},t,{v:r}))}})),i},kl={normalizeSkuTree:pl,getSkuComb:vl,getSelectedSkuValues:gl,isAllSelected:ml,isSkuChoosable:bl,getSelectedPropValues:yl,getSelectedProperties:Sl},xl=Object(l.a)("sku-header"),wl=xl[0],Cl=xl[1];function Ol(t,e,i,r){var o,a=e.sku,l=e.goods,c=e.skuEventBus,u=e.selectedSku,d=e.showHeaderImage,f=void 0===d||d,p=function(t,e){var i;return t.tree.some((function(t){var r=e[t.k_s];if(r&&t.v){var s=t.v.filter((function(t){return t.id===r}))[0]||{},o=s.previewImgUrl||s.imgUrl||s.img_url;if(o)return i=n({},s,{ks:t.k_s,imgUrl:o}),!0}return!1})),i}(a,u),m=p?p.imgUrl:l.picture;return t("div",s()([{class:[Cl(),$t]},h(r)]),[f&&t(sn,{attrs:{fit:"cover",src:m},class:Cl("img-wrap"),on:{click:function(){c.$emit("sku:previewImage",p)}}},[null==(o=i["sku-header-image-extra"])?void 0:o.call(i)]),t("div",{class:Cl("goods-info")},[null==i.default?void 0:i.default()])])}Ol.props={sku:Object,goods:Object,skuEventBus:Object,selectedSku:Object,showHeaderImage:Boolean};var Tl=wl(Ol),$l=Object(l.a)("sku-header-item"),Bl=$l[0],Il=$l[1];var Dl=Bl((function(t,e,i,n){return t("div",s()([{class:Il()},h(n)]),[i.default&&i.default()])})),El=Object(l.a)("sku-row"),jl=El[0],Pl=El[1],Ll=El[2],Nl=jl({mixins:[De("vanSkuRows"),W((function(t){this.scrollable&&this.$refs.scroller&&t(this.$refs.scroller,"scroll",this.onScroll)}))],props:{skuRow:Object},data:function(){return{progress:0}},computed:{scrollable:function(){return this.skuRow.largeImageMode&&this.skuRow.v.length>6}},methods:{onScroll:function(){var t=this.$refs,e=t.scroller,i=t.row.offsetWidth-e.offsetWidth;this.progress=e.scrollLeft/i},genTitle:function(){var t=this.$createElement;return t("div",{class:Pl("title")},[this.skuRow.k,this.skuRow.is_multiple&&t("span",{class:Pl("title-multiple")},["(",Ll("multiple"),")"])])},genIndicator:function(){var t=this.$createElement;if(this.scrollable){var e={transform:"translate3d("+20*this.progress+"px, 0, 0)"};return t("div",{class:Pl("indicator-wrapper")},[t("div",{class:Pl("indicator")},[t("div",{class:Pl("indicator-slider"),style:e})])])}},genContent:function(){var t=this.$createElement,e=this.slots();if(this.skuRow.largeImageMode){var i=[],n=[];return e.forEach((function(t,e){(Math.floor(e/3)%2==0?i:n).push(t)})),t("div",{class:Pl("scroller"),ref:"scroller"},[t("div",{class:Pl("row"),ref:"row"},[i]),n.length?t("div",{class:Pl("row")},[n]):null])}return e},centerItem:function(t){if(this.skuRow.largeImageMode&&t){var e=this.children,i=void 0===e?[]:e,n=this.$refs,r=n.scroller,s=n.row,o=i.find((function(e){return+e.skuValue.id==+t}));if(r&&s&&o&&o.$el){var a=o.$el,l=a.offsetLeft-(r.offsetWidth-a.offsetWidth)/2;r.scrollLeft=l}}}},render:function(){var t=arguments[0];return t("div",{class:[Pl(),$t]},[this.genTitle(),this.genContent(),this.genIndicator()])}}),Al=(0,Object(l.a)("sku-row-item")[0])({mixins:[Ie("vanSkuRows")],props:{lazyLoad:Boolean,skuValue:Object,skuKeyStr:String,skuEventBus:Object,selectedSku:Object,largeImageMode:Boolean,disableSoldoutSku:Boolean,skuList:{type:Array,default:function(){return[]}}},computed:{imgUrl:function(){var t=this.skuValue.imgUrl||this.skuValue.img_url;return this.largeImageMode?t||"https://img01.yzcdn.cn/upload_files/2020/06/24/FmKWDg0bN9rMcTp9ne8MXiQWGtLn.png":t},choosable:function(){return!this.disableSoldoutSku||bl(this.skuList,this.selectedSku,{key:this.skuKeyStr,valueId:this.skuValue.id})}},methods:{onSelect:function(){this.choosable&&this.skuEventBus.$emit("sku:select",n({},this.skuValue,{skuKeyStr:this.skuKeyStr}))},onPreviewImg:function(t){t.stopPropagation();var e=this.skuValue,i=this.skuKeyStr;this.skuEventBus.$emit("sku:previewImage",n({},e,{ks:i,imgUrl:e.imgUrl||e.img_url}))},genImage:function(t){var e=this.$createElement;if(this.imgUrl)return e(sn,{attrs:{fit:"cover",src:this.imgUrl,lazyLoad:this.lazyLoad},class:t+"-img"})}},render:function(){var t=arguments[0],e=this.skuValue.id===this.selectedSku[this.skuKeyStr],i=this.largeImageMode?Pl("image-item"):Pl("item");return t("span",{class:[i,e?i+"--active":"",this.choosable?"":i+"--disabled"],on:{click:this.onSelect}},[this.genImage(i),t("div",{class:i+"-name"},[this.largeImageMode?t("span",{class:{"van-multi-ellipsis--l2":this.largeImageMode}},[this.skuValue.name]):this.skuValue.name]),this.largeImageMode&&t(st,{attrs:{name:"enlarge"},class:i+"-img-icon",on:{click:this.onPreviewImg}})])}}),Ml=(0,Object(l.a)("sku-row-prop-item")[0])({props:{skuValue:Object,skuKeyStr:String,skuEventBus:Object,selectedProp:Object,multiple:Boolean},computed:{choosed:function(){var t=this.selectedProp,e=this.skuKeyStr,i=this.skuValue;return!(!t||!t[e])&&t[e].indexOf(i.id)>-1}},methods:{onSelect:function(){this.skuEventBus.$emit("sku:propSelect",n({},this.skuValue,{skuKeyStr:this.skuKeyStr,multiple:this.multiple}))}},render:function(){var t=arguments[0];return t("span",{class:["van-sku-row__item",{"van-sku-row__item--active":this.choosed}],on:{click:this.onSelect}},[t("span",{class:"van-sku-row__item-name"},[this.skuValue.name])])}}),zl=Object(l.a)("stepper"),Fl=zl[0],Vl=zl[1];function Rl(t,e){return String(t)===String(e)}var Hl=Fl({mixins:[ti],props:{value:null,theme:String,integer:Boolean,disabled:Boolean,allowEmpty:Boolean,inputWidth:[Number,String],buttonSize:[Number,String],asyncChange:Boolean,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,decimalLength:[Number,String],name:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:1/0},step:{type:[Number,String],default:1},defaultValue:{type:[Number,String],default:1},showPlus:{type:Boolean,default:!0},showMinus:{type:Boolean,default:!0},showInput:{type:Boolean,default:!0},longPress:{type:Boolean,default:!0}},data:function(){var t,e=null!=(t=this.value)?t:this.defaultValue,i=this.format(e);return Rl(i,this.value)||this.$emit("input",i),{currentValue:i}},computed:{minusDisabled:function(){return this.disabled||this.disableMinus||this.currentValue<=+this.min},plusDisabled:function(){return this.disabled||this.disablePlus||this.currentValue>=+this.max},inputStyle:function(){var t={};return this.inputWidth&&(t.width=Object(Y.a)(this.inputWidth)),this.buttonSize&&(t.height=Object(Y.a)(this.buttonSize)),t},buttonStyle:function(){if(this.buttonSize){var t=Object(Y.a)(this.buttonSize);return{width:t,height:t}}}},watch:{max:"check",min:"check",integer:"check",decimalLength:"check",value:function(t){Rl(t,this.currentValue)||(this.currentValue=this.format(t))},currentValue:function(t){this.$emit("input",t),this.$emit("change",t,{name:this.name})}},methods:{check:function(){var t=this.format(this.currentValue);Rl(t,this.currentValue)||(this.currentValue=t)},formatNumber:function(t){return jt(String(t),!this.integer)},format:function(t){return this.allowEmpty&&""===t||(t=""===(t=this.formatNumber(t))?0:+t,t=Object(Li.a)(t)?this.min:t,t=Math.max(Math.min(this.max,t),this.min),Object(m.c)(this.decimalLength)&&(t=t.toFixed(this.decimalLength))),t},onInput:function(t){var e=t.target.value,i=this.formatNumber(e);if(Object(m.c)(this.decimalLength)&&-1!==i.indexOf(".")){var n=i.split(".");i=n[0]+"."+n[1].slice(0,this.decimalLength)}Rl(e,i)||(t.target.value=i),i===String(+i)&&(i=+i),this.emitChange(i)},emitChange:function(t){this.asyncChange?(this.$emit("input",t),this.$emit("change",t,{name:this.name})):this.currentValue=t},onChange:function(){var t=this.type;if(this[t+"Disabled"])this.$emit("overlimit",t);else{var e,i,n,r="minus"===t?-this.step:+this.step,s=this.format((e=+this.currentValue,i=r,n=Math.pow(10,10),Math.round((e+i)*n)/n));this.emitChange(s),this.$emit(t)}},onFocus:function(t){this.disableInput&&this.$refs.input?this.$refs.input.blur():this.$emit("focus",t)},onBlur:function(t){var e=this.format(t.target.value);t.target.value=e,this.currentValue=e,this.$emit("blur",t),re()},longPressStep:function(){var t=this;this.longPressTimer=setTimeout((function(){t.onChange(),t.longPressStep(t.type)}),200)},onTouchStart:function(){var t=this;this.longPress&&(clearTimeout(this.longPressTimer),this.isLongPress=!1,this.longPressTimer=setTimeout((function(){t.isLongPress=!0,t.onChange(),t.longPressStep()}),600))},onTouchEnd:function(t){this.longPress&&(clearTimeout(this.longPressTimer),this.isLongPress&&k(t))},onMousedown:function(t){this.disableInput&&t.preventDefault()}},render:function(){var t=this,e=arguments[0],i=function(e){return{on:{click:function(i){i.preventDefault(),t.type=e,t.onChange()},touchstart:function(){t.type=e,t.onTouchStart()},touchend:t.onTouchEnd,touchcancel:t.onTouchEnd}}};return e("div",{class:Vl([this.theme])},[e("button",s()([{directives:[{name:"show",value:this.showMinus}],attrs:{type:"button"},style:this.buttonStyle,class:Vl("minus",{disabled:this.minusDisabled})},i("minus")])),e("input",{directives:[{name:"show",value:this.showInput}],ref:"input",attrs:{type:this.integer?"tel":"text",role:"spinbutton",disabled:this.disabled,readonly:this.disableInput,inputmode:this.integer?"numeric":"decimal",placeholder:this.placeholder,"aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.currentValue},class:Vl("input"),domProps:{value:this.currentValue},style:this.inputStyle,on:{input:this.onInput,focus:this.onFocus,blur:this.onBlur,mousedown:this.onMousedown}}),e("button",s()([{directives:[{name:"show",value:this.showPlus}],attrs:{type:"button"},style:this.buttonStyle,class:Vl("plus",{disabled:this.plusDisabled})},i("plus")]))])}}),_l=Object(l.a)("sku-stepper"),Wl=_l[0],ql=_l[2],Kl=dl.QUOTA_LIMIT,Ul=dl.STOCK_LIMIT,Yl=Wl({props:{stock:Number,skuEventBus:Object,skuStockNum:Number,selectedNum:Number,stepperTitle:String,disableStepperInput:Boolean,customStepperConfig:Object,hideQuotaText:Boolean,quota:{type:Number,default:0},quotaUsed:{type:Number,default:0},startSaleNum:{type:Number,default:1}},data:function(){return{currentNum:this.selectedNum,limitType:Ul}},watch:{currentNum:function(t){var e=parseInt(t,10);e>=this.stepperMinLimit&&e<=this.stepperLimit&&this.skuEventBus.$emit("sku:numChange",e)},stepperLimit:function(t){tthis.currentNum||t>this.stepperLimit)&&(this.currentNum=t),this.checkState(t,this.stepperLimit)}},computed:{stepperLimit:function(){var t,e=this.quota-this.quotaUsed;return this.quota>0&&e<=this.stock?(t=e<0?0:e,this.limitType=Kl):(t=this.stock,this.limitType=Ul),t},stepperMinLimit:function(){return this.startSaleNum<1?1:this.startSaleNum},quotaText:function(){var t=this.customStepperConfig,e=t.quotaText;if(t.hideQuotaText)return"";var i="";if(e)i=e;else{var n=[];this.startSaleNum>1&&n.push(ql("quotaStart",this.startSaleNum)),this.quota>0&&n.push(ql("quotaLimit",this.quota)),i=n.join(ql("comma"))}return i}},created:function(){this.checkState(this.stepperMinLimit,this.stepperLimit)},methods:{setCurrentNum:function(t){this.currentNum=t,this.checkState(this.stepperMinLimit,this.stepperLimit)},onOverLimit:function(t){this.skuEventBus.$emit("sku:overLimit",{action:t,limitType:this.limitType,quota:this.quota,quotaUsed:this.quotaUsed,startSaleNum:this.startSaleNum})},onChange:function(t){var e=parseInt(t,10),i=this.customStepperConfig.handleStepperChange;i&&i(e),this.$emit("change",e)},checkState:function(t,e){this.currentNume?this.currentNum=t:this.currentNum>e&&(this.currentNum=e),this.skuEventBus.$emit("sku:stepperState",{valid:t<=e,min:t,max:e,limitType:this.limitType,quota:this.quota,quotaUsed:this.quotaUsed,startSaleNum:this.startSaleNum})}},render:function(){var t=this,e=arguments[0];return e("div",{class:"van-sku-stepper-stock"},[e("div",{class:"van-sku__stepper-title"},[this.stepperTitle||ql("num")]),e(Hl,{attrs:{integer:!0,min:this.stepperMinLimit,max:this.stepperLimit,disableInput:this.disableStepperInput},class:"van-sku__stepper",on:{overlimit:this.onOverLimit,change:this.onChange},model:{value:t.currentNum,callback:function(e){t.currentNum=e}}}),!this.hideQuotaText&&this.quotaText&&e("span",{class:"van-sku__stepper-quota"},["(",this.quotaText,")"])])}});function Xl(t){return/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(t)}function Ql(t){return Array.isArray(t)?t:[t]}function Gl(t,e){return new Promise((function(i){if("file"!==e){var n=new FileReader;n.onload=function(t){i(t.target.result)},"dataUrl"===e?n.readAsDataURL(t):"text"===e&&n.readAsText(t)}else i(null)}))}function Zl(t,e){return Ql(t).some((function(t){return!!t&&(Object(m.e)(e)?e(t):t.size>e)}))}var Jl=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;function tc(t){return!!t.isImage||(t.file&&t.file.type?0===t.file.type.indexOf("image"):t.url?(e=t.url,Jl.test(e)):!!t.content&&0===t.content.indexOf("data:image"));var e}var ec=Object(l.a)("uploader"),ic=ec[0],nc=ec[1],rc=ic({inheritAttrs:!1,mixins:[ti],model:{prop:"fileList"},props:{disabled:Boolean,lazyLoad:Boolean,uploadText:String,afterRead:Function,beforeRead:Function,beforeDelete:Function,previewSize:[Number,String],previewOptions:Object,name:{type:[Number,String],default:""},accept:{type:String,default:"image/*"},fileList:{type:Array,default:function(){return[]}},maxSize:{type:[Number,String,Function],default:Number.MAX_VALUE},maxCount:{type:[Number,String],default:Number.MAX_VALUE},deletable:{type:Boolean,default:!0},showUpload:{type:Boolean,default:!0},previewImage:{type:Boolean,default:!0},previewFullImage:{type:Boolean,default:!0},imageFit:{type:String,default:"cover"},resultType:{type:String,default:"dataUrl"},uploadIcon:{type:String,default:"photograph"}},computed:{previewSizeWithUnit:function(){return Object(Y.a)(this.previewSize)},value:function(){return this.fileList}},methods:{getDetail:function(t){return void 0===t&&(t=this.fileList.length),{name:this.name,index:t}},onChange:function(t){var e=this,i=t.target.files;if(!this.disabled&&i.length){if(i=1===i.length?i[0]:[].slice.call(i),this.beforeRead){var n=this.beforeRead(i,this.getDetail());if(!n)return void this.resetInput();if(Object(m.g)(n))return void n.then((function(t){t?e.readFile(t):e.readFile(i)})).catch(this.resetInput)}this.readFile(i)}},readFile:function(t){var e=this,i=Zl(t,this.maxSize);if(Array.isArray(t)){var n=this.maxCount-this.fileList.length;t.length>n&&(t=t.slice(0,n)),Promise.all(t.map((function(t){return Gl(t,e.resultType)}))).then((function(n){var r=t.map((function(t,e){var i={file:t,status:"",message:""};return n[e]&&(i.content=n[e]),i}));e.onAfterRead(r,i)}))}else Gl(t,this.resultType).then((function(n){var r={file:t,status:"",message:""};n&&(r.content=n),e.onAfterRead(r,i)}))},onAfterRead:function(t,e){var i=this;this.resetInput();var n=t;if(e){var r=t;Array.isArray(t)?(r=[],n=[],t.forEach((function(t){t.file&&(Zl(t.file,i.maxSize)?r.push(t):n.push(t))}))):n=null,this.$emit("oversize",r,this.getDetail())}(Array.isArray(n)?Boolean(n.length):Boolean(n))&&(this.$emit("input",[].concat(this.fileList,Ql(n))),this.afterRead&&this.afterRead(n,this.getDetail()))},onDelete:function(t,e){var i,n=this,r=null!=(i=t.beforeDelete)?i:this.beforeDelete;if(r){var s=r(t,this.getDetail(e));if(!s)return;if(Object(m.g)(s))return void s.then((function(){n.deleteFile(t,e)})).catch(m.i)}this.deleteFile(t,e)},deleteFile:function(t,e){var i=this.fileList.slice(0);i.splice(e,1),this.$emit("input",i),this.$emit("delete",t,this.getDetail(e))},resetInput:function(){this.$refs.input&&(this.$refs.input.value="")},onPreviewImage:function(t){var e=this;if(this.previewFullImage){var i=this.fileList.filter((function(t){return tc(t)})),r=i.map((function(t){return t.content||t.url}));this.imagePreview=ho(n({images:r,startPosition:i.indexOf(t),onClose:function(){e.$emit("close-preview")}},this.previewOptions))}},closeImagePreview:function(){this.imagePreview&&this.imagePreview.close()},chooseFile:function(){this.disabled||this.$refs.input&&this.$refs.input.click()},genPreviewMask:function(t){var e=this.$createElement,i=t.status,n=t.message;if("uploading"===i||"failed"===i){var r="failed"===i?e(st,{attrs:{name:"close"},class:nc("mask-icon")}):e(vt,{class:nc("loading")}),s=Object(m.c)(n)&&""!==n;return e("div",{class:nc("mask")},[r,s&&e("div",{class:nc("mask-message")},[n])])}},genPreviewItem:function(t,e){var i,r,s,o=this,a=this.$createElement,l=null!=(i=t.deletable)?i:this.deletable,c="uploading"!==t.status&&l&&a("div",{class:nc("preview-delete"),on:{click:function(i){i.stopPropagation(),o.onDelete(t,e)}}},[a(st,{attrs:{name:"cross"},class:nc("preview-delete-icon")})]),u=this.slots("preview-cover",n({index:e},t)),h=u&&a("div",{class:nc("preview-cover")},[u]),d=null!=(r=t.previewSize)?r:this.previewSize,f=null!=(s=t.imageFit)?s:this.imageFit,p=tc(t)?a(sn,{attrs:{fit:f,src:t.content||t.url,width:d,height:d,lazyLoad:this.lazyLoad},class:nc("preview-image"),on:{click:function(){o.onPreviewImage(t)}}},[h]):a("div",{class:nc("file"),style:{width:this.previewSizeWithUnit,height:this.previewSizeWithUnit}},[a(st,{class:nc("file-icon"),attrs:{name:"description"}}),a("div",{class:[nc("file-name"),"van-ellipsis"]},[t.file?t.file.name:t.url]),h]);return a("div",{class:nc("preview"),on:{click:function(){o.$emit("click-preview",t,o.getDetail(e))}}},[p,this.genPreviewMask(t),c])},genPreviewList:function(){if(this.previewImage)return this.fileList.map(this.genPreviewItem)},genUpload:function(){var t=this.$createElement;if(!(this.fileList.length>=this.maxCount)&&this.showUpload){var e,i=this.slots(),r=t("input",{attrs:n({},this.$attrs,{type:"file",accept:this.accept,disabled:this.disabled}),ref:"input",class:nc("input"),on:{change:this.onChange}});if(i)return t("div",{class:nc("input-wrapper"),key:"input-wrapper"},[i,r]);if(this.previewSize){var s=this.previewSizeWithUnit;e={width:s,height:s}}return t("div",{class:nc("upload"),style:e},[t(st,{attrs:{name:this.uploadIcon},class:nc("upload-icon")}),this.uploadText&&t("span",{class:nc("upload-text")},[this.uploadText]),r])}}},render:function(){var t=arguments[0];return t("div",{class:nc()},[t("div",{class:nc("wrapper",{disabled:this.disabled})},[this.genPreviewList(),this.genUpload()])])}}),sc=Object(l.a)("sku-img-uploader"),oc=sc[0],ac=sc[2],lc=oc({props:{value:String,uploadImg:Function,maxSize:{type:Number,default:6}},data:function(){return{fileList:[]}},watch:{value:function(t){this.fileList=t?[{url:t,isImage:!0}]:[]}},methods:{afterReadFile:function(t){var e=this;t.status="uploading",t.message=ac("uploading"),this.uploadImg(t.file,t.content).then((function(i){t.status="done",e.$emit("input",i)})).catch((function(){t.status="failed",t.message=ac("fail")}))},onOversize:function(){this.$toast(ac("oversize",this.maxSize))},onDelete:function(){this.$emit("input","")}},render:function(){var t=this,e=arguments[0];return e(rc,{attrs:{maxCount:1,afterRead:this.afterReadFile,maxSize:1024*this.maxSize*1024},on:{oversize:this.onOversize,delete:this.onDelete},model:{value:t.fileList,callback:function(e){t.fileList=e}}})}});var cc=Object(l.a)("sku-datetime-field"),uc=cc[0],hc=cc[2],dc=uc({props:{value:String,label:String,required:Boolean,placeholder:String,type:{type:String,default:"date"}},data:function(){return{showDatePicker:!1,currentDate:"time"===this.type?"":new Date,minDate:new Date((new Date).getFullYear()-60,0,1)}},watch:{value:function(t){switch(this.type){case"time":this.currentDate=t;break;case"date":case"datetime":this.currentDate=((e=t)?new Date(e.replace(/-/g,"/")):null)||new Date}var e}},computed:{title:function(){return hc("title."+this.type)}},methods:{onClick:function(){this.showDatePicker=!0},onConfirm:function(t){var e=t;"time"!==this.type&&(e=function(t,e){if(void 0===e&&(e="date"),!t)return"";var i=t.getFullYear(),n=t.getMonth()+1,r=t.getDate(),s=i+"-"+Object(Pr.b)(n)+"-"+Object(Pr.b)(r);if("datetime"===e){var o=t.getHours(),a=t.getMinutes();s+=" "+Object(Pr.b)(o)+":"+Object(Pr.b)(a)}return s}(t,this.type)),this.$emit("input",e),this.showDatePicker=!1},onCancel:function(){this.showDatePicker=!1},formatter:function(t,e){return""+e+hc("format."+t)}},render:function(){var t=this,e=arguments[0];return e(le,{attrs:{readonly:!0,"is-link":!0,center:!0,value:this.value,label:this.label,required:this.required,placeholder:this.placeholder},on:{click:this.onClick}},[e(ct,{attrs:{round:!0,position:"bottom",getContainer:"body"},slot:"extra",model:{value:t.showDatePicker,callback:function(e){t.showDatePicker=e}}},[e(us,{attrs:{type:this.type,title:this.title,value:this.currentDate,minDate:this.minDate,formatter:this.formatter},on:{cancel:this.onCancel,confirm:this.onConfirm}})])])}}),fc=Object(l.a)("sku-messages"),pc=fc[0],mc=fc[1],vc=fc[2],gc=pc({props:{messageConfig:Object,goodsId:[Number,String],messages:{type:Array,default:function(){return[]}}},data:function(){return{messageValues:this.resetMessageValues(this.messages)}},watch:{messages:function(t){this.messageValues=this.resetMessageValues(t)}},methods:{resetMessageValues:function(t){var e=this.messageConfig.initialMessages,i=void 0===e?{}:e;return(t||[]).map((function(t){return{value:i[t.name]||""}}))},getType:function(t){return 1==+t.multiple?"textarea":"id_no"===t.type?"text":t.datetime>0?"datetime":t.type},getMessages:function(){var t={};return this.messageValues.forEach((function(e,i){t["message_"+i]=e.value})),t},getCartMessages:function(){var t=this,e={};return this.messageValues.forEach((function(i,n){var r=t.messages[n];e[r.name]=i.value})),e},getPlaceholder:function(t){var e=1==+t.multiple?"textarea":t.type,i=this.messageConfig.placeholderMap||{};return t.placeholder||i[e]||vc("placeholder."+e)},validateMessages:function(){for(var t=this.messageValues,e=0;e18))return vc("invalid.id_no")}}},getFormatter:function(t){return function(e){return"mobile"===t.type||"tel"===t.type?e.replace(/[^\d.]/g,""):e}},genMessage:function(t,e){var i=this,n=this.$createElement;return"image"===t.type?n(ie,{key:this.goodsId+"-"+e,attrs:{title:t.name,required:"1"===String(t.required),valueClass:mc("image-cell-value")},class:mc("image-cell")},[n(lc,{attrs:{maxSize:this.messageConfig.uploadMaxSize,uploadImg:this.messageConfig.uploadImg},model:{value:i.messageValues[e].value,callback:function(t){i.$set(i.messageValues[e],"value",t)}}}),n("div",{class:mc("image-cell-label")},[vc("imageLabel")])]):["date","time"].indexOf(t.type)>-1?n(dc,{attrs:{label:t.name,required:"1"===String(t.required),placeholder:this.getPlaceholder(t),type:this.getType(t)},key:this.goodsId+"-"+e,model:{value:i.messageValues[e].value,callback:function(t){i.$set(i.messageValues[e],"value",t)}}}):n(le,{attrs:{maxlength:"200",center:!t.multiple,label:t.name,required:"1"===String(t.required),placeholder:this.getPlaceholder(t),type:this.getType(t),formatter:this.getFormatter(t)},key:this.goodsId+"-"+e,model:{value:i.messageValues[e].value,callback:function(t){i.$set(i.messageValues[e],"value",t)}}})}},render:function(){var t=arguments[0];return t("div",{class:mc()},[this.messages.map(this.genMessage)])}}),bc=Object(l.a)("sku-actions"),yc=bc[0],Sc=bc[1],kc=bc[2];function xc(t,e,i,n){var r=function(t){return function(){e.skuEventBus.$emit(t)}};return t("div",s()([{class:Sc()},h(n)]),[e.showAddCartBtn&&t($e,{attrs:{size:"large",type:"warning",text:e.addCartText||kc("addCart")},on:{click:r("sku:addCart")}}),t($e,{attrs:{size:"large",type:"danger",text:e.buyText||kc("buy")},on:{click:r("sku:buy")}})])}xc.props={buyText:String,addCartText:String,skuEventBus:Object,showAddCartBtn:Boolean};var wc=yc(xc),Cc=Object(l.a)("sku"),Oc=Cc[0],Tc=Cc[1],$c=Cc[2],Bc=dl.QUOTA_LIMIT,Ic=Oc({props:{sku:Object,goods:Object,value:Boolean,buyText:String,goodsId:[Number,String],priceTag:String,lazyLoad:Boolean,hideStock:Boolean,properties:Array,addCartText:String,stepperTitle:String,getContainer:[String,Function],hideQuotaText:Boolean,hideSelectedText:Boolean,resetStepperOnHide:Boolean,customSkuValidator:Function,disableStepperInput:Boolean,resetSelectedSkuOnHide:Boolean,quota:{type:Number,default:0},quotaUsed:{type:Number,default:0},startSaleNum:{type:Number,default:1},initialSku:{type:Object,default:function(){return{}}},stockThreshold:{type:Number,default:50},showSoldoutSku:{type:Boolean,default:!0},showAddCartBtn:{type:Boolean,default:!0},disableSoldoutSku:{type:Boolean,default:!0},customStepperConfig:{type:Object,default:function(){return{}}},showHeaderImage:{type:Boolean,default:!0},previewOnClickImage:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},bodyOffsetTop:{type:Number,default:200},messageConfig:{type:Object,default:function(){return{initialMessages:{},placeholderMap:{},uploadImg:function(){return Promise.resolve()},uploadMaxSize:5}}}},data:function(){return{selectedSku:{},selectedProp:{},selectedNum:1,show:this.value}},watch:{show:function(t){this.$emit("input",t),t||(this.$emit("sku-close",{selectedSkuValues:this.selectedSkuValues,selectedNum:this.selectedNum,selectedSkuComb:this.selectedSkuComb}),this.resetStepperOnHide&&this.resetStepper(),this.resetSelectedSkuOnHide&&this.resetSelectedSku())},value:function(t){this.show=t},skuTree:"resetSelectedSku",initialSku:function(){this.resetStepper(),this.resetSelectedSku()}},computed:{skuGroupClass:function(){return["van-sku-group-container",{"van-sku-group-container--hide-soldout":!this.showSoldoutSku}]},bodyStyle:function(){if(!this.$isServer)return{maxHeight:window.innerHeight-this.bodyOffsetTop+"px"}},isSkuCombSelected:function(){var t=this;return!(this.hasSku&&!ml(this.skuTree,this.selectedSku))&&!this.propList.filter((function(t){return!1!==t.is_necessary})).some((function(e){return 0===(t.selectedProp[e.k_id]||[]).length}))},isSkuEmpty:function(){return 0===Object.keys(this.sku).length},hasSku:function(){return!this.sku.none_sku},hasSkuOrAttr:function(){return this.hasSku||this.propList.length>0},selectedSkuComb:function(){var t=null;return this.isSkuCombSelected&&(t=this.hasSku?vl(this.skuList,this.selectedSku):{id:this.sku.collection_id,price:Math.round(100*this.sku.price),stock_num:this.sku.stock_num})&&(t.properties=Sl(this.propList,this.selectedProp),t.property_price=this.selectedPropValues.reduce((function(t,e){return t+(e.price||0)}),0)),t},selectedSkuValues:function(){return gl(this.skuTree,this.selectedSku)},selectedPropValues:function(){return yl(this.propList,this.selectedProp)},price:function(){return this.selectedSkuComb?((this.selectedSkuComb.price+this.selectedSkuComb.property_price)/100).toFixed(2):this.sku.price},originPrice:function(){return this.selectedSkuComb&&this.selectedSkuComb.origin_price?((this.selectedSkuComb.origin_price+this.selectedSkuComb.property_price)/100).toFixed(2):this.sku.origin_price},skuTree:function(){return this.sku.tree||[]},skuList:function(){return this.sku.list||[]},propList:function(){return this.properties||[]},imageList:function(){var t=[this.goods.picture];return this.skuTree.length>0&&this.skuTree.forEach((function(e){e.v&&e.v.forEach((function(e){var i=e.previewImgUrl||e.imgUrl||e.img_url;i&&-1===t.indexOf(i)&&t.push(i)}))})),t},stock:function(){var t=this.customStepperConfig.stockNum;return void 0!==t?t:this.selectedSkuComb?this.selectedSkuComb.stock_num:this.sku.stock_num},stockText:function(){var t=this.$createElement,e=this.customStepperConfig.stockFormatter;return e?e(this.stock):[$c("stock")+" ",t("span",{class:Tc("stock-num",{highlight:this.stock0&&this.$nextTick((function(){t.$emit("sku-selected",{skuValue:e[e.length-1],selectedSku:t.selectedSku,selectedSkuComb:t.selectedSkuComb})})),this.selectedProp={};var i=this.initialSku.selectedProp,n=void 0===i?{}:i;this.propList.forEach((function(e){n[e.k_id]&&(t.selectedProp[e.k_id]=n[e.k_id])})),Object(m.d)(this.selectedProp)&&this.propList.forEach((function(e){var i;if((null==e||null==(i=e.v)?void 0:i.length)>0){var n=e.v,r=e.k_id;n.some((function(t){return 0!=+t.price}))||(t.selectedProp[r]=[n[0].id])}}));var r=this.selectedPropValues;r.length>0&&this.$emit("sku-prop-selected",{propValue:r[r.length-1],selectedProp:this.selectedProp,selectedSkuComb:this.selectedSkuComb}),this.$emit("sku-reset",{selectedSku:this.selectedSku,selectedProp:this.selectedProp,selectedSkuComb:this.selectedSkuComb}),this.centerInitialSku()},getSkuMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.getMessages():{}},getSkuCartMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.getCartMessages():{}},validateSkuMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.validateMessages():""},validateSku:function(){if(0===this.selectedNum)return $c("unavailable");if(this.isSkuCombSelected)return this.validateSkuMessages();if(this.customSkuValidator){var t=this.customSkuValidator(this);if(t)return t}return $c("selectSku")},onSelect:function(t){var e,i;this.selectedSku=this.selectedSku[t.skuKeyStr]===t.id?n({},this.selectedSku,((e={})[t.skuKeyStr]="",e)):n({},this.selectedSku,((i={})[t.skuKeyStr]=t.id,i)),this.$emit("sku-selected",{skuValue:t,selectedSku:this.selectedSku,selectedSkuComb:this.selectedSkuComb})},onPropSelect:function(t){var e,i=this.selectedProp[t.skuKeyStr]||[],r=i.indexOf(t.id);r>-1?i.splice(r,1):t.multiple?i.push(t.id):i.splice(0,1,t.id),this.selectedProp=n({},this.selectedProp,((e={})[t.skuKeyStr]=i,e)),this.$emit("sku-prop-selected",{propValue:t,selectedProp:this.selectedProp,selectedSkuComb:this.selectedSkuComb})},onNumChange:function(t){this.selectedNum=t},onPreviewImage:function(t){var e=this,i=this.imageList,r=0,s=i[0];t&&t.imgUrl&&(this.imageList.some((function(e,i){return e===t.imgUrl&&(r=i,!0)})),s=t.imgUrl);var o=n({},t,{index:r,imageList:this.imageList,indexImage:s});this.$emit("open-preview",o),this.previewOnClickImage&&ho({images:this.imageList,startPosition:r,onClose:function(){e.$emit("close-preview",o)}})},onOverLimit:function(t){var e=t.action,i=t.limitType,n=t.quota,r=t.quotaUsed,s=this.customStepperConfig.handleOverLimit;s?s(t):"minus"===e?this.startSaleNum>1?xe($c("minusStartTip",this.startSaleNum)):xe($c("minusTip")):"plus"===e&&xe(i===Bc?r>0?$c("quotaUsedTip",n,r):$c("quotaTip",n):$c("soldout"))},onStepperState:function(t){this.stepperError=t.valid?null:n({},t,{action:"plus"})},onAddCart:function(){this.onBuyOrAddCart("add-cart")},onBuy:function(){this.onBuyOrAddCart("buy-clicked")},onBuyOrAddCart:function(t){if(this.stepperError)return this.onOverLimit(this.stepperError);var e=this.validateSku();e?xe(e):this.$emit(t,this.getSkuData())},getSkuData:function(){return{goodsId:this.goodsId,messages:this.getSkuMessages(),selectedNum:this.selectedNum,cartMessages:this.getSkuCartMessages(),selectedSkuComb:this.selectedSkuComb}},onOpened:function(){this.centerInitialSku()},centerInitialSku:function(){var t=this;(this.$refs.skuRows||[]).forEach((function(e){var i=(e.skuRow||{}).k_s;e.centerItem(t.initialSku[i])}))}},render:function(){var t=this,e=arguments[0];if(!this.isSkuEmpty){var i=this.sku,n=this.skuList,r=this.goods,s=this.price,o=this.lazyLoad,a=this.originPrice,l=this.skuEventBus,c=this.selectedSku,u=this.selectedProp,h=this.selectedNum,d=this.stepperTitle,f=this.selectedSkuComb,p=this.showHeaderImage,m=this.disableSoldoutSku,v={price:s,originPrice:a,selectedNum:h,skuEventBus:l,selectedSku:c,selectedSkuComb:f},g=function(e){return t.slots(e,v)},b=g("sku-header")||e(Tl,{attrs:{sku:i,goods:r,skuEventBus:l,selectedSku:c,showHeaderImage:p}},[e("template",{slot:"sku-header-image-extra"},[g("sku-header-image-extra")]),g("sku-header-price")||e("div",{class:"van-sku__goods-price"},[e("span",{class:"van-sku__price-symbol"},["¥"]),e("span",{class:"van-sku__price-num"},[s]),this.priceTag&&e("span",{class:"van-sku__price-tag"},[this.priceTag])]),g("sku-header-origin-price")||a&&e(Dl,[$c("originPrice")," ¥",a]),!this.hideStock&&e(Dl,[e("span",{class:"van-sku__stock"},[this.stockText])]),this.hasSkuOrAttr&&!this.hideSelectedText&&e(Dl,[this.selectedText]),g("sku-header-extra")]),y=g("sku-group")||this.hasSkuOrAttr&&e("div",{class:this.skuGroupClass},[this.skuTree.map((function(t){return e(Nl,{attrs:{skuRow:t},ref:"skuRows",refInFor:!0},[t.v.map((function(i){return e(Al,{attrs:{skuList:n,lazyLoad:o,skuValue:i,skuKeyStr:t.k_s,selectedSku:c,skuEventBus:l,disableSoldoutSku:m,largeImageMode:t.largeImageMode}})}))])})),this.propList.map((function(t){return e(Nl,{attrs:{skuRow:t}},[t.v.map((function(i){return e(Ml,{attrs:{skuValue:i,skuKeyStr:t.k_id+"",selectedProp:u,skuEventBus:l,multiple:t.is_multiple}})}))])}))]),S=g("sku-stepper")||e(Yl,{ref:"skuStepper",attrs:{stock:this.stock,quota:this.quota,quotaUsed:this.quotaUsed,startSaleNum:this.startSaleNum,skuEventBus:l,selectedNum:h,stepperTitle:d,skuStockNum:i.stock_num,disableStepperInput:this.disableStepperInput,customStepperConfig:this.customStepperConfig,hideQuotaText:this.hideQuotaText},on:{change:function(e){t.$emit("stepper-change",e)}}}),k=g("sku-messages")||e(gc,{ref:"skuMessages",attrs:{goodsId:this.goodsId,messageConfig:this.messageConfig,messages:i.messages}}),x=g("sku-actions")||e(wc,{attrs:{buyText:this.buyText,skuEventBus:l,addCartText:this.addCartText,showAddCartBtn:this.showAddCartBtn}});return e(ct,{attrs:{round:!0,closeable:!0,position:"bottom",getContainer:this.getContainer,closeOnClickOverlay:this.closeOnClickOverlay,safeAreaInsetBottom:this.safeAreaInsetBottom},class:"van-sku-container",on:{opened:this.onOpened},model:{value:t.show,callback:function(e){t.show=e}}},[b,e("div",{class:"van-sku-body",style:this.bodyStyle},[g("sku-body-top"),y,g("extra-sku-group"),S,k]),g("sku-actions-top"),x])}}});Bo.a.add({"zh-CN":{vanSku:{select:"请选择",selected:"已选",selectSku:"请先选择商品规格",soldout:"库存不足",originPrice:"原价",minusTip:"至少选择一件",minusStartTip:function(t){return t+"件起售"},unavailable:"商品已经无法购买啦",stock:"剩余",stockUnit:"件",quotaTip:function(t){return"每人限购"+t+"件"},quotaUsedTip:function(t,e){return"每人限购"+t+"件,你已购买"+e+"件"}},vanSkuActions:{buy:"立即购买",addCart:"加入购物车"},vanSkuImgUploader:{oversize:function(t){return"最大可上传图片为"+t+"MB,请尝试压缩图片尺寸"},fail:"上传失败",uploading:"上传中..."},vanSkuStepper:{quotaLimit:function(t){return"限购"+t+"件"},quotaStart:function(t){return t+"件起售"},comma:",",num:"购买数量"},vanSkuMessages:{fill:"请填写",upload:"请上传",imageLabel:"仅限一张",invalid:{tel:"请填写正确的数字格式留言",mobile:"手机号长度为6-20位数字",email:"请填写正确的邮箱",id_no:"请填写正确的身份证号码"},placeholder:{id_no:"请填写身份证号",text:"请填写留言",tel:"请填写数字",email:"请填写邮箱",date:"请选择日期",time:"请选择时间",textarea:"请填写留言",mobile:"请填写手机号"}},vanSkuRow:{multiple:"可多选"},vanSkuDatetimeField:{title:{date:"选择年月日",time:"选择时间",datetime:"选择日期时间"},format:{year:"年",month:"月",day:"日",hour:"时",minute:"分"}}}}),Ic.SkuActions=wc,Ic.SkuHeader=Tl,Ic.SkuHeaderItem=Dl,Ic.SkuMessages=gc,Ic.SkuStepper=Yl,Ic.SkuRow=Nl,Ic.SkuRowItem=Al,Ic.SkuRowPropItem=Ml,Ic.skuHelper=kl,Ic.skuConstants=fl;var Dc=Ic,Ec=Object(l.a)("slider"),jc=Ec[0],Pc=Ec[1],Lc=function(t,e){return JSON.stringify(t)===JSON.stringify(e)},Nc=jc({mixins:[R,ti],props:{disabled:Boolean,vertical:Boolean,range:Boolean,barHeight:[Number,String],buttonSize:[Number,String],activeColor:String,inactiveColor:String,min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},value:{type:[Number,Array],default:0}},data:function(){return{dragStatus:""}},computed:{scope:function(){return this.max-this.min},buttonStyle:function(){if(this.buttonSize){var t=Object(Y.a)(this.buttonSize);return{width:t,height:t}}}},created:function(){this.updateValue(this.value)},mounted:function(){this.range?(this.bindTouchEvent(this.$refs.wrapper0),this.bindTouchEvent(this.$refs.wrapper1)):this.bindTouchEvent(this.$refs.wrapper)},methods:{onTouchStart:function(t){this.disabled||(this.touchStart(t),this.currentValue=this.value,this.range?this.startValue=this.value.map(this.format):this.startValue=this.format(this.value),this.dragStatus="start")},onTouchMove:function(t){if(!this.disabled){"start"===this.dragStatus&&this.$emit("drag-start"),k(t,!0),this.touchMove(t),this.dragStatus="draging";var e=this.$el.getBoundingClientRect(),i=(this.vertical?this.deltaY:this.deltaX)/(this.vertical?e.height:e.width)*this.scope;this.range?this.currentValue[this.index]=this.startValue[this.index]+i:this.currentValue=this.startValue+i,this.updateValue(this.currentValue)}},onTouchEnd:function(){this.disabled||("draging"===this.dragStatus&&(this.updateValue(this.currentValue,!0),this.$emit("drag-end")),this.dragStatus="")},onClick:function(t){if(t.stopPropagation(),!this.disabled){var e=this.$el.getBoundingClientRect(),i=this.vertical?t.clientY-e.top:t.clientX-e.left,n=this.vertical?e.height:e.width,r=+this.min+i/n*this.scope;if(this.range){var s=this.value,o=s[0],a=s[1];r<=(o+a)/2?o=r:a=r,r=[o,a]}this.startValue=this.value,this.updateValue(r,!0)}},handleOverlap:function(t){return t[0]>t[1]?(t=It(t)).reverse():t},updateValue:function(t,e){t=this.range?this.handleOverlap(t).map(this.format):this.format(t),Lc(t,this.value)||this.$emit("input",t),e&&!Lc(t,this.startValue)&&this.$emit("change",t)},format:function(t){return Math.round(Math.max(this.min,Math.min(t,this.max))/this.step)*this.step}},render:function(){var t,e,i=this,n=arguments[0],r=this.vertical,s=r?"height":"width",o=r?"width":"height",a=((t={background:this.inactiveColor})[o]=Object(Y.a)(this.barHeight),t),l=function(){var t=i.value,e=i.min,n=i.range,r=i.scope;return n?100*(t[1]-t[0])/r+"%":100*(t-e)/r+"%"},c=function(){var t=i.value,e=i.min,n=i.range,r=i.scope;return n?100*(t[0]-e)/r+"%":null},u=((e={})[s]=l(),e.left=this.vertical?null:c(),e.top=this.vertical?c():null,e.background=this.activeColor,e);this.dragStatus&&(u.transition="none");var h=function(t){var e=["left","right"],r="number"==typeof t;return n("div",{ref:r?"wrapper"+t:"wrapper",attrs:{role:"slider",tabindex:i.disabled?-1:0,"aria-valuemin":i.min,"aria-valuenow":i.value,"aria-valuemax":i.max,"aria-orientation":i.vertical?"vertical":"horizontal"},class:Pc(r?"button-wrapper-"+e[t]:"button-wrapper"),on:{touchstart:function(){r&&(i.index=t)},click:function(t){return t.stopPropagation()}}},[i.slots("button")||n("div",{class:Pc("button"),style:i.buttonStyle})])};return n("div",{style:a,class:Pc({disabled:this.disabled,vertical:r}),on:{click:this.onClick}},[n("div",{class:Pc("bar"),style:u},[this.range?[h(0),h(1)]:h()])])}}),Ac=Object(l.a)("step"),Mc=Ac[0],zc=Ac[1],Fc=Mc({mixins:[Ie("vanSteps")],computed:{status:function(){return this.index0?"left":"right"),this.dragging=!1,setTimeout((function(){t.lockClick=!1}),0))},toggle:function(t){var e=Math.abs(this.offset),i=this.opened?.85:.15,n=this.computedLeftWidth,r=this.computedRightWidth;r&&"right"===t&&e>r*i?this.open("right"):n&&"left"===t&&e>n*i?this.open("left"):this.close()},onClick:function(t){void 0===t&&(t="outside"),this.$emit("click",t),this.opened&&!this.lockClick&&(this.beforeClose?this.beforeClose({position:t,name:this.name,instance:this}):this.onClose?this.onClose(t,this,{name:this.name}):this.close(t))},getClickHandler:function(t,e){var i=this;return function(n){e&&n.stopPropagation(),i.onClick(t)}},genLeftPart:function(){var t=this.$createElement,e=this.slots("left");if(e)return t("div",{ref:"left",class:Zc("left"),on:{click:this.getClickHandler("left",!0)}},[e])},genRightPart:function(){var t=this.$createElement,e=this.slots("right");if(e)return t("div",{ref:"right",class:Zc("right"),on:{click:this.getClickHandler("right",!0)}},[e])}},render:function(){var t=arguments[0],e={transform:"translate3d("+this.offset+"px, 0, 0)",transitionDuration:this.dragging?"0s":".6s"};return t("div",{class:Zc(),on:{click:this.getClickHandler("cell")}},[t("div",{class:Zc("wrapper"),style:e},[this.genLeftPart(),this.slots(),this.genRightPart()])])}}),tu=Object(l.a)("switch-cell"),eu=tu[0],iu=tu[1];function nu(t,e,i,r){return t(ie,s()([{attrs:{center:!0,size:e.cellSize,title:e.title,border:e.border},class:iu([e.cellSize])},h(r)]),[t(ri,{props:n({},e),on:n({},r.listeners)})])}nu.props=n({},Je,{title:String,cellSize:String,border:{type:Boolean,default:!0},size:{type:String,default:"24px"}});var ru=eu(nu),su=Object(l.a)("tabbar"),ou=su[0],au=su[1],lu=ou({mixins:[De("vanTabbar")],props:{route:Boolean,zIndex:[Number,String],placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,value:{type:[Number,String],default:0},border:{type:Boolean,default:!0},fixed:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:null}},data:function(){return{height:null}},computed:{fit:function(){return null!==this.safeAreaInsetBottom?this.safeAreaInsetBottom:this.fixed}},watch:{value:"setActiveItem",children:"setActiveItem"},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.tabbar.getBoundingClientRect().height)},methods:{setActiveItem:function(){var t=this;this.children.forEach((function(e,i){e.active=(e.name||i)===t.value}))},onChange:function(t){var e=this;t!==this.value&&gn({interceptor:this.beforeChange,args:[t],done:function(){e.$emit("input",t),e.$emit("change",t)}})},genTabbar:function(){var t;return(0,this.$createElement)("div",{ref:"tabbar",style:{zIndex:this.zIndex},class:[(t={},t[Bt]=this.border,t),au({unfit:!this.fit,fixed:this.fixed})]},[this.slots()])}},render:function(){var t=arguments[0];return this.placeholder&&this.fixed?t("div",{class:au("placeholder"),style:{height:this.height+"px"}},[this.genTabbar()]):this.genTabbar()}}),cu=Object(l.a)("tabbar-item"),uu=cu[0],hu=cu[1],du=uu({mixins:[Ie("vanTabbar")],props:n({},Qt,{dot:Boolean,icon:String,name:[Number,String],info:[Number,String],badge:[Number,String],iconPrefix:String}),data:function(){return{active:!1}},computed:{routeActive:function(){var t=this.to,e=this.$route;if(t&&e){var i=Object(m.f)(t)?t:{path:t},n=i.path===e.path,r=Object(m.c)(i.name)&&i.name===e.name;return n||r}}},methods:{onClick:function(t){this.parent.onChange(this.name||this.index),this.$emit("click",t),Yt(this.$router,this)},genIcon:function(t){var e=this.$createElement,i=this.slots("icon",{active:t});return i||(this.icon?e(st,{attrs:{name:this.icon,classPrefix:this.iconPrefix}}):void 0)}},render:function(){var t,e=arguments[0],i=this.parent.route?this.routeActive:this.active,n=this.parent[i?"activeColor":"inactiveColor"];return e("div",{class:hu({active:i}),style:{color:n},on:{click:this.onClick}},[e("div",{class:hu("icon")},[this.genIcon(i),e(J,{attrs:{dot:this.dot,info:null!=(t=this.badge)?t:this.info}})]),e("div",{class:hu("text")},[this.slots("default",{active:i})])])}}),fu=Object(l.a)("tree-select"),pu=fu[0],mu=fu[1];function vu(t,e,i,n){var r=e.items,o=e.height,a=e.activeId,l=e.selectedIcon,c=e.mainActiveIndex;var u=(r[+c]||{}).children||[],f=Array.isArray(a);function p(t){return f?-1!==a.indexOf(t):a===t}var m=r.map((function(e){var i;return t(ol,{attrs:{dot:e.dot,info:null!=(i=e.badge)?i:e.info,title:e.text,disabled:e.disabled},class:[mu("nav-item"),e.className]})}));return t("div",s()([{class:mu(),style:{height:Object(Y.a)(o)}},h(n)]),[t(il,{class:mu("nav"),attrs:{activeKey:c},on:{change:function(t){d(n,"update:main-active-index",t),d(n,"click-nav",t),d(n,"navclick",t)}}},[m]),t("div",{class:mu("content")},[i.content?i.content():u.map((function(i){return t("div",{key:i.id,class:["van-ellipsis",mu("item",{active:p(i.id),disabled:i.disabled})],on:{click:function(){if(!i.disabled){var t=i.id;if(f){var r=(t=a.slice()).indexOf(i.id);-1!==r?t.splice(r,1):t.length + + + + + + 菩提阁 + + + + + + + + + + + + + +
+
+
+ 菩提阁 +
+
+
+
+
+
{{address.detail}}
+
+ {{address.consignee}}{{address.sex === '1' ? '先生':'女士'}} + {{address.phone}} +
+ +
+
+
预计{{finishTime}}送达
+
+
+
订单明细
+
+
+
+ +
+ +
+
+
+
{{item.name}}
+
+ x{{item.number}} +
+ {{item.amount}}
+
+
+
+
+
+
+
备注
+ +
+
+
+
+
{{ goodsNum }}
+
+ + {{goodsPrice}} +
+
+
去支付
+
+
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/classes/front/page/address-edit.html b/target/classes/front/page/address-edit.html new file mode 100644 index 0000000..89017be --- /dev/null +++ b/target/classes/front/page/address-edit.html @@ -0,0 +1,166 @@ + + + + + + + 菩提阁 + + + + + + + + + + + + + +
+
+
+ {{title}} +
+
+
+
+ 联系人: + + + + 先生 + + + + 女士 + +
+
+ 手机号: + +
+
+ 收货地址: + +
+
+ 标签: + {{item}} +
+
保存地址
+
删除地址
+
+
+ + + + + + + + + + + + + + diff --git a/target/classes/front/page/address.html b/target/classes/front/page/address.html new file mode 100644 index 0000000..fa35114 --- /dev/null +++ b/target/classes/front/page/address.html @@ -0,0 +1,159 @@ + + + + + + + 菩提阁 + + + + + + + + + + + + + +
+
+
+ 地址管理 +
+
+
+
+
+ {{item.label}} + {{item.detail}} +
+
+ {{item.consignee}} + {{item.sex === '0' ? '女士' : '先生'}} + {{item.phone}} +
+ +
+
+ + 设为默认地址 +
+
+
+
+ 添加收货地址
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/target/classes/front/page/login.html b/target/classes/front/page/login.html new file mode 100644 index 0000000..ec5c0a1 --- /dev/null +++ b/target/classes/front/page/login.html @@ -0,0 +1,91 @@ + + + + + + + + 菩提阁 + + + + + + + + + + + + + +
+
登录
+
+ +
+ + 获取验证码 +
+
手机号输入不正确,请重新输入
+ 登录 +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/target/classes/front/page/no-wify.html b/target/classes/front/page/no-wify.html new file mode 100644 index 0000000..0d9bccc --- /dev/null +++ b/target/classes/front/page/no-wify.html @@ -0,0 +1,61 @@ + + + + + + + 菩提阁 + + + + + + + + + + + +
+
+
+ 菩提阁 +
+
+
+ +
网络连接异常
+
点击刷新
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/target/classes/front/page/order.html b/target/classes/front/page/order.html new file mode 100644 index 0000000..44fe8f7 --- /dev/null +++ b/target/classes/front/page/order.html @@ -0,0 +1,169 @@ + + + + + + + 菩提阁 + + + + + + + + + + + + + +
+
+
+ 菩提阁 +
+
+
+ + +
+ {{order.orderTime}} + {{getStatus(order.status)}} + +
+
+
+ {{item.name}} + x{{item.number}} +
+
+
+ 共{{order.sumNum}} 件商品,实付¥{{order.amount}} +
+
+
再来一单
+
+
+
+
+
+
+ +
暂无订单
+
+
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/target/classes/front/page/pay-success.html b/target/classes/front/page/pay-success.html new file mode 100644 index 0000000..1fd2362 --- /dev/null +++ b/target/classes/front/page/pay-success.html @@ -0,0 +1,89 @@ + + + + + + + 菩提阁 + + + + + + + + + + + +
+
+
+ + 菩提阁 + +
+
+
+ +
下单成功
+
预计{{finishTime}}到达
+
后厨正在加紧制作中,请耐心等待~
+
查看订单
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/target/classes/front/page/user.html b/target/classes/front/page/user.html new file mode 100644 index 0000000..b9da72f --- /dev/null +++ b/target/classes/front/page/user.html @@ -0,0 +1,195 @@ + + + + + + + 菩提阁 + + + + + + + + + + + +
+
+
+ 个人中心 +
+
+ +
+
林之迷
+
{{userPhone}}
+
+
+
+
+ +
+
最新订单
+
+ {{order[0].orderTime}} + {{getStatus(order[0].status)}} + +
+
+
+ {{item.name}} + x{{item.number}} +
+
+
+ 共{{order[0].sumNum}} 件商品,实付 + ¥{{order[0].amount}} +
+
+
再来一单
+
+
+
+ 退出登录 +
+
+
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/classes/front/styles/add-order.css b/target/classes/front/styles/add-order.css new file mode 100644 index 0000000..cb03eeb --- /dev/null +++ b/target/classes/front/styles/add-order.css @@ -0,0 +1,332 @@ +#add_order .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#add_order .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; +} + +#add_order .divHead .divTitle i { + position: absolute; + left: 16rem; + top: 50%; + transform: translate(0, -50%); +} + +#add_order .divContent { + margin: 10rem 10rem 0 10rem; + height: calc(100vh - 56rem - 110rem); + overflow-y: auto; +} + +#add_order .divContent .divAddress { + height: 120rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + position: relative; + padding: 11rem 10rem 0 16rem; +} + +#add_order .divContent .divAddress .address { + height: 25rem; + opacity: 1; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #20232a; + line-height: 25rem; + margin-bottom: 4rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 300rem; +} + +#add_order .divContent .divAddress .name { + height: 17rem; + opacity: 1; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; + line-height: 17rem; +} + +#add_order .divContent .divAddress .name span:first-child { + margin-right: 2rem; +} + +#add_order .divContent .divAddress i { + position: absolute; + right: 14rem; + top: 32rem; +} + +#add_order .divContent .divAddress .divSplit { + width: 100%; + height: 1px; + opacity: 1; + border: 0; + background-color: #ebebeb; + margin-top: 14rem; +} + +#add_order .divContent .divAddress .divFinishTime { + height: 47rem; + opacity: 1; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; + line-height: 47rem; + margin-left: 2rem; +} + +#add_order .divContent .order { + background: #ffffff; + border-radius: 6rem; + margin-top: 10rem; + margin-bottom: 10rem; + padding: 3rem 10rem 7rem 16rem; +} + +#add_order .divContent .order .title { + height: 56rem; + line-height: 56rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + letter-spacing: 0; +} + +#add_order .divContent .order .divSplit { + height: 1px; + opacity: 1; + background-color: #efefef; + border: 0; +} + +#add_order .divContent .order .itemList .item { + display: flex; +} + +#add_order .divContent .order .itemList .item .el-image { + padding-top: 20rem; + padding-bottom: 20rem; + width: 64rem; + height: 64rem; +} + +#add_order .divContent .order .itemList .item .el-image img { + width: 64rem; + height: 64rem; +} + +#add_order .divContent .order .itemList .item:first-child .desc { + border: 0; +} + +#add_order .divContent .order .itemList .item .desc { + padding-top: 20rem; + padding-bottom: 20rem; + border-top: 2px solid #ebeef5; + width: calc(100% - 64rem); +} + +#add_order .divContent .order .itemList .item .desc .name { + height: 22rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + text-align: left; + color: #20232a; + line-height: 22rem; + letter-spacing: 0; + margin-left: 10rem; + margin-bottom: 16rem; +} + +#add_order .divContent .order .itemList .item .desc .numPrice { + height: 22rem; + display: flex; + justify-content: space-between; +} + +#add_order .divContent .order .itemList .item .desc .numPrice span { + margin-left: 12rem; + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #818693; + line-height: 20rem; + letter-spacing: 0; + display: inline-block; +} + +#add_order .divContent .order .itemList .item .desc .numPrice .price { + font-size: 20rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; +} + +#add_order + .divContent + .order + .itemList + .item + .desc + .numPrice + .price + .spanMoney { + color: #e94e3c; + font-size: 12rem; +} + +#add_order .divContent .note { + height: 164rem; + opacity: 1; + background: #ffffff; + border-radius: 6px; + margin-top: 11rem; + padding: 3rem 10rem 10rem 11rem; +} + +#add_order .divContent .note .title { + height: 56rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + line-height: 56rem; + letter-spacing: 0px; + border-bottom: 2rem solid #efefef; +} + +#add_order .divContent .note .van-cell { + height: 103rem; +} + +#add_order .divCart { + width: 345rem; + height: 44rem; + opacity: 1; + background: #000000; + border-radius: 25rem; + box-shadow: 0rem 3rem 5rem 0rem rgba(0, 0, 0, 0.25); + margin: 0 auto; + margin-top: 10rem; + z-index: 3000; + position: absolute; + /* bottom: 35rem; */ + bottom: 12rem; + left: 50%; + transform: translate(-50%, 0); +} + +#add_order .divCart .imgCartActive { + background-image: url("./../images/cart_active.png"); +} + +#add_order .divCart .imgCart { + background-image: url("./../images/cart.png"); +} + +#add_order .divCart > div:first-child { + width: 60rem; + height: 60rem; + position: absolute; + left: 11rem; + bottom: 0; + background-size: 60rem 60rem; +} + +#add_order .divCart .divNum { + font-size: 12rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #ffffff; + letter-spacing: 0rem; + position: absolute; + left: 92rem; + top: 10rem; +} + +#add_order .divCart .divNum span:last-child { + font-size: 20rem; +} + +#add_order .divCart > div:last-child { + width: 102rem; + height: 36rem; + opacity: 1; + border-radius: 18rem; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + line-height: 36rem; + position: absolute; + right: 5rem; + top: 4rem; +} + +#add_order .divCart .btnSubmit { + color: white; + background: #d8d8d8; +} +#add_order .divCart .btnSubmitActive { + color: #333333; + background: #ffc200; +} + +#add_order .divCart .divGoodsNum { + width: 18rem; + height: 18rem; + opacity: 1; + background: #e94e3c; + border-radius: 50%; + text-align: center; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + color: #ffffff; + line-height: 18rem; + position: absolute; + left: 57rem; + top: -5rem; +} + +#add_order .divCart .moreGoods { + width: 25rem; + height: 25rem; + line-height: 25rem; +} diff --git a/target/classes/front/styles/address-edit.css b/target/classes/front/styles/address-edit.css new file mode 100644 index 0000000..e46bcd9 --- /dev/null +++ b/target/classes/front/styles/address-edit.css @@ -0,0 +1,156 @@ +#address_edit { + height: 100%; +} +#address_edit .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#address_edit .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; +} + +#address_edit .divHead .divTitle i { + position: absolute; + left: 16rem; + top: 50%; + transform: translate(0, -50%); +} + +#address_edit .divContent { + height: 100%; + opacity: 1; + background: #ffffff; + padding-left: 9rem; + padding-right: 9rem; +} + +#address_edit .divContent .divItem { + height: 55rem; + line-height: 55rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + line-height: 20rem; + letter-spacing: 0rem; + border-bottom: 1px solid #efefef; + display: flex; + align-items: center; +} + +#address_edit .divContent .divItem .el-input { + width: auto; +} + +#address_edit .divContent .divItem input { + border: 0; + padding: 0; +} + +#address_edit .divContent .divItem .inputUser { + width: 150rem; +} + +#address_edit .divContent .divItem span { + display: block; +} + +#address_edit .divContent .divItem span:first-child { + margin-right: 12rem; + white-space: nowrap; + width: 69rem; +} + +#address_edit .divContent .divItem .spanChecked { + width: 50rem; +} + +#address_edit .divContent .divItem span i { + width: 16rem; + height: 16rem; + background: url(./../images/checked_false.png); + display: inline-block; + background-size: cover; + vertical-align: sub; +} + +#address_edit .divContent .divItem span .iActive { + background: url(./../images/checked_true.png); + background-size: cover; +} + +#address_edit .divContent .divItem .spanItem { + width: 34rem; + height: 20rem; + opacity: 1; + border: 1px solid #e5e4e4; + border-radius: 3rem; + text-align: center; + margin-right: 10rem; + border-radius: 2px; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + color: #333333; +} + +#address_edit .divContent .divItem .spanActiveCompany { + background: #e1f1fe; +} + +#address_edit .divContent .divItem .spanActiveHome { + background: #fef8e7; +} + +#address_edit .divContent .divItem .spanActiveSchool { + background: #e7fef8; +} + +#address_edit .divContent .divItem .el-input__inner { + font-size: 13px; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; +} + +#address_edit .divContent .divSave { + height: 36rem; + opacity: 1; + background: #ffc200; + border-radius: 18rem; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + margin-top: 20rem; +} + +#address_edit .divContent .divDelete { + height: 36rem; + opacity: 1; + background: #f6f6f6; + border-radius: 18rem; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + margin-top: 20rem; +} diff --git a/target/classes/front/styles/address.css b/target/classes/front/styles/address.css new file mode 100644 index 0000000..38b8945 --- /dev/null +++ b/target/classes/front/styles/address.css @@ -0,0 +1,162 @@ +#address .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#address .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; +} + +#address .divHead .divTitle i { + position: absolute; + left: 16rem; + top: 50%; + transform: translate(0, -50%); +} + +#address .divContent { + height: calc(100vh - 157rem); + overflow: auto; +} + +#address .divContent .divItem { + height: 128rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + margin-top: 10rem; + margin-left: 10rem; + margin-right: 9rem; + padding-left: 12rem; + position: relative; +} + +#address .divContent .divItem > img { + width: 16rem; + height: 16rem; + position: absolute; + top: 40rem; + right: 24rem; +} + +#address .divContent .divItem .divDefault img { + width: 16rem; + height: 16rem; + opacity: 1; +} + +#address .divContent .divItem .divAddress { + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; + line-height: 20rem; + letter-spacing: 0; + padding-top: 21rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 280rem; +} + +#address .divContent .divItem .divAddress span { + width: 34rem; + height: 20rem; + opacity: 1; + font-size: 12rem; + display: inline-block; + text-align: center; + margin-right: 4rem; + margin-bottom: 10rem; +} + +#address .divContent .divItem .divUserPhone span { + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #999999; + line-height: 20rem; + letter-spacing: 0; + margin-right: 10rem; +} + +#address .divContent .divItem .divUserPhone span:first-child { + margin-right: 2rem; +} + +#address .divContent .divItem .divAddress .spanCompany { + background-color: #e1f1fe; +} + +#address .divContent .divItem .divAddress .spanHome { + background: #fef8e7; +} + +#address .divContent .divItem .divAddress .spanSchool { + background: #e7fef8; +} + +#address .divContent .divItem .divSplit { + height: 1px; + opacity: 1; + background: #efefef; + border: 0; + margin-top: 16rem; + margin-bottom: 10rem; + margin-right: 10rem; +} + +#address .divContent .divItem .divDefault { + height: 18rem; + opacity: 1; + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; + line-height: 18rem; + letter-spacing: 0; +} + +#address .divContent .divItem .divDefault img { + height: 18rem; + width: 18rem; + margin-right: 5rem; + vertical-align: bottom; +} + +#address .divBottom { + height: 36rem; + opacity: 1; + background: #ffc200; + border-radius: 18rem; + opacity: 1; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + position: absolute; + bottom: 23rem; + left: 50%; + transform: translate(-50%, 0); + width: 334rem; +} diff --git a/target/classes/front/styles/index.css b/target/classes/front/styles/index.css new file mode 100644 index 0000000..fb9589b --- /dev/null +++ b/target/classes/front/styles/index.css @@ -0,0 +1,134 @@ +html, +body { + max-width: 750px; + height: 100%; + background: #f3f2f7; + font-family: Helvetica; + overflow: hidden; +} + +html, +body, +h1, +h2, +h3, +h4, +h5, +h6, +p, +ul, +li { + margin: 0; + padding: 0; +} + +ul, +li { + list-style: none; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: normal; +} + +h3 { + font-size: 16px; +} + +h4 { + font-size: 14px; +} + +p { + font-size: 12px; +} + +em, +i { + font-style: normal; +} + +@font-face { + font-family: "DIN-Medium"; + src: url("../fonts/DIN-Medium.otf"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "DIN"; + src: url("../fonts/DIN-Bold.otf"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "PingFangSC-Regular"; + src: url("../fonts/PingFangSC-Regular.ttf"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "PingFangSC-Regular"; + src: url("../fonts/PingFangSC-Regular.ttf"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "PingFangSC-Semibold"; + src: url("../fonts/PingFangSC-Semibold.ttf"); + font-weight: normal; + font-style: normal; +} + +.app { + height: 100%; +} + +.van-overlay { + background-color: rgba(0, 0, 0, 0.3); +} + +.van-dialog { + overflow: inherit; +} + +::-webkit-input-placeholder { + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #999999; +} + +:-moz-placeholder { + /* Firefox 18- */ + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #999999; +} +::-moz-placeholder { + /* Firefox 19+ */ + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #999999; +} + +:-ms-input-placeholder { + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #999999; +} diff --git a/target/classes/front/styles/login.css b/target/classes/front/styles/login.css new file mode 100644 index 0000000..c7a4dc1 --- /dev/null +++ b/target/classes/front/styles/login.css @@ -0,0 +1,96 @@ +#login .divHead { + opacity: 1; + background: #333333; + height: 88rem; + width: 100%; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 88rem; +} + +#login .divContainer { + width: 356rem; + height: 128rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + margin: 0 auto; + margin-top: 10rem; + position: relative; +} + +#login .divContainer input { + border: 0; + height: 63rem; +} + +#login .divContainer .divSplit { + height: 1px; + background-color: #efefef; + border: 0; + margin-left: 10rem; + margin-right: 10rem; +} + +#login .divContainer span { + position: absolute; + right: 20rem; + top: 20rem; + cursor: pointer; + opacity: 1; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #ffc200; + letter-spacing: 0px; +} + +#login .divMsg { + width: 168px; + height: 17px; + opacity: 1; + font-size: 12px; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: center; + color: #e94e3c; + line-height: 17px; + margin-left: 26rem; + margin-top: 10rem; +} + +#login .btnSubmit { + width: 356rem; + height: 40rem; + margin: 20rem 10rem 0 10rem; + border-radius: 20px; + border: 0; + + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; +} + +#login .btnNoPhone { + color: #666666; + background: #d8d8d8; +} + +#login .btnNoPhone:active { + background: #afafaf; +} + +#login .btnPhone { + background: #ffc200; + color: #333333; +} + +#login .btnPhone:active { + background: rgba(255, 142, 0, 1); + color: #333333; +} diff --git a/target/classes/front/styles/main.css b/target/classes/front/styles/main.css new file mode 100644 index 0000000..217dafb --- /dev/null +++ b/target/classes/front/styles/main.css @@ -0,0 +1,911 @@ +/** +首屏样式 +*/ +#main { + height: 100%; +} + +#main .divHead { + background: url(../images/mainBg.png); + background-repeat: no-repeat; + height: 152rem; + background-size: contain; +} + +#main .divHead img { + position: absolute; + left: 19rem; + top: 41rem; + width: 28rem; + height: 28rem; +} + +#main .divTitle { + width: 345rem; + height: 118rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + box-shadow: 0rem 2rem 5rem 0rem rgba(69, 69, 69, 0.1); + position: absolute; + left: 50%; + top: 77rem; + transform: translate(-50%, 0); + box-sizing: border-box; + padding: 14rem 0 0 8rem; +} +#main .divTitle .divStatic { + display: flex; +} +#main .divTitle .divStatic .logo { + width: 39rem; + height: 39rem; + opacity: 1; + background: #333333; + border-radius: 6rem; + margin-right: 10rem; +} + +#main .divTitle .divStatic .divDesc .divName { + width: 90rem; + height: 25rem; + opacity: 1; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #20232a; + line-height: 25rem; +} + +#main .divTitle .divStatic .divDesc .divSend { + opacity: 1; + font-size: 11rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; + margin-bottom: 10rem; +} + +#main .divTitle .divStatic .divDesc .divSend img { + width: 14rem; + height: 14rem; + opacity: 1; + vertical-align: sub; +} + +#main .divTitle .divStatic .divDesc .divSend span { + margin-right: 12rem; +} + +#main .divTitle .divStatic .divDesc .divSend span:last-child { + margin-right: 0; +} + +#main .divTitle > .divDesc { + opacity: 1; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #9b9b9b; + line-height: 17rem; + margin-right: 18rem; + padding-top: 9rem; + border-top: 1rem dashed #ebebeb; +} + +#main .divBody { + display: flex; + height: 100%; +} + +#main .divBody .divType { + background: #f6f6f6; +} + +#main .divBody .divType ul { + margin-top: 61rem; + overflow-y: auto; + height: calc(100% - 61rem); + padding-bottom: 200rem; + box-sizing: border-box; + width: 84rem; + opacity: 1; +} + +#main .divBody .divType ul li { + padding: 16rem; + opacity: 1; + font-size: 13rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 18rem; + letter-spacing: 0rem; + word-wrap: break-word; + word-break: normal; +} + +#main .divBody .divType ul li.active { + color: #333333; + font-weight: 500; + background-color: #ffffff; + font-family: PingFangSC, PingFangSC-Regular; +} + +#main .divBody .divMenu { + background-color: #ffffff; + box-sizing: border-box; + width: 100%; + height: 100%; +} + +#main .divBody .divMenu > div { + margin-top: 61rem; + overflow-y: auto; + height: calc(100% - 61rem); + padding-bottom: 200rem; + box-sizing: border-box; +} + +#main .divBody .divMenu .divItem { + margin: 10rem 15rem 20rem 14rem; + display: flex; +} + +#main .divBody .divMenu .divItem .el-image { + width: 86rem; + height: 86rem; + margin-right: 14rem; +} + +#main .divBody .divMenu .divItem .el-image img { + width: 86rem; + height: 86rem; + border-radius: 5rem; +} + +#main .divBody .divMenu .divItem > div { + position: relative; +} + +#main .divBody .divMenu .divItem .divName { + height: 22rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + text-align: left; + color: #333333; + line-height: 22rem; + letter-spacing: 0; + margin-bottom: 5rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 175rem; +} + +#main .divBody .divMenu .divItem .divDesc { + height: 16rem; + opacity: 1; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 16rem; + letter-spacing: 0rem; + margin-bottom: 4rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 144rem; +} + +#main .divBody .divMenu .divItem .divBottom { + font-size: 15rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; + line-height: 20rem; + letter-spacing: 0rem; +} + +#main .divBody .divMenu .divItem .divBottom span:first-child { + font-size: 12rem; +} + +#main .divBody .divMenu .divItem .divBottom span:last-child { + font-size: 15rem; +} + +#main .divBody .divMenu .divItem .divNum { + display: flex; + position: absolute; + right: 12rem; + bottom: 0; +} + +#main .divBody .divMenu .divItem .divNum .divDishNum { + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + width: auto; +} + +#main .divBody .divMenu .divItem .divNum .divTypes { + width: 64rem; + height: 24rem; + opacity: 1; + background: #ffc200; + border-radius: 12rem; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 24rem; + letter-spacing: 0; +} + +#main .divBody .divMenu .divItem .divNum img { + width: 36rem; + height: 36rem; +} + +#main .divCart { + width: 345rem; + height: 44rem; + opacity: 1; + background: #000000; + border-radius: 25rem; + box-shadow: 0rem 3rem 5rem 0rem rgba(0, 0, 0, 0.25); + margin: 0 auto; + bottom: 24rem; + position: fixed; + left: 50%; + transform: translate(-50%, 0); + z-index: 3000; +} + +#main .divCart .imgCartActive { + background-image: url("./../images/cart_active.png"); +} + +#main .divCart .imgCart { + background-image: url("./../images/cart.png"); +} + +#main .divCart > div:first-child { + width: 60rem; + height: 60rem; + position: absolute; + left: 11rem; + bottom: 0; + background-size: 60rem 60rem; +} + +#main .divCart .divNum { + font-size: 12rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #ffffff; + letter-spacing: 0rem; + position: absolute; + left: 92rem; + top: 10rem; +} + +#main .divCart .divNum span:last-child { + font-size: 20rem; +} + +#main .divCart > div:last-child { + width: 102rem; + height: 36rem; + opacity: 1; + border-radius: 18rem; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + line-height: 36rem; + position: absolute; + right: 5rem; + top: 4rem; +} + +#main .divCart .btnSubmit { + color: white; + background: #d8d8d8; +} +#main .divCart .btnSubmitActive { + color: #333333; + background: #ffc200; +} + +#main .divCart .divGoodsNum { + width: 18rem; + height: 18rem; + opacity: 1; + background: #e94e3c; + border-radius: 50%; + text-align: center; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + color: #ffffff; + line-height: 18rem; + position: absolute; + left: 50rem; + top: -5rem; +} + +#main .divCart .moreGoods { + width: 25rem; + height: 25rem; + line-height: 25rem; +} + +#main .divLayer { + position: absolute; + height: 68rem; + width: 100%; + bottom: 0; + display: flex; +} + +#main .divLayer .divLayerLeft { + background-color: #f6f6f6; + opacity: 0.5; + width: 84rem; + height: 100%; +} + +#main .divLayer .divLayerRight { + background-color: white; + opacity: 0.5; + width: calc(100% - 84rem); + height: 100%; +} + +#main .dialogFlavor { + opacity: 1; + background: #ffffff; + border-radius: 10rem; +} + +#main .dialogFlavor .dialogTitle { + margin-top: 26rem; + margin-bottom: 14rem; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + color: #333333; + letter-spacing: 0; + text-align: center; +} + +#main .dialogFlavor .divContent { + margin-left: 15rem; + margin-right: 15rem; +} + +#main .dialogFlavor .divContent .divFlavorTitle { + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; + letter-spacing: 0; + margin-left: 5rem; + margin-bottom: 10rem; + margin-top: 10rem; +} + +#main .dialogFlavor .divContent span { + display: inline-block; + height: 30rem; + opacity: 1; + background: #ffffff; + border: 1rem solid #ffc200; + border-radius: 7rem; + line-height: 30rem; + padding-left: 13rem; + padding-right: 13rem; + margin: 0 5rem 10rem 5rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: center; + color: #333333; +} + +#main .dialogFlavor .divContent .spanActive { + background: #ffc200; + font-weight: 500; +} + +#main .dialogFlavor .divBottom { + margin-top: 20rem; + margin-bottom: 19rem; + margin-left: 20rem; + display: flex; + position: relative; +} + +#main .dialogFlavor .divBottom div:first-child { + height: 30rem; + opacity: 1; + font-size: 20rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; + line-height: 30rem; + letter-spacing: 0; +} + +#main .dialogFlavor .divBottom div span { + font-size: 14rem; +} + +#main .dialogFlavor .divBottom div:last-child { + width: 100rem; + height: 30rem; + opacity: 1; + background: #ffc200; + border-radius: 15rem; + text-align: center; + line-height: 30rem; + position: absolute; + right: 20rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; +} + +#main .dialogFlavor .divFlavorClose { + position: absolute; + bottom: -70rem; + left: 50%; + transform: translate(-50%, 0); +} + +#main .dialogFlavor .divFlavorClose img { + width: 44rem; + height: 44rem; +} + +#main .dialogCart { + background: linear-gradient(180deg, #ffffff 0%, #ffffff 81%); + border-radius: 12px 12px 0px 0px; +} + +#main .dialogCart .divCartTitle { + height: 59rem; + display: flex; + line-height: 60rem; + position: relative; + margin-left: 15rem; + margin-right: 10rem; + border-bottom: 1px solid #efefef; +} + +#main .dialogCart .divCartTitle .title { + font-size: 20rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + text-align: left; + color: #333333; +} +#main .dialogCart .divCartTitle i { + margin-right: 3rem; + font-size: 15rem; + vertical-align: middle; +} + +#main .dialogCart .divCartTitle .clear { + position: absolute; + right: 0; + top: 50%; + transform: translate(0, -50%); + color: #999999; + font-size: 14px; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; +} + +#main .dialogCart .divCartItem { + height: 108rem; + margin-left: 15rem; + margin-right: 10rem; + display: flex; + align-items: center; + position: relative; +} + +#main .dialogCart .divCartContent { + height: calc(100% - 130rem); + overflow-y: auto; +} + +#main .dialogCart .divCartContent .el-image { + width: 64rem; + height: 64rem; + opacity: 1; + margin-right: 10rem; +} + +#main .dialogCart .divCartContent .el-image img { + width: 64rem; + height: 64rem; +} + +#main .dialogCart .divCartContent .divDesc .name { + height: 22rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + text-align: left; + color: #333333; + line-height: 22rem; + letter-spacing: 0; + margin-bottom: 17rem; +} + +#main .dialogCart .divCartContent .divDesc .price { + font-size: 18rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; +} + +#main .dialogCart .divCartContent .divDesc .price .spanMoney { + font-size: 12rem; +} + +#main .dialogCart .divCartContent .divCartItem .divNum { + position: absolute; + right: 0; + bottom: 10rem; + display: flex; + line-height: 36rem; + height: 36rem; +} + +#main .dialogCart .divCartContent .divCartItem .divNum img { + width: 36rem; + height: 36rem; +} + +#main .dialogCart .divCartContent .divCartItem .divSplit { + width: calc(100% - 64rem); + position: absolute; + bottom: 0; + right: 0; + height: 1px; + opacity: 1; + background-color: #efefef; +} + +#main .dialogCart .divCartContent .divCartItem:last-child .divSplit { + height: 0; +} + +#main .detailsDialog { + display: flex; + flex-direction: column; + text-align: center; +} + +#main .detailsDialog .divContainer { + padding: 20rem 20rem 0 20rem; + overflow: auto; + max-height: 50vh; + overflow-y: auto; +} + +#main .detailsDialog .el-image { + width: 100%; + height: 100%; +} + +#main .detailsDialog .el-image img { + width: 100%; + height: 100%; +} + +#main .detailsDialog .title { + height: 28rem; + opacity: 1; + font-size: 20rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + color: #333333; + line-height: 28rem; + letter-spacing: 0; + margin-top: 18rem; + margin-bottom: 11rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 100%; +} + +#main .detailsDialog .content { + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: justify; + color: #333333; + line-height: 24rem; +} + +#main .detailsDialog .divNum { + display: flex; + justify-content: space-between; + margin-top: 23rem; + margin-bottom: 20rem; + padding-left: 20rem; + padding-right: 20rem; +} + +#main .detailsDialog .divNum .left { + font-size: 20rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; + line-height: 36rem; + letter-spacing: 0rem; +} + +#main .detailsDialog .divNum .left span:first-child { + font-size: 12rem; +} + +#main .detailsDialog .divNum .right { + display: flex; +} + +#main .detailsDialog .divNum .divDishNum { + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + width: auto; +} + +#main .detailsDialog .divNum .divTypes { + width: 64rem; + height: 24rem; + opacity: 1; + background: #ffc200; + border-radius: 12rem; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 24rem; + letter-spacing: 0; +} + +#main .detailsDialog .divNum .divSubtract, +.divAdd { + height: 36rem; +} + +#main .detailsDialog .divNum img { + width: 36rem; + height: 36rem; +} + +#main .detailsDialog .detailsDialogClose { + position: absolute; + bottom: -70rem; + left: 50%; + transform: translate(-50%, 0); +} + +#main .detailsDialog .detailsDialogClose img { + width: 44rem; + height: 44rem; +} + +#main .setMealDetailsDialog { + display: flex; + flex-direction: column; + text-align: center; +} + +#main .setMealDetailsDialog .divContainer { + padding: 20rem 20rem 0 20rem; + overflow: auto; + max-height: 50vh; + overflow-y: auto; +} + +#main .setMealDetailsDialog .el-image { + width: 100%; + height: 100%; +} + +#main .setMealDetailsDialog .el-image img { + width: 100%; + height: 100%; +} + +#main .setMealDetailsDialog .divSubTitle { + text-align: left; + margin-top: 16rem; + margin-bottom: 6rem; + height: 25rem; + opacity: 1; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + line-height: 25rem; + letter-spacing: 0px; + position: relative; +} + +#main .setMealDetailsDialog .divContainer .item .divSubTitle .divPrice { + position: absolute; + right: 0; + top: 0; + font-size: 18rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; + line-height: 25rem; + letter-spacing: 0rem; +} + +#main + .setMealDetailsDialog + .divContainer + .item + .divSubTitle + .divPrice + span:first-child { + font-size: 12rem; +} + +#main .setMealDetailsDialog .title { + height: 28rem; + opacity: 1; + font-size: 20rem; + font-family: PingFangSC, PingFangSC-Semibold; + font-weight: 600; + color: #333333; + line-height: 28rem; + letter-spacing: 0; + margin-top: 18rem; + margin-bottom: 11rem; +} + +#main .setMealDetailsDialog .content { + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: justify; + color: #333333; + line-height: 24rem; +} + +#main .setMealDetailsDialog .divNum { + display: flex; + justify-content: space-between; + margin-top: 23rem; + padding-bottom: 15rem; + padding-left: 20rem; + padding-right: 20rem; +} + +#main .setMealDetailsDialog .divNum .left { + font-size: 20rem; + font-family: DIN, DIN-Medium; + font-weight: 500; + text-align: left; + color: #e94e3c; + line-height: 36rem; + letter-spacing: 0rem; +} + +#main .setMealDetailsDialog .divNum .left span:first-child { + font-size: 12rem; +} + +#main .setMealDetailsDialog .divNum .right { + display: flex; +} + +#main .setMealDetailsDialog .divNum .divDishNum { + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + width: auto; +} + +#main .setMealDetailsDialog .divNum .divTypes { + width: 64rem; + height: 24rem; + opacity: 1; + background: #ffc200; + border-radius: 12rem; + font-size: 12rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 24rem; + letter-spacing: 0; +} + +#main .setMealDetailsDialog .divNum .divSubtract, +.divAdd { + height: 36rem; +} + +#main .setMealDetailsDialog .divNum img { + width: 36rem; + height: 36rem; +} + +#main .setMealDetailsDialog .divNum .right .addCart { + width: 100rem; + height: 30rem; + opacity: 1; + background: #ffc200; + border-radius: 15rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 30rem; +} + +#main .setMealDetailsDialog .detailsDialogClose { + position: absolute; + bottom: -70rem; + left: 50%; + transform: translate(-50%, 0); +} + +#main .setMealDetailsDialog .detailsDialogClose img { + width: 44rem; + height: 44rem; +} diff --git a/target/classes/front/styles/no-wify.css b/target/classes/front/styles/no-wify.css new file mode 100644 index 0000000..d66d516 --- /dev/null +++ b/target/classes/front/styles/no-wify.css @@ -0,0 +1,74 @@ +#no_wifi .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#no_wifi .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; +} + +#no_wifi .divHead .divTitle i { + position: absolute; + left: 16rem; + top: 50%; + transform: translate(0, -50%); +} + +#no_wifi .divContent { + height: calc(100vh - 88rem); + width: 100%; + background: #ffffff; + display: flex; + flex-direction: column; + text-align: center; + align-items: center; +} + +#no_wifi .divContent img { + width: 239rem; + height: 130rem; + margin-top: 104rem; + margin-bottom: 19rem; +} + +#no_wifi .divContent .divDesc { + height: 33rem; + opacity: 1; + font-size: 24rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 33rem; + letter-spacing: 0; + margin-bottom: 20rem; +} + +#no_wifi .divContent .btnRefresh { + width: 124rem; + height: 36rem; + opacity: 1; + background: #ffc200; + border-radius: 18px; + opacity: 1; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 21rem; + letter-spacing: 0; + line-height: 36rem; +} diff --git a/target/classes/front/styles/order.css b/target/classes/front/styles/order.css new file mode 100644 index 0000000..ce20a7f --- /dev/null +++ b/target/classes/front/styles/order.css @@ -0,0 +1,153 @@ +#order { + height: 100%; +} + +#order .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#order .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; +} + +#order .divHead .divTitle i { + position: absolute; + left: 16rem; + top: 50%; + transform: translate(0, -50%); +} + +#order .divBody { + margin: 10rem 12rem 10rem 12rem; + background: #ffffff; + border-radius: 6rem; + padding-left: 10rem; + padding-right: 10rem; + height: calc(100% - 108rem); + overflow-y: auto; +} + +#order .divBody .van-list .van-cell::after { + border: 0; +} + +#order .divBody .item .timeStatus { + height: 46rem; + line-height: 16rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; + letter-spacing: 0; + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 2rem dashed #efefef; + border-top: 1px solid #efefef; +} + +#order .divBody .item .timeStatus span:first-child { + color: #333333; +} + +#order .divBody .item .dishList { + padding-top: 10rem; + padding-bottom: 11rem; +} + +#order .divBody .item .dishList .item { + padding-top: 5rem; + padding-bottom: 5rem; + display: flex; + justify-content: space-between; + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; + letter-spacing: 0; +} + +#order .divBody .item .result { + display: flex; + justify-content: flex-end; + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; +} + +#order .divBody .item .result .price { + color: #343434; +} + +#order .divBody .item .btn { + display: flex; + justify-content: flex-end; + margin-bottom: 17rem; + margin-top: 20rem; +} + +#order .divBody .btn .btnAgain { + width: 124rem; + height: 36rem; + opacity: 1; + border: 1px solid #e5e4e4; + border-radius: 19rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + position: relative; +} + +#order .divNoData { + width: 100%; + height: calc(100% - 88rem); + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +#order .divNoData .divContainer img { + width: 240rem; + height: 129rem; +} + +#order .divNoData .divContainer div { + font-size: 24rem; + font-family: PingFangSC, PingFangSC-Medium; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 33rem; + height: 33rem; + margin-top: 20rem; +} diff --git a/target/classes/front/styles/pay-success.css b/target/classes/front/styles/pay-success.css new file mode 100644 index 0000000..70abfa1 --- /dev/null +++ b/target/classes/front/styles/pay-success.css @@ -0,0 +1,97 @@ +#pay_success .divHead { + width: 100%; + height: 88rem; + opacity: 1; + background: #333333; + position: relative; +} + +#pay_success .divHead .divTitle { + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #ffffff; + line-height: 25rem; + letter-spacing: 0; + position: absolute; + bottom: 13rem; + width: 100%; + display: flex; + justify-content: space-between; + align-items: center; +} + +#pay_success .divHead .divTitle i { + margin-left: 16rem; +} + +#pay_success .divHead .divTitle img { + width: 18rem; + height: 18rem; + margin-right: 19rem; +} + +#pay_success .divContent { + height: calc(100vh - 88rem); + width: 100%; + background: #ffffff; + display: flex; + flex-direction: column; + text-align: center; + align-items: center; +} + +#pay_success .divContent img { + margin-top: 148rem; + margin-bottom: 19rem; + width: 90rem; + height: 86rem; +} + +#pay_success .divContent .divSuccess { + height: 33rem; + opacity: 1; + font-size: 24rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 33rem; + margin-top: 19rem; + margin-bottom: 10rem; +} + +#pay_success .divContent .divDesc, +.divDesc1 { + height: 22rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: center; + color: #666666; + line-height: 22rem; +} + +#pay_success .divContent .divDesc1 { + margin-top: 7rem; + margin-bottom: 20rem; +} + +#pay_success .divContent .btnView { + width: 124rem; + height: 36rem; + opacity: 1; + background: #ffc200; + border-radius: 18px; + opacity: 1; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 21rem; + letter-spacing: 0; + line-height: 36rem; +} diff --git a/target/classes/front/styles/user.css b/target/classes/front/styles/user.css new file mode 100644 index 0000000..095cca4 --- /dev/null +++ b/target/classes/front/styles/user.css @@ -0,0 +1,240 @@ +#user { + height: 100%; +} + +#user .divHead { + width: 100%; + height: 164rem; + opacity: 1; + background: #ffc200; + box-sizing: border-box; + padding-left: 12rem; + padding-right: 12rem; +} + +#user .divHead .divTitle { + height: 25rem; + opacity: 1; + font-size: 18rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 25rem; + letter-spacing: 0; + padding-top: 50rem; + margin-bottom: 18rem; + position: relative; +} + +#user .divHead .divTitle i { + position: absolute; + left: 0; + margin-top: 5rem; +} + +#user .divHead .divUser { + display: flex; +} + +#user .divHead .divUser > img { + width: 58rem; + height: 58rem; + border-radius: 50%; + margin-right: 16rem; +} + +#user .divHead .divUser .desc { + display: flex; + flex-direction: column; + justify-content: center; +} + +#user .divHead .divUser .desc .divName { + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + margin-right: 6rem; + margin-bottom: 5rem; + display: flex; + align-items: center; +} + +#user .divHead .divUser .desc .divName img { + width: 16rem; + height: 16rem; + opacity: 1; + margin-left: 6rem; +} + +#user .divHead .divUser .desc .divPhone { + font-size: 14px; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #333333; +} + +#user .divContent { + height: calc(100% - 174rem); + overflow-y: auto; +} + +#user .divLinks { + height: 104rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + padding-left: 17rem; + padding-right: 11rem; + margin: 10rem; +} + +#user .divLinks .item { + height: 51rem; + line-height: 51rem; + position: relative; + display: flex; + align-items: center; +} + +#user .divLinks .divSplit { + height: 1rem; + opacity: 1; + background-color: #ebebeb; + border: 0; +} + +#user .divLinks .item img { + width: 18rem; + height: 18rem; + margin-right: 5rem; +} + +#user .divLinks .item i { + position: absolute; + right: 0; + top: 50%; + transform: translate(0, -50%); +} + +#user .divOrders { + margin: 0 10rem 10rem 10rem; + background: #ffffff; + border-radius: 6rem; + padding-left: 10rem; + padding-right: 10rem; + padding-bottom: 17rem; +} + +#user .divOrders .title { + height: 60rem; + line-height: 60rem; + opacity: 1; + font-size: 16rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: left; + color: #333333; + letter-spacing: 0; + border-bottom: 2px solid #efefef; +} + +#user .divOrders .timeStatus { + height: 46rem; + line-height: 16rem; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; + letter-spacing: 0; + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 2rem dashed #efefef; +} + +#user .divOrders .timeStatus span:first-child { + color: #333333; +} + +#user .divOrders .dishList { + padding-top: 10rem; + padding-bottom: 11rem; +} + +#user .divOrders .dishList .item { + padding-top: 5rem; + padding-bottom: 5rem; + display: flex; + justify-content: space-between; + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; + letter-spacing: 0; +} + +#user .divOrders .result { + display: flex; + justify-content: flex-end; + height: 20rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 400; + text-align: left; + color: #666666; + line-height: 20rem; +} + +#user .divOrders .result .price { + color: black; +} + +#user .divOrders .btn { + margin-top: 20rem; + display: flex; + justify-content: flex-end; +} + +#user .divOrders .btn .btnAgain { + width: 124rem; + height: 36rem; + opacity: 1; + border: 1px solid #e5e4e4; + border-radius: 19rem; + opacity: 1; + font-size: 14rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 36rem; + letter-spacing: 0; + position: relative; +} + +#user .quitLogin { + margin: 0 10rem 10rem 10rem; + height: 50rem; + opacity: 1; + background: #ffffff; + border-radius: 6rem; + opacity: 1; + font-size: 15rem; + font-family: PingFangSC, PingFangSC-Regular; + font-weight: 500; + text-align: center; + color: #333333; + line-height: 50rem; +} diff --git a/target/classes/front/styles/vant.min.css b/target/classes/front/styles/vant.min.css new file mode 100644 index 0000000..8295f78 --- /dev/null +++ b/target/classes/front/styles/vant.min.css @@ -0,0 +1 @@ +html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Segoe UI,Arial,Roboto,'PingFang SC',miui,'Hiragino Sans GB','Microsoft Yahei',sans-serif}a{text-decoration:none}button,input,textarea{color:inherit;font:inherit}[class*=van-]:focus,a:focus,button:focus,input:focus,textarea:focus{outline:0}ol,ul{margin:0;padding:0;list-style:none}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.van-clearfix::after{display:table;clear:both;content:''}[class*=van-hairline]::after{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #ebedf0;-webkit-transform:scale(.5);transform:scale(.5)}.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--top::after{border-top-width:1px}.van-hairline--left::after{border-left-width:1px}.van-hairline--right::after{border-right-width:1px}.van-hairline--bottom::after{border-bottom-width:1px}.van-hairline--top-bottom::after,.van-hairline-unset--top-bottom::after{border-width:1px 0}.van-hairline--surround::after{border-width:1px}@-webkit-keyframes van-slide-up-enter{from{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes van-slide-up-enter{from{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes van-slide-up-leave{to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes van-slide-down-enter{from{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-enter{from{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes van-slide-down-leave{to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes van-slide-left-enter{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-enter{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes van-slide-left-leave{to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes van-slide-right-enter{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes van-slide-right-enter{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes van-slide-right-leave{to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes van-fade-in{from{opacity:0}to{opacity:1}}@keyframes van-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes van-fade-out{from{opacity:1}to{opacity:0}}@keyframes van-fade-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes van-rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes van-rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.van-fade-enter-active{-webkit-animation:.3s van-fade-in both ease-out;animation:.3s van-fade-in both ease-out}.van-fade-leave-active{-webkit-animation:.3s van-fade-out both ease-in;animation:.3s van-fade-out both ease-in}.van-slide-up-enter-active{-webkit-animation:van-slide-up-enter .3s both ease-out;animation:van-slide-up-enter .3s both ease-out}.van-slide-up-leave-active{-webkit-animation:van-slide-up-leave .3s both ease-in;animation:van-slide-up-leave .3s both ease-in}.van-slide-down-enter-active{-webkit-animation:van-slide-down-enter .3s both ease-out;animation:van-slide-down-enter .3s both ease-out}.van-slide-down-leave-active{-webkit-animation:van-slide-down-leave .3s both ease-in;animation:van-slide-down-leave .3s both ease-in}.van-slide-left-enter-active{-webkit-animation:van-slide-left-enter .3s both ease-out;animation:van-slide-left-enter .3s both ease-out}.van-slide-left-leave-active{-webkit-animation:van-slide-left-leave .3s both ease-in;animation:van-slide-left-leave .3s both ease-in}.van-slide-right-enter-active{-webkit-animation:van-slide-right-enter .3s both ease-out;animation:van-slide-right-enter .3s both ease-out}.van-slide-right-leave-active{-webkit-animation:van-slide-right-leave .3s both ease-in;animation:van-slide-right-leave .3s both ease-in}.van-overlay{position:fixed;top:0;left:0;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.7)}.van-info{position:absolute;top:0;right:0;box-sizing:border-box;min-width:16px;padding:0 3px;color:#fff;font-weight:500;font-size:12px;font-family:-apple-system-font,Helvetica Neue,Arial,sans-serif;line-height:1.2;text-align:center;background-color:#ee0a24;border:1px solid #fff;border-radius:16px;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100%;transform-origin:100%}.van-info--dot{width:8px;min-width:0;height:8px;background-color:#ee0a24;border-radius:100%}.van-sidebar-item{position:relative;display:block;box-sizing:border-box;padding:20px 12px;overflow:hidden;color:#323233;font-size:14px;line-height:20px;background-color:#f7f8fa;cursor:pointer;-webkit-user-select:none;user-select:none}.van-sidebar-item:active{background-color:#f2f3f5}.van-sidebar-item__text{position:relative;display:inline-block;word-break:break-all}.van-sidebar-item:not(:last-child)::after{border-bottom-width:1px}.van-sidebar-item--select{color:#323233;font-weight:500}.van-sidebar-item--select,.van-sidebar-item--select:active{background-color:#fff}.van-sidebar-item--select::before{position:absolute;top:50%;left:0;width:4px;height:16px;background-color:#ee0a24;-webkit-transform:translateY(-50%);transform:translateY(-50%);content:''}.van-sidebar-item--disabled{color:#c8c9cc;cursor:not-allowed}.van-sidebar-item--disabled:active{background-color:#f7f8fa}@font-face{font-weight:400;font-family:vant-icon;font-style:normal;font-display:auto;src:url(data:font/ttf;base64,d09GMgABAAAAAF+QAAsAAAAA41QAAF8+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGVgCcdAqDgHyCuwEBNgIkA4dAC4NiAAQgBYR2B5RiG7C9B8a427DbAREi9V4hitI8qyMR9oKSss3+/09KOsYQhg6Uv2ulL0WPFr17UPIj32woeaBI3EETqrC4UH5jgqiaZxmv5+KtlsskpCIgpn0LrRc+R7ko/t/mjSk0edG74kcoOdxyrLW6fmucKuVBDRC+xZr5kKRoijx8f9/O/e0Lf2rZLZDGo3U8CijgDBJMMAwfN8Tr5l8ICSEJvCQkeQFCIAkzA7LIC9OQkDAyQCCMJYSxNAEHAUWtCoLorouodRKstoqtYhVsFay2VVvFMaFDbR1fjKL9VVvfpiqWIlbXy/hThgXf2vTTCpOwxIgCGJCSz79fTnvJ0L4nje3kA+PhguTxBHYbKiyyL9J15to0y3D9gNDuzvcuraqcZO+uynAgqRriwWaHcRAFhpkxJp5bz6L3Lm9f/0i/0q9K1RDcdAvb7oTtJgeGAtxwCAHAGHARDYILD4K7ITMEPDtVAgS4w9NvllEywvQ6fV1lhZnAJJl9wGcHSLqLbZUFSTeBtBCm2KJjtsyJ/+7xvBt0d9yNCPLAdntHYmC7sXckQAA45pIvuRNdkEcAnOsApzTxGQ+o+iMS5EkfAjjXAfjAHshW8YuMj4FxuhBBXCR+Znt9rFyq+mMuSNy21llgPZap6Sa+RkQQjd9PT5US25dfTTRCh8JNIykAMKpCDsnP1YgRqEXA/Jtq2WJI0aYuUhcz3qNc5T7monTT/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F2hzPca27cLfisuQOOobSSMwhcLWRHLfeawhesme71ITvV5niCpsOMJ6593Ol8AC/qYklbg+x7qon65HGq4PxgbXkT9eX6KA+Rx4suTeorO5dn/vG0Fw1wEQ9ZG4btoBsm6Km5YQg5+H8oYDZd9GjJAIcbOhjvILJDqVc21Htx3To2lDTrtu6c5nbg8aUsFvMWi/krbX+UoVCD9HC64DNfCSXSvCmVX9BkjvoGBqeGh15f0tHSfjSum4PKq7AUx+SNNdGStT7te/79ljekvL4qZPlg80fnsO24yDL1A/gdua4Uq0ofJNxlEz6wjfg8zfvRp0VM11GIx2E25cWuMMyCWCoL0JubyKKzzP8Qd03YZKOxVMarH7FY+ZQs4KHPUUZCAlZJDFLh1OxnfZF4Pcf9MmA5Btebuz/I0NbCtX8AQA=) format('woff2'),url(https://b.yzcdn.cn/vant/vant-icon-f463a9.woff) format('woff'),url(https://b.yzcdn.cn/vant/vant-icon-f463a9.ttf) format('truetype')}.van-icon{position:relative;display:inline-block;font:normal normal normal 14px/1 vant-icon;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}.van-icon::before{display:inline-block}.van-icon-add-o::before{content:'\F000'}.van-icon-add-square::before{content:'\F001'}.van-icon-add::before{content:'\F002'}.van-icon-after-sale::before{content:'\F003'}.van-icon-aim::before{content:'\F004'}.van-icon-alipay::before{content:'\F005'}.van-icon-apps-o::before{content:'\F006'}.van-icon-arrow-down::before{content:'\F007'}.van-icon-arrow-left::before{content:'\F008'}.van-icon-arrow-up::before{content:'\F009'}.van-icon-arrow::before{content:'\F00A'}.van-icon-ascending::before{content:'\F00B'}.van-icon-audio::before{content:'\F00C'}.van-icon-award-o::before{content:'\F00D'}.van-icon-award::before{content:'\F00E'}.van-icon-back-top::before{content:'\F0E6'}.van-icon-bag-o::before{content:'\F00F'}.van-icon-bag::before{content:'\F010'}.van-icon-balance-list-o::before{content:'\F011'}.van-icon-balance-list::before{content:'\F012'}.van-icon-balance-o::before{content:'\F013'}.van-icon-balance-pay::before{content:'\F014'}.van-icon-bar-chart-o::before{content:'\F015'}.van-icon-bars::before{content:'\F016'}.van-icon-bell::before{content:'\F017'}.van-icon-bill-o::before{content:'\F018'}.van-icon-bill::before{content:'\F019'}.van-icon-birthday-cake-o::before{content:'\F01A'}.van-icon-bookmark-o::before{content:'\F01B'}.van-icon-bookmark::before{content:'\F01C'}.van-icon-browsing-history-o::before{content:'\F01D'}.van-icon-browsing-history::before{content:'\F01E'}.van-icon-brush-o::before{content:'\F01F'}.van-icon-bulb-o::before{content:'\F020'}.van-icon-bullhorn-o::before{content:'\F021'}.van-icon-calendar-o::before{content:'\F022'}.van-icon-card::before{content:'\F023'}.van-icon-cart-circle-o::before{content:'\F024'}.van-icon-cart-circle::before{content:'\F025'}.van-icon-cart-o::before{content:'\F026'}.van-icon-cart::before{content:'\F027'}.van-icon-cash-back-record::before{content:'\F028'}.van-icon-cash-on-deliver::before{content:'\F029'}.van-icon-cashier-o::before{content:'\F02A'}.van-icon-certificate::before{content:'\F02B'}.van-icon-chart-trending-o::before{content:'\F02C'}.van-icon-chat-o::before{content:'\F02D'}.van-icon-chat::before{content:'\F02E'}.van-icon-checked::before{content:'\F02F'}.van-icon-circle::before{content:'\F030'}.van-icon-clear::before{content:'\F031'}.van-icon-clock-o::before{content:'\F032'}.van-icon-clock::before{content:'\F033'}.van-icon-close::before{content:'\F034'}.van-icon-closed-eye::before{content:'\F035'}.van-icon-cluster-o::before{content:'\F036'}.van-icon-cluster::before{content:'\F037'}.van-icon-column::before{content:'\F038'}.van-icon-comment-circle-o::before{content:'\F039'}.van-icon-comment-circle::before{content:'\F03A'}.van-icon-comment-o::before{content:'\F03B'}.van-icon-comment::before{content:'\F03C'}.van-icon-completed::before{content:'\F03D'}.van-icon-contact::before{content:'\F03E'}.van-icon-coupon-o::before{content:'\F03F'}.van-icon-coupon::before{content:'\F040'}.van-icon-credit-pay::before{content:'\F041'}.van-icon-cross::before{content:'\F042'}.van-icon-debit-pay::before{content:'\F043'}.van-icon-delete-o::before{content:'\F0E9'}.van-icon-delete::before{content:'\F044'}.van-icon-descending::before{content:'\F045'}.van-icon-description::before{content:'\F046'}.van-icon-desktop-o::before{content:'\F047'}.van-icon-diamond-o::before{content:'\F048'}.van-icon-diamond::before{content:'\F049'}.van-icon-discount::before{content:'\F04A'}.van-icon-down::before{content:'\F04B'}.van-icon-ecard-pay::before{content:'\F04C'}.van-icon-edit::before{content:'\F04D'}.van-icon-ellipsis::before{content:'\F04E'}.van-icon-empty::before{content:'\F04F'}.van-icon-enlarge::before{content:'\F0E4'}.van-icon-envelop-o::before{content:'\F050'}.van-icon-exchange::before{content:'\F051'}.van-icon-expand-o::before{content:'\F052'}.van-icon-expand::before{content:'\F053'}.van-icon-eye-o::before{content:'\F054'}.van-icon-eye::before{content:'\F055'}.van-icon-fail::before{content:'\F056'}.van-icon-failure::before{content:'\F057'}.van-icon-filter-o::before{content:'\F058'}.van-icon-fire-o::before{content:'\F059'}.van-icon-fire::before{content:'\F05A'}.van-icon-flag-o::before{content:'\F05B'}.van-icon-flower-o::before{content:'\F05C'}.van-icon-font-o::before{content:'\F0EC'}.van-icon-font::before{content:'\F0EB'}.van-icon-free-postage::before{content:'\F05D'}.van-icon-friends-o::before{content:'\F05E'}.van-icon-friends::before{content:'\F05F'}.van-icon-gem-o::before{content:'\F060'}.van-icon-gem::before{content:'\F061'}.van-icon-gift-card-o::before{content:'\F062'}.van-icon-gift-card::before{content:'\F063'}.van-icon-gift-o::before{content:'\F064'}.van-icon-gift::before{content:'\F065'}.van-icon-gold-coin-o::before{content:'\F066'}.van-icon-gold-coin::before{content:'\F067'}.van-icon-good-job-o::before{content:'\F068'}.van-icon-good-job::before{content:'\F069'}.van-icon-goods-collect-o::before{content:'\F06A'}.van-icon-goods-collect::before{content:'\F06B'}.van-icon-graphic::before{content:'\F06C'}.van-icon-home-o::before{content:'\F06D'}.van-icon-hot-o::before{content:'\F06E'}.van-icon-hot-sale-o::before{content:'\F06F'}.van-icon-hot-sale::before{content:'\F070'}.van-icon-hot::before{content:'\F071'}.van-icon-hotel-o::before{content:'\F072'}.van-icon-idcard::before{content:'\F073'}.van-icon-info-o::before{content:'\F074'}.van-icon-info::before{content:'\F075'}.van-icon-invition::before{content:'\F076'}.van-icon-label-o::before{content:'\F077'}.van-icon-label::before{content:'\F078'}.van-icon-like-o::before{content:'\F079'}.van-icon-like::before{content:'\F07A'}.van-icon-live::before{content:'\F07B'}.van-icon-location-o::before{content:'\F07C'}.van-icon-location::before{content:'\F07D'}.van-icon-lock::before{content:'\F07E'}.van-icon-logistics::before{content:'\F07F'}.van-icon-manager-o::before{content:'\F080'}.van-icon-manager::before{content:'\F081'}.van-icon-map-marked::before{content:'\F082'}.van-icon-medal-o::before{content:'\F083'}.van-icon-medal::before{content:'\F084'}.van-icon-minus::before{content:'\F0E8'}.van-icon-more-o::before{content:'\F085'}.van-icon-more::before{content:'\F086'}.van-icon-music-o::before{content:'\F087'}.van-icon-music::before{content:'\F088'}.van-icon-new-arrival-o::before{content:'\F089'}.van-icon-new-arrival::before{content:'\F08A'}.van-icon-new-o::before{content:'\F08B'}.van-icon-new::before{content:'\F08C'}.van-icon-newspaper-o::before{content:'\F08D'}.van-icon-notes-o::before{content:'\F08E'}.van-icon-orders-o::before{content:'\F08F'}.van-icon-other-pay::before{content:'\F090'}.van-icon-paid::before{content:'\F091'}.van-icon-passed::before{content:'\F092'}.van-icon-pause-circle-o::before{content:'\F093'}.van-icon-pause-circle::before{content:'\F094'}.van-icon-pause::before{content:'\F095'}.van-icon-peer-pay::before{content:'\F096'}.van-icon-pending-payment::before{content:'\F097'}.van-icon-phone-circle-o::before{content:'\F098'}.van-icon-phone-circle::before{content:'\F099'}.van-icon-phone-o::before{content:'\F09A'}.van-icon-phone::before{content:'\F09B'}.van-icon-photo-fail::before{content:'\F0E5'}.van-icon-photo-o::before{content:'\F09C'}.van-icon-photo::before{content:'\F09D'}.van-icon-photograph::before{content:'\F09E'}.van-icon-play-circle-o::before{content:'\F09F'}.van-icon-play-circle::before{content:'\F0A0'}.van-icon-play::before{content:'\F0A1'}.van-icon-plus::before{content:'\F0A2'}.van-icon-point-gift-o::before{content:'\F0A3'}.van-icon-point-gift::before{content:'\F0A4'}.van-icon-points::before{content:'\F0A5'}.van-icon-printer::before{content:'\F0A6'}.van-icon-qr-invalid::before{content:'\F0A7'}.van-icon-qr::before{content:'\F0A8'}.van-icon-question-o::before{content:'\F0A9'}.van-icon-question::before{content:'\F0AA'}.van-icon-records::before{content:'\F0AB'}.van-icon-refund-o::before{content:'\F0AC'}.van-icon-replay::before{content:'\F0AD'}.van-icon-revoke::before{content:'\F0ED'}.van-icon-scan::before{content:'\F0AE'}.van-icon-search::before{content:'\F0AF'}.van-icon-send-gift-o::before{content:'\F0B0'}.van-icon-send-gift::before{content:'\F0B1'}.van-icon-service-o::before{content:'\F0B2'}.van-icon-service::before{content:'\F0B3'}.van-icon-setting-o::before{content:'\F0B4'}.van-icon-setting::before{content:'\F0B5'}.van-icon-share-o::before{content:'\F0E7'}.van-icon-share::before{content:'\F0B6'}.van-icon-shop-collect-o::before{content:'\F0B7'}.van-icon-shop-collect::before{content:'\F0B8'}.van-icon-shop-o::before{content:'\F0B9'}.van-icon-shop::before{content:'\F0BA'}.van-icon-shopping-cart-o::before{content:'\F0BB'}.van-icon-shopping-cart::before{content:'\F0BC'}.van-icon-shrink::before{content:'\F0BD'}.van-icon-sign::before{content:'\F0BE'}.van-icon-smile-comment-o::before{content:'\F0BF'}.van-icon-smile-comment::before{content:'\F0C0'}.van-icon-smile-o::before{content:'\F0C1'}.van-icon-smile::before{content:'\F0C2'}.van-icon-sort::before{content:'\F0EA'}.van-icon-star-o::before{content:'\F0C3'}.van-icon-star::before{content:'\F0C4'}.van-icon-stop-circle-o::before{content:'\F0C5'}.van-icon-stop-circle::before{content:'\F0C6'}.van-icon-stop::before{content:'\F0C7'}.van-icon-success::before{content:'\F0C8'}.van-icon-thumb-circle-o::before{content:'\F0C9'}.van-icon-thumb-circle::before{content:'\F0CA'}.van-icon-todo-list-o::before{content:'\F0CB'}.van-icon-todo-list::before{content:'\F0CC'}.van-icon-tosend::before{content:'\F0CD'}.van-icon-tv-o::before{content:'\F0CE'}.van-icon-umbrella-circle::before{content:'\F0CF'}.van-icon-underway-o::before{content:'\F0D0'}.van-icon-underway::before{content:'\F0D1'}.van-icon-upgrade::before{content:'\F0D2'}.van-icon-user-circle-o::before{content:'\F0D3'}.van-icon-user-o::before{content:'\F0D4'}.van-icon-video-o::before{content:'\F0D5'}.van-icon-video::before{content:'\F0D6'}.van-icon-vip-card-o::before{content:'\F0D7'}.van-icon-vip-card::before{content:'\F0D8'}.van-icon-volume-o::before{content:'\F0D9'}.van-icon-volume::before{content:'\F0DA'}.van-icon-wap-home-o::before{content:'\F0DB'}.van-icon-wap-home::before{content:'\F0DC'}.van-icon-wap-nav::before{content:'\F0DD'}.van-icon-warn-o::before{content:'\F0DE'}.van-icon-warning-o::before{content:'\F0DF'}.van-icon-warning::before{content:'\F0E0'}.van-icon-weapp-nav::before{content:'\F0E1'}.van-icon-wechat-pay::before{content:'\F0E2'}.van-icon-wechat::before{content:'\F0EE'}.van-icon-youzan-shield::before{content:'\F0E3'}.van-icon__image{width:1em;height:1em;object-fit:contain}.van-tabbar-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#646566;font-size:12px;line-height:1;cursor:pointer}.van-tabbar-item__icon{position:relative;margin-bottom:4px;font-size:22px}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon img{display:block;height:20px}.van-tabbar-item--active{color:#1989fa;background-color:#fff}.van-tabbar-item .van-info{margin-top:4px}.van-step{position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#969799;font-size:14px}.van-step__circle{display:block;width:5px;height:5px;background-color:#969799;border-radius:50%}.van-step__line{position:absolute;background-color:#ebedf0;-webkit-transition:background-color .3s;transition:background-color .3s}.van-step--horizontal{float:left}.van-step--horizontal:first-child .van-step__title{margin-left:0;-webkit-transform:none;transform:none}.van-step--horizontal:last-child{position:absolute;right:1px;width:auto}.van-step--horizontal:last-child .van-step__title{margin-left:0;-webkit-transform:none;transform:none}.van-step--horizontal:last-child .van-step__circle-container{right:-9px;left:auto}.van-step--horizontal .van-step__circle-container{position:absolute;top:30px;left:-8px;z-index:1;padding:0 8px;background-color:#fff;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.van-step--horizontal .van-step__title{display:inline-block;margin-left:3px;font-size:12px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}@media (max-width:321px){.van-step--horizontal .van-step__title{font-size:11px}}.van-step--horizontal .van-step__line{top:30px;left:0;width:100%;height:1px}.van-step--horizontal .van-step__icon{display:block;font-size:12px}.van-step--horizontal .van-step--process{color:#323233}.van-step--vertical{display:block;float:none;padding:10px 10px 10px 0;line-height:18px}.van-step--vertical:not(:last-child)::after{border-bottom-width:1px}.van-step--vertical:first-child::before{position:absolute;top:0;left:-15px;z-index:1;width:1px;height:20px;background-color:#fff;content:''}.van-step--vertical .van-step__circle-container{position:absolute;top:19px;left:-15px;z-index:2;font-size:12px;line-height:1;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.van-step--vertical .van-step__line{top:16px;left:-15px;width:1px;height:100%}.van-step:last-child .van-step__line{width:0}.van-step--finish{color:#323233}.van-step--finish .van-step__circle,.van-step--finish .van-step__line{background-color:#07c160}.van-step__icon,.van-step__title{-webkit-transition:color .3s;transition:color .3s}.van-step__icon--active,.van-step__icon--finish,.van-step__title--active,.van-step__title--finish{color:#07c160}.van-rate{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none}.van-rate__item{position:relative}.van-rate__item:not(:last-child){padding-right:4px}.van-rate__icon{display:block;width:1em;color:#c8c9cc;font-size:20px}.van-rate__icon--half{position:absolute;top:0;left:0;width:.5em;overflow:hidden}.van-rate__icon--full{color:#ee0a24}.van-rate__icon--disabled{color:#c8c9cc}.van-rate--disabled{cursor:not-allowed}.van-rate--readonly{cursor:default}.van-notice-bar{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:40px;padding:0 16px;color:#ed6a0c;font-size:14px;line-height:24px;background-color:#fffbe8}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:24px;font-size:16px}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;-webkit-transition-timing-function:linear;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:8px 16px}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}.van-nav-bar{position:relative;z-index:1;line-height:22px;text-align:center;background-color:#fff;-webkit-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:#1989fa}.van-nav-bar__content{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:46px}.van-nav-bar__arrow{margin-right:4px;font-size:16px}.van-nav-bar__title{max-width:60%;margin:0 auto;color:#323233;font-weight:500;font-size:16px}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 16px;font-size:14px;cursor:pointer}.van-nav-bar__left:active,.van-nav-bar__right:active{opacity:.7}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:#1989fa}.van-grid-item{position:relative;box-sizing:border-box}.van-grid-item--square{height:0}.van-grid-item__icon{font-size:28px}.van-grid-item__icon-wrapper{position:relative}.van-grid-item__text{color:#646566;font-size:12px;line-height:1.5;word-break:break-all}.van-grid-item__icon+.van-grid-item__text{margin-top:8px}.van-grid-item__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;box-sizing:border-box;height:100%;padding:16px 8px;background-color:#fff}.van-grid-item__content::after{z-index:1;border-width:0 1px 1px 0}.van-grid-item__content--square{position:absolute;top:0;right:0;left:0}.van-grid-item__content--center{-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.van-grid-item__content--horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.van-grid-item__content--horizontal .van-grid-item__icon+.van-grid-item__text{margin-top:0;margin-left:8px}.van-grid-item__content--surround::after{border-width:1px}.van-grid-item__content--clickable{cursor:pointer}.van-grid-item__content--clickable:active{background-color:#f2f3f5}.van-goods-action-icon{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-width:48px;height:100%;color:#646566;font-size:10px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.van-goods-action-icon:active{background-color:#f2f3f5}.van-goods-action-icon__icon{position:relative;width:1em;margin:0 auto 5px;color:#323233;font-size:18px}.van-checkbox{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:12px}.van-checkbox__icon{-webkit-box-flex:0;-webkit-flex:none;flex:none;height:1em;font-size:20px;line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid #c8c9cc;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:color,border-color,background-color;transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--checked .van-icon{color:#fff;background-color:#1989fa;border-color:#1989fa}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:#ebedf0;border-color:#c8c9cc}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:#c8c9cc}.van-checkbox__label{margin-left:8px;color:#323233;line-height:20px}.van-checkbox__label--left{margin:0 8px 0 0}.van-checkbox__label--disabled{color:#c8c9cc}.van-coupon{margin:0 12px 12px;overflow:hidden;background-color:#fff;border-radius:8px;box-shadow:0 0 4px rgba(0,0,0,.1)}.van-coupon:active{background-color:#f2f3f5}.van-coupon__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;min-height:84px;padding:14px 0;color:#323233}.van-coupon__head{position:relative;min-width:96px;padding:0 8px;color:#ee0a24;text-align:center}.van-coupon__amount,.van-coupon__condition,.van-coupon__name,.van-coupon__valid{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount{margin-bottom:6px;font-weight:500;font-size:30px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount span{font-weight:400;font-size:40%}.van-coupon__amount span:not(:empty){margin-left:2px}.van-coupon__condition{font-size:12px;line-height:16px;white-space:pre-wrap}.van-coupon__body{position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1;border-radius:0 8px 8px 0}.van-coupon__name{margin-bottom:10px;font-weight:700;font-size:14px;line-height:20px}.van-coupon__valid{font-size:12px}.van-coupon__corner{position:absolute;top:0;right:16px;bottom:0}.van-coupon__description{padding:8px 16px;font-size:12px;border-top:1px dashed #ebedf0}.van-coupon--disabled:active{background-color:#fff}.van-coupon--disabled .van-coupon-item__content{height:74px}.van-coupon--disabled .van-coupon__head{color:inherit}.van-image{position:relative;display:inline-block}.van-image--round{overflow:hidden;border-radius:50%}.van-image--round img{border-radius:inherit}.van-image__error,.van-image__img,.van-image__loading{display:block;width:100%;height:100%}.van-image__error,.van-image__loading{position:absolute;top:0;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#969799;font-size:14px;background-color:#f7f8fa}.van-image__loading-icon{color:#dcdee0;font-size:32px}.van-image__error-icon{color:#dcdee0;font-size:32px}.van-radio{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-radio--disabled{cursor:not-allowed}.van-radio--label-disabled{cursor:default}.van-radio--horizontal{margin-right:12px}.van-radio__icon{-webkit-box-flex:0;-webkit-flex:none;flex:none;height:1em;font-size:20px;line-height:1em;cursor:pointer}.van-radio__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid #c8c9cc;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:color,border-color,background-color;transition-property:color,border-color,background-color}.van-radio__icon--round .van-icon{border-radius:100%}.van-radio__icon--checked .van-icon{color:#fff;background-color:#1989fa;border-color:#1989fa}.van-radio__icon--disabled{cursor:not-allowed}.van-radio__icon--disabled .van-icon{background-color:#ebedf0;border-color:#c8c9cc}.van-radio__icon--disabled.van-radio__icon--checked .van-icon{color:#c8c9cc}.van-radio__label{margin-left:8px;color:#323233;line-height:20px}.van-radio__label--left{margin:0 8px 0 0}.van-radio__label--disabled{color:#c8c9cc}.van-tag{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 4px;color:#fff;font-size:12px;line-height:16px;border-radius:2px}.van-tag--default{background-color:#969799}.van-tag--default.van-tag--plain{color:#969799}.van-tag--danger{background-color:#ee0a24}.van-tag--danger.van-tag--plain{color:#ee0a24}.van-tag--primary{background-color:#1989fa}.van-tag--primary.van-tag--plain{color:#1989fa}.van-tag--success{background-color:#07c160}.van-tag--success.van-tag--plain{color:#07c160}.van-tag--warning{background-color:#ff976a}.van-tag--warning.van-tag--plain{color:#ff976a}.van-tag--plain{background-color:#fff;border-color:currentColor}.van-tag--plain::before{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;border-color:inherit;border-radius:inherit;content:'';pointer-events:none}.van-tag--medium{padding:2px 6px}.van-tag--large{padding:4px 8px;font-size:14px;border-radius:4px}.van-tag--mark{border-radius:0 999px 999px 0}.van-tag--mark::after{display:block;width:2px;content:''}.van-tag--round{border-radius:999px}.van-tag__close{margin-left:2px;cursor:pointer}.van-card{position:relative;box-sizing:border-box;padding:8px 16px;color:#323233;font-size:12px;background-color:#fafafa}.van-card:not(:first-child){margin-top:8px}.van-card__header{display:-webkit-box;display:-webkit-flex;display:flex}.van-card__thumb{position:relative;-webkit-box-flex:0;-webkit-flex:none;flex:none;width:88px;height:88px;margin-right:8px}.van-card__thumb img{border-radius:8px}.van-card__content{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;min-width:0;min-height:88px}.van-card__content--centered{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.van-card__desc,.van-card__title{word-wrap:break-word}.van-card__title{max-height:32px;font-weight:500;line-height:16px}.van-card__desc{max-height:20px;color:#646566;line-height:20px}.van-card__bottom{line-height:20px}.van-card__price{display:inline-block;color:#323233;font-weight:500;font-size:12px}.van-card__price-integer{font-size:16px;font-family:Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif}.van-card__price-decimal{font-family:Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif}.van-card__origin-price{display:inline-block;margin-left:5px;color:#969799;font-size:10px;text-decoration:line-through}.van-card__num{float:right;color:#969799}.van-card__tag{position:absolute;top:2px;left:0}.van-card__footer{-webkit-box-flex:0;-webkit-flex:none;flex:none;text-align:right}.van-card__footer .van-button{margin-left:5px}.van-cell{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:border-box;width:100%;padding:10px 16px;overflow:hidden;color:#323233;font-size:14px;line-height:24px;background-color:#fff}.van-cell::after{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;right:16px;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-cell--borderless::after,.van-cell:last-child::after{display:none}.van-cell__label{margin-top:4px;color:#969799;font-size:12px;line-height:18px}.van-cell__title,.van-cell__value{-webkit-box-flex:1;-webkit-flex:1;flex:1}.van-cell__value{position:relative;overflow:hidden;color:#969799;text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__value--alone{color:#323233;text-align:left}.van-cell__left-icon,.van-cell__right-icon{height:24px;font-size:16px;line-height:24px}.van-cell__left-icon{margin-right:4px}.van-cell__right-icon{margin-left:4px;color:#969799}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:#f2f3f5}.van-cell--required{overflow:visible}.van-cell--required::before{position:absolute;left:8px;color:#ee0a24;font-size:14px;content:'*'}.van-cell--center{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.van-cell--large{padding-top:12px;padding-bottom:12px}.van-cell--large .van-cell__title{font-size:16px}.van-cell--large .van-cell__label{font-size:14px}.van-coupon-cell__value--selected{color:#323233}.van-contact-card{padding:16px}.van-contact-card__value{margin-left:5px;line-height:20px}.van-contact-card--add .van-contact-card__value{line-height:40px}.van-contact-card--add .van-cell__left-icon{color:#1989fa;font-size:40px}.van-contact-card::before{position:absolute;right:0;bottom:0;left:0;height:2px;background:-webkit-repeating-linear-gradient(135deg,#ff6c6c 0,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background:repeating-linear-gradient(-45deg,#ff6c6c 0,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background-size:80px;content:''}.van-collapse-item{position:relative}.van-collapse-item--border::after{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;top:0;right:16px;left:16px;border-top:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-collapse-item__title .van-cell__right-icon::before{-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.van-collapse-item__title::after{right:16px;display:none}.van-collapse-item__title--expanded .van-cell__right-icon::before{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.van-collapse-item__title--expanded::after{display:block}.van-collapse-item__title--borderless::after{display:none}.van-collapse-item__title--disabled{cursor:not-allowed}.van-collapse-item__title--disabled,.van-collapse-item__title--disabled .van-cell__right-icon{color:#c8c9cc}.van-collapse-item__title--disabled:active{background-color:#fff}.van-collapse-item__wrapper{overflow:hidden;-webkit-transition:height .3s ease-in-out;transition:height .3s ease-in-out;will-change:height}.van-collapse-item__content{padding:12px 16px;color:#969799;font-size:14px;line-height:1.5;background-color:#fff}.van-field__label{-webkit-box-flex:0;-webkit-flex:none;flex:none;box-sizing:border-box;width:6.2em;margin-right:12px;color:#646566;text-align:left;word-wrap:break-word}.van-field__label--center{text-align:center}.van-field__label--right{text-align:right}.van-field--disabled .van-field__label{color:#c8c9cc}.van-field__value{overflow:visible}.van-field__body{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.van-field__control{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;color:#323233;line-height:inherit;text-align:left;background-color:transparent;border:0;resize:none}.van-field__control::-webkit-input-placeholder{color:#c8c9cc}.van-field__control::placeholder{color:#c8c9cc}.van-field__control:disabled{color:#c8c9cc;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#c8c9cc}.van-field__control:read-only{cursor:default}.van-field__control--center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.van-field__control--right{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;text-align:right}.van-field__control--custom{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;min-height:24px}.van-field__control[type=date],.van-field__control[type=datetime-local],.van-field__control[type=time]{min-height:24px}.van-field__control[type=search]{-webkit-appearance:none}.van-field__button,.van-field__clear,.van-field__icon,.van-field__right-icon{-webkit-flex-shrink:0;flex-shrink:0}.van-field__clear,.van-field__right-icon{margin-right:-8px;padding:0 8px;line-height:inherit}.van-field__clear{color:#c8c9cc;font-size:16px;cursor:pointer}.van-field__left-icon .van-icon,.van-field__right-icon .van-icon{display:block;font-size:16px;line-height:inherit}.van-field__left-icon{margin-right:4px}.van-field__right-icon{color:#969799}.van-field__button{padding-left:8px}.van-field__error-message{color:#ee0a24;font-size:12px;text-align:left}.van-field__error-message--center{text-align:center}.van-field__error-message--right{text-align:right}.van-field__word-limit{margin-top:4px;color:#646566;font-size:12px;line-height:16px;text-align:right}.van-field--error .van-field__control::-webkit-input-placeholder{color:#ee0a24;-webkit-text-fill-color:currentColor}.van-field--error .van-field__control,.van-field--error .van-field__control::placeholder{color:#ee0a24;-webkit-text-fill-color:currentColor}.van-field--min-height .van-field__control{min-height:60px}.van-search{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;padding:10px 12px;background-color:#fff}.van-search__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding-left:12px;background-color:#f7f8fa;border-radius:2px}.van-search__content--round{border-radius:999px}.van-search__label{padding:0 5px;color:#323233;font-size:14px;line-height:34px}.van-search .van-cell{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:5px 8px 5px 0;background-color:transparent}.van-search .van-cell__left-icon{color:#969799}.van-search--show-action{padding-right:0}.van-search input::-webkit-search-cancel-button,.van-search input::-webkit-search-decoration,.van-search input::-webkit-search-results-button,.van-search input::-webkit-search-results-decoration{display:none}.van-search__action{padding:0 8px;color:#323233;font-size:14px;line-height:34px;cursor:pointer;-webkit-user-select:none;user-select:none}.van-search__action:active{background-color:#f2f3f5}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;background-color:#fff;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:50%;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.van-popup--center.van-popup--round{border-radius:16px}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 16px 16px}.van-popup--right{top:50%;right:0;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:16px 0 0 16px}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:16px 16px 0 0}.van-popup--left{top:50%;left:0;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 16px 16px 0}.van-popup--safe-area-inset-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-popup-slide-bottom-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-top-enter-active{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.van-popup-slide-bottom-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-top-leave-active{-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}.van-popup-slide-top-enter,.van-popup-slide-top-leave-active{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter,.van-popup-slide-right-leave-active{-webkit-transform:translate3d(100%,-50%,0);transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter,.van-popup-slide-bottom-leave-active{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.van-popup-slide-left-enter,.van-popup-slide-left-leave-active{-webkit-transform:translate3d(-100%,-50%,0);transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:1;color:#c8c9cc;font-size:22px;cursor:pointer}.van-popup__close-icon:active{color:#969799}.van-popup__close-icon--top-left{top:16px;left:16px}.van-popup__close-icon--top-right{top:16px;right:16px}.van-popup__close-icon--bottom-left{bottom:16px;left:16px}.van-popup__close-icon--bottom-right{right:16px;bottom:16px}.van-share-sheet__header{padding:12px 16px 4px;text-align:center}.van-share-sheet__title{margin-top:8px;color:#323233;font-weight:400;font-size:14px;line-height:20px}.van-share-sheet__description{display:block;margin-top:8px;color:#969799;font-size:12px;line-height:16px}.van-share-sheet__options{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;padding:16px 0 16px 8px;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border::before{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;top:0;right:0;left:16px;border-top:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.van-share-sheet__option:active{opacity:.7}.van-share-sheet__icon{width:48px;height:48px;margin:0 16px}.van-share-sheet__name{margin-top:8px;padding:0 4px;color:#646566;font-size:12px}.van-share-sheet__option-description{padding:0 4px;color:#c8c9cc;font-size:12px}.van-share-sheet__cancel{display:block;width:100%;padding:0;font-size:16px;line-height:48px;text-align:center;background:#fff;border:none;cursor:pointer}.van-share-sheet__cancel::before{display:block;height:8px;background-color:#f7f8fa;content:' '}.van-share-sheet__cancel:active{background-color:#f2f3f5}.van-popover{position:absolute;overflow:visible;background-color:transparent;-webkit-transition:opacity .15s,-webkit-transform .15s;transition:opacity .15s,-webkit-transform .15s;transition:opacity .15s,transform .15s;transition:opacity .15s,transform .15s,-webkit-transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:6px}.van-popover__content{overflow:hidden;border-radius:8px}.van-popover__action{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;width:128px;height:44px;padding:0 16px;font-size:14px;line-height:20px;cursor:pointer}.van-popover__action:last-child .van-popover__action-text::after{display:none}.van-popover__action-text{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:100%}.van-popover__action-icon{margin-right:8px;font-size:20px}.van-popover__action--with-icon .van-popover__action-text{-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;-webkit-transform:translate(-50%,100%);transform:translate(-50%,100%)}.van-popover[data-popper-placement=top]{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=top-start]{-webkit-transform-origin:0 100%;transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:16px}.van-popover[data-popper-placement=top-end]{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:16px}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;-webkit-transform:translate(100%,-50%);transform:translate(100%,-50%)}.van-popover[data-popper-placement=left]{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=left-start]{-webkit-transform-origin:100% 0;transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:16px}.van-popover[data-popper-placement=left-end]{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:16px}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.van-popover[data-popper-placement=right]{-webkit-transform-origin:0 50%;transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=right-start]{-webkit-transform-origin:0 0;transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:16px}.van-popover[data-popper-placement=right-end]{-webkit-transform-origin:0 100%;transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:16px}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.van-popover[data-popper-placement=bottom]{-webkit-transform-origin:50% 0;transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=bottom-start]{-webkit-transform-origin:0 0;transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:16px}.van-popover[data-popper-placement=bottom-end]{-webkit-transform-origin:100% 0;transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:16px}.van-popover--light{color:#323233}.van-popover--light .van-popover__content{background-color:#fff;box-shadow:0 2px 12px rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:#fff}.van-popover--light .van-popover__action:active{background-color:#f2f3f5}.van-popover--light .van-popover__action--disabled{color:#c8c9cc;cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:#fff}.van-popover--dark .van-popover__content{background-color:#4a4a4a}.van-popover--dark .van-popover__arrow{color:#4a4a4a}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:#969799}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text::after{border-color:#646566}.van-popover-zoom-enter,.van-popover-zoom-leave-active{-webkit-transform:scale(.8);transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.van-popover-zoom-leave-active{-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}.van-notify{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:8px 16px;color:#fff;font-size:14px;line-height:20px;white-space:pre-wrap;text-align:center;word-wrap:break-word}.van-notify--primary{background-color:#1989fa}.van-notify--success{background-color:#07c160}.van-notify--danger{background-color:#ee0a24}.van-notify--warning{background-color:#ff976a}.van-dropdown-item{position:fixed;right:0;left:0;z-index:10;overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active{color:#ee0a24}.van-dropdown-item__option--active .van-dropdown-item__icon{color:#ee0a24}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:80%}.van-loading{position:relative;color:#c8c9cc;font-size:0;vertical-align:middle}.van-loading__spinner{position:relative;display:inline-block;width:30px;max-width:100%;height:30px;max-height:100%;vertical-align:middle;-webkit-animation:van-rotate .8s linear infinite;animation:van-rotate .8s linear infinite}.van-loading__spinner--spinner{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.van-loading__spinner--spinner i{position:absolute;top:0;left:0;width:100%;height:100%}.van-loading__spinner--spinner i::before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:' '}.van-loading__spinner--circular{-webkit-animation-duration:2s;animation-duration:2s}.van-loading__circular{display:block;width:100%;height:100%}.van-loading__circular circle{-webkit-animation:van-circular 1.5s ease-in-out infinite;animation:van-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.van-loading__text{display:inline-block;margin-left:8px;color:#969799;font-size:14px;vertical-align:middle}.van-loading--vertical{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.van-loading--vertical .van-loading__text{margin:8px 0 0}@-webkit-keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}100%{stroke-dasharray:90,150;stroke-dashoffset:-120}}@keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}100%{stroke-dasharray:90,150;stroke-dashoffset:-120}}.van-loading__spinner--spinner i:nth-of-type(1){-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.van-loading__spinner--spinner i:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.van-loading__spinner--spinner i:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.van-loading__spinner--spinner i:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.van-loading__spinner--spinner i:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.van-loading__spinner--spinner i:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.van-loading__spinner--spinner i:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.van-loading__spinner--spinner i:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.van-loading__spinner--spinner i:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.van-loading__spinner--spinner i:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.van-loading__spinner--spinner i:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.van-loading__spinner--spinner i:nth-of-type(12){-webkit-transform:rotate(360deg);transform:rotate(360deg);opacity:.3125}.van-pull-refresh{overflow:hidden;-webkit-user-select:none;user-select:none}.van-pull-refresh__track{position:relative;height:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.van-pull-refresh__head{position:absolute;left:0;width:100%;height:50px;overflow:hidden;color:#969799;font-size:14px;line-height:50px;text-align:center;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:100;width:100%;padding-bottom:22px;background-color:#f2f3f5;-webkit-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:20px 20px 0 0}.van-number-keyboard__header{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:content-box;height:34px;padding-top:6px;color:#646566;font-size:16px}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:-webkit-box;display:-webkit-flex;display:flex;padding:6px 0 0 6px}.van-number-keyboard__keys{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:3;-webkit-flex:3;flex:3;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:0 16px;color:#576b95;font-size:14px;background-color:transparent;border:none;cursor:pointer}.van-number-keyboard__close:active{opacity:.7}.van-number-keyboard__sidebar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:48px;font-size:28px;line-height:1.5;background-color:#fff;border-radius:8px;cursor:pointer}.van-key--large{position:absolute;top:0;right:6px;bottom:6px;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:16px}.van-key--active{background-color:#ebedf0}.van-key--blue{color:#fff;background-color:#1989fa}.van-key--blue.van-key--active{background-color:#0570db}.van-key__wrapper{position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:33%;flex-basis:33%;box-sizing:border-box;padding:0 6px 6px 0}.van-key__wrapper--wider{-webkit-flex-basis:66%;flex-basis:66%}.van-key__delete-icon{width:32px;height:22px}.van-key__collapse-icon{width:30px;height:24px}.van-key__loading-icon{color:#fff}.van-list__error-text,.van-list__finished-text,.van-list__loading{color:#969799;font-size:14px;line-height:50px;text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:2em;height:1em;font-size:30px;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:1em;cursor:pointer;-webkit-transition:background-color .3s;transition:background-color .3s}.van-switch__node{position:absolute;top:0;left:0;width:1em;height:1em;background-color:#fff;border-radius:100%;box-shadow:0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05);-webkit-transition:-webkit-transform .3s cubic-bezier(.3,1.05,.4,1.05);transition:-webkit-transform .3s cubic-bezier(.3,1.05,.4,1.05);transition:transform .3s cubic-bezier(.3,1.05,.4,1.05);transition:transform .3s cubic-bezier(.3,1.05,.4,1.05),-webkit-transform .3s cubic-bezier(.3,1.05,.4,1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background-color:#1989fa}.van-switch--on .van-switch__node{-webkit-transform:translateX(1em);transform:translateX(1em)}.van-switch--on .van-switch__loading{color:#1989fa}.van-switch--disabled{cursor:not-allowed;opacity:.5}.van-switch--loading{cursor:default}.van-switch-cell{padding-top:9px;padding-bottom:9px}.van-switch-cell--large{padding-top:11px;padding-bottom:11px}.van-switch-cell .van-switch{float:right}.van-button{position:relative;display:inline-block;box-sizing:border-box;height:44px;margin:0;padding:0;font-size:16px;line-height:1.2;text-align:center;border-radius:2px;cursor:pointer;-webkit-transition:opacity .2s;transition:opacity .2s;-webkit-appearance:none}.van-button::before{position:absolute;top:50%;left:50%;width:100%;height:100%;background-color:#000;border:inherit;border-color:#000;border-radius:inherit;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);opacity:0;content:' '}.van-button:active::before{opacity:.1}.van-button--disabled::before,.van-button--loading::before{display:none}.van-button--default{color:#323233;background-color:#fff;border:1px solid #ebedf0}.van-button--primary{color:#fff;background-color:#07c160;border:1px solid #07c160}.van-button--info{color:#fff;background-color:#1989fa;border:1px solid #1989fa}.van-button--danger{color:#fff;background-color:#ee0a24;border:1px solid #ee0a24}.van-button--warning{color:#fff;background-color:#ff976a;border:1px solid #ff976a}.van-button--plain{background-color:#fff}.van-button--plain.van-button--primary{color:#07c160}.van-button--plain.van-button--info{color:#1989fa}.van-button--plain.van-button--danger{color:#ee0a24}.van-button--plain.van-button--warning{color:#ff976a}.van-button--large{width:100%;height:50px}.van-button--normal{padding:0 15px;font-size:14px}.van-button--small{height:32px;padding:0 8px;font-size:12px}.van-button__loading{color:inherit;font-size:inherit}.van-button--mini{height:24px;padding:0 4px;font-size:10px}.van-button--mini+.van-button--mini{margin-left:4px}.van-button--block{display:block;width:100%}.van-button--disabled{cursor:not-allowed;opacity:.5}.van-button--loading{cursor:default}.van-button--round{border-radius:999px}.van-button--square{border-radius:0}.van-button__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:100%}.van-button__content::before{content:' '}.van-button__icon{font-size:1.2em;line-height:inherit}.van-button__icon+.van-button__text,.van-button__loading+.van-button__text,.van-button__text+.van-button__icon,.van-button__text+.van-button__loading{margin-left:4px}.van-button--hairline{border-width:0}.van-button--hairline::after{border-color:inherit;border-radius:4px}.van-button--hairline.van-button--round::after{border-radius:999px}.van-button--hairline.van-button--square::after{border-radius:0}.van-submit-bar{position:fixed;bottom:0;left:0;z-index:100;width:100%;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff;-webkit-user-select:none;user-select:none}.van-submit-bar__tip{padding:8px 12px;color:#f56723;font-size:12px;line-height:1.5;background-color:#fff7cc}.van-submit-bar__tip-icon{min-width:18px;font-size:12px;vertical-align:middle}.van-submit-bar__tip-text{vertical-align:middle}.van-submit-bar__bar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;height:50px;padding:0 16px;font-size:14px}.van-submit-bar__text{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding-right:12px;color:#323233;text-align:right}.van-submit-bar__text span{display:inline-block}.van-submit-bar__suffix-label{margin-left:5px;font-weight:500}.van-submit-bar__price{color:#ee0a24;font-weight:500;font-size:12px}.van-submit-bar__price--integer{font-size:20px;font-family:Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif}.van-submit-bar__button{width:110px;height:40px;font-weight:500;border:none}.van-submit-bar__button--danger{background:-webkit-linear-gradient(left,#ff6034,#ee0a24);background:linear-gradient(to right,#ff6034,#ee0a24)}.van-submit-bar--unfit{padding-bottom:0}.van-goods-action-button{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:40px;font-weight:500;font-size:14px;border:none;border-radius:0}.van-goods-action-button--first{margin-left:5px;border-top-left-radius:999px;border-bottom-left-radius:999px}.van-goods-action-button--last{margin-right:5px;border-top-right-radius:999px;border-bottom-right-radius:999px}.van-goods-action-button--warning{background:-webkit-linear-gradient(left,#ffd01e,#ff8917);background:linear-gradient(to right,#ffd01e,#ff8917)}.van-goods-action-button--danger{background:-webkit-linear-gradient(left,#ff6034,#ee0a24);background:linear-gradient(to right,#ff6034,#ee0a24)}@media (max-width:321px){.van-goods-action-button{font-size:13px}}.van-toast{position:fixed;top:50%;left:50%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:content-box;width:88px;max-width:70%;min-height:88px;padding:16px;color:#fff;font-size:14px;line-height:20px;white-space:pre-wrap;text-align:center;word-wrap:break-word;background-color:rgba(0,0,0,.7);border-radius:8px;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.van-toast--unclickable{overflow:hidden}.van-toast--unclickable *{pointer-events:none}.van-toast--html,.van-toast--text{width:-webkit-fit-content;width:fit-content;min-width:96px;min-height:0;padding:8px 12px}.van-toast--html .van-toast__text,.van-toast--text .van-toast__text{margin-top:0}.van-toast--top{top:20%}.van-toast--bottom{top:auto;bottom:20%}.van-toast__icon{font-size:36px}.van-toast__loading{padding:4px;color:#fff}.van-toast__text{margin-top:8px}.van-calendar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:100%;background-color:#fff}.van-calendar__popup.van-popup--bottom,.van-calendar__popup.van-popup--top{height:80%}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{-webkit-flex-shrink:0;flex-shrink:0;box-shadow:0 2px 10px rgba(125,126,128,.16)}.van-calendar__header-subtitle,.van-calendar__header-title,.van-calendar__month-title{height:44px;font-weight:500;line-height:44px;text-align:center}.van-calendar__header-title{font-size:16px}.van-calendar__header-subtitle{font-size:14px}.van-calendar__month-title{font-size:14px}.van-calendar__weekdays{display:-webkit-box;display:-webkit-flex;display:flex}.van-calendar__weekday{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:12px;line-height:30px;text-align:center}.van-calendar__body{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:rgba(242,243,245,.8);font-size:160px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:64px;font-size:16px;cursor:pointer}.van-calendar__day--end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected,.van-calendar__day--start,.van-calendar__day--start-end{color:#fff;background-color:#ee0a24}.van-calendar__day--start{border-radius:4px 0 0 4px}.van-calendar__day--end{border-radius:0 4px 4px 0}.van-calendar__day--multiple-selected,.van-calendar__day--start-end{border-radius:4px}.van-calendar__day--middle{color:#ee0a24}.van-calendar__day--middle::after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:.1;content:''}.van-calendar__day--disabled{color:#c8c9cc;cursor:default}.van-calendar__bottom-info,.van-calendar__top-info{position:absolute;right:0;left:0;font-size:10px;line-height:14px}@media (max-width:350px){.van-calendar__bottom-info,.van-calendar__top-info{font-size:9px}}.van-calendar__top-info{top:6px}.van-calendar__bottom-info{bottom:6px}.van-calendar__selected-day{width:54px;height:54px;color:#fff;background-color:#ee0a24;border-radius:4px}.van-calendar__footer{-webkit-flex-shrink:0;flex-shrink:0;padding:0 16px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-calendar__footer--unfit{padding-bottom:0}.van-calendar__confirm{height:36px;margin:7px 0}.van-picker{position:relative;background-color:#fff;-webkit-user-select:none;user-select:none}.van-picker__toolbar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:44px}.van-picker__cancel,.van-picker__confirm{height:100%;padding:0 16px;font-size:14px;background-color:transparent;border:none;cursor:pointer}.van-picker__cancel:active,.van-picker__confirm:active{opacity:.7}.van-picker__confirm{color:#576b95}.van-picker__cancel{color:#969799}.van-picker__title{max-width:50%;font-weight:500;font-size:16px;line-height:20px;text-align:center}.van-picker__columns{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#1989fa;background-color:rgba(255,255,255,.9)}.van-picker__frame{position:absolute;top:50%;right:16px;left:16px;z-index:2;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:-webkit-linear-gradient(top,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4)),-webkit-linear-gradient(bottom,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4));background-image:linear-gradient(180deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4)),linear-gradient(0deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.4));background-repeat:no-repeat;background-position:top,bottom;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none}.van-picker-column{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:hidden;font-size:16px}.van-picker-column__wrapper{-webkit-transition-timing-function:cubic-bezier(.23,1,.68,1);transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:0 4px;color:#000}.van-picker-column__item--disabled{cursor:not-allowed;opacity:.3}.van-action-sheet{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;max-height:80%;overflow:hidden;color:#323233}.van-action-sheet__content{-webkit-box-flex:1;-webkit-flex:1 auto;flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__cancel,.van-action-sheet__item{display:block;width:100%;padding:14px 16px;font-size:16px;background-color:#fff;border:none;cursor:pointer}.van-action-sheet__cancel:active,.van-action-sheet__item:active{background-color:#f2f3f5}.van-action-sheet__item{line-height:22px}.van-action-sheet__item--disabled,.van-action-sheet__item--loading{color:#c8c9cc}.van-action-sheet__item--disabled:active,.van-action-sheet__item--loading:active{background-color:#fff}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{-webkit-flex-shrink:0;flex-shrink:0;box-sizing:border-box;color:#646566}.van-action-sheet__subname{margin-top:8px;color:#969799;font-size:12px;line-height:18px}.van-action-sheet__gap{display:block;height:8px;background-color:#f7f8fa}.van-action-sheet__header{-webkit-flex-shrink:0;flex-shrink:0;font-weight:500;font-size:16px;line-height:48px;text-align:center}.van-action-sheet__description{position:relative;-webkit-flex-shrink:0;flex-shrink:0;padding:20px 16px;color:#969799;font-size:14px;line-height:20px;text-align:center}.van-action-sheet__description::after{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;right:16px;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:22px;height:22px}.van-action-sheet__close{position:absolute;top:0;right:0;padding:0 16px;color:#c8c9cc;font-size:22px;line-height:inherit}.van-action-sheet__close:active{color:#969799}.van-goods-action{position:fixed;right:0;bottom:0;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:content-box;height:50px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff}.van-goods-action--unfit{padding-bottom:0}.van-dialog{position:fixed;top:45%;left:50%;width:320px;overflow:hidden;font-size:16px;background-color:#fff;border-radius:16px;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:.3s;transition:.3s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}@media (max-width:321px){.van-dialog{width:90%}}.van-dialog__header{padding-top:26px;font-weight:500;line-height:24px;text-align:center}.van-dialog__header--isolated{padding:24px 0}.van-dialog__content--isolated{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;min-height:104px}.van-dialog__message{-webkit-box-flex:1;-webkit-flex:1;flex:1;max-height:60vh;padding:26px 24px;overflow-y:auto;font-size:14px;line-height:20px;white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:8px;color:#646566}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__footer{display:-webkit-box;display:-webkit-flex;display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-dialog__cancel,.van-dialog__confirm{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:48px;margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:#ee0a24}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:8px 24px 16px}.van-dialog--round-button .van-dialog__message{padding-bottom:16px;color:#323233}.van-dialog--round-button .van-dialog__cancel,.van-dialog--round-button .van-dialog__confirm{height:36px}.van-dialog--round-button .van-dialog__confirm{color:#fff}.van-dialog-bounce-enter{-webkit-transform:translate3d(-50%,-50%,0) scale(.7);transform:translate3d(-50%,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{-webkit-transform:translate3d(-50%,-50%,0) scale(.9);transform:translate3d(-50%,-50%,0) scale(.9);opacity:0}.van-contact-edit{padding:16px}.van-contact-edit__fields{overflow:hidden;border-radius:4px}.van-contact-edit__fields .van-field__label{width:4.1em}.van-contact-edit__switch-cell{margin-top:10px;padding-top:9px;padding-bottom:9px;border-radius:4px}.van-contact-edit__buttons{padding:32px 0}.van-contact-edit .van-button{margin-bottom:12px;font-size:16px}.van-address-edit{padding:12px}.van-address-edit__fields{overflow:hidden;border-radius:8px}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:12px;overflow:hidden;border-radius:8px}.van-address-edit__buttons{padding:32px 4px}.van-address-edit__buttons .van-button{margin-bottom:12px}.van-address-edit-detail{padding:0}.van-address-edit-detail__search-item{background-color:#f2f3f5}.van-address-edit-detail__keyword{color:#ee0a24}.van-address-edit-detail__finish{color:#1989fa;font-size:12px}.van-radio-group--horizontal{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-contact-list{box-sizing:border-box;height:100%;padding-bottom:80px}.van-contact-list__item{padding:16px}.van-contact-list__item-value{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding-right:32px;padding-left:8px}.van-contact-list__item-tag{-webkit-box-flex:0;-webkit-flex:none;flex:none;margin-left:8px;padding-top:0;padding-bottom:0;line-height:1.4em}.van-contact-list__group{box-sizing:border-box;height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-contact-list__edit{font-size:16px}.van-contact-list__bottom{position:fixed;right:0;bottom:0;left:0;z-index:999;padding:0 16px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff}.van-contact-list__add{height:40px;margin:5px 0}.van-address-list{box-sizing:border-box;height:100%;padding:12px 12px 80px}.van-address-list__bottom{position:fixed;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:0 16px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff}.van-address-list__add{height:40px;margin:5px 0}.van-address-list__disabled-text{padding:20px 0 16px;color:#969799;font-size:14px;line-height:20px}.van-address-item{padding:12px;background-color:#fff;border-radius:8px}.van-address-item:not(:last-child){margin-bottom:12px}.van-address-item__value{padding-right:44px}.van-address-item__name{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:8px;font-size:16px;line-height:22px}.van-address-item__tag{-webkit-box-flex:0;-webkit-flex:none;flex:none;margin-left:8px;padding-top:0;padding-bottom:0;line-height:1.4em}.van-address-item__address{color:#323233;font-size:13px;line-height:18px}.van-address-item--disabled .van-address-item__address,.van-address-item--disabled .van-address-item__name{color:#c8c9cc}.van-address-item__edit{position:absolute;top:50%;right:16px;color:#969799;font-size:20px;-webkit-transform:translate(0,-50%);transform:translate(0,-50%)}.van-address-item .van-cell{padding:0}.van-address-item .van-radio__label{margin-left:12px}.van-address-item .van-radio__icon--checked .van-icon{background-color:#ee0a24;border-color:#ee0a24}.van-badge{display:inline-block;box-sizing:border-box;min-width:16px;padding:0 3px;color:#fff;font-weight:500;font-size:12px;font-family:-apple-system-font,Helvetica Neue,Arial,sans-serif;line-height:1.2;text-align:center;background-color:#ee0a24;border:1px solid #fff;border-radius:999px}.van-badge--fixed{position:absolute;top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100%;transform-origin:100%}.van-badge--dot{width:8px;min-width:0;height:8px;background-color:#ee0a24;border-radius:100%}.van-badge__wrapper{position:relative;display:inline-block}.van-tab__pane,.van-tab__pane-wrapper{-webkit-flex-shrink:0;flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__pane-wrapper--inactive{height:0;overflow:visible}.van-sticky--fixed{position:fixed;top:0;right:0;left:0;z-index:99}.van-tab{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:0 4px;color:#646566;font-size:14px;line-height:20px;cursor:pointer}.van-tab--active{color:#323233;font-weight:500}.van-tab--disabled{color:#c8c9cc;cursor:not-allowed}.van-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.van-tab__text-wrapper{position:relative}.van-tabs{position:relative}.van-tabs__wrap{overflow:hidden}.van-tabs__wrap--page-top{position:fixed}.van-tabs__wrap--content-bottom{top:auto;bottom:0}.van-tabs__wrap--scrollable .van-tab{-webkit-box-flex:1;-webkit-flex:1 0 auto;flex:1 0 auto;padding:0 12px}.van-tabs__wrap--scrollable .van-tabs__nav{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-tabs__wrap--scrollable .van-tabs__nav::-webkit-scrollbar{display:none}.van-tabs__nav{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;-webkit-user-select:none;user-select:none}.van-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:15px}.van-tabs__nav--complete{padding-right:8px;padding-left:8px}.van-tabs__nav--card{box-sizing:border-box;height:30px;margin:0 16px;border:1px solid #ee0a24;border-radius:2px}.van-tabs__nav--card .van-tab{color:#ee0a24;border-right:1px solid #ee0a24}.van-tabs__nav--card .van-tab:last-child{border-right:none}.van-tabs__nav--card .van-tab.van-tab--active{color:#fff;background-color:#ee0a24}.van-tabs__nav--card .van-tab--disabled{color:#c8c9cc}.van-tabs__line{position:absolute;bottom:15px;left:0;z-index:1;width:40px;height:3px;background-color:#ee0a24;border-radius:3px}.van-tabs__track{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;width:100%;height:100%;will-change:left}.van-tabs__content--animated{overflow:hidden}.van-tabs--line .van-tabs__wrap{height:44px}.van-tabs--card>.van-tabs__wrap{height:30px}.van-coupon-list{position:relative;height:100%;background-color:#f7f8fa}.van-coupon-list__field{padding:5px 0 5px 16px}.van-coupon-list__field .van-field__body{height:34px;padding-left:12px;line-height:34px;background:#f7f8fa;border-radius:17px}.van-coupon-list__field .van-field__body::-webkit-input-placeholder{color:#c8c9cc}.van-coupon-list__field .van-field__body::placeholder{color:#c8c9cc}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:#fff}.van-coupon-list__exchange{-webkit-box-flex:0;-webkit-flex:none;flex:none;height:32px;font-size:16px;line-height:30px;border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 6px 12px -12px #969799}.van-coupon-list__list{box-sizing:border-box;padding:16px 0 24px;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:66px}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:5px 16px;font-weight:500;background-color:#fff}.van-coupon-list__close{height:40px}.van-coupon-list__empty{padding-top:60px;text-align:center}.van-coupon-list__empty p{margin:16px 0;color:#969799;font-size:14px;line-height:20px}.van-coupon-list__empty img{width:200px;height:200px}.van-cascader__header{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:48px;padding:0 16px}.van-cascader__title{font-weight:500;font-size:16px;line-height:20px}.van-cascader__close-icon{color:#c8c9cc;font-size:22px}.van-cascader__close-icon:active{color:#969799}.van-cascader__tabs .van-tab{-webkit-box-flex:0;-webkit-flex:none;flex:none;padding:0 10px}.van-cascader__tabs.van-tabs--line .van-tabs__wrap{height:48px}.van-cascader__tabs .van-tabs__nav--complete{padding-right:6px;padding-left:6px}.van-cascader__tab{color:#323233;font-weight:500}.van-cascader__tab--unselected{color:#969799;font-weight:400}.van-cascader__option{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:10px 16px;font-size:14px;line-height:20px}.van-cascader__option:active{background-color:#f2f3f5}.van-cascader__option--selected{color:#ee0a24;font-weight:500}.van-cascader__selected-icon{font-size:18px}.van-cascader__options{box-sizing:border-box;height:384px;padding-top:6px;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-cell-group{background-color:#fff}.van-cell-group__title{padding:16px 16px 8px;color:#969799;font-size:14px;line-height:16px}.van-panel{background:#fff}.van-panel__header-value{color:#ee0a24}.van-panel__footer{padding:8px 16px}.van-checkbox-group--horizontal{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-circle{position:relative;display:inline-block;width:100px;height:100px;text-align:center}.van-circle svg{position:absolute;top:0;left:0;width:100%;height:100%}.van-circle__layer{stroke:#fff}.van-circle__hover{fill:none;stroke:#1989fa;stroke-linecap:round}.van-circle__text{position:absolute;top:50%;left:0;box-sizing:border-box;width:100%;padding:0 4px;color:#323233;font-weight:500;font-size:14px;line-height:20px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.van-col{float:left;box-sizing:border-box;min-height:1px}.van-col--1{width:4.16666667%}.van-col--offset-1{margin-left:4.16666667%}.van-col--2{width:8.33333333%}.van-col--offset-2{margin-left:8.33333333%}.van-col--3{width:12.5%}.van-col--offset-3{margin-left:12.5%}.van-col--4{width:16.66666667%}.van-col--offset-4{margin-left:16.66666667%}.van-col--5{width:20.83333333%}.van-col--offset-5{margin-left:20.83333333%}.van-col--6{width:25%}.van-col--offset-6{margin-left:25%}.van-col--7{width:29.16666667%}.van-col--offset-7{margin-left:29.16666667%}.van-col--8{width:33.33333333%}.van-col--offset-8{margin-left:33.33333333%}.van-col--9{width:37.5%}.van-col--offset-9{margin-left:37.5%}.van-col--10{width:41.66666667%}.van-col--offset-10{margin-left:41.66666667%}.van-col--11{width:45.83333333%}.van-col--offset-11{margin-left:45.83333333%}.van-col--12{width:50%}.van-col--offset-12{margin-left:50%}.van-col--13{width:54.16666667%}.van-col--offset-13{margin-left:54.16666667%}.van-col--14{width:58.33333333%}.van-col--offset-14{margin-left:58.33333333%}.van-col--15{width:62.5%}.van-col--offset-15{margin-left:62.5%}.van-col--16{width:66.66666667%}.van-col--offset-16{margin-left:66.66666667%}.van-col--17{width:70.83333333%}.van-col--offset-17{margin-left:70.83333333%}.van-col--18{width:75%}.van-col--offset-18{margin-left:75%}.van-col--19{width:79.16666667%}.van-col--offset-19{margin-left:79.16666667%}.van-col--20{width:83.33333333%}.van-col--offset-20{margin-left:83.33333333%}.van-col--21{width:87.5%}.van-col--offset-21{margin-left:87.5%}.van-col--22{width:91.66666667%}.van-col--offset-22{margin-left:91.66666667%}.van-col--23{width:95.83333333%}.van-col--offset-23{margin-left:95.83333333%}.van-col--24{width:100%}.van-col--offset-24{margin-left:100%}.van-count-down{color:#323233;font-size:14px;line-height:20px}.van-divider{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:16px 0;color:#969799;font-size:14px;line-height:24px;border-color:#ebedf0;border-style:solid;border-width:0}.van-divider::after,.van-divider::before{display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;box-sizing:border-box;height:1px;border-color:inherit;border-style:inherit;border-width:1px 0 0}.van-divider::before{content:''}.van-divider--hairline::after,.van-divider--hairline::before{-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--content-center::before,.van-divider--content-left::before,.van-divider--content-right::before{margin-right:16px}.van-divider--content-center::after,.van-divider--content-left::after,.van-divider--content-right::after{margin-left:16px;content:''}.van-divider--content-left::before{max-width:10%}.van-divider--content-right::after{max-width:10%}.van-dropdown-menu{-webkit-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;height:48px;background-color:#fff;box-shadow:0 2px 12px rgba(100,101,102,.12)}.van-dropdown-menu__bar--opened{z-index:11}.van-dropdown-menu__item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-width:0;cursor:pointer}.van-dropdown-menu__item:active{opacity:.7}.van-dropdown-menu__item--disabled:active{opacity:1}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:#969799}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:0 8px;color:#323233;font-size:15px;line-height:22px}.van-dropdown-menu__title::after{position:absolute;top:50%;right:-4px;margin-top:-5px;border:3px solid;border-color:transparent transparent #dcdee0 #dcdee0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:.8;content:''}.van-dropdown-menu__title--active{color:#ee0a24}.van-dropdown-menu__title--active::after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down::after{margin-top:-1px;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.van-empty{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:32px 0}.van-empty__image{width:160px;height:160px}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:16px;padding:0 60px;color:#969799;font-size:14px;line-height:20px}.van-empty__bottom{margin-top:24px}.van-grid{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-swipe{position:relative;overflow:hidden;cursor:grab;-webkit-user-select:none;user-select:none}.van-swipe__track{display:-webkit-box;display:-webkit-flex;display:flex;height:100%}.van-swipe__track--vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.van-swipe__indicators{position:absolute;bottom:12px;left:50%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:12px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:6px}.van-swipe__indicator{width:6px;height:6px;background-color:#ebedf0;border-radius:100%;opacity:.3;-webkit-transition:opacity .2s,background-color .2s;transition:opacity .2s,background-color .2s}.van-swipe__indicator:not(:last-child){margin-right:6px}.van-swipe__indicator--active{background-color:#1989fa;opacity:1}.van-swipe-item{position:relative;-webkit-flex-shrink:0;flex-shrink:0;width:100%;height:100%}.van-image-preview{position:fixed;top:0;left:0;width:100%;height:100%}.van-image-preview__swipe{height:100%}.van-image-preview__swipe-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;overflow:hidden}.van-image-preview__cover{position:absolute;top:0;left:0}.van-image-preview__image{width:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.van-image-preview__image--vertical{width:auto;height:100%}.van-image-preview__image img{-webkit-user-drag:none}.van-image-preview__image .van-image__error{top:30%;height:40%}.van-image-preview__image .van-image__error-icon{font-size:36px}.van-image-preview__image .van-image__loading{background-color:transparent}.van-image-preview__index{position:absolute;top:16px;left:50%;color:#fff;font-size:14px;line-height:20px;text-shadow:0 1px 1px #323233;-webkit-transform:translate(-50%,0);transform:translate(-50%,0)}.van-image-preview__overlay{background-color:rgba(0,0,0,.9)}.van-image-preview__close-icon{position:absolute;z-index:1;color:#c8c9cc;font-size:22px;cursor:pointer}.van-image-preview__close-icon:active{color:#969799}.van-image-preview__close-icon--top-left{top:16px;left:16px}.van-image-preview__close-icon--top-right{top:16px;right:16px}.van-image-preview__close-icon--bottom-left{bottom:16px;left:16px}.van-image-preview__close-icon--bottom-right{right:16px;bottom:16px}.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-uploader__wrapper--disabled{opacity:.5}.van-uploader__input{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;cursor:pointer;opacity:0}.van-uploader__input-wrapper{position:relative}.van-uploader__input:disabled{cursor:not-allowed}.van-uploader__upload{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;width:80px;height:80px;margin:0 8px 8px 0;background-color:#f7f8fa}.van-uploader__upload:active{background-color:#f2f3f5}.van-uploader__upload-icon{color:#dcdee0;font-size:24px}.van-uploader__upload-text{margin-top:8px;color:#969799;font-size:12px}.van-uploader__preview{position:relative;margin:0 8px 8px 0;cursor:pointer}.van-uploader__preview-image{display:block;width:80px;height:80px;overflow:hidden}.van-uploader__preview-delete{position:absolute;top:0;right:0;width:14px;height:14px;background-color:rgba(0,0,0,.7);border-radius:0 0 0 12px}.van-uploader__preview-delete-icon{position:absolute;top:-2px;right:-2px;color:#fff;font-size:16px;-webkit-transform:scale(.5);transform:scale(.5)}.van-uploader__preview-cover{position:absolute;top:0;right:0;bottom:0;left:0}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#fff;background-color:rgba(50,50,51,.88)}.van-uploader__mask-icon{font-size:22px}.van-uploader__mask-message{margin-top:6px;padding:0 4px;font-size:12px;line-height:14px}.van-uploader__loading{width:22px;height:22px;color:#fff}.van-uploader__file{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:80px;height:80px;background-color:#f7f8fa}.van-uploader__file-icon{color:#646566;font-size:20px}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:8px;padding:0 4px;color:#646566;font-size:12px;text-align:center}.van-index-anchor{z-index:1;box-sizing:border-box;padding:0 16px;color:#323233;font-weight:500;font-size:14px;line-height:32px;background-color:transparent}.van-index-anchor--sticky{position:fixed;top:0;right:0;left:0;color:#ee0a24;background-color:#fff}.van-index-bar__sidebar{position:fixed;top:50%;right:0;z-index:2;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.van-index-bar__index{padding:0 8px 0 16px;font-weight:500;font-size:10px;line-height:14px}.van-index-bar__index--active{color:#ee0a24}.van-pagination{display:-webkit-box;display:-webkit-flex;display:flex;font-size:14px}.van-pagination__item,.van-pagination__page-desc{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.van-pagination__item{-webkit-box-flex:1;-webkit-flex:1;flex:1;box-sizing:border-box;min-width:36px;height:40px;color:#1989fa;background-color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none}.van-pagination__item:active{color:#fff;background-color:#1989fa}.van-pagination__item::after{border-width:1px 0 1px 1px}.van-pagination__item:last-child::after{border-right-width:1px}.van-pagination__item--active{color:#fff;background-color:#1989fa}.van-pagination__next,.van-pagination__prev{padding:0 4px;cursor:pointer}.van-pagination__item--disabled,.van-pagination__item--disabled:active{color:#646566;background-color:#f7f8fa;cursor:not-allowed;opacity:.5}.van-pagination__page{-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0}.van-pagination__page-desc{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:40px;color:#646566}.van-pagination--simple .van-pagination__next::after,.van-pagination--simple .van-pagination__prev::after{border-width:1px}.van-password-input{position:relative;margin:0 16px;-webkit-user-select:none;user-select:none}.van-password-input__error-info,.van-password-input__info{margin-top:16px;font-size:14px;text-align:center}.van-password-input__info{color:#969799}.van-password-input__error-info{color:#ee0a24}.van-password-input__security{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;height:50px;cursor:pointer}.van-password-input__security::after{border-radius:6px}.van-password-input__security li{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:100%;font-size:20px;line-height:1.2;background-color:#fff}.van-password-input__security i{position:absolute;top:50%;left:50%;width:10px;height:10px;background-color:#000;border-radius:100%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:1px;height:40%;background-color:#323233;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-animation:1s van-cursor-flicker infinite;animation:1s van-cursor-flicker infinite}@-webkit-keyframes van-cursor-flicker{from{opacity:0}50%{opacity:1}100%{opacity:0}}@keyframes van-cursor-flicker{from{opacity:0}50%{opacity:1}100%{opacity:0}}.van-progress{position:relative;height:4px;background:#ebedf0;border-radius:4px}.van-progress__portion{position:absolute;left:0;height:100%;background:#1989fa;border-radius:inherit}.van-progress__pivot{position:absolute;top:50%;box-sizing:border-box;min-width:3.6em;padding:0 5px;color:#fff;font-size:10px;line-height:1.6;text-align:center;word-break:keep-all;background-color:#1989fa;border-radius:1em;-webkit-transform:translate(0,-50%);transform:translate(0,-50%)}.van-row::after{display:table;clear:both;content:''}.van-row--flex{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.van-row--flex::after{display:none}.van-row--justify-center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.van-row--justify-end{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.van-row--justify-space-between{-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.van-row--justify-space-around{-webkit-justify-content:space-around;justify-content:space-around}.van-row--align-center{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.van-row--align-bottom{-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}.van-sidebar{width:80px;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-tree-select{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;font-size:14px;-webkit-user-select:none;user-select:none}.van-tree-select__nav{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto;background-color:#f7f8fa;-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:14px 12px}.van-tree-select__content{-webkit-box-flex:2;-webkit-flex:2;flex:2;overflow-y:auto;background-color:#fff;-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 32px 0 16px;font-weight:500;line-height:48px;cursor:pointer}.van-tree-select__item--active{color:#ee0a24}.van-tree-select__item--disabled{color:#c8c9cc;cursor:not-allowed}.van-tree-select__selected{position:absolute;top:50%;right:16px;margin-top:-8px;font-size:16px}.van-skeleton{display:-webkit-box;display:-webkit-flex;display:flex;padding:0 16px}.van-skeleton__avatar{-webkit-flex-shrink:0;flex-shrink:0;width:32px;height:32px;margin-right:16px;background-color:#f2f3f5}.van-skeleton__avatar--round{border-radius:999px}.van-skeleton__content{width:100%}.van-skeleton__avatar+.van-skeleton__content{padding-top:8px}.van-skeleton__row,.van-skeleton__title{height:16px;background-color:#f2f3f5}.van-skeleton__title{width:40%;margin:0}.van-skeleton__row:not(:first-child){margin-top:12px}.van-skeleton__title+.van-skeleton__row{margin-top:20px}.van-skeleton--animate{-webkit-animation:van-skeleton-blink 1.2s ease-in-out infinite;animation:van-skeleton-blink 1.2s ease-in-out infinite}.van-skeleton--round .van-skeleton__row,.van-skeleton--round .van-skeleton__title{border-radius:999px}@-webkit-keyframes van-skeleton-blink{50%{opacity:.6}}@keyframes van-skeleton-blink{50%{opacity:.6}}.van-stepper{font-size:0;-webkit-user-select:none;user-select:none}.van-stepper__minus,.van-stepper__plus{position:relative;box-sizing:border-box;width:28px;height:28px;margin:0;padding:0;color:#323233;vertical-align:middle;background-color:#f2f3f5;border:0;cursor:pointer}.van-stepper__minus::before,.van-stepper__plus::before{width:50%;height:1px}.van-stepper__minus::after,.van-stepper__plus::after{width:1px;height:50%}.van-stepper__minus::after,.van-stepper__minus::before,.van-stepper__plus::after,.van-stepper__plus::before{position:absolute;top:50%;left:50%;background-color:currentColor;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);content:''}.van-stepper__minus:active,.van-stepper__plus:active{background-color:#e8e8e8}.van-stepper__minus--disabled,.van-stepper__plus--disabled{color:#c8c9cc;background-color:#f7f8fa;cursor:not-allowed}.van-stepper__minus--disabled:active,.van-stepper__plus--disabled:active{background-color:#f7f8fa}.van-stepper__minus{border-radius:4px 0 0 4px}.van-stepper__minus::after{display:none}.van-stepper__plus{border-radius:0 4px 4px 0}.van-stepper__input{box-sizing:border-box;width:32px;height:28px;margin:0 2px;padding:0;color:#323233;font-size:14px;line-height:normal;text-align:center;vertical-align:middle;background-color:#f2f3f5;border:0;border-width:1px 0;border-radius:0;-webkit-appearance:none}.van-stepper__input:disabled{color:#c8c9cc;background-color:#f2f3f5;-webkit-text-fill-color:#c8c9cc;opacity:1}.van-stepper__input:read-only{cursor:default}.van-stepper--round .van-stepper__input{background-color:transparent}.van-stepper--round .van-stepper__minus,.van-stepper--round .van-stepper__plus{border-radius:100%}.van-stepper--round .van-stepper__minus:active,.van-stepper--round .van-stepper__plus:active{opacity:.7}.van-stepper--round .van-stepper__minus--disabled,.van-stepper--round .van-stepper__minus--disabled:active,.van-stepper--round .van-stepper__plus--disabled,.van-stepper--round .van-stepper__plus--disabled:active{opacity:.3}.van-stepper--round .van-stepper__plus{color:#fff;background-color:#ee0a24}.van-stepper--round .van-stepper__minus{color:#ee0a24;background-color:#fff;border:1px solid #ee0a24}.van-sku-container{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;min-height:50%;max-height:80%;overflow-y:visible;font-size:14px;background:#fff}.van-sku-body{-webkit-box-flex:1;-webkit-flex:1 1 auto;flex:1 1 auto;min-height:44px;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-sku-body::-webkit-scrollbar{display:none}.van-sku-header{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;margin:0 16px}.van-sku-header__img-wrap{-webkit-flex-shrink:0;flex-shrink:0;width:96px;height:96px;margin:12px 12px 12px 0;overflow:hidden;border-radius:4px}.van-sku-header__goods-info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;padding:12px 20px 12px 0}.van-sku-header-item{margin-top:8px;color:#969799;font-size:12px;line-height:16px}.van-sku__price-symbol{font-size:16px;vertical-align:bottom}.van-sku__price-num{font-weight:500;font-size:22px;vertical-align:bottom;word-wrap:break-word}.van-sku__goods-price{margin-left:-2px;color:#ee0a24}.van-sku__price-tag{position:relative;display:inline-block;margin-left:8px;padding:0 5px;overflow:hidden;color:#ee0a24;font-size:12px;line-height:16px;border-radius:8px}.van-sku__price-tag::before{position:absolute;top:0;left:0;width:100%;height:100%;background:currentColor;opacity:.1;content:''}.van-sku-group-container{padding-top:12px}.van-sku-group-container--hide-soldout .van-sku-row__item--disabled{display:none}.van-sku-row{margin:0 16px 12px}.van-sku-row:last-child{margin-bottom:0}.van-sku-row__image-item,.van-sku-row__item{position:relative;overflow:hidden;color:#323233;border-radius:4px;cursor:pointer}.van-sku-row__image-item::before,.van-sku-row__item::before{position:absolute;top:0;left:0;width:100%;height:100%;background:#f7f8fa;content:''}.van-sku-row__image-item--active,.van-sku-row__item--active{color:#ee0a24}.van-sku-row__image-item--active::before,.van-sku-row__item--active::before{background:currentColor;opacity:.1}.van-sku-row__item{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-width:40px;margin:0 12px 12px 0;font-size:13px;line-height:16px;vertical-align:middle}.van-sku-row__item-img{z-index:1;width:24px;height:24px;margin:4px 0 4px 4px;object-fit:cover;border-radius:2px}.van-sku-row__item-name{z-index:1;padding:8px}.van-sku-row__item--disabled{color:#c8c9cc;background:#f2f3f5;cursor:not-allowed}.van-sku-row__item--disabled .van-sku-row__item-img{opacity:.3}.van-sku-row__image{margin-right:0}.van-sku-row__image-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;width:110px;margin:0 4px 4px 0;border:1px solid transparent}.van-sku-row__image-item:last-child{margin-right:0}.van-sku-row__image-item-img{width:100%;height:110px}.van-sku-row__image-item-img-icon{position:absolute;top:0;right:0;z-index:3;width:18px;height:18px;color:#fff;line-height:18px;text-align:center;background-color:rgba(0,0,0,.4);border-bottom-left-radius:4px}.van-sku-row__image-item-name{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;height:40px;padding:4px;font-size:12px;line-height:16px}.van-sku-row__image-item-name span{word-wrap:break-word}.van-sku-row__image-item--active{border-color:currentColor}.van-sku-row__image-item--disabled{color:#c8c9cc;cursor:not-allowed}.van-sku-row__image-item--disabled::before{z-index:2;background:#f2f3f5;opacity:.4}.van-sku-row__title{padding-bottom:12px}.van-sku-row__title-multiple{color:#969799}.van-sku-row__scroller{margin:0 -16px;overflow-x:scroll;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-sku-row__scroller::-webkit-scrollbar{display:none}.van-sku-row__row{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin-bottom:4px;padding:0 16px}.van-sku-row__indicator{width:40px;height:4px;background:#ebedf0;border-radius:2px}.van-sku-row__indicator-wrapper{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding-bottom:16px}.van-sku-row__indicator-slider{width:50%;height:100%;background-color:#ee0a24;border-radius:2px}.van-sku-stepper-stock{padding:12px 16px;overflow:hidden;line-height:30px}.van-sku__stepper{float:right;padding-left:4px}.van-sku__stepper-title{float:left}.van-sku__stepper-quota{float:right;color:#ee0a24;font-size:12px}.van-sku__stock{display:inline-block;margin-right:8px;color:#969799;font-size:12px}.van-sku__stock-num--highlight{color:#ee0a24}.van-sku-messages{padding-bottom:32px}.van-sku-messages__image-cell .van-cell__title{max-width:6.2em;margin-right:12px;color:#646566;text-align:left;word-wrap:break-word}.van-sku-messages__image-cell .van-cell__value{overflow:visible;text-align:left}.van-sku-messages__image-cell-label{color:#969799;font-size:12px;line-height:18px}.van-sku-actions{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;padding:8px 16px}.van-sku-actions .van-button{height:40px;font-weight:500;font-size:14px;border:none;border-radius:0}.van-sku-actions .van-button:first-of-type{border-top-left-radius:20px;border-bottom-left-radius:20px}.van-sku-actions .van-button:last-of-type{border-top-right-radius:20px;border-bottom-right-radius:20px}.van-sku-actions .van-button--warning{background:-webkit-linear-gradient(left,#ffd01e,#ff8917);background:linear-gradient(to right,#ffd01e,#ff8917)}.van-sku-actions .van-button--danger{background:-webkit-linear-gradient(left,#ff6034,#ee0a24);background:linear-gradient(to right,#ff6034,#ee0a24)}.van-slider{position:relative;width:100%;height:2px;background-color:#ebedf0;border-radius:999px;cursor:pointer}.van-slider::before{position:absolute;top:-8px;right:0;bottom:-8px;left:0;content:''}.van-slider__bar{position:relative;width:100%;height:100%;background-color:#1989fa;border-radius:inherit;-webkit-transition:all .2s;transition:all .2s}.van-slider__button{width:24px;height:24px;background-color:#fff;border-radius:50%;box-shadow:0 1px 2px rgba(0,0,0,.5)}.van-slider__button-wrapper,.van-slider__button-wrapper-right{position:absolute;top:50%;right:0;-webkit-transform:translate3d(50%,-50%,0);transform:translate3d(50%,-50%,0);cursor:grab}.van-slider__button-wrapper-left{position:absolute;top:50%;left:0;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);cursor:grab}.van-slider--disabled{cursor:not-allowed;opacity:.5}.van-slider--disabled .van-slider__button-wrapper,.van-slider--disabled .van-slider__button-wrapper-left,.van-slider--disabled .van-slider__button-wrapper-right{cursor:not-allowed}.van-slider--vertical{display:inline-block;width:2px;height:100%}.van-slider--vertical .van-slider__button-wrapper,.van-slider--vertical .van-slider__button-wrapper-right{top:auto;right:50%;bottom:0;-webkit-transform:translate3d(50%,50%,0);transform:translate3d(50%,50%,0)}.van-slider--vertical .van-slider__button-wrapper-left{top:0;right:50%;left:auto;-webkit-transform:translate3d(50%,-50%,0);transform:translate3d(50%,-50%,0)}.van-slider--vertical::before{top:0;right:-8px;bottom:0;left:-8px}.van-steps{overflow:hidden;background-color:#fff}.van-steps--horizontal{padding:10px 10px 0}.van-steps--horizontal .van-steps__items{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;margin:0 0 10px;padding-bottom:22px}.van-steps--vertical{padding:0 0 0 32px}.van-swipe-cell{position:relative;overflow:hidden;cursor:grab}.van-swipe-cell__wrapper{-webkit-transition-timing-function:cubic-bezier(.18,.89,.32,1);transition-timing-function:cubic-bezier(.18,.89,.32,1);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.van-tabbar{z-index:1;display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:content-box;width:100%;height:50px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff}.van-tabbar--fixed{position:fixed;bottom:0;left:0}.van-tabbar--unfit{padding-bottom:0} \ No newline at end of file