This commit is contained in:
FrancisHu 2024-04-18 11:01:57 +08:00
commit 34c7c67670
6999 changed files with 1847659 additions and 0 deletions

26
.hbuilderx/launch.json Normal file
View File

@ -0,0 +1,26 @@
{
// launch.json configurations app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtypelocalremote, localremote
"version" : "0.0",
"configurations" : [
{
"app-plus" :
{
"launchtype" : "local"
},
"default" :
{
"launchtype" : "local"
},
"mp-weixin" :
{
"launchtype" : "local"
},
"type" : "uniCloud"
},
{
"playground" : "standard",
"type" : "uni-app:app-android"
}
]
}

20
App.vue Normal file
View File

@ -0,0 +1,20 @@
<script>
export default {
onLaunch: function() {
// app
plus.screen.lockOrientation('portrait-primary')
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
/*每个页面公共css */
@import "@/uni_modules/uview-ui/index.scss";
</style>

Binary file not shown.

25
apis/apis.js Normal file
View File

@ -0,0 +1,25 @@
import Http from'./request'
import HttpConfig from './http'
const index = {
async getNowPoints (data = {} , header = {}){
return await Http.post(
HttpConfig.baseUrl,
HttpConfig.serviceUrl.index.getNowPoints,
data,
header
)
},
async getHomeNotice (data = {} , header = {}){
return await Http.post(
HttpConfig.baseUrl,
HttpConfig.serviceUrl.index.getHomeNotice,
data,
header
)
},
}
export default{
index
}

16
apis/http.js Normal file
View File

@ -0,0 +1,16 @@
class HttpConfig {
// 基地址
baseUrl = "http://112.29.103.165:1618/GsExamWeb"
// 短链
serviceUrl = {
index: {
getNowPoints: '/backstage/appshoping/getAllpoint', // 查询当前用户剩余积分
getHomeNotice: '/backstage/app/getAppNoticeList', // 获取首页通知公告
keyData: '/app/getCriticalData', // 获取关键数据
getUserInfo: '/system/user/getInfo', // 获取用户信息
},
}
}
export default new HttpConfig()

107
apis/request.js Normal file
View File

@ -0,0 +1,107 @@
class Http{
get(baseUrl='',url,data={},header={}){
return new Promise((resolve,reject)=>{
uni.request({
url:baseUrl + url,
data:data,
method:"GET",
header:{
'content-type':'application/x-www-form-urlencoded; charset=UTF-8',
...header
},
// 成功的回调
success(res) {
resolve(res)
},
fail(err) {
reject(err)
}
})
})
}
post(baseUrl='',url,data={},header={}){
return new Promise((resolve,reject)=>{
uni.request({
url:baseUrl + url,
data:data,
method:"POST",
header:{
'content-type':'application/x-www-form-urlencoded; charset=UTF-8',
...header
},
// 成功的回调
success(res) {
resolve(res)
},
fail(err) {
reject(err)
}
})
})
}
put(baseUrl='',url,data={},header={}){
return new Promise((resolve,reject) => {
uni.request({
url:baseUrl + url,
data:data,
method:"PUT",
header:{
'content-type':'application/x-www-form-urlencoded; charset=UTF-8',
...header
},
// 成功的回调
success(res) {
resolve(res)
},
fail(err) {
reject(err)
}
})
})
}
delete(baseUrl='',url,data={},header={}){
return new Promise((resolve,reject) => {
uni.request({
url:baseUrl + url,
data:data,
method:"DELETE",
header:{
'content-type':'application/x-www-form-urlencoded; charset=UTF-8',
...header
},
// 成功的回调
success(res) {
resolve(res)
},
fail(err) {
reject(err)
}
})
})
}
upload(baseUrl='',url,data={},header={}){
return new Promise((resolve,reject) => {
uni.uploadFile({
url:baseUrl + url,
filePath: data,
header:{
...header
},
name: 'file',
// 成功的回调
success(res) {
resolve(res)
},
fail(err) {
reject(err)
}
})
})
}
}
export default new Http()

12
bdMap.js Normal file
View File

@ -0,0 +1,12 @@
export function mymap(ak) {
return new Promise(function(resolve, reject) {
window.init = function() {
resolve(mymap)
}
var script = document.createElement('script')
script.type = 'text/javascript'
script.src = `http://api.map.baidu.com/api?v=3.0&ak=${ak}&callback=init`
script.onerror = reject
document.head.appendChild(script)
})
}

BIN
components/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,18 @@
<template>
<view class="timeline">
<slot></slot>
</view>
</template>
<script>
export default {
components:{
}
}
</script>
<style scoped lang="less">
.timeline {
padding: 20rpx;
}
</style>

View File

@ -0,0 +1,90 @@
<template>
<view class="timelineItem">
<view class="timeItem">
<view class="leftTime">
{{leftTime}}
</view>
<view class="line">
<view class="out" :style="{background: color == '' ? '' : color}">
<view class="inner" :style="{background: color == '' ? '' : color}"></view>
</view>
</view>
<view class="rightContent">
<slot></slot>
</view>
</view>
</view>
</template>
<script>
export default {
props:{
leftTime:{
type:String,
default:''
},
color:{
type:String,
default:''
}
},
data(){
return {
}
}
}
</script>
<style scoped lang="less">
.timelineItem {
.timeItem {
display: flex;
.leftTime {
width: 20vw;
padding: 0 10rpx;
font-size:24rpx;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(51,51,51,1);
margin-right: 10rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: right;
}
.line {
width: 1px;
background:rgba(204,204,204,1);
position: relative;
.out {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: center;
align-items: center;
width: 28rpx;
height: 28rpx;
background : #93CCFC;
border-radius: 50%;
.inner {
width: 18rpx;
height: 18rpx;
background : #0066CC;
border-radius: 50%;
}
}
}
.rightContent {
flex: 1;
padding: 0 10rpx 40rpx;
margin-left: 20rpx;
min-height: 50rpx;
}
}
&:last-child .timeItem .line{height: 10px;}
}
</style>

13922
hybrid/html/build/pdf.js Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

41660
hybrid/html/build/pdf.worker.js vendored Normal file

File diff suppressed because it is too large Load Diff

1
hybrid/html/build/pdf.worker.js.map vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSEáCNS2-H

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSEá ETen-B5-H` ^

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,4 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSE!!<21>º]aX!!]`<60>21<32>> <09>p <0B>z<EFBFBD>$]<06>"Rd<E2809A>-Uƒ7<C692>*4„%<25>+ „Z „{<7B>/%…<<3C>9K…b<E280A6>1]†.<2E>" ‰`]‡,<2C>"]ˆ
<EFBFBD>"]ˆh<CB86>"]‰F<E280B0>"]Š$<24>"]<02>"]`<60>"]Œ><3E>"]<5D><1C>"]<5D>z<EFBFBD>"]ŽX<C5BD>"]<5D>6<EFBFBD>"]<5D><14>"]<5D>r<EFBFBD>"]P<E28098>"].<2E>"]“ <0C>"]“j<E2809C>"]”H<E2809D>"]•&<26>"]<04>"]b<E28093>"]—@<40>"]˜<1E>"]˜|<7C>"]™Z<E284A2>"]š8<C5A1>"]<16>"]t<E280BA>"]œR<C593>"]<5D>0<EFBFBD>"]ž<0E>"]žl<C5BE>"]ŸJ<C5B8>"] (<28>"]¡<06>"]¡d<C2A1>"]¢B<C2A2>"]£ <20>"X£~<7E>']¤W<C2A4>"]¥5<C2A5>"]¦<13>"]¦q<C2A6>"]§O<C2A7>"]¨-<2D>"]© <0B>"]©i<C2A9>"]ªG<C2AA>"]«%<25>"]¬<03>"]¬a<C2AC>"]­?<3F>"]®<1D>"]®{<7B>"]¯Y<C2AF>"]°7<C2B0>"]±<15>"]±s<C2B1>"]²Q<C2B2>"]³/<2F>"]´ <0A>"]´k<C2B4>"]µI<C2B5>"]¶'<27>"]·<05>"]·c<C2B7>"]¸A<C2B8>"]¹<1F>"]¹}<7D>"]º[<5B>"]»9

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

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