更新记录
1.1.9(2022-12-27) 下载此版本
修改反馈成功弹窗icon样式
1.1.8(2022-12-26) 下载此版本
删除js内引用css
1.1.7(2022-12-26) 下载此版本
修复bug, 增加反馈成功弹窗
查看更多平台兼容性
yq-feedback
uniapp模板插件: 意见反馈
1.安装使用需保证接口api封装同一起工匠app内request.js
即保证插件文件夹内/api/index.js中如下行所示代码的正常运行
import { $post, $get } from "@/utils/request.js"
2.初次安装会执行page_init.json, 往项目pages.json里注入页面,
备注: 如无自动注入, 直接粘贴到pages.json的pages数组即可
{
"path": "uni_modules/yq-feedback/pages/add/add",
"style": {
"app-plus": {
"background": "#f3f5f8"
},
"backgroundColor": "#f3f5f8",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "意见反馈"
}
}
,{
"path": "uni_modules/yq-feedback/pages/list/list",
"style": {
"app-plus": {
"background": "#f3f5f8"
},
"backgroundColor": "#f3f5f8",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "处理进度"
}
}
,{
"path": "uni_modules/yq-feedback/pages/detail/detail",
"style": {
"app-plus": {
"background": "#f3f5f8"
},
"backgroundColor": "#f3f5f8",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "意见详情页"
}
}
3.添加入口按钮, 点击跳转页面{url: '/uni_modules/yq-feedback/pages/add/add'}即可
1. /uni_modules/yq-feedback/pages/add/add?theme=blue
增加参数: theme => blue(蓝色主题) default(默认绿色主题)