yz-utils v2.2.8
组件引入方式:
import serviceDiglog from "yz-utils/service-diglog/service-diglog.vue";
......
components: {
"service-diglog": serviceDiglog
}
组件列表
组件名称 | 组件简述 |
---|---|
pay-dialog | H5 收银台 |
service-dialog | 客服弹框 |
yz-report | 历史订单列表 |
index-tips | 首页顶部滚动提示 |
lunar-picker | 带农历的时间选择器 |
protocol-dialog | 易知用户协议弹框 |
complain | 投诉按钮组件 |
pay-dialog
用于H5页面选择支付方式
参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 |
---|---|---|---|
visible | 是 | Boolean | 控制弹框的显示,通过.sync 双向绑定 |
title | 否 | String | 弹窗的标题 |
showCount | 否 | Boolean (true) | 是否显示倒计时(挽回页弹框一般不显示) |
success | - | event(type) | 点击按钮回调事件,type : 1 微信 2 支付宝 |
service-dialog
用于H5页面选择支付方式
参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 |
---|---|---|---|
visible | 是 | Boolean | 控制弹框的显示,通过.sync 双向绑定 |
baseUrl | 是 | String | request 的服务域名,例:https://dev.ya73r.cn |
requestUrl | 否 | String /V1/Common/getCustomerService | 接口地址 |
bgImage | 否 | String | 背景图片 ,相对地址用require |
orderSearch | 否 | String | 订单查询页面的地址,小程序使用uni.navigateTo 完成功能 |
yz-report
历史订单列表,在项目中建立空路由页面后引入使用
参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 |
---|---|---|---|
theme | 是 | String | 主题颜色 |
baseUrl | 是 | String | request 的服务地址,例:https://dev.ya73r.cn |
requestUrl | 否 | String /V1/Common/getUserOrderList | 接口地址 |
lunar-picker
时间选择 picker
参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 |
---|---|---|---|
visible | 是 | Boolean | 控制 picker 显示隐藏 |
value | 是 | String | 初始年 |
theme | 否 | String | 主题色 |
change | - | Event | 确认事件 |
protocol-dialog
易知协议的弹框
参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 |
---|---|---|---|
visible | 是 | Boolean | 控制 picker 显示隐藏 |
set-protocol | - | Event | 确认关闭事件 |
yz-morehot-list
更多热门应用
参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 |
---|---|---|---|
baseUrl | 是 | String | 主域名 |
theme | 否 | String | 按钮颜色 |
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago