first commit

This commit is contained in:
2026-09-08 20:28:54 +08:00
commit 2ada8d3d5a
37380 changed files with 4886169 additions and 0 deletions
View File
View File
@@ -0,0 +1,6 @@
{
"permissions": {
"openapi": [
]
}
}
+19
View File
@@ -0,0 +1,19 @@
// 云函数入口文件
const cloud = require('wx-server-sdk')
cloud.init()
// 云函数入口函数
exports.main = async (event, context) => {
const wxContext = cloud.getWXContext()
// 根据用户提交的cloudid 获取对应的运动数据
let weRunData = event.weRunData
return {
data: weRunData.data.stepInfoList,
event,
openid: wxContext.OPENID,
appid: wxContext.APPID,
unionid: wxContext.UNIONID,
}
}
+14
View File
@@ -0,0 +1,14 @@
{
"name": "decryptWxStep",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"wx-server-sdk": "~3.0.1"
}
}
+1
View File
@@ -0,0 +1 @@
console.log("index.js")
+5
View File
@@ -0,0 +1,5 @@
{
"permissions": {
"openapi": []
}
}
+111
View File
@@ -0,0 +1,111 @@
const cloud = require('wx-server-sdk')
const request = require('request')
cloud.init()
const db = cloud.database()
const _ = db.command
const $ = db.command.aggregate
/**
* 返回用户信息
* @param {*} loginname
* @param {*} username
*/
const getUserInfo = (loginname, username) => {
return new Promise((resolve, reject) => {
request.post('https://zhihuigonghui.com.cn/platform/fitnessWalk/login', {
form: {
loginname,
username
}
}, function (err, resp, body) {
resolve(JSON.parse(body))
})
})
}
const hasRecord = async (loginname, username) => {
const {
data
} = await db.collection("login_record").where({
loginname,
username
}).limit(1).get()
return data.length ? data[0] : false
}
exports.main = async (event, context) => {
const {
loginname,
username
} = event
const wxContext = cloud.getWXContext()
const record = await hasRecord(loginname.toUpperCase(), username)
if (record && record.openid != wxContext.OPENID) {
return {
success: false,
msg: '该账号已与其他微信绑定,如需重置,请与工会管理员联系!'
}
} else if (record && record.openid == wxContext.OPENID) {
const {
code,
data
} = await getUserInfo(loginname, username)
if (code == 0 && Object.keys(data).length != 0) {
data.roles = data.roles ? data.roles.split(',') : []
await db.collection("login_record").doc(record._id).update({
data: {
data
}
})
return {
success: true,
msg: '登录成功',
data
}
}
return {
success: true,
msg: '登录成功',
data: record.data
}
}
const {
code,
data
} = await getUserInfo(loginname, username)
if (code == 0 && Object.keys(data).length != 0) {
data.roles = data.roles ? data.roles.split(',') : []
await db.collection("login_record").add({
data: {
loginname: loginname.toUpperCase(),
username: username,
openid: wxContext.OPENID,
data
}
})
return {
success: true,
msg: '登录成功',
data
}
}
return {
success: false,
msg: '如提示姓名与工号不匹配,请您检查是否输入正确或带有空格后再试,如有需要请联系管理员'
}
}
+14
View File
@@ -0,0 +1,14 @@
{
"name": "login",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"wx-server-sdk": "~2.2.0"
}
}
+2
View File
@@ -0,0 +1,2 @@
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title></title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/static/index.883130ca.css"/><script defer="defer" src="/static/js/chunk-vendors.cf88d166.js"></script><script defer="defer" src="/static/js/index.486df021.js"></script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div></body></html>
+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1608259148703" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4491" width="48" height="48" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M946.338644 242.895087h-126.178486c-18.025498 36.050996-45.063745 69.097742-81.114741 90.12749H931.317396v120.169987H90.12749v-120.169987h192.271978c-36.050996-21.029748-63.089243-54.076494-81.114741-90.12749H75.106242C33.046746 242.895087 0 275.941834 0 318.001329v150.212483C0 510.273308 33.046746 543.320054 75.106242 543.320054h871.232402c42.059495 0 75.106242-33.046746 75.106242-75.106242v-150.212483C1021.444886 275.941834 988.398139 242.895087 946.338644 242.895087z" fill="#5490D6" p-id="4492"></path><path d="M709.002921 242.895087H201.284727c18.025498 36.050996 45.063745 69.097742 81.114741 90.12749h456.645949c36.050996-21.029748 63.089243-54.076494 81.114741-90.12749h-111.157237zM841.189906 543.320054v390.552456H180.25498V543.320054h660.934926m90.12749-90.12749H90.12749v480.679946c0 51.072244 39.055246 90.12749 90.12749 90.12749h660.934926c51.072244 0 90.12749-39.055246 90.12749-90.12749V453.192564z" fill="#5490D6" p-id="4493"></path><path d="M799.130411 44.61461C766.083664 11.567863 718.01567-3.453385 663.939176 2.555114c-63.089243 9.012749-120.169987 48.067995-153.216733 102.144489C477.675697 50.623109 423.599203 11.567863 357.50571 2.555114c-54.076494-9.012749-102.144489 6.008499-135.191235 42.059496S174.24648 128.7336 180.25498 179.805844c3.00425 24.033997 12.016999 45.063745 21.029747 63.089243h111.157238C291.412217 224.869589 276.390969 197.831342 270.38247 167.788846c-3.00425-21.029748 0-45.063745 15.021248-60.084993s36.050996-18.025498 60.084993-15.021249c51.072244 6.008499 93.13174 48.067995 105.148739 99.140239l12.016998 51.072244h3.00425v781.104913h90.12749V242.895087h3.004249l12.016999-51.072244c12.016999-51.072244 54.076494-90.12749 105.148738-99.140239 21.029748-3.00425 45.063745 0 60.084994 15.021249s18.025498 36.050996 15.021248 60.084993c-3.00425 30.042497-21.029748 54.076494-42.059495 75.106241h111.157237c9.012749-18.025498 15.021248-39.055246 18.025498-63.089243 9.012749-51.072244-6.008499-99.140239-39.055245-135.191234z" fill="#A3CCFA" p-id="4494"></path></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1608260755128" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4687" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"><defs><style type="text/css"></style></defs><path d="M319 125.748l-22 36-3.333 38.666 12.667 34 18 24.69 140 11.31H715l12-35.333 10.667-50-16.667-46-48-26.667-50-5.333-56.666 38-14 34.667-19 19L521 210.414l-18.666-18.666-54.667-42-29.412-32.667-35.255-10h-44z" fill="#F4DD50" p-id="4688"></path><path d="M171 599.122V411.82c0-16.016 12.984-29 29-29h624c16.016 0 29 12.984 29 29v479.978c0 16.016-12.984 29-29 29H200c-16.016 0-29-12.984-29-29V667.122" fill="#E7402E" p-id="4689"></path><path d="M824 935.798H200c-24.262 0-44-19.738-44-44V667.122c0-8.284 6.716-15 15-15s15 6.716 15 15v224.676c0 7.72 6.28 14 14 14h624c7.72 0 14-6.28 14-14V411.82c0-7.72-6.28-14-14-14H200c-7.72 0-14 6.28-14 14v187.302c0 8.284-6.716 15-15 15s-15-6.716-15-15V411.82c0-24.262 19.738-44 44-44h624c24.262 0 44 19.738 44 44v479.978c0 24.262-19.738 44-44 44zM715.507 111.064c-42.928-35.238-106.509-29.041-141.799 13.865l-54.361 66.147-69.726-66.934c-35.378-42.198-98.473-48.118-141.134-13.078-42.909 35.268-49.117 98.883-13.846 141.799a16.557 16.557 0 0 0 11.205 6.003 16.575 16.575 0 0 0 12.159-3.712c7.082-5.818 8.108-16.278 2.291-23.364-23.64-28.831-19.496-71.355 9.272-95.076 28.834-23.633 71.359-19.477 95.069 9.297 0.407 0.498 0.851 0.973 1.326 1.429l72.245 69.369-12.44 15.125c-5.818 7.087-4.791 17.546 2.291 23.364 7.086 5.817 17.546 4.791 23.364-2.292l87.948-106.996c23.63-28.774 66.283-32.923 95.069-9.297 28.77 23.717 32.92 66.249 9.271 95.076a16.6 16.6 0 0 0-2.88 16.482 16.6 16.6 0 0 0 28.535 4.59c35.27-42.913 29.049-106.529-13.859-141.797z m0 0" fill="#3D100B" p-id="4690"></path><path d="M418.255 471.645h187.491v434.152H418.255z" fill="#F4DD50" p-id="4691"></path><path d="M252.513 470.458H126.005c-16.016 0-29-12.984-29-29v-148c0-16.016 12.984-29 29-29h771.991c16.016 0 29 12.984 29 29v148c0 16.016-12.984 29-29 29H329.513" fill="#E7402E" p-id="4692"></path><path d="M897.995 485.457H329.512c-8.284 0-15-6.716-15-15s6.716-15 15-15h568.483c7.72 0 14-6.28 14-14v-148c0-7.72-6.28-14-14-14h-771.99c-7.72 0-14 6.28-14 14v148c0 7.72 6.28 14 14 14h126.508c8.284 0 15 6.716 15 15s-6.716 15-15 15H126.005c-24.262 0-44-19.738-44-44v-148c0-24.262 19.738-44 44-44h771.991c24.262 0 44 19.738 44 44v148c-0.001 24.262-19.739 44-44.001 44z" fill="#3D100B" p-id="4693"></path><path d="M767.078 336.64h-206.99c-8.284 0-15-6.716-15-15s6.716-15 15-15h206.99c8.284 0 15 6.716 15 15s-6.716 15-15 15zM860.073 336.64h-40.498c-8.284 0-15-6.716-15-15s6.716-15 15-15h40.498c8.284 0 15 6.716 15 15s-6.715 15-15 15z" fill="#FFFFFF" p-id="4694"></path></svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

+1
View File
@@ -0,0 +1 @@
<svg t="1698395810971" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4146" width="256" height="256"><path d="M236 578a17.96 17.96 0 0 0-18 18v228A58 58 0 0 0 276 882h500a58 58 0 0 0 58-58v-228a17.96 17.96 0 0 0-18-18z" fill="#FAE9DC" p-id="4147"></path><path d="M776 892H276a68 68 0 0 1-68-68v-228a28 28 0 0 1 28-28h580a28 28 0 0 1 28 28v228a68 68 0 0 1-68 68zM236 588a8 8 0 0 0-8 8v228a48 48 0 0 0 48 48h500a48 48 0 0 0 48-48v-228a8 8 0 0 0-8-8z" fill="#600000" p-id="4148"></path><path d="M239.44 322L174.52 374.48a5.96 5.96 0 0 0-2.24 4.76 6.04 6.04 0 0 0 6.12 5.92l696.24-12.8-55.36-50.36z" fill="#FB5452" p-id="4149"></path><path d="M178.28 395.16a16 16 0 0 1-10.04-28.44L236 312h587.16L900 381.92 178.6 395.16zM242.96 332L189.88 374.92l659.44-12-33.92-30.92z" fill="#600000" p-id="4150"></path><path d="M166 374m28 0l664 0q28 0 28 28l0 160q0 28-28 28l-664 0q-28 0-28-28l0-160q0-28 28-28Z" fill="#C93E4F" p-id="4151"></path><path d="M858 600h-664a38.04 38.04 0 0 1-38-38v-160a38.04 38.04 0 0 1 38-38h664a38.04 38.04 0 0 1 38 38v160a38.04 38.04 0 0 1-38 38z m-664-216a18.04 18.04 0 0 0-18 18v160a18.04 18.04 0 0 0 18 18h664a18.04 18.04 0 0 0 18-18v-160a18.04 18.04 0 0 0-18-18z" fill="#600000" p-id="4152"></path><path d="M504 309.48a258.88 258.88 0 0 1-145.84-31.04q-15.04-8-71.28-66.76a12 12 0 0 0-16.96-0.36 10.88 10.88 0 0 0-2 2.52L233.2 272l-69.56 27.32a12 12 0 0 0 0.84 22.64q88.28 27.24 148 33.2 70.52 7 190.52 0l0.96-13.04z" fill="#FAE9DC" p-id="4153"></path><path d="M395.52 368.68c-32 0-60.24-1.2-84-3.56-40.4-4-90.88-15.32-150.08-33.64A22 22 0 0 1 160 290L226.4 264l32.96-55.24a22.48 22.48 0 0 1 3.64-4.76 22.04 22.04 0 0 1 31.12 0.64c48 50.08 63.72 62.16 68.8 64.88a250.36 250.36 0 0 0 140.32 29.88l10.8-0.88v44l-1.56 21.8-8.76 0.52c-40.04 2.64-76.16 3.84-108.2 3.84zM278.24 218a1.8 1.8 0 0 0-1.36 0.56 1.72 1.72 0 0 0-0.36 0.4L240 280l-72.72 28.6a2.12 2.12 0 0 0-1.12 1.08 1.8 1.8 0 0 0 0 1.52 2.04 2.04 0 0 0 1.24 1.2c57.96 17.88 107.12 28.92 146.16 32.84 44.52 4.4 105.12 4.56 180.2 0.44l0.28-4V320a269.96 269.96 0 0 1-140.56-32.88c-7.08-3.76-22.4-15-73.8-68.64a1.92 1.92 0 0 0-1.4-0.6z" fill="#600000" p-id="4154"></path><path d="M482 374m28 0l40 0q28 0 28 28l0 160q0 28-28 28l-40 0q-28 0-28-28l0-160q0-28 28-28Z" fill="#FAE9DC" p-id="4155"></path><path d="M550 600h-40a38.04 38.04 0 0 1-38-38v-160a38.04 38.04 0 0 1 38-38h40a38.04 38.04 0 0 1 38 38v160a38.04 38.04 0 0 1-38 38z m-40-216a18.04 18.04 0 0 0-18 18v160a18.04 18.04 0 0 0 18 18h40a18.04 18.04 0 0 0 18-18v-160a18.04 18.04 0 0 0-18-18z" fill="#600000" p-id="4156"></path><path d="M482 294m28 0l40 0q28 0 28 28l0 24q0 28-28 28l-40 0q-28 0-28-28l0-24q0-28 28-28Z" fill="#FAE9DC" p-id="4157"></path><path d="M550 384h-40a38.04 38.04 0 0 1-38-38v-24a38.04 38.04 0 0 1 38-38h40a38.04 38.04 0 0 1 38 38v24a38.04 38.04 0 0 1-38 38z m-40-80a18.04 18.04 0 0 0-18 18v24a18.04 18.04 0 0 0 18 18h40a18.04 18.04 0 0 0 18-18v-24a18.04 18.04 0 0 0-18-18z" fill="#600000" p-id="4158"></path><path d="M576.32 312.8q11.56 4.88 145.76-40 19.72-6.6 97.76-44.36a8 8 0 0 1 11.32 5.72l7.08 38.04a8 8 0 0 0 6.72 6.48l77.16 11.2a8 8 0 0 1 6.76 9.04 8 8 0 0 1-4.52 6.08Q810.6 358.8 734.32 368a456.4 456.4 0 0 1-158-6.76z" fill="#FAE9DC" p-id="4159"></path><path d="M672.68 381.88a440.52 440.52 0 0 1-98.6-10.8l-7.76-1.76V297.76l13.16 5.52c5.24 0.36 29.36-3.12 139.44-39.8 12.68-4.24 45.16-19 96.52-44a18.08 18.08 0 0 1 24 8.32 18.72 18.72 0 0 1 1.48 4.6l6.8 36.6L923.56 280a18 18 0 0 1 5.08 34.12c-76.48 36-141.48 57.44-193.12 63.76a520 520 0 0 1-62.84 4z m-86.36-28.6a452.44 452.44 0 0 0 146.8 4.88c48-5.88 109.04-25.8 180.96-59.2l-70.56-10.24a18 18 0 0 1-15.12-14.56l-6.56-35.44c-51.48 24.92-83.08 39.24-96.6 43.72-87.52 29.16-123.08 38.28-138.92 40.4z m-7.2-50z" fill="#600000" p-id="4160"></path></svg>
+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1608279330403" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6118" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"><defs><style type="text/css"></style></defs><path d="M368 560H176c-52.8 0-96 43.2-96 96v192c0 52.8 43.2 96 96 96h192c52.8 0 96-43.2 96-96V656c0-52.8-43.2-96-96-96z m32 288c0 17.6-14.4 32-32 32H176c-17.6 0-32-14.4-32-32V656c0-17.6 14.4-32 32-32h192c17.6 0 32 14.4 32 32v192zM368 80H176c-52.8 0-96 43.2-96 96v192c0 52.8 43.2 96 96 96h192c52.8 0 96-43.2 96-96V176c0-52.8-43.2-96-96-96z m32 288c0 17.6-14.4 32-32 32H176c-17.6 0-32-14.4-32-32V176c0-17.6 14.4-32 32-32h192c17.6 0 32 14.4 32 32v192z m496 192c-17.6 0-32 14.4-32 32v320c0 17.6 14.4 32 32 32s32-14.4 32-32V592c0-17.6-14.4-32-32-32zM848 80H656c-52.8 0-96 43.2-96 96v192c0 52.8 43.2 96 96 96h192c52.8 0 96-43.2 96-96V176c0-52.8-43.2-96-96-96z m32 288c0 17.6-14.4 32-32 32H656c-17.6 0-32-14.4-32-32V176c0-17.6 14.4-32 32-32h192c17.6 0 32 14.4 32 32v192zM608 608c-17.6 0-32 14.4-32 32v272c0 17.6 14.4 32 32 32s32-14.4 32-32V640c0-17.6-14.4-32-32-32z m144 96c-17.6 0-32 14.4-32 32v176c0 17.6 14.4 32 32 32s32-14.4 32-32V736c0-17.6-14.4-32-32-32z" p-id="6119" fill="#ffffff"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1608636520299" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3746" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><defs><style type="text/css"></style></defs><path d="M302.545455 302.545455m46.545454 0l325.818182 0q46.545455 0 46.545454 46.545454l0 325.818182q0 46.545455-46.545454 46.545454l-325.818182 0q-46.545455 0-46.545454-46.545454l0-325.818182q0-46.545455 46.545454-46.545454Z" fill="#E5E5E5" p-id="3747"></path><path d="M907.636364 954.181818H628.363636v-46.545454h279.272728V628.363636h46.545454v279.272728a46.545455 46.545455 0 0 1-46.545454 46.545454z m23.272727-418.909091H93.090909a23.272727 23.272727 0 0 1 0-46.545454h837.818182a23.272727 23.272727 0 0 1 0 46.545454zM907.636364 116.363636H628.363636V69.818182h279.272728a46.545455 46.545455 0 0 1 46.545454 46.545454v279.272728h-46.545454V116.363636zM116.363636 395.636364H69.818182V116.363636a46.545455 46.545455 0 0 1 46.545454-46.545454h279.272728v46.545454H116.363636v279.272728z m0 512h279.272728v46.545454H116.363636a46.545455 46.545455 0 0 1-46.545454-46.545454V628.363636h46.545454v279.272728z" fill="#1C1C1C" p-id="3748"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

+1
View File
@@ -0,0 +1 @@
<svg t="1608556035338" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10397" width="64" height="64"><path d="M953.8 452.3c-10-12-28-13.6-40-3.6L679.4 644.5l-77.1-92.3c-10-12-28-13.6-40-3.6s-13.6 28-3.6 40L652.6 701c2.7 3.2 6 5.6 9.5 7.3 10 5.8 23.1 5.2 32.5-2.6l255.5-213.5c12.1-9.9 13.7-27.9 3.7-39.9z" fill="#07c160" p-id="10398"></path><path d="M521.2 673.4H247.5c-74 0-137.3-55.8-144.2-127.1-3.4-40.3 9.7-78.7 36.8-108.1 26.7-29.1 64.8-45.7 104.4-45.7h12.9l28.4 1.8 8.9-26.7c31.7-90.7 114.8-149.2 211.8-149.2C632 218.4 734 320.5 734 445.9v7.3c0 12.5 8.7 21.2 21.2 21.2s21.2-8.7 21.2-21.2v-7.3c0-36.3-7.2-71.6-21.3-104.9-13.6-32.1-33.2-61-58-85.8-24.8-24.8-53.7-44.4-85.8-58-33.3-14.1-68.6-21.3-104.9-21.3-57.2 0-111.3 17.1-156.4 49.5-43.6 31.3-76.1 74.8-94.2 126.1h-9.9c-55.7 0-108 24.5-143.5 67.2-16.8 20.2-28.7 43.1-35.5 68-7.1 26.2-8.2 53.2-3.1 80.4 8 42.3 31.2 80.4 65.3 107.5 33.6 26.6 76.1 41.3 119.7 41.3H521c12.5 0 21.2-8.7 21.2-21.2s-8.5-21.3-21-21.3z" fill="#07c160" p-id="10399"></path></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1599842642937" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1174" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M512 672c-6.4 0-14.933333-2.133333-21.333333-6.4L157.866667 392.533333c-10.666667-8.533333-10.666667-23.466667 0-34.133333 10.666667-8.533333 29.866667-8.533333 40.533333 0l313.6 256 313.6-256c10.666667-8.533333 29.866667-8.533333 40.533333 0s10.666667 23.466667 0 34.133333L533.333333 665.6c-6.4 4.266667-14.933333 6.4-21.333333 6.4z" fill="#4BB9A9" p-id="1175"></path></svg>

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1599968584955" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2835" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M481.882353 963.764706C216.847059 963.764706 0 746.917647 0 481.882353S216.847059 0 481.882353 0s481.882353 216.847059 481.882353 481.882353-216.847059 481.882353-481.882353 481.882353z m250.578823-515.614118l-168.658823-168.658823c-19.275294-19.275294-48.188235-19.275294-67.463529 0s-19.275294 48.188235 0 67.463529l86.738823 86.738824H240.941176c-24.094118 0-48.188235 24.094118-48.188235 48.188235s24.094118 48.188235 48.188235 48.188235h342.136471l-86.738823 86.738824c-19.275294 19.275294-19.275294 48.188235 0 67.463529s48.188235 19.275294 67.463529 0l168.658823-168.658823c9.637647-9.637647 14.456471-24.094118 14.456471-33.731765 0-14.456471-4.818824-24.094118-14.456471-33.731765z" fill="#38f" p-id="2836"></path></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1599795798515" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2835" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M481.882353 963.764706C216.847059 963.764706 0 746.917647 0 481.882353S216.847059 0 481.882353 0s481.882353 216.847059 481.882353 481.882353-216.847059 481.882353-481.882353 481.882353z m250.578823-515.614118l-168.658823-168.658823c-19.275294-19.275294-48.188235-19.275294-67.463529 0s-19.275294 48.188235 0 67.463529l86.738823 86.738824H240.941176c-24.094118 0-48.188235 24.094118-48.188235 48.188235s24.094118 48.188235 48.188235 48.188235h342.136471l-86.738823 86.738824c-19.275294 19.275294-19.275294 48.188235 0 67.463529s48.188235 19.275294 67.463529 0l168.658823-168.658823c9.637647-9.637647 14.456471-24.094118 14.456471-33.731765 0-14.456471-4.818824-24.094118-14.456471-33.731765z" fill="#fff" p-id="2836"></path></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 644 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 886 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.5 KiB

