Commit b4f5f9e8 by 前端

Merge branch 'SAAS+V5.6.0' into 'master'

上线合并

See merge request !12
2 parents 6339192f 435642b5
Showing 38 changed files with 1612 additions and 217 deletions
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
tab_width = 4
[*.{json,jsonc}]
indent_style = tab
indent_size = 4
tab_width = 4
[*.{js,ts,jsx,tsx,wxml,wxss,wxs,scss,sass}]
indent_style = tab
indent_size = 4
tab_width = 4
.DS_Store .DS_Store
node_modules node_modules
miniprogram_npm miniprogram_npm
project.config.json
project.private.config.json
/dist /dist
/.history /.history
...@@ -20,8 +18,6 @@ yarn-debug.log* ...@@ -20,8 +18,6 @@ yarn-debug.log*
yarn-error.log* yarn-error.log*
# Editor directories and files # Editor directories and files
.idea
.vscode
*.suo *.suo
*.ntvs* *.ntvs*
*.njsproj *.njsproj
......
export default {
printWidth: 200,
tabWidth: 4,
useTabs: true,
semi: true,
singleQuote: false,
htmlWhitespaceSensitivity: "ignore",
bracketSameLine: true,
plugins: ["./prettier-plugin-wxml.mjs"],
overrides: [
{
files: "*.wxml",
options: {
parser: "wxml",
},
},
],
};
{
"小程序页面模板": {
"prefix": "page",
"scope": "javascript",
"body": [
"Page({",
"\tdata: {",
"\t\tnavBarHeight: 0,",
"\t},",
"",
"\tnavbarReady(e) {",
"\t\tlet navBarHeight = e?.detail?.height;",
"\t\tthis.setData({",
"\t\t\tnavBarHeight,",
"\t\t});",
"\t},",
"",
"\tback() {",
"\t\twx.\\$router.back();",
"\t},",
"",
"\tonLoad(options) {",
"\t\t$1",
"\t},",
"",
"\tonRoute(options) {",
"\t\tconsole.log(options);",
"\t},",
"",
"\t/**",
"\t * 生命周期函数--监听页面隐藏",
"\t */",
"\tonHide() {},",
"",
"\t/**",
"\t * 生命周期函数--监听页面卸载",
"\t */",
"\tonUnload() {},",
"",
"\t/**",
"\t * 页面相关事件处理函数--监听用户下拉动作",
"\t */",
"\tonPullDownRefresh() {},",
"",
"\t/**",
"\t * 页面上拉触底事件的处理函数",
"\t */",
"\tonReachBottom() {}",
"});",
],
"description": "微信小程序 Page 页面模板(含 navbarReady / back)",
},
"小程序组件模板": {
"prefix": "component",
"scope": "javascript",
"body": [
"Component({",
" /**",
" * 组件的属性列表",
" */",
" properties: {",
" ${1:exampleProp}: {",
" type: ${2:String},",
" value: ${3:''},",
" observer: function(newVal, oldVal) {",
" $4",
" }",
" }",
" },",
"",
" /**",
" * 组件的初始数据",
" */",
" data: {",
" ${5:exampleData}: ${6:null}",
" },",
"",
" /**",
" * 组件的方法列表",
" */",
" methods: {",
" ${7:exampleMethod}() {",
" $0",
" }",
" },",
"",
" /**",
" * 组件生命周期函数",
" */",
" lifetimes: {",
" created() {",
" ",
" },",
" attached() {",
" ",
" },",
" ready() {",
" ",
" },",
" moved() {",
" ",
" },",
" detached() {",
" ",
" }",
" },",
"",
" /**",
" * 组件数据监听器",
" */",
" observers: {",
" }",
"})",
],
"description": "微信小程序 Component 完整模板(含 properties, data, methods, lifetimes, observers)",
},
}
{
// 使用 Prettier 作为默认格式化器
"editor.defaultFormatter": "esbenp.prettier-vscode",
// 保存时自动格式化
"editor.formatOnSave": true,
// 缩进设置:使用 tab,大小为 4
"editor.tabSize": 4,
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"explorer.compactFolders": false,
"scm.compactFolders": false,
"problems.decorations.enabled": false,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[wxml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[wxss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[sass]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[wxs]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"files.associations": {
"*.wxss": "css",
"*.sass": "scss"
},
"cSpell.words": [
// 微信小程序相关
"scrolltolower",
"wxml",
"wxss",
"wxs",
"elif",
"miniprogram",
"usingComponents",
"behaviours",
"onLaunch",
"onShow",
"onHide",
"onLoad",
"onUnload",
"onReady",
"onPullDownRefresh",
"onReachBottom",
"onShareAppMessage",
"setData",
"globalData",
// 项目相关
"glsk",
"glsx",
"dayjs",
"rfdc",
"ucharts",
"vant",
"vanui",
// 业务相关
"artificer",
"boutique",
"crowdfunding",
"technician",
"subvehicle",
"tabbar",
"tabDate",
"tabIndex",
"tabMine",
"tabOperating",
"tabRepairOrder",
"tabWorkOrder",
// 常用英文词汇
"mixins",
"utils",
"jsconfig",
"sitemap",
"unpkg",
"qrcode",
"qrbox",
"popup",
"popups",
"navbar",
"readonly",
"textarea",
// API/接口相关
"errId",
"sessionId",
"moduleType",
"moduleTypes",
"businessType",
"unread",
"pageNum",
"pageSize",
// 中文拼音
"yanbao",
"jingpin",
"quanyi"
],
// GitLens Blame 配置
"gitlens.codeLens.enabled": true,
"gitlens.codeLens.recentChange.enabled": true,
"gitlens.currentLineBlame": true,
"gitlens.currentLineBlame.format": "${author}, ${date} - ${message}",
"gitlens.blame.visibility": "on"
}
\ No newline at end of file \ No newline at end of file
import api from "~/utils/request/request.js";
/**
* 模块类型枚举说明:
* - 0: 系统通知
* - 1: 优秀话术
* - 2: 话术预警
* - 3: ai导师(短课程)
* - 4: 学习任务(长课程)
* - 5: 活动中心
* - 6: 学习类策略
* - 7: 优秀案例分享策略
* - 8: 任务型策略
* @typedef {0|1|2|3|4|5|6|7|8} ModuleType
*/
/**
* 业务场景枚举说明:
* - 0: 延保
* - 1: 精品
* - 2: 权益
* @typedef {0|1|2} BusinessType
*/
/**
* @typedef {Object} NewPadMessageBoxDTO
* @property {number} [id]
* @property {ModuleType} [moduleType] 模块分类
* @property {BusinessType} [businessType] 业务场景
* @property {string} [uuid]
* @property {string} [phone]
* @property {string} [name]
* @property {number} [status] 查看状态:0-待查看,1-已查看
* @property {string} [createdBy]
* @property {string} [createdTime]
* @property {string} [updatedBy]
* @property {string} [updatedTime]
* @property {string} [delFlag]
* @property {number} [popupCount]
* @property {string} [readType] 阅读模式:0不强制,1首次强制,2每日强制
* @property {number} [readCount]
* @property {string} [latestReadTime]
* @property {string} [reminderType] 提醒类型:1-首次提醒,2-进度提醒
* @property {string} [msgTitle] 消息标题
* @property {string} [taskStartTime] 任务类型消息-任务开始时间 yyyy-MM-dd HH:mm:ss
* @property {string} [startEndTime] 任务类型消息-任务结束时间 yyyy-MM-dd HH:mm:ss
* @property {Object} [msgDetail] 消息详情-业务方消息详情。根据moduleType返回不同数据结构
*/
/**
* @typedef {Object} RpcPagination
* @property {number} [pageNum]
* @property {number} [pageSize]
* @property {number} [startRow]
* @property {number} [endRow]
* @property {number} [total]
* @property {number} [pages]
* @property {Array<NewPadMessageBoxDTO>} [list]
* @property {NewPadMessageBoxDTO} [condition]
* @property {boolean} [needCount]
*/
/**
* 获取公司公告分页列表
* @param {Object} data - 请求参数
* @param {number} [data.pageNum=1] 当前页码
* @param {number} [data.pageSize=10] 每页条数
* @param {ModuleType} [data.moduleType] 模块分类
* @param {BusinessType} [data.businessType] 业务场景
* @param {string} [data.uuid] 消息接收人uuid
* @param {string} [data.phone] 消息接收人手机号
* @param {string} [data.name] 消息接收人姓名
* @param {number} [data.status] 查看状态:0-待查看,1-已查看
* @returns {Promise<{code: string, errId: string, message?: string, data?: RpcPagination}>} 返回公司公告分页数据
*/
export function getCompanyNoticeList(data = { pageNum: 1, pageSize: 10 }) {
return api.post("dj.pad.api.new.pad.message.box.page", data, [], "/rop-dj-pad/router");
}
/**
* @typedef {Object} RopResponseDetail
* @property {string} code 响应状态(0:成功;1:失败)
* @property {string} errId 错误码
* @property {string} [message] 错误描述
* @property {NewPadMessageBoxDTO} [data] 成功返回数据
*/
/**
* 获取公告详情
* @param {{ id: number }} data - 请求参数,公告ID
* @returns {Promise<RopResponseDetail>} 返回公告详情数据
*/
export function getCompanyNoticeDetail(data) {
return api.post("dj.pad.api.new.pad.message.box.detail", data, [], "/rop-dj-pad/router");
}
/**
* @typedef {Object} ModuleUnreadCountDTO
* @property {ModuleType} [moduleType] 模块类型
* @property {number} [unreadCount] 未读数量
*/
/**
* @typedef {Object} UnreadCountResponse
* @property {string} code 响应状态(0:成功;1:失败)
* @property {string} errId 错误码
* @property {string} [message] 错误描述
* @property {Array<ModuleUnreadCountDTO>} [data] 各模块未读数量列表
*/
/**
* 获取各模块类型的未读数量
* @param {Object} data - 请求参数
* @param {Array<ModuleType>} [data.moduleTypes] 模块类型列表
* @param {BusinessType} [data.businessType] 业务场景
* @param {string} data.sessionId 会话ID(必填)
* @returns {Promise<UnreadCountResponse>} 返回各模块未读数量数据
*/
export function getUnreadCountByType(data) {
return api.post("dj.pad.api.new.pad.message.box.unread.count.by.type", data, [], "/rop-dj-pad/router");
}
...@@ -59,6 +59,9 @@ ...@@ -59,6 +59,9 @@
"root": "packageWorkspace", "root": "packageWorkspace",
"name": "packageWorkspace", "name": "packageWorkspace",
"pages": [ "pages": [
"pages/serverCenter/view/serverCenter/serverCenter",
"pages/serverCenter/view/companyNoticeDetail/companyNoticeDetail",
"pages/refundOperationList/refundOperationList", "pages/refundOperationList/refundOperationList",
"pages/refundDetailList/refundDetailList", "pages/refundDetailList/refundDetailList",
"pages/refundApply/refundApply", "pages/refundApply/refundApply",
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
*/ */
// 配置预发布的小程序aapId // 配置预发布的小程序aapId
export const preReleaseAppId = 'wx96c8f2a3e76907cb' export const preReleaseAppId = "wx96c8f2a3e76907cb";
// 小程序id // 小程序id
export const appId = 'wx570d9331f9ace0bd' export const appId = "wx570d9331f9ace0bd";
/** /**
* 环境指定 * 环境指定
...@@ -18,99 +18,97 @@ export const appId = 'wx570d9331f9ace0bd' ...@@ -18,99 +18,97 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布 * 4预发布
* 5cdptest * 5cdptest
*/ */
let index = 2 let index = 2;
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion const envName = accountInfo.miniProgram.envVersion;
//手动控制体验版环境的请求 true就依据下面index false就默认2 //手动控制体验版环境的请求 true就依据下面index false就默认2
const manual = false const manual = false;
const release = false const release = false;
// 判断小程序环境 // 判断小程序环境
// develop:开发版 trial:体验版 release:正式版 // develop:开发版 trial:体验版 release:正式版
if (systemInfo.platform != 'devtools') { if (systemInfo.platform != "devtools") {
if (accountInfo.miniProgram.appId == preReleaseAppId) { if (accountInfo.miniProgram.appId == preReleaseAppId) {
index = 4 index = 4;
} else { } else {
switch (envName) { switch (envName) {
case 'develop': case "develop":
break break;
case 'trial': case "trial":
index = manual ? index : 2 index = manual ? index : 2;
break break;
case 'release': case "release":
index = release ? index : 3 index = release ? index : 3;
break break;
default: default:
index = 3 index = 3;
break break;
} }
} }
} }
export const env = envName export const env = envName;
export const envIndex = index export const envIndex = index;
const createQuotedUrl = { const createQuotedUrl = {
develop: `http://192.168.1.178:9528/dj-scrm-wx-work-main-zhangls/#/equityPoster?id=`, develop: `http://192.168.1.178:9528/dj-scrm-wx-work-main-zhangls/#/equityPoster?id=`,
trial: `http://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=`, trial: `http://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=`,
release: `https://dj.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=`, release: `https://dj.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=`,
preRelease: `https://dj.beta.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=` preRelease: `https://dj.beta.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=`,
} };
const scoketURL = { const scoketURL = {
develop: `ws://192.168.3.191:7865`, develop: `ws://192.168.3.191:7865`,
trial: `ws://salesgpt.test.glsx.com.cn`, trial: `ws://salesgpt.test.glsx.com.cn`,
release: `wss://salesgpt.glsx.com.cn`, release: `wss://salesgpt.glsx.com.cn`,
preRelease: `ws://salesgpt.test.glsx.com.cn` preRelease: `ws://salesgpt.test.glsx.com.cn`,
} };
const target = ['ip', 'develop', 'trial', 'release', 'preRelease'] const target = ["ip", "develop", "trial", "release", "preRelease"];
const ALIYUN_LIST = [ const ALIYUN_LIST = [
{ {
AKID: 'LTAI5tJday6R4sng1jgrgH3N', //个人 AKID: "LTAI5tJday6R4sng1jgrgH3N", //个人
AKKEY: 'TWvwaQqwjxw7Tj7RlnTxyEXjOjQgFh', AKKEY: "TWvwaQqwjxw7Tj7RlnTxyEXjOjQgFh",
APPKEY: 'a1HmjrmQNv6yT8zb', APPKEY: "a1HmjrmQNv6yT8zb",
URL: 'wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1' URL: "wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1",
}, },
{ {
AKID: 'LTAI5tCSaRbXmWhF7cR6k626', //公司 AKID: "LTAI5tCSaRbXmWhF7cR6k626", //公司
AKKEY: 'jYHkk6rR6UoaZWikxDTuAUNwJycJwb', AKKEY: "jYHkk6rR6UoaZWikxDTuAUNwJycJwb",
APPKEY: 'Pm7teJgylXGPnPvO', APPKEY: "Pm7teJgylXGPnPvO",
URL: 'wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1' URL: "wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1",
}, },
{ {
AKID: 'LTAI5tCv6tv55tZVyV4uQKd6', //个人 AKID: "LTAI5tCv6tv55tZVyV4uQKd6", //个人
AKKEY: 'K3eko04dQ88KWltUEbY3A7h5twdjJk', AKKEY: "K3eko04dQ88KWltUEbY3A7h5twdjJk",
APPKEY: 'xKQ7JCyBsyNFjUdL', APPKEY: "xKQ7JCyBsyNFjUdL",
URL: 'wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1' URL: "wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1",
} },
] ];
export const ALIYUN = ALIYUN_LIST[1] export const ALIYUN = ALIYUN_LIST[1];
// 报价单图片地址 // 报价单图片地址
export const quotedImgUrl = createQuotedUrl[target[envIndex]] export const quotedImgUrl = createQuotedUrl[target[envIndex]];
export const scoket_url = scoketURL[target[envIndex]] export const scoket_url = scoketURL[target[envIndex]];
// sentry Dsn 地址 // sentry Dsn 地址
export const dsnUrl = export const dsnUrl = "https://6b10bd312d154ff3a4664772bb4e50f5@sentry.glsx.com.cn/49";
'https://6b10bd312d154ff3a4664772bb4e50f5@sentry.glsx.com.cn/49'
// 图片基地址 // 图片基地址
export const ImgUrl = export const ImgUrl = "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat";
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat'
export const ossConfig = { export const ossConfig = {
// 请求域名 格式:https://xxx.xxx.com // 请求域名 格式:https://xxx.xxx.com
HTTP_REQUEST_URL: 'http://127.0.0.1:8000/api', HTTP_REQUEST_URL: "http://127.0.0.1:8000/api",
// 阿里云oss域名 格式:https://xxx.oss-cn-xxx.aliyuncs.com // 阿里云oss域名 格式:https://xxx.oss-cn-xxx.aliyuncs.com
OSS_DOMAIN: 'https://glsk-oss.oss-cn-shenzhen.aliyuncs.com', OSS_DOMAIN: "https://glsk-oss.oss-cn-shenzhen.aliyuncs.com",
// 文件直传到阿里云oss时需用到 // 文件直传到阿里云oss时需用到
ACCESSKEYID: 'LTAI5tCRcCUgd7bt1J7JY596', ACCESSKEYID: "LTAI5tCRcCUgd7bt1J7JY596",
ACCESSKEYSECRET: 'kJos9mgylkR5ztosnDt8Asrc3ulgqy', ACCESSKEYSECRET: "kJos9mgylkR5ztosnDt8Asrc3ulgqy",
BUKET_NAME: 'glsk-oss', BUKET_NAME: "glsk-oss",
FOLDER: 'quality/', FOLDER: "quality/",
// 与后端约定的token字段名 // 与后端约定的token字段名
TOKEN_NAME: 'glsk-oss' TOKEN_NAME: "glsk-oss",
} };
export const bytedanceConfig = { export const bytedanceConfig = {
url: 'https://openspeech.bytedance.com/api/v1/tts' url: "https://openspeech.bytedance.com/api/v1/tts",
} };
{ {
"compilerOptions": { "compilerOptions": {
"target": "es2015", "target": "es2020",
"module": "commonjs" "module": "commonjs",
"baseUrl": ".",
"allowJs": true,
"checkJs": false,
"moduleResolution": "Node",
"lib": ["es2020"],
"paths": {
"~/*": ["./*"]
} }
},
"include": ["**/*"],
"exclude": ["node_modules", "miniprogram_npm"]
} }
...@@ -2,6 +2,82 @@ ...@@ -2,6 +2,82 @@
"requires": true, "requires": true,
"lockfileVersion": 1, "lockfileVersion": 1,
"dependencies": { "dependencies": {
"@babel/generator": {
"version": "7.28.6",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.6.tgz",
"integrity": "sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==",
"dev": true,
"requires": {
"@babel/parser": "^7.28.6",
"@babel/types": "^7.28.6",
"@jridgewell/gen-mapping": "^0.3.12",
"@jridgewell/trace-mapping": "^0.3.28",
"jsesc": "^3.0.2"
}
},
"@babel/helper-string-parser": {
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
"integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
"dev": true
},
"@babel/helper-validator-identifier": {
"version": "7.28.5",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
"integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
"dev": true
},
"@babel/parser": {
"version": "7.28.6",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.6.tgz",
"integrity": "sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==",
"dev": true,
"requires": {
"@babel/types": "^7.28.6"
}
},
"@babel/types": {
"version": "7.28.6",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.6.tgz",
"integrity": "sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==",
"dev": true,
"requires": {
"@babel/helper-string-parser": "^7.27.1",
"@babel/helper-validator-identifier": "^7.28.5"
}
},
"@jridgewell/gen-mapping": {
"version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
"integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
"dev": true,
"requires": {
"@jridgewell/sourcemap-codec": "^1.5.0",
"@jridgewell/trace-mapping": "^0.3.24"
}
},
"@jridgewell/resolve-uri": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
"integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
"dev": true
},
"@jridgewell/sourcemap-codec": {
"version": "1.5.5",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
"integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
"dev": true
},
"@jridgewell/trace-mapping": {
"version": "0.3.31",
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
"integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
"dev": true,
"requires": {
"@jridgewell/resolve-uri": "^3.1.0",
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
"@vant/area-data": { "@vant/area-data": {
"version": "1.5.2", "version": "1.5.2",
"resolved": "https://registry.npmjs.org/@vant/area-data/-/area-data-1.5.2.tgz", "resolved": "https://registry.npmjs.org/@vant/area-data/-/area-data-1.5.2.tgz",
...@@ -12,6 +88,12 @@ ...@@ -12,6 +88,12 @@
"resolved": "https://registry.npmjs.org/@vant/weapp/-/weapp-1.11.7.tgz", "resolved": "https://registry.npmjs.org/@vant/weapp/-/weapp-1.11.7.tgz",
"integrity": "sha512-Rwn9BBnb4kHSV4XmvBicwtd42J+amEUfnFDcXJsGNPNX4a9c/DoT6YLsm4X1wB2+sQbdiQsbFBLAvGRBxCkD8g==" "integrity": "sha512-Rwn9BBnb4kHSV4XmvBicwtd42J+amEUfnFDcXJsGNPNX4a9c/DoT6YLsm4X1wB2+sQbdiQsbFBLAvGRBxCkD8g=="
}, },
"@wxml/parser": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/@wxml/parser/-/parser-0.4.0.tgz",
"integrity": "sha512-pS0OPyKzCOhCPGlcfO9IDLZbqH4485bPdGDqaa+hYnI+cY/OW+GN4J88XpfdzM8wXJcJShFZy5F6MTUr2rysXg==",
"dev": true
},
"dayjs": { "dayjs": {
"version": "1.11.19", "version": "1.11.19",
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.19.tgz", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.19.tgz",
...@@ -32,11 +114,32 @@ ...@@ -32,11 +114,32 @@
"resolved": "https://registry.npmjs.org/glsx-common-sdk/-/glsx-common-sdk-0.2.8.tgz", "resolved": "https://registry.npmjs.org/glsx-common-sdk/-/glsx-common-sdk-0.2.8.tgz",
"integrity": "sha512-qCDUBRvJwE2Gs1PLwB+fHOSFPgB5W5fwYC3GSBSjMQOxs4keeOvd7o5wIb7bNakp0xF6ARPqpC/xm3hZ9TRW6A==" "integrity": "sha512-qCDUBRvJwE2Gs1PLwB+fHOSFPgB5W5fwYC3GSBSjMQOxs4keeOvd7o5wIb7bNakp0xF6ARPqpC/xm3hZ9TRW6A=="
}, },
"jsesc": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
"integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
"dev": true
},
"number-precision": { "number-precision": {
"version": "1.6.0", "version": "1.6.0",
"resolved": "https://registry.npmjs.org/number-precision/-/number-precision-1.6.0.tgz", "resolved": "https://registry.npmjs.org/number-precision/-/number-precision-1.6.0.tgz",
"integrity": "sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ==" "integrity": "sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ=="
}, },
"prettier": {
"version": "3.8.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz",
"integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==",
"dev": true
},
"prettier-plugin-mp": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/prettier-plugin-mp/-/prettier-plugin-mp-2.5.0.tgz",
"integrity": "sha512-xOACEwH19w211V8kkQEcrZnVQsP+g7/wepcJ2VM0ajLJdhQgcW4qJpD827vl28BYUuhkQ6dnyAAkeybJ3lzvzQ==",
"dev": true,
"requires": {
"@wxml/parser": "^0.4.0"
}
},
"rfdc": { "rfdc": {
"version": "1.4.1", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz",
......
...@@ -8,5 +8,14 @@ ...@@ -8,5 +8,14 @@
"glsx-common-sdk": "^0.2.8", "glsx-common-sdk": "^0.2.8",
"number-precision": "^1.6.0", "number-precision": "^1.6.0",
"rfdc": "^1.3.0" "rfdc": "^1.3.0"
},
"volta": {
"node": "14.21.3"
},
"devDependencies": {
"@babel/generator": "^7.28.6",
"@babel/parser": "^7.28.6",
"prettier": "^3.8.1",
"prettier-plugin-mp": "^2.5.0"
} }
} }
import { ServerCenterEnum, ReminderTypeEnum } from "~/utils/enum/index";
Component({
properties: {
// 企业通知
// ServerCenterEnum
type: {
type: String,
value: "",
},
data: {
type: Object,
value: {},
},
},
/**
* 组件的初始数据
*/
data: {
itemSchema: {
// 企业通知
[ServerCenterEnum.companyNotice]: {
[ReminderTypeEnum.FIRST]: [
{ label: "企业通知", isTitle: true },
{ label: "提醒时间", field: "createdTime", colon: true },
{ label: "提醒内容", field: "msgTitle", colon: true },
],
},
},
},
});
.notice-item {
padding: 24rpx 32rpx;
border-radius: var(--fontSize16);
margin-top: 32rpx;
background-color: white;
line-height: 22px;
transition: background-color 0.1s;
&:active {
background-color: #f5f6f8;
}
> .title {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 32rpx;
color: rgba(51, 51, 51, 1);
font-weight: 500;
width: 100%;
overflow: hidden;
.tips {
font-size: 24rpx;
font-weight: 400;
color: rgb(153, 153, 153);
}
> .label {
flex: 1;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
position: relative;
display: block;
box-sizing: border-box;
padding-left: 0;
&.no-read {
padding-left: 24rpx;
&::after {
position: absolute;
content: "";
left: 0;
top: 50%;
transform: translate(0, -50%); /* X轴左移50%,Y轴上移50%,实现完全居中 */
width: 12rpx;
height: 12rpx;
border-radius: 100%;
background-color: #f24724;
}
}
}
}
> .label-item {
display: flex;
margin-top: 16rpx;
color: rgb(153, 153, 153);
font-size: 28rpx;
width: 100%;
.label {
&.colon {
&::after {
content: ":";
margin-right: 16rpx;
}
}
}
> .value {
flex: 1;
}
}
}
<view class="notice-item">
<block wx:for="{{ itemSchema[type][data.reminderType] }}"
wx:for-item="schema"
wx:key="field">
<block wx:if="{{ data.reminderType }}">
<view class="title" wx:if="{{ schema.isTitle }}">
<view class="label {{ data.status === 1 ? '':'no-read' }}">
{{ schema.label }}
</view>
<view class="tips">
查看详情>
</view>
</view>
<view class="label-item" wx:else>
<view class="label {{ schema.colon ? 'colon' : '' }}">
{{ schema.label }}
</view>
<view class="value">
{{ schema.beforeText }}{{ data[schema.field] }}{{ schema.afterText }}
</view>
</view>
</block>
</block>
</view>
Component({
properties: {
hasMore: {
type: Boolean,
value: true,
},
isLoading: {
type: Boolean,
value: false,
},
listLength: {
type: Number,
value: 0,
},
},
data: {},
methods: {
onScrollToLower(e) {
if (this.data.hasMore && !this.data.isLoading) {
this.triggerEvent("onScrollToLower", e);
console.log("滚动到底部了sssss", e);
}
},
},
lifetimes: {
created() {},
attached() {},
ready() {},
moved() {},
detached() {},
},
observers: {},
});
.tab-wrapper {
padding: 0 20rpx;
box-sizing: border-box;
height: 100%;
.scroll-anchor {
margin-top: 32rpx;
color: #999999;
font-size: 12px;
font-weight: 400;
text-align: center;
line-height: 16px;
&::before {
content: "-";
}
&::after {
content: "-";
}
}
}
<scroll-view class="tab-wrapper"
scroll-y
bind:scrolltolower="onScrollToLower"
lower-threshold="50">
<slot></slot><empty-data wx:if="{{ !isLoading && listLength === 0 && !hasMore }}" />
<block wx:else>
<view class="scroll-anchor" wx:if="{{ isLoading }}">
加载中
</view>
<view class="scroll-anchor" wx:elif="{{ !hasMore }}">
已经到底了
</view>
</block>
</scroll-view>
import { getCompanyNoticeDetail } from "~/api/serviceCenter/index.js";
Page({
data: {
navBarHeight: 0,
noticeData: {},
},
navbarReady(e) {
let navBarHeight = e?.detail?.height;
this.setData({
navBarHeight,
});
},
back() {
wx.$router.back();
},
async loadData(messageId) {
console.log("messageId", messageId);
wx.$util.showLoading();
try {
const { data } = await getCompanyNoticeDetail({ id: messageId });
this.setData({
noticeData: data,
});
} finally {
wx.$util.hideLoading();
}
},
/**
* options 仅有一个id字段
* options.id
*/
async onRoute(options) {
console.log("options", options);
await this.loadData(options.id);
},
});
page {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
padding-bottom: env(safe-area-inset-bottom);
box-sizing: border-box;
}
.layout {
flex: 1;
width: 100%;
box-sizing: border-box;
overflow-y: auto;
.title {
padding: 0 32rpx;
margin-top: 24rpx;
color: #333333;
font-size: 16px;
font-weight: 500;
text-align: left;
line-height: 44rpx;
}
.article-time {
padding: 0 32rpx;
margin-top: 16rpx;
color: #66666699;
font-size: 14px;
font-weight: 400;
text-align: left;
line-height: 44rpx;
}
.article-sub-title {
padding: 0 32rpx;
color: #333333;
font-size: 15px;
line-height: 44rpx;
margin-top: 16rpx;
}
.article-wrapper {
padding: 10rpx 32rpx;
margin-top: 16rpx;
line-height: 48rpx;
color: #666666;
}
}
<navigation-bar bind:navbarReady="navbarReady"
showBack
navStyle="{{ navStyle }}"
bind:back="back">
通知详情
</navigation-bar>
<view class="layout" style="padding-top: {{ navBarHeight }}px;">
<view class="title">
{{ noticeData.msgDetail.title }}
</view>
<view class="article-time">
{{ noticeData.createdTime }}
</view>
<view class="article-sub-title" wx:if="{{ noticeData.msgDetail.subtitle }}">
{{ noticeData.msgDetail.subtitle }}
</view>
<view class="article-wrapper">
<rich-text nodes="{{ noticeData.msgDetail.content }}"></rich-text>
</view>
</view>
import { getCompanyNoticeList, getUnreadCountByType } from "~/api/serviceCenter/index.js";
import { ServerCenterEnum, ServerCenterKeyEnum } from "~/utils/enum/index.js";
Page({
data: {
ServerCenterEnum: ServerCenterEnum,
ServerCenterKeyEnum,
tabCurrent: ServerCenterEnum.companyNotice,
tabOptions: [{ text: "企业通知", value: ServerCenterEnum.companyNotice, key: "companyNotice" }],
tabPath: {
[ServerCenterEnum.companyNotice]: {
path: "packageWorkspace.companyNoticeDetail",
// api参数
params: {
moduleType: ServerCenterEnum.companyNotice,
},
},
},
list: {
companyNotice: {
total: 0,
list: [],
},
},
},
navbarReady(e) {
let navBarHeight = e?.detail?.height;
this.setData({
navBarHeight,
});
},
back() {
wx.$router.back();
},
handleTab({ detail }) {
this.setData({
tabCurrent: detail.value,
});
},
async handleTapItem(e) {
const { id, moduleType } = e.target.dataset.item;
wx.$router.go(this.data.tabPath[moduleType || 0].path, {
id,
});
},
async handleScrollToLower(e) {
await this.getTabList(true);
},
clearTabData() {
this.setData({
list: {
companyNotice: {
unreadNum: 0,
isLoading: false,
hasMore: true,
total: 0,
list: [],
},
},
});
},
async handleTabChange(e) {
this.setData({
tabCurrent: e.detail.name,
});
await this.getUnread();
await this.getTabList();
},
async getTabList(isPagination = false, tabCurrent = -1) {
wx.$util.showLoading();
const tabValue = tabCurrent === -1 ? this.data.tabCurrent : tabCurrent;
this.setData({
[`list.${ServerCenterKeyEnum[tabValue]}.isLoading`]: true,
});
try {
const tabData = this.data.list[`${ServerCenterKeyEnum[tabValue]}`];
const pagination = {
pageNum: 1,
pageSize: 15,
};
if (isPagination) {
pagination.pageNum = tabData.pageNum + 1;
}
const { data } = await getCompanyNoticeList({
...pagination,
...this.data.tabPath[tabValue].params,
});
if (data?.list) {
if (isPagination) {
data.list = [...tabData.list, ...data.list];
}
this.setData({
[`list.${ServerCenterKeyEnum[tabValue]}`]: {
...tabData,
...data,
hasMore: data.pageNum < data.pages,
isLoading: false,
},
});
console.log("this.data.list", this.data.list);
}
} finally {
wx.$util.hideLoading();
this.setData({
[`list.${ServerCenterKeyEnum[tabValue]}.isLoading`]: false,
});
}
},
async getUnread() {
wx.$util.showLoading();
try {
const { data } = await getUnreadCountByType({ moduleTypes: [ServerCenterEnum.companyNotice] });
if (data && data.length) {
for (let item of data) {
if (ServerCenterKeyEnum[item.moduleType]) {
this.setData({
[`list.${ServerCenterKeyEnum[item.moduleType]}.unreadNum`]: item.unreadCount,
});
}
}
console.log("list", this.data.list);
}
} finally {
wx.$util.hideLoading();
}
// const apis = [
// getUnreadCountByType({
// moduleTypes: ServerCenterEnum.companyNotice,
// }),
// getUnreadCountByType({
// moduleTypes: ServerCenterEnum.longCourse,
// }),
// getUnreadCountByType({
// moduleTypes: ServerCenterEnum.case,
// }),
// ];
// this.setData({});
// const [companyData, longCourseData, caseData] = await Promise.all(apis);
// console.log(companyData, longCourseData, caseData);
},
async onLoad(options) {
await this.getUnread();
await this.getTabList();
},
onRoute(options) {},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {},
});
{
"navigationStyle": "custom",
"usingComponents": {
"van-tab": "@vant/weapp/tab/index",
"van-tabs": "@vant/weapp/tabs/index",
"item": "../../components/noticeItem/noticeItem",
"scrollList": "../../components/scrollList/scrollList"
}
}
/* packageEquity/pages/residentTarget/residentTarget.wxss */
page {
background-color: #f7f8fa !important;
height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
position: relative;
padding-top: var(--fontSize165);
box-sizing: border-box;
padding-bottom: env(safe-area-inset-bottom);
.bg {
box-sizing: border-box;
width: 100%;
height: 800rpx;
background: url("https://img02.glsx.com.cn/weapp/resource/miniprogram/regional-assistant/page-bg.png") no-repeat;
background-size: 100% var(--fontSize400);
/* 绑定动画:10秒循环,平滑过渡 */
position: fixed;
left: 0;
top: 0;
z-index: -1;
&::after {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 250, 1) 100%);
}
}
.navigation-header {
.navigation-bar {
background-color: transparent;
box-shadow: none;
}
.navigation-header .navigation-title-text {
color: #000;
}
}
.tabs-wrapper {
flex: 1;
overflow: hidden;
.van-tabs__scroll {
background-color: transparent;
}
.van-tabs {
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
.van-tabs__content {
flex: 1;
.van-tabs__track {
height: 100%;
.van-tab__pane {
height: 100%;
overflow: hidden;
}
}
}
}
}
}
<view class="bg"></view>
<navigation-bar class="navigation-header"
bind:navbarReady="navbarReady"
showBack
bind:back="back">
<view class="navigation-title">
<view class="navigation-title-text text-hide">
服务中心
</view>
</view>
</navigation-bar>
<view class="tabs-wrapper">
<van-tabs active="{{ tabCurrent }}"
bind:change="handleTabChange"
color="#347BFF">
<van-tab wx:for="{{ tabOptions }}"
wx:key="value"
wx:for-item="options"
title="{{ options.text }}({{ list[options.key].unreadNum > 99? '99+' : list[options.key].unreadNum || 0 }})"
name="{{ options.value }}">
<scrollList bind:onScrollToLower="handleScrollToLower"
hasMore="{{ list[options.key].hasMore }}"
isLoading="{{ list[options.key].isLoading }}"
listLength="{{ list[options.key].list.length }}">
<item wx:for="{{ list[options.key].list }}"
wx:key="id"
wx:for-item="item"
data-item="{{ item }}"
bind:tap="handleTapItem"
data="{{ item }}"
type="{{ options.value }}"></item>
</scrollList>
</van-tab>
</van-tabs>
</view>
{ {
"usingComponents": { "usingComponents": {
"report-template-popup": "/components/report-template-popup/report-template-popup" "report-template-popup": "/components/report-template-popup/report-template-popup",
"van-dialog": "@vant/weapp/dialog/index"
}, },
"navigationStyle": "custom" "navigationStyle": "custom"
} }
/* pages/tab/workspace/workspace.wxss */ /* pages/tab/workspace/workspace.wxss */
page { page {
background: #F2F3F7; background: #f2f3f7;
} }
.page-title { .page-title {
font-size: var(--fontSize34); font-size: var(--fontSize34);
...@@ -10,7 +10,7 @@ page { ...@@ -10,7 +10,7 @@ page {
.bg { .bg {
width: 100%; width: 100%;
height: var(--fontSize400); height: var(--fontSize400);
background: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/regional-assistant/page-bg.png') no-repeat; background: url("https://img02.glsx.com.cn/weapp/resource/miniprogram/regional-assistant/page-bg.png") no-repeat;
background-size: 100% var(--fontSize400); background-size: 100% var(--fontSize400);
position: fixed; position: fixed;
left: 0; left: 0;
...@@ -37,7 +37,7 @@ page { ...@@ -37,7 +37,7 @@ page {
margin: var(--fontSize32) var(--fontSize24); margin: var(--fontSize32) var(--fontSize24);
border-radius: var(--fontSize36); border-radius: var(--fontSize36);
background: #ffffff; background: #ffffff;
padding: var(--fontSize24) var(--fontSize32); padding: var(--fontSize24) var(--fontSize32) var(--fontSize12);
.label { .label {
color: #222222; color: #222222;
font-size: var(--fontSize28); font-size: var(--fontSize28);
...@@ -49,19 +49,20 @@ page { ...@@ -49,19 +49,20 @@ page {
grid-template-columns: repeat(4, minmax(var(--fontSize100), 1fr)); grid-template-columns: repeat(4, minmax(var(--fontSize100), 1fr));
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding-top: var(--fontSize24); padding-top: var(--fontSize12);
background: #FFFFFF; background: #ffffff;
border-radius: var(--fontSize16); border-radius: var(--fontSize16);
.label { .label {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #292D33; color: #292d33;
} }
.item { .item {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
align-items: center; align-items: center;
position: relative; position: relative;
margin: var(--fontSize12) 0;
image { image {
width: var(--fontSize72); width: var(--fontSize72);
height: var(--fontSize72); height: var(--fontSize72);
...@@ -72,9 +73,9 @@ page { ...@@ -72,9 +73,9 @@ page {
top: 0; top: 0;
width: var(--fontSize38); width: var(--fontSize38);
height: var(--fontSize32); height: var(--fontSize32);
background: #F24724; background: #f24724;
border-radius: var(--fontSize16); border-radius: var(--fontSize16);
color: #FFFFFF; color: #ffffff;
font-size: var(--fontSize22); font-size: var(--fontSize22);
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -86,7 +87,7 @@ page { ...@@ -86,7 +87,7 @@ page {
top: var(--fontSize12); top: var(--fontSize12);
width: var(--fontSize16); width: var(--fontSize16);
height: var(--fontSize16); height: var(--fontSize16);
background: #F24724; background: #f24724;
border-radius: var(--fontSize16); border-radius: var(--fontSize16);
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -94,3 +95,32 @@ page { ...@@ -94,3 +95,32 @@ page {
} }
} }
} }
// dialog的样式
#van-dialog {
width: 622rpx;
.van-popup {
.van-dialog__header {
padding: 48rpx 48rpx 0 48rpx;
color: #292d33;
font-size: 34rpx;
font-weight: 500;
text-align: center;
}
.van-dialog__message {
padding: 32rpx 48rpx 48rpx;
color: #5a5e66;
font-size: 32rpx;
font-weight: 400;
line-height: 24px;
}
.van-button {
padding: 24rpx 0 !important;
opacity: 1;
color: #347bff;
font-size: 32rpx;
font-weight: 400;
line-height: 24px;
}
}
}
<!--pages/tab/workspace/workspace.wxml--> <!--pages/tab/workspace/workspace.wxml-->
<navigation-bar bindnavbarReady="navbarReady" class="navigation-header" navStyle="background-color:transparent;box-shadow:none;"><view class="page-title">工作台</view></navigation-bar> <navigation-bar bindnavbarReady="navbarReady"
class="navigation-header"
navStyle="background-color:transparent;box-shadow:none;">
<view class="page-title">
工作台
</view>
</navigation-bar>
<view class="bg"></view> <view class="bg"></view>
<view class="container" style="margin-top: {{navBarHeight}}px;"> <view class="container" style="margin-top: {{ navBarHeight }}px;">
<view class="banner-box" wx:if="{{showBanner}}"> <view class="banner-box" wx:if="{{ showBanner }}">
<image class="image" src="{{IMG_URL}}work-banner.png" mode=""/> <image class="image"
<image class="close-icon" bindtap="closeBannaer" src="{{IMG_URL}}blue-close.png" alt=""/> src="{{ IMG_URL }}work-banner.png"
mode="" />
<image class="close-icon"
bindtap="closeBannaer"
src="{{ IMG_URL }}blue-close.png"
alt="" />
</view> </view>
<view class="box"> <view class="box">
<view class="label">审批管理</view> <view class="label">
审批管理
</view>
<view class="menu"> <view class="menu">
<block wx:for="{{ approvalMenus }}" wx:key="index"> <block wx:for="{{ approvalMenus }}" wx:key="index">
<view class="item" bindtap="jump" data-target="{{ item }}"> <view class="item"
<image src="{{ IMG_URL}}{{item.icon }}.png" /> bindtap="jump"
<view class="label">{{item.name}}</view> data-target="{{ item }}">
<view class="hot_icon" wx:if="{{ item.tipsNum }}">{{item.tipsNum > 99?'99+': item.tipsNum}}</view> <image src="{{ IMG_URL }}{{ item.icon }}.png" />
<view class="label">
{{ item.name }}
</view>
<view class="hot_icon" wx:if="{{ item.tipsNum }}">
{{ item.tipsNum > 99?'99+': item.tipsNum }}
</view>
</view> </view>
</block> </block>
</view> </view>
</view> </view>
<view class="box"> <view class="box">
<view class="label">门店运营管理</view> <view class="label">
门店运营管理
</view>
<view class="menu"> <view class="menu">
<block wx:for="{{ storeManagementMenus }}" wx:key="index"> <block wx:for="{{ storeManagementMenus }}" wx:key="index">
<view class="item" bindtap="jump" data-target="{{ item }}"> <view class="item"
<image src="{{ IMG_URL}}{{item.icon }}.png" /> bind:tap="jump"
<view class="label">{{item.name}}</view> data-target="{{ item }}">
<view class="hot_icon" wx:if="{{ item.tipsNum }}">{{item.tipsNum > 99?'99+': item.tipsNum}}</view> <image src="{{ IMG_URL }}{{ item.icon }}.png" />
<view class="label">
{{ item.name }}
</view>
<view class="hot_icon" wx:if="{{ item.tipsNum }}">
{{ item.tipsNum > 99?'99+': item.tipsNum }}
</view>
</view> </view>
</block> </block>
</view> </view>
</view> </view>
<view class="box"> <view class="box">
<view class="label">人员发展管理</view> <view class="label">
人员发展管理
</view>
<view class="menu"> <view class="menu">
<block wx:for="{{ staffDevelopmentMenus }}" wx:key="index"> <block wx:for="{{ staffDevelopmentMenus }}" wx:key="index">
<view class="item" bindtap="jump" data-target="{{ item }}"> <view class="item"
<image src="{{ IMG_URL}}{{item.icon }}.png" /> bindtap="jump"
<view class="label">{{item.name}}</view> data-target="{{ item }}">
<view class="hot_icon" wx:if="{{ item.tipsNum }}">{{item.tipsNum > 99?'99+': item.tipsNum}}</view> <image src="{{ IMG_URL }}{{ item.icon }}.png" />
<view class="label">
{{ item.name }}
</view>
<view class="hot_icon" wx:if="{{ item.tipsNum }}">
{{ item.tipsNum > 99?'99+': item.tipsNum }}
</view>
</view> </view>
</block> </block>
</view> </view>
</view> </view>
</view> </view>
<report-template-popup <report-template-popup show="{{ showReportPopup }}"
show="{{showReportPopup}}" templateList="{{ reportTemplateList }}"
templateList="{{reportTemplateList}}"
bind:cancel="onReportPopupCancel" bind:cancel="onReportPopupCancel"
bind:select="onReportPopupSelect" bind:select="onReportPopupSelect" />
/> <van-dialog id="van-dialog" confirm-button-color="#2C66F7" />
{
"appid": "wx6216a8e625e76b00",
"projectname": "regional-assistant",
"compileType": "miniprogram",
"libVersion": "3.13.0",
"scripts": {
"beforeUpload": "node ./scripts/wx-upload-guard.js || exit 1"
},
"packOptions": {
"ignore": [
{
"value": ".vscode",
"type": "folder"
}
],
"include": []
},
"setting": {
"urlCheck": false,
"coverView": true,
"es6": true,
"postcss": true,
"minified": true,
"enhance": true,
"showShadowRootInWxmlPanel": true,
"packNpmManually": true,
"packNpmRelationList": [
{
"packageJsonPath": "./package.json",
"miniprogramNpmDistDir": "./miniprogram_npm"
}
],
"compileHotReLoad": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useCompilerPlugins": [
"sass"
],
"ignoreDevUnusedFiles": false,
"ignoreUploadUnusedFiles": false
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
}
}
\ No newline at end of file \ No newline at end of file
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"condition": {
"miniprogram": {
"list": [
{
"name": "申诉列表",
"pathName": "packageWorkspace/pages/appealFormManage/appealFormList/appealFormList",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "考勤列表",
"pathName": "packageWorkspace/pages/attendanceStatis/attendanceList/attendanceList",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "有效引荐数",
"pathName": "packageWorkspace/pages/validReferralCount/referralCountList/referralCountList",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "精品升级",
"pathName": "tabWorkOrder/pages/createOrder/createOrder",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "权战ai",
"pathName": "packageEquity/pages/createDeafeatOrderAi/createDeafeatOrderAi",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "权订单",
"pathName": "packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "质检",
"pathName": "packageEquity/pages/aiInspection/aiInspection",
"query": "badgeId=4827E2F0CD24",
"launchMode": "default",
"scene": null
},
{
"name": "驻店目标",
"pathName": "packageEquity/pages/residentTarget/residentTarget",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "线管理",
"pathName": "packageEquity/pages/clueList/clueList",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "场景",
"pathName": "pages/sceneIndex/sceneIndex",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "员工日报",
"pathName": "tabWorkOrder/pages/staffDaily/staffDaily",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "权益-个人中心",
"pathName": "packageEquity/pages/TabBar/equityPage",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "创建权益订单",
"pathName": "packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "权益列表",
"pathName": "packageEquity/pages/TabBar/equityPage",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "领券预约",
"pathName": "tabMine/pages/collectCoupons/collectCoupons",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "个人中心",
"pathName": "pages/tabMine/pages/index/index",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
},
"libVersion": "3.12.0"
}
\ No newline at end of file \ No newline at end of file
const _routeHooks = Symbol('_routeHooks') const _routeHooks = Symbol("_routeHooks");
const _query = Symbol('_query') const _query = Symbol("_query");
const _routerList = Symbol('_routerList') const _routerList = Symbol("_routerList");
import util from '../utils/util.js' import util from "../utils/util.js";
const generateRoutList = routerList => { const generateRoutList = (routerList) => {
let _routerList = routerList let _routerList = routerList;
try { try {
// console.log(wx.getLaunchOptionsSync()); // console.log(wx.getLaunchOptionsSync());
// console.log(__wxConfig); // console.log(__wxConfig);
__wxConfig && __wxConfig &&
__wxConfig.tabBar && __wxConfig.tabBar &&
__wxConfig.tabBar.list && __wxConfig.tabBar.list &&
(_routerList = routerList.map(item => { (_routerList = routerList.map((item) => {
return { return {
...item, ...item,
isTab: __wxConfig.tabBar.list.some(({ pagePath }) => item.url.includes(pagePath.replace('.html', ''))) isTab: __wxConfig.tabBar.list.some(({ pagePath }) => item.url.includes(pagePath.replace(".html", ""))),
} };
})) }));
} catch (err) { } } catch (err) {}
return _routerList return _routerList;
} };
class Router { class Router {
[_query] = {}; [_query] = {};
[_routeHooks] = []; [_routeHooks] = [];
[_routerList] = [] [_routerList] = [];
constructor(router) { constructor(router) {
this[_routerList] = generateRoutList(router) this[_routerList] = generateRoutList(router);
wx.onAppRoute && wx.onAppRoute &&
wx.onAppRoute(e => { wx.onAppRoute((e) => {
const thisPage = this.getPageInstance() const thisPage = this.getPageInstance();
const thisRouter = this[_routerList].find(item => item.url === `/${e.path}`) const thisRouter = this[_routerList].find((item) => item.url === `/${e.path}`);
// console.log(thisRouter) // console.log(thisRouter)
if (thisRouter.isTab) { if (thisRouter.isTab) {
wx.showTabBar({ wx.showTabBar({
...@@ -37,8 +37,8 @@ class Router { ...@@ -37,8 +37,8 @@ class Router {
}, },
fail(err) { fail(err) {
// console.log(err) // console.log(err)
} },
}) });
// 解决低版本兼容问题 // 解决低版本兼容问题
// .then(result => {}) // .then(result => {})
// .catch(err => { // .catch(err => {
...@@ -47,101 +47,102 @@ class Router { ...@@ -47,101 +47,102 @@ class Router {
} }
// console.log('thisPage', thisPage) // console.log('thisPage', thisPage)
if (thisPage) { if (thisPage) {
const onRoute = thisPage.onRoute const onRoute = thisPage.onRoute;
thisPage.$query = this[_query] thisPage.$query = this[_query];
// console.log(this[_query]); // console.log(this[_query]);
typeof onRoute === 'function' && onRoute(this[_query]) typeof onRoute === "function" && onRoute(this[_query]);
thisPage.showToast = util.showToast thisPage.showToast = util.showToast;
thisPage.showLoading = util.showLoading thisPage.showLoading = util.showLoading;
thisPage.hideLoading = util.hideLoading thisPage.hideLoading = util.hideLoading;
// 用来处理兼容iphoneX的底部的横条 // 用来处理兼容iphoneX的底部的横条
console.log(util.isFullSucreen(), 'util.isFullSucreen()'); console.log(util.isFullSucreen(), "util.isFullSucreen()");
thisPage.setData({ thisPage.setData({
isFullSucreen: util.isFullSucreen() isFullSucreen: util.isFullSucreen(),
}) });
let userInfo = util.getUserInfo() let userInfo = util.getUserInfo();
if (userInfo) { if (userInfo) {
if (userInfo.merchantAccountList && userInfo.merchantAccountList.length) { if (userInfo.merchantAccountList && userInfo.merchantAccountList.length) {
try { try {
userInfo.merchantAccountList.map(e => { userInfo.merchantAccountList.map((e) => {
if (e == 6 || e == 8) throw true if (e == 6 || e == 8) throw true;
}) });
} catch (error) { } catch (error) {
userInfo.merchantType = error userInfo.merchantType = error;
} }
} }
if (!thisPage.data.firstOpen) { if (!thisPage.data.firstOpen) {
thisPage.setData({ thisPage.setData({
firstOpen: true, firstOpen: true,
// 插入用户信息 // 插入用户信息
userInfo userInfo,
}) });
if (thisPage.init) thisPage.init(userInfo) if (thisPage.init) thisPage.init(userInfo);
} }
} }
} }
this[_routeHooks].forEach(fn => { this[_routeHooks].forEach((fn) => {
try { try {
typeof fn === 'function' && fn(e, this[_query], this[_routerList]) typeof fn === "function" && fn(e, this[_query], this[_routerList]);
} catch (err) { } catch (err) {
console.log(err) console.log(err);
} }
}) });
this[_query] = {} this[_query] = {};
}) });
} }
/**获取路由列表 */ /**获取路由列表 */
getRouterList() { getRouterList() {
return this[_routerList] return this[_routerList];
} }
/**获取页面对象实例 */ /**获取页面对象实例 */
getPageInstance = (size = 1) => { getPageInstance = (size = 1) => {
const pages = getCurrentPages() const pages = getCurrentPages();
return pages[pages.length - size] return pages[pages.length - size];
} };
checkRouter(route, events) { checkRouter(route, events) {
// console.log(route) // console.log(route)
// console.log(events); // console.log(events);
// debugger // debugger
this[_query] = events || {} this[_query] = events || {};
// console.log(this[_query]) // console.log(this[_query])
const [_parent, _name] = route.split('.') const [_parent, _name] = route.split(".");
let name = route let name = route;
let parent = this.getPageInstance()?.__route__.split('/')[0] let parent = this.getPageInstance()?.__route__.split("/")[0];
let query = '' let query = "";
if (route.includes('?')) { if (route.includes("?")) {
let [_name_, _query_] = route.split('?') let [_name_, _query_] = route.split("?");
query = `?${_query_}` query = `?${_query_}`;
name = _name_ name = _name_;
} }
if (_parent && _name) { if (_parent && _name) {
name = _name.split('?')[0] name = _name.split("?")[0];
parent = _parent parent = _parent;
} }
const routerMapItem = this[_routerList].find(item => item.parent === parent && item.name === name) console.log("this[_routerList]", this[_routerList]);
const routerMapItem = this[_routerList].find((item) => item.parent === parent && item.name === name);
// console.log(this[_routerList]) // console.log(this[_routerList])
console.log(routerMapItem) console.log(routerMapItem);
if (!routerMapItem) { if (!routerMapItem) {
console.error('找不到路由') console.error("找不到路由");
return return;
} }
return { return {
routerMapItem, routerMapItem,
query query,
} };
} }
/**跳转至H5 */ /**跳转至H5 */
jumpH5(url) { jumpH5(url) {
wx.navigateTo({ wx.navigateTo({
url: `/pages/webView/webView?url=${encodeURIComponent(url)}` url: `/pages/webView/webView?url=${encodeURIComponent(url)}`,
}) });
} }
/**页面跳转 /**页面跳转
* *
*/ */
jump(e) { jump(e) {
const item = e.currentTarget.dataset const item = e.currentTarget.dataset;
this.go(item.url, item) this.go(item.url, item);
} }
/** /**
* 跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面 || * 跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面 ||
...@@ -149,80 +150,81 @@ class Router { ...@@ -149,80 +150,81 @@ class Router {
*/ */
go(route, events) { go(route, events) {
// console.log(route); // console.log(route);
if (route.startsWith('/')) return wx.navigateTo({ if (route.startsWith("/"))
return wx.navigateTo({
url: route, url: route,
success(res) { success(res) {
if (events) res.eventChannel.emit('getData', events) if (events) res.eventChannel.emit("getData", events);
} },
}) });
let { routerMapItem, query } = this.checkRouter(route, events) let { routerMapItem, query } = this.checkRouter(route, events);
// console.log(routerMapItem, query) // console.log(routerMapItem, query)
if (routerMapItem.isTab) { if (routerMapItem.isTab) {
wx.switchTab({ wx.switchTab({
url: routerMapItem.url url: routerMapItem.url,
}) });
} else { } else {
wx.navigateTo({ wx.navigateTo({
url: `${routerMapItem.url}${query}`, url: `${routerMapItem.url}${query}`,
success(res) { success(res) {
if (events) res.eventChannel.emit('getData', events) if (events) res.eventChannel.emit("getData", events);
} },
}) });
} }
} }
/**关闭所有页面,打开到应用内的某个页面 */ /**关闭所有页面,打开到应用内的某个页面 */
reLaunch(route, events) { reLaunch(route, events) {
// console.log(events) // console.log(events)
// debugger // debugger
let { routerMapItem, query } = this.checkRouter(route, events) let { routerMapItem, query } = this.checkRouter(route, events);
// console.log(query, 'query') // console.log(query, 'query')
wx.reLaunch({ wx.reLaunch({
url: `${routerMapItem.url}${query}` url: `${routerMapItem.url}${query}`,
}) });
} }
/**关闭当前页面,跳转到应用内的某个页面。但是不允许跳转到 tabbar 页面。 */ /**关闭当前页面,跳转到应用内的某个页面。但是不允许跳转到 tabbar 页面。 */
redirectTo(route, events) { redirectTo(route, events) {
let { routerMapItem, query } = this.checkRouter(route, events) let { routerMapItem, query } = this.checkRouter(route, events);
console.log(routerMapItem) console.log(routerMapItem);
wx.redirectTo({ wx.redirectTo({
url: `${routerMapItem.url}${query}` url: `${routerMapItem.url}${query}`,
}) });
} }
/**prevPageSize = 1 /**prevPageSize = 1
* 返回上prevPageSize页 * 返回上prevPageSize页
* callBack返回上prevPageSize页对象 */ * callBack返回上prevPageSize页对象 */
back(callBack, prevPageSize = 1) { back(callBack, prevPageSize = 1) {
let prevPage = this.getPageInstance(Number(prevPageSize) + 1) let prevPage = this.getPageInstance(Number(prevPageSize) + 1);
if (callBack && 'function' === typeof callBack) callBack(prevPage) if (callBack && "function" === typeof callBack) callBack(prevPage);
wx.navigateBack({ wx.navigateBack({
delta: prevPageSize delta: prevPageSize,
}) });
} }
/**获取上一个页面传的数据 */ /**获取上一个页面传的数据 */
getData(callBack) { getData(callBack) {
let page = this.getPageInstance() let page = this.getPageInstance();
let data = page.getOpenerEventChannel() let data = page.getOpenerEventChannel();
if (Object.keys(data).length !== 0) { if (Object.keys(data).length !== 0) {
data.on('getData', res => { data.on("getData", (res) => {
callBack(res) callBack(res);
}) });
} }
} }
onRoute(fn) { onRoute(fn) {
this[_routeHooks].push(fn) this[_routeHooks].push(fn);
return () => { return () => {
const i = list.indexOf(fn) const i = list.indexOf(fn);
if (i > -1) list.splice(i, 1) if (i > -1) list.splice(i, 1);
} };
} }
_to(route, events, to, success) { _to(route, events, to, success) {
getApp().globalData.ROUTE_QUERY = events getApp().globalData.ROUTE_QUERY = events;
wx[to]({ wx[to]({
url: route, url: route,
success success,
}) });
} }
} }
export default Router export default Router;
export * from "./serviceCenter.js";
export const ServerCenterEnum = {
// 企业通知
companyNotice: 8,
};
export const ServerCenterKeyEnum = {
// 企业通知
8: "companyNotice",
};
export const ReminderTypeEnum = {
FIRST: 1,
PROGRESS: 2,
};
// 弹窗文字
export const dialogOptions = {
// 企业通知
[ServerCenterEnum.companyNotice]: {
1: {
title: "企业通知",
message: (text) => `您有新的企业通知:${text},请及时查看。`,
confirmButtonText: "去查看",
type: ServerCenterEnum.companyNotice,
},
},
};
export const noticeSort = [ServerCenterEnum.companyNotice];
...@@ -3,19 +3,19 @@ ...@@ -3,19 +3,19 @@
"@vant/area-data@^1.5.1": "@vant/area-data@^1.5.1":
version "1.5.1" version "1.5.2"
resolved "https://registry.npmjs.org/@vant/area-data/-/area-data-1.5.1.tgz" resolved "https://registry.npmjs.org/@vant/area-data/-/area-data-1.5.2.tgz"
integrity sha512-gR5TPEzTbxN1cTK1aDhCoyikSCLX7DAacxyXoKyI4SAsYYTZrDl/nLgQFIm9vLsvWzlPIda8xV8/U3x7M9k6ww== integrity sha512-Gtxgt6Rjgopt6234ANpO0bBsSwtjZ23lBlVDHIy8Mi2NJqyoj1vgVWY0dri8/2LCZAWzQ6EnwRrUVViUZ0cvMA==
"@vant/weapp@^1.10.24": "@vant/weapp@^1.10.24":
version "1.10.24" version "1.11.7"
resolved "https://registry.npmmirror.com/@vant/weapp/-/weapp-1.10.24.tgz" resolved "https://registry.npmjs.org/@vant/weapp/-/weapp-1.11.7.tgz"
integrity sha512-oovAaaJq3mlB+wto5bHVCn/rov8IgRDg+gJXy6hPX0A3c9WF1GqLqSmoXyaktgidJ9IaV1RADd3PAFlw4lUsnQ== integrity sha512-Rwn9BBnb4kHSV4XmvBicwtd42J+amEUfnFDcXJsGNPNX4a9c/DoT6YLsm4X1wB2+sQbdiQsbFBLAvGRBxCkD8g==
dayjs@^1.11.11: dayjs@^1.11.11:
version "1.11.11" version "1.11.19"
resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.11.11.tgz" resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.11.19.tgz"
integrity sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg== integrity sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==
glsk-applet-component@^1.0.0: glsk-applet-component@^1.0.0:
version "1.0.0" version "1.0.0"
...@@ -24,7 +24,7 @@ glsk-applet-component@^1.0.0: ...@@ -24,7 +24,7 @@ glsk-applet-component@^1.0.0:
glsx-applet-component@^1.1.29: glsx-applet-component@^1.1.29:
version "1.1.29" version "1.1.29"
resolved "https://registry.npmmirror.com/glsx-applet-component/-/glsx-applet-component-1.1.29.tgz" resolved "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.29.tgz"
integrity sha512-HPzVayIRZvA3nvG2Lj9V9+S+BFiCer4XxjQwuZksta5Bs9JbbKaY4ztcIEe1Se3vw3rbPL0Dv2OsWvVz2b5jfw== integrity sha512-HPzVayIRZvA3nvG2Lj9V9+S+BFiCer4XxjQwuZksta5Bs9JbbKaY4ztcIEe1Se3vw3rbPL0Dv2OsWvVz2b5jfw==
glsx-common-sdk@^0.2.8: glsx-common-sdk@^0.2.8:
...@@ -34,10 +34,10 @@ glsx-common-sdk@^0.2.8: ...@@ -34,10 +34,10 @@ glsx-common-sdk@^0.2.8:
number-precision@^1.6.0: number-precision@^1.6.0:
version "1.6.0" version "1.6.0"
resolved "https://registry.npmmirror.com/number-precision/-/number-precision-1.6.0.tgz" resolved "https://registry.npmjs.org/number-precision/-/number-precision-1.6.0.tgz"
integrity sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ== integrity sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ==
rfdc@^1.3.0: rfdc@^1.3.0:
version "1.3.0" version "1.4.1"
resolved "https://registry.npmmirror.com/rfdc/-/rfdc-1.3.0.tgz" resolved "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz"
integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA== integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!