File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
"use strict";(self["webpackChunkfitness_walk_nwnu"]=self["webpackChunkfitness_walk_nwnu"]||[]).push([[527],{79251:function(n,e,t){var u;t.r(e),t.d(e,{default:function(){return l}});var r,s=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("v-uni-view")},i=[],c={name:"checkInAnswer",props:{issueId:{type:Array,required:!0},questionId:{type:String,required:!0}},data:function(){return{}},methods:{getIssueByQuestion:function(){}},onShow:function(){}},a=c,f=t(18535),o=(0,f.A)(a,s,i,!1,null,"51b11fc3",null,!1,u,r),l=o.exports}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
(self["webpackChunkfitness_walk_nwnu"]=self["webpackChunkfitness_walk_nwnu"]||[]).push([[329],{36943:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return f}});var a,i={uButton:n(81478).A},s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-image",{staticClass:"logo",attrs:{src:"/static/logo.png"}}),n("v-uni-view",[n("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))])],1),n("u-button",{attrs:{type:"primary",text:"确定"}})],1)},o=[],l={data:function(){return{title:"Hello"}},onLoad:function(){},methods:{}},u=l,r=(n(82923),n(18535)),c=(0,r.A)(u,s,o,!1,null,"13940191",null,!1,i,a),f=c.exports},82923:function(t,e,n){var a=n(93522);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var i=n(69333).A;i("465b2fa8",a,!0,{sourceMap:!1,shadowMode:!1})},93522:function(t,e,n){"use strict";n.r(e);var a=n(31601),i=n.n(a),s=n(76314),o=n.n(s),l=o()(i());l.push([t.id,".content[data-v-13940191]{display:flex;flex-direction:column;align-items:center;justify-content:center}.logo[data-v-13940191]{height:%?200?%;width:%?200?%;margin:%?200?% auto %?50?% auto}.text-area[data-v-13940191]{display:flex;justify-content:center}.title[data-v-13940191]{font-size:%?36?%;color:#8f8f94}",""]),e["default"]=l}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
"use strict";(self["webpackChunkfitness_walk_nwnu"]=self["webpackChunkfitness_walk_nwnu"]||[]).push([[408],{23366:function(n,e,t){var i;t.r(e),t.d(e,{default:function(){return k}});var u,a=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("v-uni-web-view",{attrs:{src:n.link}})},r=[],l={name:"index",data:function(){return{link:""}},onLoad:function(n){var e=n.link;try{this.link=e?decodeURIComponent(e):""}catch(t){this.link=e||""}}},s=l,c=t(18535),f=(0,c.A)(s,a,r,!1,null,"207a35ec",null,!1,i,u),k=f.exports}}]);
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
require("./common/runtime.js"),require("./common/vendor.js"),require("./common/main.js");
+63
View File
@@ -0,0 +1,63 @@
{
"pages": [
"pages/login/index",
"pages/activity/index",
"pages/my/index",
"pages/my/gift",
"pages/my/mineActivity",
"pages/webview/index",
"pages/index/index"
],
"subPackages": [
{
"root": "pages/activityPackage",
"pages": [
"signUp",
"checkIn",
"checkInAnswer",
"giftVoucher",
"checkInCert",
"stepCount",
"stepRanking",
"stepRankingFilter",
"stepWining",
"stepRaffle"
]
}
],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "健步走",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#646464",
"selectedColor": "#242F44",
"backgroundColor": "#fff",
"borderStyle": "white",
"list": [
{
"pagePath": "pages/activity/index",
"text": "活动",
"iconPath": "static/images/icon/step.png",
"selectedIconPath": "static/images/icon/step_.png"
},
{
"pagePath": "pages/my/index",
"text": "我",
"iconPath": "static/images/icon/my.png",
"selectedIconPath": "static/images/icon/my_.png"
}
]
},
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于小程序打卡"
}
},
"requiredPrivateInfos": [
"getLocation"
],
"usingComponents": {}
}
+1
View File
@@ -0,0 +1 @@
@import "./common/main.wxss";[bind-data-custom-hidden=true],[data-custom-hidden=true]{display:none!important}
@@ -0,0 +1,6 @@
{
"permissions": {
"openapi": [
]
}
}
@@ -0,0 +1,19 @@
// 云函数入口文件
const cloud = require('wx-server-sdk')
cloud.init()
// 云函数入口函数
exports.main = async (event, context) => {
const wxContext = cloud.getWXContext()
// 根据用户提交的cloudid 获取对应的运动数据
let weRunData = event.weRunData
return {
data: weRunData.data.stepInfoList,
event,
openid: wxContext.OPENID,
appid: wxContext.APPID,
unionid: wxContext.UNIONID,
}
}
@@ -0,0 +1,14 @@
{
"name": "decryptWxStep",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"wx-server-sdk": "~3.0.1"
}
}
+1
View File
@@ -0,0 +1 @@
console.log("index.js")
+5
View File
@@ -0,0 +1,5 @@
{
"permissions": {
"openapi": []
}
}
+111
View File
@@ -0,0 +1,111 @@
const cloud = require('wx-server-sdk')
const request = require('request')
cloud.init()
const db = cloud.database()
const _ = db.command
const $ = db.command.aggregate
/**
* 返回用户信息
* @param {*} loginname
* @param {*} username
*/
const getUserInfo = (loginname, username) => {
return new Promise((resolve, reject) => {
request.post('https://zhihuigonghui.com.cn/platform/fitnessWalk/login', {
form: {
loginname,
username
}
}, function (err, resp, body) {
resolve(JSON.parse(body))
})
})
}
const hasRecord = async (loginname, username) => {
const {
data
} = await db.collection("login_record").where({
loginname,
username
}).limit(1).get()
return data.length ? data[0] : false
}
exports.main = async (event, context) => {
const {
loginname,
username
} = event
const wxContext = cloud.getWXContext()
const record = await hasRecord(loginname.toUpperCase(), username)
if (record && record.openid != wxContext.OPENID) {
return {
success: false,
msg: '该账号已与其他微信绑定,如需重置,请与工会管理员联系!'
}
} else if (record && record.openid == wxContext.OPENID) {
const {
code,
data
} = await getUserInfo(loginname, username)
if (code == 0 && Object.keys(data).length != 0) {
data.roles = data.roles ? data.roles.split(',') : []
await db.collection("login_record").doc(record._id).update({
data: {
data
}
})
return {
success: true,
msg: '登录成功',
data
}
}
return {
success: true,
msg: '登录成功',
data: record.data
}
}
const {
code,
data
} = await getUserInfo(loginname, username)
if (code == 0 && Object.keys(data).length != 0) {
data.roles = data.roles ? data.roles.split(',') : []
await db.collection("login_record").add({
data: {
loginname: loginname.toUpperCase(),
username: username,
openid: wxContext.OPENID,
data
}
})
return {
success: true,
msg: '登录成功',
data
}
}
return {
success: false,
msg: '如提示姓名与工号不匹配,请您检查是否输入正确或带有空格后再试,如有需要请联系管理员'
}
}
+14
View File
@@ -0,0 +1,14 @@
{
"name": "login",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"wx-server-sdk": "~2.2.0"
}
}
+1
View File
@@ -0,0 +1 @@
(global["webpackChunkfitness_walk_nwnu"]=global["webpackChunkfitness_walk_nwnu"]||[]).push([["common/main"],{3748:function(){},7201:function(e,t,n){"use strict";var o,c,r,a,u=n(2775),l=n(923),p=n(1372)["default"],i=n(1687)["default"],s={globalData:{userData:{}},onLaunch:function(){console.log("App Launch"),p.cloud?p.cloud.init({}):console.error("请使用 2.2.3 或以上的基础库以使用云能力"),this.$store.commit("updateSystemInfo",i.getSystemInfoSync()),this.$store.commit("updateUser",i.getStorageSync("user")),this.checkUpdate()},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")},methods:{checkUpdate:function(){if(i.canIUse("getUpdateManager")){var e=i.getUpdateManager();e.onCheckForUpdate(function(t){t.hasUpdate&&(e.onUpdateReady(function(){i.showModal({title:"更新提示",content:"发现新版本",showCancel:!1,success:function(t){t.confirm&&e.applyUpdate()}})}),e.onUpdateFailed(function(){i.showModal({title:"更新提示",content:"新版本已经上线啦~,请您删除当前小程序,重新搜索打开哟~",showCancel:!1})}))})}else i.showModal({title:"提示",content:"当前微信版本过低,无法使用最新版的小程序,请升级到最新微信版本后重试。",success:function(e){e.confirm&&i.updateWeChatApp()}})}}},f=s,d=n(3748),h=n.n(d),g=(h(),n(8535)),m=(0,g["default"])(f,o,c,!1,null,null,null,!1,r,a),w=m.exports,y=n(9984),b=(n(3817),n(7562)),O=n(5093),U=n.n(O),_=n(518),j=n(1372)["default"],k=n(1687)["createApp"];function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach(function(t){(0,u["default"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}j.__webpack_require_UNI_MP_PLUGIN__=n,l["default"].use(b["default"]),l["default"].prototype.$store=y["default"],l["default"].prototype.$moment=U(),l["default"].prototype.$http=_["default"],l["default"].config.productionTip=!1,w.mpType="app";var S=new l["default"](v({store:y["default"]},w));k(S).$mount()}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["common/vendor"],function(){return t(7201)});e.O()}]);
+1
View File
@@ -0,0 +1 @@
.card_container,.card_container .card_wrap{width:100%;box-sizing:border-box}.card_container .card_wrap{background-color:#fff;padding:16px 0;border-radius:10px}.card_container .card_wrap .title{box-sizing:border-box;width:100%;padding:0 14px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.card_container .card_wrap .title .ver-line{height:15px;width:4px;border-radius:5px;background-color:#4e9d77}.card_container .card_wrap .title .title-desc{font-size:15px;color:#222;margin-left:11px;font-weight:700}.card_container .card_wrap .title .title-extra{margin-left:auto}.card_container .card_wrap .body{width:100%;box-sizing:border-box;padding:0 14px}.t-sm{font-size:11px;color:#6e6e6e;padding-left:5px}.mt10{margin-top:10px}.mb10{margin-bottom:10px}page{background:#f6f6f6}page:after{position:fixed;content:"";left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;-webkit-animation-delay:3s;animation:shadow-preload .1s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/4a53563365475a69596d4a6a4e6d51784d4451305a6a63775932553d/img/shadow-grey.png)}to{background-image:url(https://cdn1.dcloud.net.cn/4a53563365475a69596d4a6a4e6d51784d4451305a6a63775932553d/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/4a53563365475a69596d4a6a4e6d51784d4451305a6a63775932553d/img/shadow-grey.png)}to{background-image:url(https://cdn1.dcloud.net.cn/4a53563365475a69596d4a6a4e6d51784d4451305a6a63775932553d/img/shadow-grey.png)}}
+1
View File
@@ -0,0 +1 @@
!function(){try{var e=Function("return this")();e&&!e.Math&&(Object.assign(e,{isFinite:isFinite,Array:Array,Date:Date,Error:Error,Function:Function,Math:Math,Object:Object,RegExp:RegExp,String:String,TypeError:TypeError,setTimeout:setTimeout,clearTimeout:clearTimeout,setInterval:setInterval,clearInterval:clearInterval}),"undefined"!=typeof Reflect&&(e.Reflect=Reflect))}catch(e){}}(),function(){"use strict";var e={},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.m=e,function(){var e=[];t.O=function(n,r,o,i){if(!r){var u=1/0;for(l=0;l<e.length;l++){r=e[l][0],o=e[l][1],i=e[l][2];for(var a=!0,c=0;c<r.length;c++)(!1&i||u>=i)&&Object.keys(t.O).every(function(e){return t.O[e](r[c])})?r.splice(c--,1):(a=!1,i<u&&(u=i));if(a){e.splice(l--,1);var f=o();void 0!==f&&(n=f)}}return n}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[r,o,i]}}(),function(){t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,{a:n}),n}}(),function(){t.d=function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})}}(),function(){t.f={},t.e=function(e){return Promise.all(Object.keys(t.f).reduce(function(n,r){return t.f[r](e,n),n},[]))}}(),function(){t.u=function(e){return e+".js"}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){var e={},n="fitness_walk_nwnu:";t.l=function(r,o,i,u){if(e[r])e[r].push(o);else{var a,c;if(void 0!==i)for(var f=document.getElementsByTagName("script"),l=0;l<f.length;l++){var s=f[l];if(s.getAttribute("src")==r||s.getAttribute("data-webpack")==n+i){a=s;break}}a||(c=!0,a=document.createElement("script"),a.charset="utf-8",a.timeout=120,t.nc&&a.setAttribute("nonce",t.nc),a.setAttribute("data-webpack",n+i),a.src=r),e[r]=[o];var d=function(n,t){a.onerror=a.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(function(e){return e(t)}),n)return n(t)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}}}(),function(){t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){t.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){t.p="/"}(),function(){var e={"common/runtime":0};t.f.j=function(n,r){var o=t.o(e,n)?e[n]:void 0;if(0!==o)if(o)r.push(o[2]);else if("common/runtime"!=n){var i=new Promise(function(t,r){o=e[n]=[t,r]});r.push(o[2]=i);var u=t.p+t.u(n),a=new Error,c=function(r){if(t.o(e,n)&&(o=e[n],0!==o&&(e[n]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;a.message="Loading chunk "+n+" failed.\n("+i+": "+u+")",a.name="ChunkLoadError",a.type=i,a.request=u,o[1](a)}};t.l(u,c,"chunk-"+n,n)}else e[n]=0},t.O.j=function(n){return 0===e[n]};var n=function(n,r){var o,i,u=r[0],a=r[1],c=r[2],f=0;if(u.some(function(n){return 0!==e[n]})){for(o in a)t.o(a,o)&&(t.m[o]=a[o]);if(c)var l=c(t)}for(n&&n(r);f<u.length;f++)i=u[f],t.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return t.O(l)},r=global["webpackChunkfitness_walk_nwnu"]=global["webpackChunkfitness_walk_nwnu"]||[];r.forEach(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r))}()}();
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
"use strict";(global["webpackChunkfitness_walk_nwnu"]=global["webpackChunkfitness_walk_nwnu"]||[]).push([["node-modules/uview-ui/components/u--text/u--text"],{4090:function(n,e,t){var u;t.r(e),t.d(e,{default:function(){return p}});var o,l=function(){var n=this,e=n.$createElement;n._self._c},i=[],a=t(537),s=t(1687)["default"],c=function(){Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-text/u-text")]).then(function(){return resolve(t(2418))}.bind(null,t))["catch"](t.oe)},m={name:"u--text",mixins:[s.$u.mpMixin,a["default"],s.$u.mixin],components:{uvText:c}},r=m,f=t(8535),w=(0,f["default"])(r,l,i,!1,null,null,null,!1,u,o),p=w.exports}}]),(global["webpackChunkfitness_walk_nwnu"]=global["webpackChunkfitness_walk_nwnu"]||[]).push([["node-modules/uview-ui/components/u--text/u--text-create-component"],{},function(n){n("1687")["createComponent"](n(4090))}]);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uv-text": "/node-modules/uview-ui/components/u-text/u-text"
}
}
@@ -0,0 +1 @@
<uv-text vue-id="48c60447-1" type="{{type}}" show="{{show}}" text="{{text}}" prefixIcon="{{prefixIcon}}" suffixIcon="{{suffixIcon}}" mode="{{mode}}" href="{{href}}" format="{{format}}" call="{{call}}" openType="{{openType}}" bold="{{bold}}" block="{{block}}" lines="{{lines}}" color="{{color}}" decoration="{{decoration}}" size="{{size}}" iconStyle="{{iconStyle}}" margin="{{margin}}" lineHeight="{{lineHeight}}" align="{{align}}" wordWrap="{{wordWrap}}" customStyle="{{customStyle}}" data-event-opts="{{[['^click',[['$emit',['click']]]]]}}" bind:click="__e" bind:__l="__l"></uv-text>
@@ -0,0 +1 @@
(global["webpackChunkfitness_walk_nwnu"]=global["webpackChunkfitness_walk_nwnu"]||[]).push([["node-modules/uview-ui/components/u-alert/u-alert"],{1392:function(){},2151:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return p}});var i,u={uTransition:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-transition/u-transition")]).then(t.bind(t,1766))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(t,3509))}},o=function(){var n=this,e=n.$createElement,t=(n._self._c,n.__get_style([n.$u.addStyle(n.customStyle)])),i=n.title?n.$u.addUnit(n.fontSize):null,u=n.description?n.$u.addUnit(n.fontSize):null;n.$mp.data=Object.assign({},{$root:{s0:t,g0:i,g1:u}})},l=[],c=t(4780),r=t(1687)["default"],s={name:"u-alert",mixins:[r.$u.mpMixin,r.$u.mixin,c["default"]],data:function(){return{show:!0}},computed:{iconColor:function(){return"light"===this.effect?this.type:"#fff"},iconName:function(){switch(this.type){case"success":return"checkmark-circle-fill";case"error":return"close-circle-fill";case"warning":return"error-circle-fill";case"info":return"info-circle-fill";case"primary":return"more-circle-fill";default:return"error-circle-fill"}}},methods:{clickHandler:function(){this.$emit("click")},closeHandler:function(){this.show=!1}}},a=s,f=t(1392),d=t.n(f),m=(d(),t(8535)),h=(0,m["default"])(a,o,l,!1,null,"1446824c",null,!1,u,i),p=h.exports}}]),(global["webpackChunkfitness_walk_nwnu"]=global["webpackChunkfitness_walk_nwnu"]||[]).push([["node-modules/uview-ui/components/u-alert/u-alert-create-component"],{},function(n){n("1687")["createComponent"](n(2151))}]);
@@ -0,0 +1,7 @@
{
"usingComponents": {
"u-transition": "/node-modules/uview-ui/components/u-transition/u-transition",
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon"
},
"component": true
}
@@ -0,0 +1 @@
<u-transition vue-id="5556a3c3-1" mode="fade" show="{{show}}" class="data-v-1446824c" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['clickHandler',['$event']]]]]}}" class="{{['u-alert','data-v-1446824c','u-alert--'+type+'--'+effect]}}" style="{{$root.s0}}" catchtap="__e"><block wx:if="{{showIcon}}"><view class="u-alert__icon data-v-1446824c"><u-icon vue-id="{{('5556a3c3-2')+','+('5556a3c3-1')}}" name="{{iconName}}" size="18" color="{{iconColor}}" class="data-v-1446824c" bind:__l="__l"></u-icon></view></block><view class="u-alert__content data-v-1446824c" style="{{'padding-right:'+(closable?'20px':0)+';'}}"><block wx:if="{{title}}"><text class="{{['u-alert__content__title','data-v-1446824c',effect==='dark'?'u-alert__text--dark':'u-alert__text--'+type+'--light']}}" style="{{'font-size:'+($root.g0)+';'+('text-align:'+(center?'center':'left')+';')}}">{{title}}</text></block><block wx:if="{{description}}"><text class="{{['u-alert__content__desc','data-v-1446824c',effect==='dark'?'u-alert__text--dark':'u-alert__text--'+type+'--light']}}" style="{{'font-size:'+($root.g1)+';'+('text-align:'+(center?'center':'left')+';')}}">{{description}}</text></block></view><block wx:if="{{closable}}"><view data-event-opts="{{[['tap',[['closeHandler',['$event']]]]]}}" class="u-alert__close data-v-1446824c" catchtap="__e"><u-icon vue-id="{{('5556a3c3-3')+','+('5556a3c3-1')}}" name="close" color="{{iconColor}}" size="15" class="data-v-1446824c" bind:__l="__l"></u-icon></view></block></view></u-transition>
@@ -0,0 +1 @@
scroll-view.data-v-1446824c,swiper-item.data-v-1446824c,view.data-v-1446824c{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-alert.data-v-1446824c{position:relative;background-color:#3c9cff;padding:8px 10px;display:flex;flex-direction:row;align-items:center;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.u-alert--primary--dark.data-v-1446824c{background-color:#3c9cff}.u-alert--primary--light.data-v-1446824c{background-color:#ecf5ff}.u-alert--error--dark.data-v-1446824c{background-color:#f56c6c}.u-alert--error--light.data-v-1446824c{background-color:#fef0f0}.u-alert--success--dark.data-v-1446824c{background-color:#5ac725}.u-alert--success--light.data-v-1446824c{background-color:#f5fff0}.u-alert--warning--dark.data-v-1446824c{background-color:#f9ae3d}.u-alert--warning--light.data-v-1446824c{background-color:#fdf6ec}.u-alert--info--dark.data-v-1446824c{background-color:#909399}.u-alert--info--light.data-v-1446824c{background-color:#f4f4f5}.u-alert__icon.data-v-1446824c{margin-right:5px}.u-alert__content.data-v-1446824c{display:flex;flex-direction:column;flex:1}.u-alert__content__title.data-v-1446824c{color:#303133;font-size:14px;font-weight:700;color:#fff;margin-bottom:2px}.u-alert__content__desc.data-v-1446824c{color:#303133;font-size:14px;flex-wrap:wrap;color:#fff}.u-alert__desc--dark.data-v-1446824c,.u-alert__title--dark.data-v-1446824c{color:#fff}.u-alert__text--primary--light.data-v-1446824c{color:#3c9cff}.u-alert__text--success--light.data-v-1446824c{color:#5ac725}.u-alert__text--warning--light.data-v-1446824c{color:#f9ae3d}.u-alert__text--error--light.data-v-1446824c{color:#f56c6c}.u-alert__text--info--light.data-v-1446824c{color:#909399}.u-alert__close.data-v-1446824c{position:absolute;top:11px;right:10px}

Some files were not shown because too many files have changed in this diff Show More