气味分析

This commit is contained in:
shijing 2023-04-24 11:03:18 +08:00
parent 4b0112fe15
commit 6e076f67d8
165 changed files with 2855 additions and 1058 deletions

21
api/index.js Normal file
View File

@ -0,0 +1,21 @@
import {request} from './request'
// 注册 这里的data不写params全部写data作为参数的传递
export function regist(data){
return request({
url:'/user/register',
method:'get',
data
})
}
export function getBanners(){
return request({
url:'/examtest/banner/',
method:'get'
})
}
export function getUserInfo(){
return request({
url:'/user/info',
method:'get'
})
}

55
api/request.js Normal file
View File

@ -0,0 +1,55 @@
module.exports = {
request : function({url, method, data}){
let promise = new Promise((resolve, reject) => {
wx.showNavigationBarLoading();
wx.request({
url: getApp().globalData.host + url,
method: method,
data: data,
header:{
'Authorization': 'JWT ' + getApp().globalData.token
},
success: (res => {
if (res.data.code >= 200 && res.data.code < 400) {
resolve(res.data);
}
else if(res.data.code == 401){
getApp().onLaunch()
wx.switchTab({
url: '/pages/main/main',
})
}
else {
var msg = '请求错误'
if(res.data.msg){
msg = res.data.msg
}
if (msg.indexOf('该操作的权限')!=-1){
msg = '权限不足或账户过期,请联系课程顾问'
}
wx.showToast({
title: msg,
icon: 'none',
duration: 1000
})
}
}),
fail: (res => {
wx.showToast({
title: '请求出错',
icon: 'none',
duration: 1500
})
console.log(res)
reject('网络出错');
}),
complete: function () {
wx.hideNavigationBarLoading();
}
})
})
return promise;
}
}

46
app.js
View File

@ -20,22 +20,19 @@ App({
if(res.code==200){
this.globalData.token = res.data.token
this.globalData.session_key = res.data.session_key
this.globalData.userinfo = res.data.userinfo
//console.log(res.data.userinfo.perms)
// var pages = getCurrentPages() //获取加载的页面
// var currentPage = pages[pages.length - 1] //获取当前页面的对象
// currentPage.showExp()
this.globalData.userinfo = res.data.userinfo;
wx.setStorageSync('token', res.data.token)
wx.setStorageSync('session_key', res.data.session_key)
wx.setStorageSync('userinfo', res.data.userinfo)
if(res.data.userinfo.role_name == '游客' && this.globalData.rlogin){
//匿名用户
//未注册用户
wx.reLaunch({
url: '/pages/login/login2',
url: '/pages/login/login',
})
}
}
}).then(res=>{
api.request('/crm/consumer/process/', 'GET').then(res => {
for (var key in res.data.process) {
try {
if(res.data.process[key]){
@ -64,18 +61,39 @@ App({
}
}
})
}else{
wx.authorize({
scope: 'scope.userInfo',
success () {
// 用户已经同意小程序使用录音功能,后续调用 wx.startRecord 接口不会弹窗询问
wx.startRecord()
}
})
}
}
})
},
onLoad(options) {
// wx.loadFontFace({
// family: 'webfont',
// source: 'url("//at.alicdn.com/t/webfont_1f7b3qbimiv.eot")',
// success: function (res) {
// console.log(res.status) // loaded
// },
// fail: function (res) {
// console.log(res.status) // error
// },
// complete: function (res) {
// console.log(res.status);
// }
// });
},
globalData: {
userInfo: {},
userinfo: {}, // 服务器传回的消费者信息
// host: 'https://apitest.ahctc.cn',
mediahost: 'https://apitest.ahctc.cn',
host: 'http://127.0.0.1:8000',
//mediahost: 'http://127.0.0.1:8000',
host: 'https://qw.ctc-zc.com/api',
mediahost: 'https://qw.ctc-zc.com',
token : '',
rlogin:true
}
})
})

View File

@ -1,10 +1,15 @@
{
"pages": [
"pages/main/main",
"pages/main/video/video",
"pages/main/enroll/enroll",
"pages/main/threshold/threshold",
"pages/main/Introduction/Introduction",
"pages/main/certificate/certificate",
"pages/index/index",
"pages/logs/logs",
"pages/login/registe/registe",
"pages/login/login",
"pages/login/login2",
"pages/lianxi/index",
"pages/subject/index",
"pages/lianxi/main",
@ -25,14 +30,15 @@
"pages/article/detail",
"pages/quota/quota",
"pages/material/index",
"pages/material/video",
"pages/question/detail",
"pages/candidate/index",
"pages/candidate/detail",
"pages/material/video",
"pages/qtest/form",
"pages/main/start",
"pages/exam/index",
"pages/exam/note",
"pages/exam/total",
"pages/admin/index",
"pages/admin/login",
"pages/admin/exam/add",
@ -44,49 +50,46 @@
"pages/candidate/my",
"pages/admin/exam/upimg",
"pages/video/index",
"pages/video/play"
"pages/video/play",
"pages/protocol/index",
"pages/protocol/Privacy"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "中科辐射学堂",
"navigationBarTextStyle": "black"
"navigationBarBackgroundColor": "#438af4",
"navigationBarTitleText": "国检集团气味学堂",
"navigationBarTextStyle": "white"
},
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#1296db",
"color": "#666666",
"selectedColor": "#438af4",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"fontSize":"14px",
"list": [
{
"pagePath": "pages/main/main",
"iconPath": "images/home.png",
"selectedIconPath": "images/homec.png",
"selectedIconPath": "images/home1.png",
"text": "主页"
},
{
"pagePath": "pages/material/index",
"iconPath": "images/ziyuan.png",
"selectedIconPath": "images/ziyuan1.png",
"text": "资源下载"
},
{
"pagePath": "pages/article/index",
"iconPath": "images/news.png",
"selectedIconPath": "images/newsc.png",
"text": "资讯"
},
{
"pagePath": "pages/material/index",
"iconPath": "images/data.png",
"selectedIconPath": "images/datac.png",
"text": "资料"
},
{
"pagePath": "pages/material/video",
"iconPath": "images/play.png",
"selectedIconPath": "images/playc.png",
"text": "视频"
"selectedIconPath": "images/news1.png",
"text": "新闻咨询"
},
{
"pagePath": "pages/my/index",
"iconPath": "images/me.png",
"selectedIconPath": "images/mec.png",
"text": "我的"
"iconPath": "images/my.png",
"selectedIconPath": "images/my1.png",
"text": "个人中心"
}
]
},
@ -94,10 +97,10 @@
"kbone": true,
"weui": true
},
"usingComponents": {},
"usingComponents": { "mp-icon": "weui-miniprogram/icon/icon"},
"plugins": {
"tencentvideo": {
"version": "1.4.0",
"version": "2.1.15",
"provider": "wxa75efa648b60994b"
}
},

File diff suppressed because one or more lines are too long

BIN
images/admin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -1 +0,0 @@
<?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="1604812134932" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9787" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M921.6 0a102.4 102.4 0 0 1 102.4 102.4v819.2a102.4 102.4 0 0 1-102.4 102.4H102.4a102.4 102.4 0 0 1-102.4-102.4V102.4a102.4 102.4 0 0 1 102.4-102.4h819.2zM370.0224 358.4H281.6a25.6 25.6 0 0 0-25.6 25.6v358.4a25.6 25.6 0 0 0 25.6 25.6h88.4224a25.6 25.6 0 0 0 25.6-25.6v-358.4a25.6 25.6 0 0 0-25.6-25.6z m186.2144-102.4H467.7632a25.6 25.6 0 0 0-25.6 25.6v460.8a25.6 25.6 0 0 0 25.6 25.6h88.4736a25.6 25.6 0 0 0 25.6-25.6v-460.8a25.6 25.6 0 0 0-25.6-25.6z m186.1632 256h-88.4224a25.6 25.6 0 0 0-25.6 25.6v204.8a25.6 25.6 0 0 0 25.6 25.6H742.4a25.6 25.6 0 0 0 25.6-25.6v-204.8a25.6 25.6 0 0 0-25.6-25.6z" fill="#4372F4" p-id="9788"></path></svg>

Before

Width:  |  Height:  |  Size: 1017 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1 +0,0 @@
<?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="1646232016809" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5102" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M937.154 984.333c-1.485 0-2.955-0.46-4.192-1.379l-128.85-94.949-129.726 94.786c-1.238 0.897-2.7 1.359-4.171 1.359-1.089 0-2.191-0.254-3.203-0.764-2.368-1.209-3.868-3.642-3.868-6.305v-191.509c0-2.271 1.089-4.405 2.928-5.733 1.223-0.885 2.673-1.337 4.143-1.337 0.743 0 1.498 0.121 2.22 0.361l45.813 15.172c2.977 0.855 5.21 3.579 5.21 6.794v71.362l76.624-55.959c1.244-0.906 2.708-1.359 4.171-1.359 1.471 0 2.948 0.46 4.192 1.379l75.436 55.583v-71.010c0-3.019 1.917-5.698 4.765-6.681l46.188-15.964c0.75-0.26 1.534-0.389 2.305-0.389 1.451 0 2.884 0.447 4.1 1.314 1.867 1.329 2.969 3.472 2.969 5.755v192.395c0 2.665-1.498 5.113-3.881 6.314-0.996 0.51-2.085 0.764-3.173 0.764zM134.749 951.301c-60.178 0-109.137-48.959-109.137-109.147v-694.208c0-60.188 48.959-109.153 109.137-109.153h605.566c60.199 0 109.173 48.966 109.173 109.153v216.558c0 3.902-3.162 7.069-7.069 7.069h-44.993c-3.909 0-7.069-3.168-7.069-7.069v-216.553c0-27.586-22.447-50.034-50.026-50.034h-605.573c-27.586 0-50.034 22.447-50.034 50.034v694.194c0 27.58 22.447 50.026 50.034 50.026h470.241c3.909 0 7.069 3.162 7.069 7.069v44.987c0 3.909-3.162 7.069-7.069 7.069h-470.247zM803.66 800.678c-112.142 0-203.386-91.229-203.386-203.373s91.238-203.38 203.386-203.38c112.151 0 203.401 91.238 203.401 203.38-0.005 112.142-91.252 203.373-203.401 203.373zM803.66 454.259c-78.879 0-143.053 64.173-143.053 143.046 0 78.879 64.173 143.053 143.053 143.053s143.053-64.173 143.053-143.053c0-78.873-64.173-143.046-143.053-143.046zM193.537 760.867c-3.902 0-7.069-3.162-7.069-7.069v-49.213c0-3.909 3.168-7.069 7.069-7.069h356.111c3.909 0 7.069 3.162 7.069 7.069v49.213c0 3.909-3.162 7.069-7.069 7.069h-356.111zM803.691 685.213c-48.471 0-87.913-39.436-87.913-87.907s39.436-87.907 87.913-87.907c48.465 0 87.907 39.436 87.907 87.907s-39.442 87.907-87.907 87.907zM803.691 546.628c-27.94 0-50.669 22.737-50.669 50.677s22.731 50.677 50.669 50.677c27.934 0 50.663-22.737 50.663-50.677s-22.731-50.677-50.663-50.677zM193.537 604.354c-3.902 0-7.069-3.162-7.069-7.069v-49.213c0-3.909 3.168-7.069 7.069-7.069h356.111c3.909 0 7.069 3.162 7.069 7.069v49.213c0 3.909-3.162 7.069-7.069 7.069h-356.111zM193.537 449.099c-3.902 0-7.069-3.168-7.069-7.069v-49.213c0-3.902 3.168-7.069 7.069-7.069h356.111c3.909 0 7.069 3.168 7.069 7.069v49.213c0 3.902-3.162 7.069-7.069 7.069h-356.111zM193.537 292.578c-3.902 0-7.069-3.168-7.069-7.069v-49.206c0-3.902 3.168-7.069 7.069-7.069h488.028c3.909 0 7.069 3.168 7.069 7.069v49.206c0 3.902-3.162 7.069-7.069 7.069h-488.028z" p-id="5103" fill="#1296db"></path></svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

BIN
images/canjiakaoshi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
images/chengjichaxun.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -1 +0,0 @@
<?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="1604812004450" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3676" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M368.64 901.888H212.736c-48.64-0.512-87.808-39.936-88.064-88.576v-155.904c0-23.552 9.472-46.08 26.112-62.72 16.64-16.64 39.168-25.856 62.72-25.856h155.904c48.896 0 88.576 39.68 88.832 88.576v155.904c0 23.552-9.728 46.336-26.368 62.976-16.896 16.384-39.68 25.6-63.232 25.6zM783.36 901.888h-155.904c-48.128-1.024-86.784-40.192-87.04-88.576v-155.904c0-23.552 9.472-46.08 26.112-62.72 16.64-16.64 39.168-25.856 62.72-25.856h155.904c23.552 0 46.08 9.216 62.72 25.856s26.112 39.168 26.112 62.72v155.904c0 23.808-9.728 46.592-26.88 63.232-16.896 16.64-39.936 25.856-63.744 25.344zM368.64 487.168H212.736c-48.896-0.512-88.32-40.448-88.064-89.344V241.92c0.768-48.64 40.448-87.808 89.344-87.808h155.904c48.64 1.024 87.552 40.704 87.808 89.344V399.36c-1.024 48.64-40.704 87.552-89.088 87.808zM878.336 257.792l-109.824-109.568c-34.816-34.56-90.88-34.56-125.44 0l-109.824 109.568c-34.304 34.816-34.304 90.624 0 125.44l109.824 109.824c34.816 34.304 90.624 34.304 125.44 0l109.824-109.824c34.56-34.56 34.56-90.624 0-125.44z m-35.072 98.304l-102.4 102.144c-9.216 9.216-22.016 14.592-35.072 14.592s-25.856-5.12-35.072-14.592l-102.4-102.4c-18.944-19.456-18.944-50.688 0-70.144l102.4-102.4c19.456-18.944 50.688-18.944 70.144 0l102.4 102.912c19.2 19.2 19.2 50.432 0 69.888z" fill="#248AFD" p-id="3677"></path></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -1 +0,0 @@
<?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="1604812075816" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6918" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M512 0a512 512 0 1 0 512 512A511.963875 511.963875 0 0 0 512 0z m0 945.247442a433.247442 433.247442 0 1 1 433.247442-433.247442 433.247442 433.247442 0 0 1-433.247442 433.247442z" fill="#DC9514" p-id="6919"></path><path d="M202.950399 376.531151v48.51591l64.952797-22.036266v228.815918h66.506174V331.916743h-7.04438l-124.414591 44.614408zM545.7769 585.803429q17.159388-17.881888 33.235024-36.811402a275.778452 275.778452 0 0 0 24.926268-34.86065 164.802371 164.802371 0 0 0 15.750512-34.535526 118.128837 118.128837 0 0 0 5.527129-35.799901 119.393212 119.393212 0 0 0-7.477881-43.819657 85.616313 85.616313 0 0 0-22.650391-32.873774 102.1977 102.1977 0 0 0-37.136527-20.62739 163.93537 163.93537 0 0 0-50.900163-7.225006 138.720102 138.720102 0 0 0-52.923163 9.645383 117.297961 117.297961 0 0 0-39.737529 26.082269 114.155084 114.155084 0 0 0-25.070769 38.437028 125.389967 125.389967 0 0 0-8.778381 46.962534H462.400339a109.928456 109.928456 0 0 1 2.564877-24.528893 58.811543 58.811543 0 0 1 8.092005-19.615889 40.67678 40.67678 0 0 1 13.619135-12.968885 37.606153 37.606153 0 0 1 19.001764-4.696253 31.934523 31.934523 0 0 1 27.888521 13.908135q9.645382 13.87201 9.681507 38.509278a74.020179 74.020179 0 0 1-2.023002 16.689763 88.289565 88.289565 0 0 1-6.89988 18.748888 182.864884 182.864884 0 0 1-13.005009 22.108516c-5.382629 8.019756-12.065759 16.906512-20.157765 26.696395l-113.829958 126.943343v50.575037h247.528681v-59.606294h-142.982855zM810.031468 474.393847a65.205673 65.205673 0 0 0-33.235024-25.106893 72.250053 72.250053 0 0 0 17.195513-11.054258 71.130177 71.130177 0 0 0 12.643759-14.450011 62.315671 62.315671 0 0 0 7.875256-16.292387 59.642419 59.642419 0 0 0 2.709377-17.809638 80.378184 80.378184 0 0 0-6.791505-34.102025 68.63755 68.63755 0 0 0-19.001764-24.601143A80.811684 80.811684 0 0 0 762.238058 316.093982a133.120723 133.120723 0 0 0-37.678402-5.057504 108.95308 108.95308 0 0 0-34.752276 5.454879 86.700064 86.700064 0 0 0-28.03302 15.208636 69.865801 69.865801 0 0 0-18.785014 23.734142 68.34855 68.34855 0 0 0-6.936005 31.031398h61.412545a33.271149 33.271149 0 0 1 2.348127-12.932759 30.164397 30.164397 0 0 1 6.285754-9.717633A24.781768 24.781768 0 0 1 715.275524 357.637762a30.164397 30.164397 0 0 1 11.126508-2.131377 29.839272 29.839272 0 0 1 13.00501 2.673252 27.38277 27.38277 0 0 1 9.392506 7.225006 31.862273 31.862273 0 0 1 5.67163 10.837508 50.358287 50.358287 0 0 1 1.842376 13.980385 44.361532 44.361532 0 0 1-7.875256 27.635645c-5.238129 6.89988-13.546885 10.367883-24.781768 10.367883h-29.658647v43.350031h29.658647c11.523883 0 20.519015 3.179002 26.913145 9.609257s9.609257 16.906512 9.609257 31.428773a47.179285 47.179285 0 0 1-2.348127 15.425387 35.005151 35.005151 0 0 1-6.75538 11.885133 28.141396 28.141396 0 0 1-10.837508 7.586256 36.125026 36.125026 0 0 1-14.45001 2.637127 29.730897 29.730897 0 0 1-22.542017-9.898257 33.198899 33.198899 0 0 1-6.430255-10.837508 39.737529 39.737529 0 0 1-2.348126-13.980385h-61.412545a72.972553 72.972553 0 0 0 28.24977 60.184294 84.026812 84.026812 0 0 0 28.900022 14.45001 116.972836 116.972836 0 0 0 33.632399 4.768504 128.099344 128.099344 0 0 0 38.292528-5.418754 90.312566 90.312566 0 0 0 30.742398-15.822762 72.250053 72.250053 0 0 0 20.446765-25.504269 76.296056 76.296056 0 0 0 7.441755-34.535525 70.588302 70.588302 0 0 0-11.018133-39.376279z" fill="#DC9514" p-id="6920"></path></svg>

Before

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -1 +0,0 @@
<?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 class="icon" width="16px" height="16.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M698.2 469.1c126.5 0 229.4 102.9 229.4 229.4s-102.9 229.5-229.4 229.5S468.8 825.1 468.8 698.6 571.7 469.1 698.2 469.1m0-32.1c-144.5 0-261.6 117.1-261.6 261.6s117.1 261.6 261.6 261.6 261.6-117.1 261.6-261.6-117.1-261.6-261.6-261.6zM531.7 226.3H203.6c-8.9 0-16.1-7.2-16.1-16.1s7.2-16.1 16.1-16.1h328.1c8.9 0 16.1 7.2 16.1 16.1s-7.3 16.1-16.1 16.1zM426.8 469.1H203.6c-8.9 0-16.1-7.2-16.1-16.1s7.2-16.1 16.1-16.1h223.2c8.9 0 16.1 7.2 16.1 16.1s-7.2 16.1-16.1 16.1z" /><path fill="#1296db" d="M722.9 700.6l92.5-92.5c6.3-6.3 6.3-16.4 0-22.7-6.3-6.3-16.4-6.3-22.7 0l-92.5 92.5-92.5-92.5c-6.3-6.3-16.4-6.3-22.7 0s-6.3 16.4 0 22.7l92.5 92.5L585 793.1c-6.3 6.3-6.3 16.4 0 22.7 3.1 3.1 7.2 4.7 11.4 4.7 4.1 0 8.2-1.6 11.4-4.7l92.5-92.5 92.5 92.5c3.1 3.1 7.2 4.7 11.4 4.7 4.1 0 8.2-1.6 11.4-4.7 6.3-6.3 6.3-16.4 0-22.7l-92.7-92.5zM675 226.3h-72.3c-8.9 0-16.1-7.2-16.1-16.1s7.2-16.1 16.1-16.1H675c8.9 0 16.1 7.2 16.1 16.1s-7.3 16.1-16.1 16.1zM325 673.6H203.6c-8.9 0-16.1-7.2-16.1-16.1 0-8.9 7.2-16.1 16.1-16.1H325c8.9 0 16.1 7.2 16.1 16.1 0 8.9-7.2 16.1-16.1 16.1z" /><path fill="#1296db" d="M315.2 957.2H183c-65.5 0-118.8-53.3-118.8-118.8V182.6C64.2 117.1 117.5 63.8 183 63.8h655.8c65.5 0 118.8 53.3 118.8 118.8V336.1c0 8.9-7.2 16.1-16.1 16.1s-16.1-7.2-16.1-16.1V182.6c0-47.8-38.9-86.6-86.7-86.6H183c-47.8 0-86.6 38.9-86.6 86.6v655.8c0 47.8 38.9 86.6 86.6 86.6h132.2c8.9 0 16.1 7.2 16.1 16.1-0.1 8.9-7.3 16.1-16.1 16.1z" /></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -1 +0,0 @@
<?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="1583918344766" class="icon" viewBox="0 0 1056 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12776" xmlns:xlink="http://www.w3.org/1999/xlink" width="66" height="64"><defs><style type="text/css"></style></defs><path d="M964.218456 512.964218c-15.427495 0-28.926554 13.499058-28.926554 28.926554v260.338983c0 90.636535-73.280603 163.917137-163.917137 163.917138H221.770245c-90.636535 0-163.917137-73.280603-163.917138-163.917138V318.19209C57.853107 227.555556 131.13371 154.274953 221.770245 154.274953h283.480226c15.427495 0 28.926554-13.499058 28.926553-28.926554S520.677966 96.421846 505.250471 96.421846H221.770245C100.278719 96.421846 0 196.700565 0 318.19209v484.037665c0 121.491525 100.278719 221.770245 221.770245 221.770245H771.374765c121.491525 0 221.770245-100.278719 221.770244-221.770245V541.890772c0-17.355932-13.499058-28.926554-28.926553-28.926554zM177.416196 389.544256c0 15.427495 13.499058 28.926554 28.926554 28.926554h354.832391c15.427495 0 28.926554-13.499058 28.926554-28.926554s-13.499058-28.926554-28.926554-28.926554H206.34275c-15.427495 0-28.926554 13.499058-28.926554 28.926554z m609.386064 325.905838H206.34275c-15.427495 0-28.926554 13.499058-28.926554 28.926554s13.499058 28.926554 28.926554 28.926554h580.45951c15.427495 0 28.926554-13.499058 28.926554-28.926554s-13.499058-28.926554-28.926554-28.926554z m0-177.416196H206.34275c-15.427495 0-28.926554 13.499058-28.926554 28.926554s13.499058 28.926554 28.926554 28.926554h580.45951c15.427495 0 28.926554-13.499058 28.926554-28.926554s-13.499058-28.926554-28.926554-28.926554zM752.090395 302.764595c5.785311 5.785311 13.499058 7.713748 21.212807 7.713748s15.427495-1.928437 21.212806-7.713748l42.425612-42.425612 42.425612 42.425612c5.785311 5.785311 13.499058 7.713748 21.212806 7.713748s15.427495-1.928437 21.212806-7.713748c11.570621-11.570621 11.570621-28.926554 0-40.497175l-42.425612-42.425612 42.425612-42.425612c11.570621-11.570621 11.570621-28.926554 0-40.497175s-28.926554-11.570621-40.497175 0l-42.425613 42.425612-42.425612-42.425612c-11.570621-11.570621-28.926554-11.570621-40.497175 0s-11.570621 28.926554 0 40.497175l42.425612 42.425612-42.425612 42.425612c-15.427495 11.570621-15.427495 30.854991-3.856874 40.497175z m84.851225 136.919021c121.491525 0 219.841808-98.350282 219.841807-219.841808S958.433145 0 836.94162 0 617.099812 98.350282 617.099812 219.841808s98.350282 219.841808 219.841808 219.841808z m0-381.830509c88.708098 0 161.988701 73.280603 161.9887 161.988701s-73.280603 161.988701-161.9887 161.9887S674.952919 308.549906 674.952919 219.841808 746.305085 57.853107 836.94162 57.853107z" fill="#A390E8" p-id="12777"></path></svg>

Before

Width:  |  Height:  |  Size: 2.7 KiB

BIN
images/cuotiji.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
images/cuotiji1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
images/cuotiji2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -1 +0,0 @@
<?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="1646232207512" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6280" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M295.581454 931.441151 92.254451 728.115155l562.02665-562.031684 203.325996 203.325996L295.581454 931.441151 295.581454 931.441151zM295.581454 931.441151M988.661735 143.042181 880.643352 35.02984c-26.31967-26.31967-70.851666-24.461989-99.461973 4.153353L679.701633 140.662939l203.325996 203.325996L984.507375 242.510195C1013.111641 213.893847 1014.976371 169.360844 988.661735 143.042181L988.661735 143.042181zM988.661735 143.042181M73.372554 760.101509 1.485823 1022.19971l262.070009-71.887738L73.372554 760.101509zM73.372554 760.101509" p-id="6281" fill="#1296db"></path></svg>

Before

Width:  |  Height:  |  Size: 956 B

View File

@ -1 +0,0 @@
<?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="1621915089686" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2807" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M762.78272 154.624h-44.032a96.81408 96.81408 0 0 0-46.92992-51.31776A98.06848 98.06848 0 0 0 578.92352 35.84H445.07648a98.06848 98.06848 0 0 0-92.88192 67.49184A96.81408 96.81408 0 0 0 305.25952 154.624h-44.032C176.47104 154.624 107.52 226.26816 107.52 314.31168v519.30624C107.52 921.6512 176.47104 993.28 261.21728 993.28h501.56544C847.52896 993.28 916.48 921.6512 916.48 833.61792V314.31168c0-88.04352-68.95104-159.68768-153.69728-159.68768z m-372.736 8.86784a34.92864 34.92864 0 0 0 27.21792-31.744 27.96544 27.96544 0 0 1 27.80672-26.0352h133.84704a27.96032 27.96032 0 0 1 27.80672 26.0352 34.93376 34.93376 0 0 0 27.21792 31.744 27.93984 27.93984 0 0 1-6.144 55.1936H396.19072a27.93984 27.93984 0 0 1-6.13888-55.168z m456.59648 670.12608c0 49.50016-37.62176 89.77408-83.86048 89.77408H261.21728c-46.23872 0-83.86048-40.27392-83.86048-89.77408V314.31168c0-49.50528 37.62176-89.7792 83.86048-89.7792h43.32544a97.84832 97.84832 0 0 0 91.648 64.06144h231.62368a97.8432 97.8432 0 0 0 91.648-64.06144h43.33056c46.23872 0 83.86048 40.27392 83.86048 89.7792v519.30624zM739.84 375.65952H279.79264a34.944 34.944 0 0 0 0 69.888H739.84a34.944 34.944 0 0 0 0-69.888z m-460.04736 254.64832h324.74112a34.944 34.944 0 0 0 0-69.88288H279.79264a34.944 34.944 0 0 0 0 69.88288z m383.24736 114.87744H279.79264a34.944 34.944 0 0 0 0 69.88288H663.04a34.944 34.944 0 0 0 0-69.88288z" fill="#595BB3" p-id="2808"></path></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
images/gerenfanghu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
images/gerenfanghu1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
images/home1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/kaoshicishu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 761 B

BIN
images/kaoshijilu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
images/kaoshijilu1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -1 +0,0 @@
<?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="1583918652961" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15593" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M516.29 101.48c-138 0-267.9 92.83-342.52 196.76V199.1c0-21.26-9.29-38.5-30.6-38.5s-33.6 17.24-33.6 38.5V353c0 21.26 17.3 33.5 38.6 33.5h167.26c21.31 0 36.6-12.24 36.6-33.5s-15.29-30.47-36.6-30.47H238.3C301 234 407.77 168.33 516.29 168.44 701 168.44 860.8 322.77 860.8 507S701 850.47 516.29 850.47c-155.71 0-296.19-116.22-333.48-259.86l-0.64 0.21c-11.67-24.73-22.67-32.73-45.11-23.15-27.56 12.42-20.56 29.42-19.59 35.5a80.93 80.93 0 0 0 2.16 10.65l-0.41 0.16c0.25 0.9 0.72 1.72 1 2.67 0.29 0.72 0.49 1.47 0.8 2.19C170 791 328 917.43 516.29 917.43 743.68 917.43 928 733.65 928 507S743.68 101.48 516.29 101.48z m0 170.15c-21.31 0-33.6 15.24-33.6 36.49V539c0 21.23 12.29 33.47 33.6 33.47h167.26c21.3 0 36.59-12.24 36.59-33.47s-15.29-33.47-36.59-33.47H548.89l1-197.4c0-21.26-12.27-36.5-33.6-36.5z" fill="#419CFC" p-id="15594"></path></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/lianxi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
images/lianxi1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
images/loginBg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
images/longmao.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
images/mingejiankong.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -1 +0,0 @@
<?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 class="icon" width="16px" height="16.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M516.773087 1023.718477c-132.725101 0.332709-260.203644-52.772688-354.718452-147.773762a26.207193 26.207193 0 0 1-5.784009-28.101072 25.337032 25.337032 0 0 1 23.238409-16.174752l161.414811-1.63795c14.024943 0.332709 25.464997 11.312089 25.592962 25.592962a26.104821 26.104821 0 0 1-7.242808 18.324561 25.106696 25.106696 0 0 1-17.838295 7.754668l-93.49109 0.972532c78.954288 58.991777 174.236885 90.03604 273.665542 89.319437 121.105896-0.94694 236.811677-51.211517 321.319637-139.6352 132.827472-138.201994 167.838644-348.627327 87.118443-523.657594a26.079228 26.079228 0 0 1 12.156657-34.396941 25.157882 25.157882 0 0 1 33.731523 12.386994c89.677739 194.480918 50.776436 428.323811-96.818175 581.830396-93.92617 98.225788-222.454025 154.069631-357.021819 155.042164h-5.27215l-0.051186 0.153557zM64.903751 736.898153a25.362625 25.362625 0 0 1-23.289595-15.6373c-81.692734-193.559571-40.999925-415.885631 103.651496-566.372247a500.777486 500.777486 0 0 1 717.012422-7.421959c7.319587 7.319587 9.597361 18.426933 5.758416 28.101072a25.362625 25.362625 0 0 1-23.264002 16.200345l-161.31244 1.689135a26.207193 26.207193 0 0 1-25.592961-25.592962 26.104821 26.104821 0 0 1 7.217215-18.375746 25.081103 25.081103 0 0 1 17.863887-7.754668l93.388718-0.946939A450.589688 450.589688 0 0 0 181.4541 191.077054C51.390668 325.74722 14.485616 527.394167 88.167754 700.812077c3.378271 7.985004 2.559296 17.172877-2.124216 24.441278a25.23466 25.23466 0 0 1-21.165379 11.619205l0.025592 0.025593z" fill="#000000" /><path d="M413.095999 555.827947c-7.703482-19.450651-24.825173-56.022994-39.694684-85.736422v292.65552h-39.208418V506.100822c-15.970008 55.434356-36.393192 107.464847-56.739597 141.170778-4.427582-12.591737-14.332059-30.813926-21.523681-41.153482 31.940016-47.372573 63.393767-138.304366 78.314464-215.415961h-67.846942V350.623579h67.821349V240.880958h39.208418V350.623579h56.739596v40.078578h-56.739596v22.317063c14.332059 21.702832 55.715878 93.721427 65.645947 111.431756l-25.976856 31.376971z m218.43593 81.206469c27.051761 45.734623 73.938067 77.16278 136.256929 90.880607-8.829572 8.010597-20.397591 24.006198-25.92567 34.857615-70.610982-19.988103-121.336233-62.293269-148.951039-124.637725-22.03554 60.578541-66.1834 100.605933-162.131414 124.637725-3.327085-9.136687-13.794606-25.209068-20.986228-33.142886 80.566644-18.862013 119.723876-49.16408 140.684511-92.595336h-126.352453v-36.086077h138.457924c3.327085-14.25528 5.52808-30.788333 7.729075-47.423758H458.881808v-175.414161h268.086276v175.439754h-116.396791a572.642523 572.642523 0 0 1-7.166029 47.423758h151.689485v36.034891l-123.56282 0.025593z m-115.270701-312.694809h-80.003599v-36.009298h80.003599V241.469596h39.182825v46.860713h83.791357V241.469596h39.720277v46.860713h76.676514v36.009298H678.98128v43.405663h-39.74587v-43.405663h-83.791357v42.868211h-39.182825v-42.868211z m-19.322686 126.301267h190.87231v-40.590438h-190.87231v40.590438z m0 70.892504h190.87231V480.891755h-190.87231v40.61603z" fill="#3A79F7" /></svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -1 +0,0 @@
<?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="1583918547198" class="icon" viewBox="0 0 1043 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13594" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.296875" height="16"><defs><style type="text/css"></style></defs><path d="M 526.048 967.726 a 481.434 481.434 0 0 1 -339.124 -138.563 a 24.2334 24.2334 0 0 1 16.7146 -41.5374 l 154.295 -1.5326 c 13.4267 0.314381 24.3514 10.6103 24.4823 23.9845 a 24.2334 24.2334 0 0 1 -23.9845 24.4823 l -89.3756 0.903843 c 75.4774 55.3178 166.582 84.4372 261.63 83.7429 a 433.387 433.387 0 0 0 307.175 -130.926 C 964.844 658.703 998.326 461.35 921.158 297.218 a 24.2386 24.2386 0 0 1 43.8691 -20.6313 c 85.721 182.367 48.5324 401.647 -92.5587 545.606 a 481.565 481.565 0 0 1 -341.299 145.402 h -5.05628 Z M 94.064 698.761 a 24.2597 24.2597 0 0 1 -22.2686 -14.671 C -6.302 502.587 32.59 294.113 170.877 152.996 c 187.056 -190.934 494.559 -194.037 685.493 -6.98186 a 24.2465 24.2465 0 0 1 -16.7276 41.5505 l -154.229 1.57189 c -12.7979 -0.157189 -24.3382 -10.6103 -24.4823 -23.9977 a 24.2204 24.2204 0 0 1 23.9845 -24.4823 l 89.2839 -0.903843 c -171.993 -125.634 -415.348 -109.365 -568.714 47.157 a 434.893 434.893 0 0 0 -89.1791 478.015 a 24.2465 24.2465 0 0 1 -22.2686 33.8221 Z" fill="#1296db" p-id="13595"></path><path d="M 425.617 538.256 c -7.47963 -18.1817 -24.0633 -52.3967 -38.4985 -80.2062 v 273.772 h -37.9875 V 491.741 c -15.4963 51.8595 -35.2761 100.523 -55.0164 132.065 c -4.27033 -11.7892 -13.8981 -28.8182 -20.8539 -38.4985 c 30.9664 -44.3276 61.4612 -129.394 75.8966 -201.518 h -65.7579 v -37.4898 h 65.7579 v -102.671 h 37.9875 v 102.658 h 55.0164 v 37.5028 h -55.0164 v 20.867 c 13.9113 20.3168 54.0078 87.6858 63.6358 104.256 Z m 211.734 75.9751 c 26.1984 42.7687 71.6525 72.1764 132.065 85.0137 c -8.55376 7.47963 -19.7797 22.4519 -25.1242 32.6038 c -68.4431 -18.7056 -117.63 -58.2782 -144.366 -116.582 c -21.3909 56.667 -64.1859 94.1044 -157.189 116.582 c -3.20929 -8.55376 -13.3612 -23.5786 -20.3168 -31.0057 c 78.071 -17.6446 116.033 -45.9911 136.349 -86.6249 h -122.464 v -33.7303 h 134.214 c 3.1962 -13.3612 5.34446 -28.8182 7.47963 -44.3799 h -108.016 V 372.001 h 259.861 v 164.119 h -112.81 c -1.6112 15.5094 -4.28342 30.4817 -6.95566 44.3799 h 147.039 v 33.6911 Z M 525.603 321.713 h -77.534 v -33.6911 h 77.534 v -43.8429 h 37.9875 v 43.8429 h 81.2148 v -43.8429 h 38.4985 v 43.8429 h 74.3247 v 33.6911 h -74.2985 v 40.6074 h -38.5247 v -40.6074 h -81.2148 v 40.0965 h -37.9875 Z m -18.7187 118.155 h 184.999 v -37.9875 H 506.884 Z m 0 66.3079 h 184.999 v -37.9875 H 506.884 Z" fill="#1296db" p-id="13596"></path></svg>

Before

Width:  |  Height:  |  Size: 2.7 KiB

BIN
images/my.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
images/my1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 911 B

BIN
images/news1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

BIN
images/pingjun.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1 +0,0 @@
<?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="1592478369068" class="icon" viewBox="0 0 1084 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2111" xmlns:xlink="http://www.w3.org/1999/xlink" width="67.75" height="64"><defs><style type="text/css"></style></defs><path d="M686.08 689.935059l8.914824 8.975059a30.117647 30.117647 0 1 1-42.586353 42.586353L592.112941 681.140706a30.117647 30.117647 0 0 1 23.009883-51.380706l1.807058-0.060235h170.767059a30.117647 30.117647 0 0 1 0 60.235294h-101.616941z m30.479059-169.502118l-8.975059-8.975059a30.117647 30.117647 0 0 1 42.586353-42.586353l60.416 60.416a30.117647 30.117647 0 0 1-23.070118 51.320471l-1.807059 0.060235H615.002353a30.117647 30.117647 0 1 1 0-60.235294h101.616941z m-175.766588-51.501176a30.72 30.72 0 0 1-0.542118 0c-82.100706 0-157.214118 77.101176-184.139294 192.271059a30.117647 30.117647 0 0 1-58.669177-13.733648c23.190588-99.087059 78.305882-177.573647 148.901647-214.979764a137.878588 137.878588 0 1 1 94.448942 36.442353z m-1.084236-60.235294a77.643294 77.643294 0 1 0 0-155.226353 77.643294 77.643294 0 0 0 0 155.226353z m5.180236 563.380705a481.882353 481.882353 0 1 1 0-963.764705 481.882353 481.882353 0 0 1 0 963.764705z m0-60.235294a421.647059 421.647059 0 1 0 0-843.294117 421.647059 421.647059 0 0 0 0 843.294117z" fill="#379AF6" p-id="2112"></path></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1 +0,0 @@
<?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="1604812099392" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7710" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M512 1024A512 512 0 0 1 0 512 512 512 0 0 1 512 0 512 512 0 0 1 1024 512 512 512 0 0 1 512 1024zM326.892308 525.390769c85.070769 0 142.572308-66.953846 142.572307-148.086154v-1.575384c0-80.344615-55.926154-147.298462-141.784615-147.298462-86.646154 0-142.572308 66.953846-142.572308 148.086154v1.575385c0 81.132308 56.713846 147.298462 141.784616 147.298461zM245.76 787.692308h106.338462l425.353846-551.384616H671.113846l-425.353846 551.384616z m449.772308 7.876923c85.070769 0 142.572308-67.741538 142.572307-148.086154V645.907692c0-81.132308-55.926154-147.298462-141.784615-147.298461-86.646154 0-142.572308 66.953846-142.572308 148.086154v1.575384c0 80.344615 56.713846 147.298462 141.784616 147.298462zM327.68 438.744615c-25.993846 0-46.473846-25.993846-46.473846-61.44v-1.575384c0-34.658462 18.116923-60.652308 45.686154-60.652308 26.781538 0 46.473846 26.781538 46.473846 61.44v1.575385c0 34.658462-18.904615 60.652308-45.686154 60.652307zM696.32 708.923077c-25.993846 0-46.473846-26.781538-46.473846-61.44V645.907692c0-35.446154 17.329231-60.652308 45.686154-60.652307 26.781538 0 46.473846 25.993846 46.473846 61.44v1.575384c0 34.658462-18.904615 60.652308-45.686154 60.652308z" fill="#22A4E5" p-id="7711"></path></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

BIN
images/shoucang.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
images/shoucang1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -1 +0,0 @@
<?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="1583918298768" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11986" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><defs><style type="text/css"></style></defs><path d="M485.504 640v165.504a64 64 0 0 1-109.248 45.248L146.752 621.248A64 64 0 0 1 192 512h101.504V256a64 64 0 0 1 64-64h64a64 64 0 0 1 64 64v384zM608 320h256a32 32 0 1 1 0 64h-256a32 32 0 0 1 0-64z m0 128h256a32 32 0 1 1 0 64h-256a32 32 0 0 1 0-64z m0 128h256a32 32 0 1 1 0 64h-256a32 32 0 0 1 0-64z m0 128h256a32 32 0 1 1 0 64h-256a32 32 0 1 1 0-64z" fill="#447ED8" p-id="11987"></path></svg>

Before

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

View File

@ -1 +0,0 @@
<?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 class="icon" width="16px" height="16.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M706.9 212.1l-269.6 467-212.4-122.6 269.7-467 212.3 122.6z m0 0" fill="#7BE0FF" /><path d="M532.6 619.3L487.1 593l-49.8 86.1-55.2-31.8 269.5-467.1 55.2 31.8-50.6 88 45.5 26.3 63.9-110.6c7.3-12.6 3-28.6-9.6-35.9L498.1 30.9c-12.6-7.2-28.6-2.9-35.9 9.6L166.4 553c-2 3.5-3.1 7.5-3.2 11.6l-0.5-0.2 3.8 265.9 0.5 0.3c-1.4 15.4 6.2 30.2 19.5 38 13.4 7.6 30 6.9 42.6-2l0.5 0.3 232.2-129.7-0.5-0.2c3.4-2.1 6.3-5 8.4-8.5l62.9-109.2z m39.9-484.8l56.5 32.6-269.6 467.2-56.4-32.6 269.5-467.2z m-77.9-45l55.2 31.9-269.6 467.2-55.2-32L494.6 89.5zM265.8 787.2L217 758.9l-0.5-146.5 175.6 101.5-126.3 73.3z m0 0" fill="#2AA6FF" /><path d="M532.6 619.3L487.1 593l169-293.1 45.5 26.3-169 293.1z m63.2-109.6M0 970.3c0 14.5 11.8 26.3 26.3 26.3s26.3-11.8 26.3-26.3S40.8 944 26.3 944 0 955.8 0 970.3z m0 0M1024 970.3c0 14.4-11.8 26.3-26.3 26.3H131c-14.5 0-26.2-11.8-26.3-26.3v-0.1c0-14.4 11.9-26.3 26.3-26.3h866.7c14.4 0.1 26.3 12 26.3 26.4z m0-112.1c0 14.4-11.8 26.3-26.3 26.3H492.3c-14.5 0-26.2-11.8-26.3-26.3v-0.1c0-14.4 11.9-26.3 26.3-26.3h505.5c14.3 0.1 26.2 11.9 26.2 26.4z m0 0" fill="#2AA6FF" /></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1 +0,0 @@
<?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="1583917770287" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8002" width="64" height="64" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M931.100444 1024H92.899556A93.013333 93.013333 0 0 1 0 930.872889V93.098667A93.013333 93.013333 0 0 1 92.899556 0h838.200888A93.013333 93.013333 0 0 1 1024 93.098667v837.774222A93.013333 93.013333 0 0 1 931.100444 1024z m7.736889-881.777778a66.076444 66.076444 0 0 0-56.888889-56.888889H141.937778a66.076444 66.076444 0 0 0-56.888889 56.888889v739.555556a66.076444 66.076444 0 0 0 56.888889 56.888889h740.124444a66.076444 66.076444 0 0 0 56.888889-56.888889V142.222222z m-221.582222 333.312a32.142222 32.142222 0 0 1-45.112889-45.767111l43.690667-44.344889h-41.159111c-33.592889 0-117.361778 82.488889-178.545778 141.084445-92.728889 88.746667-151.893333 174.961778-222.008889 174.961777H230.997333a31.601778 31.601778 0 1 1 0-63.203555h43.121778c44.316444 0 105.585778-88.177778 177.664-157.212445 87.722667-83.939556 163.470222-158.862222 222.890667-158.862222h41.159111L672.142222 280.263111a29.952 29.952 0 0 1 0-43.463111 32.170667 32.170667 0 0 1 45.141334 0l98.275555 97.109333a31.288889 31.288889 0 0 1 0 44.657778z m-326.428444-3.043555a32.682667 32.682667 0 0 1-21.447111-8.789334c-39.822222-35.896889-61.610667-78.279111-95.260445-78.279111H230.997333a31.630222 31.630222 0 1 1 0-63.232h43.121778c51.968 0 75.747556 38.456889 138.183111 94.577778a32.625778 32.625778 0 0 1 2.161778 45.681778 31.715556 31.715556 0 0 1-23.637333 10.040889z m170.410666 87.182222c43.434667 40.192 87.210667 78.592 113.436445 78.592h41.159111L672.142222 593.92a32.824889 32.824889 0 0 1 0-45.880889 32.142222 32.142222 0 0 1 45.141334 0l98.275555 97.109333a31.459556 31.459556 0 0 1 0 44.771556l-98.275555 97.166222a32.085333 32.085333 0 0 1-22.556445 9.386667 31.658667 31.658667 0 0 1-22.584889-8.96 30.663111 30.663111 0 0 1 0-44.088889l43.690667-41.927111h-41.159111c-46.279111 0-90.88-34.133333-157.013334-95.345778a32.455111 32.455111 0 0 1-1.507555-45.511111 32.085333 32.085333 0 0 1 45.084444-0.967111z" fill="#FF7800" p-id="8003"></path></svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1 +0,0 @@
<?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="1646231865619" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4207" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M229.9648 730.2656h568.4736v75.776H229.9648z" fill="#3B9DFF" p-id="4208"></path><path d="M1004.5696 1024H19.4304V76.544h258.4576v75.776H95.2064v795.8528h833.5872V152.32h-182.8864v-75.776h258.6624z" fill="#3B9DFF" p-id="4209"></path><path d="M797.5168 227.3792h-568.32V0h568.32z m-492.6976-75.776h416.8704V75.776H304.9728z" fill="#3B9DFF" p-id="4210"></path><path d="M463.0272 659.4048L267.4944 464.0256l53.6064-53.6064 141.9264 141.8752 242.7392-242.688 53.6576 53.248z" fill="#3B9DFF" p-id="4211"></path></svg>

Before

Width:  |  Height:  |  Size: 888 B

BIN
images/tiku.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/tiku1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

1
images/tongguo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
images/tongguolv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
images/video.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

View File

@ -1 +0,0 @@
<?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="1646231833143" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3304" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M688.5376 474.3168l-255.5904-147.456c-25.8048-15.1552-59.392 4.096-59.392 34.4064v295.7312c0 30.3104 32.768 49.5616 59.392 34.4064l255.5904-147.456c25.8048-15.9744 25.8048-54.4768 0-69.632z" fill="#1296db" p-id="3305"></path><path d="M512 1000.6528c-271.1552 0-491.52-220.3648-491.52-491.52s220.3648-491.52 491.52-491.52 491.52 220.3648 491.52 491.52-220.3648 491.52-491.52 491.52z m0-893.7472c-221.5936 0-402.2272 180.224-402.2272 402.2272s180.224 402.2272 402.2272 402.2272 402.2272-180.224 402.2272-402.2272-180.6336-402.2272-402.2272-402.2272z" fill="#1296db" p-id="3306"></path></svg>

Before

Width:  |  Height:  |  Size: 966 B

View File

@ -1 +0,0 @@
<?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 class="icon" width="64px" height="64.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#333333" d="M773.12 998.4c-15.36 0-28.16-5.12-33.28-10.24L512 870.4 281.6 988.16c-23.04 12.8-53.76 10.24-74.24-5.12-23.04-17.92-33.28-46.08-28.16-74.24l48.64-256L46.08 478.72c-17.92-20.48-25.6-51.2-20.48-76.8 10.24-28.16 30.72-48.64 58.88-51.2l250.88-48.64L448 64c12.8-23.04 38.4-38.4 64-38.4 28.16 0 53.76 17.92 64 40.96l112.64 238.08 250.88 46.08c25.6 2.56 48.64 23.04 56.32 51.2 7.68 25.6 2.56 56.32-17.92 76.8L796.16 655.36l46.08 256c5.12 28.16-5.12 56.32-28.16 74.24-10.24 7.68-25.6 12.8-40.96 12.8z m-527.36-76.8zM102.4 427.52l207.36 202.24L256 916.48l253.44-130.56 250.88 130.56-51.2-286.72 207.36-202.24-286.72-51.2L512 112.64 389.12 371.2 102.4 427.52z m824.32-2.56s0 2.56 0 0z m-5.12-2.56zM504.32 99.84z" /></svg>

Before

Width:  |  Height:  |  Size: 992 B

1
images/weitongguo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 23 KiB

BIN
images/workType.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
images/xiezitai.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
images/yajuankaoshi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
images/yajuankaoshi1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -1 +0,0 @@
<?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 class="icon" width="16px" height="16.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M1002.674 514.835c0.036 270.344-216.855 487.803-486.57 487.834-272.683 0.035-488.76-217.065-488.663-490.976 0.097-267.94 219.352-484.36 490.581-484.232 267.387 0.128 484.61 218.574 484.652 487.374z m-957.223 0.742c-0.24 257.86 210.766 470.887 466.953 471.43 261.99 0.552 474.198-208.94 474.577-468.504C987.365 257.8 776.056 45.33 516.533 45.462 257.83 45.59 45.687 257.297 45.451 515.577z" /><path fill="#1296db" d="M756.68 259.477V617.09h-36.672c-1.3-9.476-2.435-17.75-3.858-28.085h-93.103v174.033h-40.872V588.842h-95.487c-0.83 9.016-1.653 17.934-2.61 28.316H446.85V259.472c102.283 0.005 204.703 0.005 309.83 0.005zM581.233 546.86c0-32.511 0.496-62.193-0.491-91.829-0.164-4.881-6.637-13.518-10.485-13.682-27.68-1.187-55.439-0.635-83.156-0.635V546.86h94.132z m-0.026-249.724H486.77v105.423c28.305 0 55.296 0.558 82.21-0.578 4.241-0.179 11.527-7.93 11.68-12.377 1.04-30.337 0.548-60.72 0.548-92.468z m43.006-1.786v107.276c28.055 0 54.334 0.711 80.506-0.67 4.59-0.24 12.208-9.057 12.474-14.22 1.3-25.511 1.453-51.177-0.077-76.658-0.332-5.51-9-14.69-14.28-15.017-25.333-1.586-50.824-0.711-78.623-0.711z m-0.379 251.172h93.876c0-31.795 0.614-62.126-0.635-92.381-0.194-4.749-8.672-12.838-13.636-13.094-26.008-1.325-52.118-0.619-79.6-0.619-0.005 36.794-0.005 70.405-0.005 106.094zM417.925 473.814c1.049 39.747 1.346 41.225-35.33 48.563-23.057 4.615-30.025 14.991-29.012 38.027 1.913 43.4 0.665 86.947 0.522 130.429-0.16 47.861-14.158 62.776-61.452 65.135-13.42 0.67-26.898 0.102-41.332 0.102l-6.97-40.237c15.295 0 28.444 0.246 41.584-0.061 16.91-0.394 28.31-8.438 28.526-26.06 0.593-48.414 0.204-96.843 0.204-148.629-25.783 6.263-49.176 11.942-72.437 17.591-10.76-40.304-10.76-40.304 26.77-49.17 46.47-10.981 46.476-10.981 46.47-58.178 0-22.17-0.598-44.356 0.16-66.5 0.516-15.07-4.406-21.951-20.473-20.83-16.01 1.115-32.153 0.245-49.928 0.245v-36.119h69.633V222.28h39.27c0 25.542 1.377 51.683-0.42 77.604-1.55 22.406 5.69 31.734 28.557 28.628 9.931-1.35 20.2-0.225 32.358-0.225v34.363c-6.146 0.538-11.958 1.413-17.78 1.494-47.013 0.65-42.485-6.646-42.674 44.756-0.087 23.015 0.246 46.03 0.604 69.04 0.036 2.317 1.56 4.615 3.346 9.542a85127.15 85127.15 0 0 0 59.804-13.667z" /></svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1 +0,0 @@
<?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="1583918575961" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="14073" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M0 0h1024v1024H0z" fill="#E57373" p-id="14074"></path><path d="M704 640v256h-64v-256H448V576H320v320H128v-64h128v-192H128V576h128V320H128V256h128V128h64v128h128V192h448v448h-192zM448 320H320v192h128V320z m192-64H512v128h128V256z m0 192H512v128h128V448z m192-192h-128v128h128V256z m0 192h-128v128h128V448z" fill="#FFFFFF" p-id="14075"></path></svg>

Before

Width:  |  Height:  |  Size: 723 B

BIN
images/yewu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

BIN
images/zhengshuSearch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
images/ziyuan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

BIN
images/ziyuan1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
images/zizhukaoshi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,11 +1,20 @@
<!--pages/admin/login.wxml-->
<view class="page">
<view class="page__hd" >
<view class="page__title" style="text-align:center">中科辐射学堂</view>
<view class="page__desc" style="text-align:center">管理员登录</view>
<view class="page__title loginText" style="">中科辐射学堂</view>
<view class="page__desc loginText" style="text-align:center">管理员登录</view>
</view>
<view class="page__bd">
<view class="weui-cells weui-cells_after-title">
<view class="page__bd loginFormWrap">
<view class="weui-flex loginItem">
<view class="loginLabel" style="flex-shrink:0">账号</view>
<input class="weui-input" placeholder="请输入登录账号" placeholder-class="placeholderStyle"
bindinput="usernameChange" />
</view>
<view class="weui-flex loginItem">
<view class="loginLabel" style="flex-shrink:0">密码</view>
<input class="weui-input" placeholder-class="placeholderStyle" placeholder="请输入密码" bindinput="passwordChange" />
</view>
<!-- <view class="weui-cells weui-cells_after-title loginItem">
<view class="weui-cell weui-cell_input">
<view class="weui-cell__hd">
<view class="weui-label">账号</view>
@ -22,12 +31,13 @@
<input class="weui-input" placeholder="请输入密码" bindinput="passwordChange" type="password"/>
</view>
</view>
</view>
</view> -->
</view>
<button class="weui-btn" type="primary" bindtap="denglu">登陆</button>
<!-- <button class="weui-btn" type="primary" bindtap="denglu" style="border-radius: 50rpx;background: #438afc;font-weight: 500;">登陆</button> -->
<a class="weui-btn viewBtn" bindtap="denglu">登陆</a>
</view>
<view class="weui-footer weui-footer_fixed-bottom">
<!-- <view class="weui-footer__text" bindtap="intro">点击下载系统/小程序文档介绍</view> -->
<view class="weui-footer__text">Copyright © 2018-2021 国检集团</view>
<view class="weui-footer__text">中存大数据提供技术支持</view>
</view>

View File

@ -1 +1,37 @@
/* pages/admin/login.wxss */
/* pages/admin/login.wxss */
.page{
background: linear-gradient(to bottom, #438af4 10%, #438af4 40%, #94c0e6);
}
.loginText{
color: #ffffff;
text-align:center;
}
.loginFormWrap{
width: 80%;
margin: auto;
border-radius: 20rpx;
background: none;
}
.loginItem{
background: none;
}
.viewBtn{
background-color: #ffffff!important;
border-radius: 50rpx;
font-weight: 500;
color: #438af4;
}
.loginItem{
margin-bottom: 20rpx;
border-bottom: 2rpx solid #ffffff;
padding: 20rpx;
background: rgba(255,255,255,.1);
border-radius: 46rpx;
}
.loginLabel{
width: 150rpx;
color: #ffffff;
}
.placeholderStyle{
color:#efefef
}

View File

@ -6,7 +6,10 @@ Page({
* 页面的初始数据
*/
data: {
results: [],
results: [
// {id:1,title:"开发需求",is_top:true,ifrom:"第一条咨询",update_time:"2022-10-01"}
],
count:0,
query: {
page: 1,
limit: 10
@ -18,7 +21,8 @@ Page({
*/
onLoad: function () {
var that = this
that.getList(that.data.query)
wx.stopPullDownRefresh();
// that.getList(that.data.query)
},
/**
@ -50,6 +54,7 @@ Page({
})
})
},
/**
* 生命周期函数--监听页面隐藏

View File

@ -1,5 +1,6 @@
{
"usingComponents": {},
"enablePullDownRefresh": true,
"onReachBottomDistance": 50
"onReachBottomDistance": 50,
"navigationBarTitleText": "新闻资讯"
}

View File

@ -1,7 +1,6 @@
<view class="head">
{{count}}条资讯</view>
<view class="page">
<view class="head">{{count}}条资讯</view>
<view class="weui-cells weui-cells_after-title" style="margin-top:0px">
<block wx:for="{{results}}" wx:key="unique">
<navigator url="detail?id={{item.id}}" class="weui-media-box weui-media-box_appmsg" hover-class="weui-cell_active">
@ -13,9 +12,7 @@
<span>{{item.ifrom}} {{item.update_time}}</span>
</view>
</view>
<!-- <view class="weui-panel__ft weui-cell__ft_in-access">
</view> -->
</navigator>
</block>
</view>
</view>
</view>

View File

@ -1,5 +1,5 @@
.head{
color:#fff;
background-color: cornflowerblue;
background-color: #438af4;
text-align: center;
}

View File

@ -1,39 +1,41 @@
<view class="weui-cells__title">查询信息</view>
<view class="weui-cells weui-cells_after-title">
<view class="weui-cell">
<view class="weui-cell__hd"><label class="weui-label">真实姓名</label></view>
<view class="weui-cell__bd">
<input class="weui-input" placeholder="填写真实姓名" placeholder-class="weui-input__placeholder" bindinput="bindinput1"
value="{{realname}}" />
</view>
</view>
<view class="weui-cell">
<view class="weui-cell__hd"><label class="weui-label">身份证号</label></view>
<view class="weui-cell__bd">
<input class="weui-input" type="idcard" placeholder="填写身份证号" placeholder-class="weui-input__placeholder"
bindinput="bindinput2" value="{{ID_number}}" />
</view>
</view>
</view>
<view style="text-align:center;margin-top:4px;">
<button bindtap="search" type="primary">查询</button>
</view>
<view class="weui-cells__title">查询结果</view>
<view wx:if="{{candidates.length}}">
<block wx:for="{{candidates}}" wx:key="unique">
<view class="weui-cell" data-url="{{item.img}}" bindlongpress="copyUrl">
<view class="page" style="padding: 20rpx 30rpx;box-sizing: border-box;">
<view class="weui-cells__title">查询信息</view>
<view class="weui-cells weui-cells_after-title">
<view class="weui-cell">
<view class="weui-cell__hd"><label class="weui-label">真实姓名</label></view>
<view class="weui-cell__bd">
<view class="weui-media-box__title">
单号:{{item.report_number}}</view>
<view class="weui-media-box__desc">
<view style="color:darkblue">发证日期:{{item.issue_date}}</view>
<input class="weui-input" placeholder="填写真实姓名" placeholder-class="weui-input__placeholder" bindinput="bindinput1"
value="{{realname}}" />
</view>
</view>
<view class="weui-cell">
<view class="weui-cell__hd"><label class="weui-label">身份证号</label></view>
<view class="weui-cell__bd">
<input class="weui-input" type="idcard" placeholder="填写身份证号" placeholder-class="weui-input__placeholder"
bindinput="bindinput2" value="{{ID_number}}" />
</view>
</view>
</view>
<view style="text-align:center;margin-top:4px;">
<view class="searchBtn" bindtap="search">查询</view>
</view>
<view class="weui-cells__title">查询结果</view>
<view wx:if="{{candidates.length}}">
<block wx:for="{{candidates}}" wx:key="unique">
<view class="weui-cell" data-url="{{item.img}}" bindlongpress="copyUrl">
<view class="weui-cell__bd">
<view class="weui-media-box__title">
单号:{{item.report_number}}</view>
<view class="weui-media-box__desc">
<view style="color:darkblue">发证日期:{{item.issue_date}}</view>
</view>
</view>
<view class="weui-cell__ft">
<view style="color:green">通过考核</view>
<view >长按复制地址去浏览器打开</view>
</view>
</view>
<view class="weui-cell__ft">
<view style="color:green">通过考核</view>
<view >长按复制地址去浏览器打开</view>
</view>
</view>
</block>
</view>
<view wx:else style="text-align:center">暂无证书信息</view>
</block>
</view>
<view class="noCertificate" wx:else>暂无证书信息</view>
</view>

View File

@ -1 +1,16 @@
/* pages/candidate/index.wxss */
/* pages/candidate/index.wxss */
.searchBtn{
width: 300rpx;
height: 100rpx;
line-height: 100rpx;
margin: 100rpx auto;
text-align: center;
color: #ffffff;
font-size: 36rpx;
border-radius: 40rpx;
background-color:#438af4 ;
}
.noCertificate{
color: #666666;
text-align:center;
}

View File

@ -1,7 +1,7 @@
<view class="page__bd">
<a class="weui-btn weui-btn_primary" bindtap="scanC">扫一扫证书二维码</a>
<view class="weui-panel weui-panel_access">
<view class="weui-panel__bd" wx:if="{{results.length}}">
<view class="page__bd page">
<view class="searchBtn" bindtap="scanC">扫一扫证书二维码</view>
<view class="weui-panel weui-panel_access" wx:if="{{results.length}}">
<view class="weui-panel__bd" >
<navigator class="weui-media-box weui-media-box_text" wx:for="{{results}}" wx:key="unique" url="/pages/candidate/detail?id={{item.id}}">
<h4 class="weui-media-box__title">
<text style="color:blue;">{{item.consumer_name}}</text>
@ -18,12 +18,6 @@
</view>
</navigator>
</view>
<view wx:else style="text-align:center">暂无证书信息</view>
<!-- <view class="weui-panel__ft">
<a class="weui-cell weui-cell_active weui-cell_access weui-cell_link">
<view class="weui-cell__bd">查看更多</view>
<text class="weui-cell__ft"></text>
</a>
</view> -->
</view>
</view>
<view wx:else class="noCertificate">暂无证书信息</view>
</view>

View File

@ -1 +1,14 @@
/* pages/candidate/my.wxss */
/* pages/candidate/my.wxss */
.searchBtn{
width: fit-content;
padding: 20rpx 50rpx;
margin: 100rpx auto;
text-align: center;
color: #ffffff;
border-radius: 20rpx;
background-color:#438af4 ;
}
.noCertificate{
color: #666666;
text-align:center;
}

View File

@ -1,4 +1,4 @@
<view class="page-body">
<view class="page-body page">
<view class="page-section page-section-gap">
<web-view src="{{url}}"></web-view>
</view>

View File

@ -1,4 +1,5 @@
<view class="head">
<view class="page">
<view class="head">
题量: {{tm_index+1}}/{{tmtotal}}
</view>
<scroll-view scroll-y="true" style="height: {{scrollHeight}}px;">
@ -49,14 +50,14 @@
<view class="weui-article__h2" wx:if="{{is_right}}" style="color:green;font-weight:bold">回答正确!</view>
<view class="weui-article__h2" wx:else style="color:red;font-weight:bold">回答有误!</view>
<view class="weui-article__h2">正确答案是{{tm_current.right}},你的答案是{{tm_current.user_answer}}</view>
<view class="weui-article__title">
<span style="color:blue">解析: </span>
<view class="weui-article__title" style="font-size: 30rpx;">
<span style="color:#438af4;font-weight: bold;font-size: 34rpx;">解析: </span>
<span wx:if="{{tm_current.resolution}}">{{tm_current.resolution}}</span>
<span wx:else>无</span>
</view>
</view>
</scroll-view>
<view class="btns">
<view class="btns footerBtns">
<view style="width:25%">
<button type="primary" size="mini" bindtap="previous" disabled="{{tm_index==0}}">上题</button>
</view>
@ -69,4 +70,5 @@
<view style="width:25%">
<button type="primary" size="mini" bindtap="remove">移除</button>
</view>
</view>
</view>
</view>

View File

@ -2,7 +2,7 @@
width:100%;
height:30px;
color:#fff;
background-color: cornflowerblue;
background-color: #438af4;
text-align: center;
}
.btns{
@ -12,10 +12,20 @@
flex-wrap: wrap;
text-align:center;
}
.footerBtns{
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #f7f7f7;
border-top: 1rpx solid #f1f1f1;
}
.txlabel{
color:#fff;
background-color: rgb(216, 140, 0);
background-color: #438af4;
border-radius: 2px;
padding: 1px 4px;
font-weight: 500;
font-size: 30rpx;
padding: 5rpx 10rpx;
}

View File

@ -13,6 +13,7 @@ Page({
answerP:false,
tmtotal:0,
moShi:'看题模式',
isTest:true,
domain:getApp().globalData.mediahost,
},
radioChange: function (e) {
@ -70,30 +71,6 @@ Page({
}
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
try {
wx.setStorageSync('ctms', this.data.ctms)
@ -114,13 +91,6 @@ Page({
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
},
showTm: function (index) {
var that = this
var currentTm = that.data.ctms[index]
@ -130,7 +100,7 @@ Page({
'currentTm': currentTm
})
that.showOptions()
if (currentTm.user_answer && that.data.moShi=='看题模式') {
if (currentTm.user_answer && !that.data.isTest) {
that.showAnswer()
}
},
@ -144,7 +114,6 @@ Page({
isright = true
}
}
} else {
isright = currentTm.right == currentTm.user_answer
}
@ -158,17 +127,35 @@ Page({
currentTm: this.data.currentTm
})
},
changeM: function () {
var that = this;
if(that.data.isTest){
that.setData({
isTest:false,
})
that.showOptions()
}else{
that.setData({
isTest:true,
answerP:false
})
}
},
next: function () {
var that = this
var tm_index = that.data.tm_index + 1
that.showTm(tm_index)
that.showAnswerP()
that.setData({
answerP:false
})
},
previous: function () {
var that = this
var tm_index = that.data.tm_index - 1
that.showTm(tm_index)
that.showAnswerP()
that.setData({
answerP:false
})
},
showOptions: function () {
let currentTm = this.data.currentTm
@ -203,31 +190,5 @@ Page({
wx.navigateBack({
})
}
},
changeM: function () {
var that = this
if(that.data.moShi=='看题模式'){
that.setData({
moShi:'背题模式',
answerP:false
})
that.showOptions()
}else{
that.setData({
moShi: '看题模式'
})
}
},
showAnswerP:function(){
var that = this
if (that.data.moShi == '背题模式') {
that.setData({
answerP:false
})
}else{
that.setData({
answerP: true
})
}
}
})

View File

@ -1,4 +1,4 @@
<view class="head">
<!-- <view class="head">
<view style="width:50%">
<span style="margin-left:10px">题量: {{tm_index+1}}/{{tmtotal}}</span>
</view>
@ -6,6 +6,16 @@
<span style="margin-right:10px"><span style="font-weight:bold;">{{moShi}}</span>
(点击切换)</span>
</view>
</view> -->
<view class="page">
<view class="head">
<view class="typeBtns">
<view class="typeBtn typeBtn1 {{isTest ? 'datiBtn' : 'beitiBtn'}}" bindtap="changeM">背题模式</view>
<view class="typeBtn {{!isTest ? 'datiBtn' : 'beitiBtn'}}" bindtap="changeM">看题模式</view>
</view>
<view style="position: absolute;bottom: 10rpx;right: 20rpx;" bindtap="showCard">
<span style="margin-left:10px" bindtap="showCard">{{tm_index+1}} / {{tmtotal}}</span>
</view>
</view>
<scroll-view scroll-y="true" style="height: {{scrollHeight}}px;">
<view class="weui-article">
@ -47,18 +57,18 @@
</label>
</checkbox-group>
</view>
<view class="weui-article" wx:if="{{answerP}}">
<view class="weui-article" wx:if="{{answerP||!isTest}}">
<view class="weui-article__h2" wx:if="{{isright}}" style="color:green;font-weight:bold">回答正确!</view>
<view class="weui-article__h2" wx:else style="color:red;font-weight:bold">回答有误!</view>
<view class="weui-article__h2">正确答案是{{currentTm.right}},你的答案是{{currentTm.user_answer}}</view>
<view class="weui-article__title">
<span style="color:blue">解析: </span>
<span wx:if="{{currentTm.resolution}}">{{currentTm.resolution}}</span>
<span wx:else>无</span>
<view class="weui-article__title" style="font-size: 30rpx;">
<span style="color:#438af4;font-weight: bold;font-size: 34rpx;">解析: </span>
<span wx:if="{{tm_current.question.resolution}}">{{tm_current.question.resolution}}</span>
<span wx:else>解析</span>
</view>
</view>
</scroll-view>
<view class="btns">
<view class="btns footerBtns">
<view style="width:25%">
<button type="primary" size="mini" bindtap="previous" disabled="{{tm_index==0}}">上题</button>
</view>
@ -71,4 +81,5 @@
<view style="width:25%">
<button type="primary" size="mini" bindtap="remove">移除</button>
</view>
</view>
</view>
</view>

View File

@ -16,8 +16,58 @@
}
.txlabel{
color:#fff;
background-color: rgb(216, 140, 0);
background-color: #438af4;
border-radius: 2px;
padding: 1px 4px;
font-weight: 500;
font-size: 30rpx;
padding: 5rpx 10rpx;
}
/* 样式二 */
.page{
padding-top: 60rpx;
padding-bottom: 90rpx;
}
.head{
top: 0;
left: 0;
z-index: 10;
width: 100%;
position: fixed;
padding-bottom: 20rpx;
background-color:#438af4
}
.typeBtns{
margin: auto;
display: flex;
}
.typeBtn{
height: 60rpx;
line-height: 60rpx;
padding: 0 15rpx;
border-radius: 0 6rpx 6rpx 0 ;
border: 1rpx solid #ffffff;
}
.typeBtn1{
border-radius: 6rpx 0 0 6rpx;
}
.datiBtn{
color: #438af4;
background: #ffffff;
}
.beitiBtn{
color: #ffffff;
}
.footerBtns{
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #f7f7f7;
border-top: 1rpx solid #f1f1f1;
}
.checkKey{
width: 70rpx; text-align: center; line-height: 70rpx;height: 70rpx;border-radius: 38rpx;border: 1rpx solid #aaaaaa;
}

View File

@ -6,11 +6,12 @@ Page({
* 页面的初始数据
*/
data: {
userInfo:{},
form:{
deptname:null,
code:null
}
if_checked:false,
userInfo:{},
form:{
deptname:null,
code:null
}
},
idinput: function(e){
@ -103,7 +104,18 @@ Page({
)
}).catch(e=>{wx.hideLoading()})
},
checkedChange(e){
let if_checked = !this.data.if_checked;
this.setData({
if_checked:if_checked
})
},
clickSure(){
wx.showToast({
icon: 'none',
title: '请先阅读并同意协议',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/

View File

@ -1,11 +1,13 @@
<view >
<view class="weui-form__text-area" style="margin-top:20px;padding: 0 18px;">
<view style="padding: 20rpx;box-sizing: border-box;">
<view class="weui-form__text-area">
<h2 class="weui-form__title">正式考试</h2>
<view class="weui-form__desc">请确认和完善个人信息,并输入考试号加入考试,如有问题请及时联系老师</view>
<view class="weui-form__desc some_info">
<text style="color: red;">*</text>
请确认和完善个人信息,并输入考试号加入考试,如有问题请及时联系老师
</view>
</view>
<view>
<view class="weui-cells__title">基本信息</view>
<view class="weui-cells__title">报考信息</view>
<view class="weui-cells weui-cells_form">
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">姓名</label></view>
@ -13,7 +15,6 @@
<input class="weui-input" bindinput="nameinput" placeholder="填写您的姓名"
placeholder-class="weui-input__placeholder"
value="{{form.name}}">
</input>
</view>
</view>
@ -22,7 +23,6 @@
<view class="weui-cell__bd">
<input class="weui-input" bindinput="idinput" placeholder="填写您的身份证号" placeholder-class="weui-input__placeholder"
value="{{form.ID_number}}">
</input>
</view>
</view>
@ -33,9 +33,7 @@
<view class="weui-cell__bd">
<input class="weui-input" placeholder="填写您的单位" placeholder-class="weui-input__placeholder"
bindinput="companyinput" value="{{form.company_name}}">
</input>
</view>
</view>
<view class="weui-cells__title">补充信息</view>
@ -44,7 +42,6 @@
<label class="weui-label">部门</label>
</view>
<view class="weui-cell__bd">
<!-- <span wx:if="{{userinfo.deptname}}">{{userinfo.deptname}}</span> -->
<input class="weui-input" placeholder="填写您的部门" placeholder-class="weui-input__placeholder" bindinput="deptinput" value="{{form.deptname}}">
</input>
</view>
@ -55,18 +52,38 @@
</view>
<view class="weui-cell__bd">
<input class="weui-input" placeholder="填写要加入的考试号" placeholder-class="weui-input__placeholder" bindinput="codeinput" >
</input>
</view>
</view>
</view>
</view>
<view class="weui-form__tips-area">
<!-- <view class="weui-form__tips">
表单页提示,居中对齐
</view> -->
</view>
<view class="weui-form__opr-area">
<a class="weui-btn weui-btn_primary" bindtap="submit">确认</a>
</view>
<view wx:if="{{if_checked}}" class="ok_btn" bindtap="submit">确认</view>
<view wx:else class="ok_btn" bindtap="clickSure">确认</view>
<view class="weui-footer weui-footer_fixed-bottom">
<view style="display: flex;justify-content: center;">
<view class="ceheckedIcon" bindtap="checkedChange">
<icon wx:if="{{if_checked}}" class="icon-small" type="success_no_circle" size="16"></icon>
</view>
我已阅读并同意
<navigator url="/pages/protocol/index">
<view>《用户服务协议》</view>
</navigator>和
<navigator url="/pages/protocol/Privacy">
<view>《隐私政策》</view>
</navigator>
</view>
</view>
<!-- <view class="examLists">
<view class="examItem">
<view class="leftDept">
<view class="examName">试题名称</view>
<view class="examInfo">试题描述</view>
<view class="examInfo">试题类型题目数量</view>
<view class="examInfo">有效日期</view>
</view>
<view class="rightDept">
<view>参与考试</view>
</view>
</view>
</view> -->
</view>

View File

@ -1 +1,56 @@
/* pages/exam/index.wxss */
/* pages/exam/index.wxss */
.some_info{
font-size: 30rpx;
color: #666666;
}
.ok_btn{
width: 300rpx;
height: 100rpx;
line-height: 100rpx;
margin: 50rpx auto;
text-align: center;
color: #ffffff;
border-radius: 40rpx;
font-size: 36rpx;
background-color:#438af4 ;
}
/* */
.examLists{
padding: 20rpx;
}
.examItem{
position: relative;
border-bottom: 1rpx solid #dddddd;
}
.leftDept{
display: flex;
flex-direction: column;
}
.examName{
font-size: 36rpx;
color: #333333;
}
.examInfo{
font-size: 30rpx;
color: #999999;
}
.rightDept{
position: absolute;
right: 20rpx;
top: 20rpx;
color: orange;
border: 1rpx solid orange;
padding: 2rpx 10rpx;
font-size: 28rpx;
border-radius: 30rpx;
}
.ceheckedIcon{
width:40rpx;
height: 40rpx;
border-radius: 16rpx;
margin-right: 20rpx;
border: 1rpx solid #cccccc;
}

20
pages/exam/total.js Normal file
View File

@ -0,0 +1,20 @@
// pages/exam/total.js
const api = require("../../utils/request.js");
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
api.request('/examtest/examtest/fx/', 'GET').then(res => {
this.setData(res.data)
})
},
})

4
pages/exam/total.json Normal file
View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"navigationBarTitleText": "考试统计"
}

11
pages/exam/total.wxml Normal file
View File

@ -0,0 +1,11 @@
<view style="padding: 20rpx;color: #333333;">
<!-- 统计 -->
<view style="padding: 20rpx;line-height: 80rpx;font-size: 36rpx;color: #333333;">
<view>考试次数:{{total}}(次)</view>
<view>通过率:{{pass_rate}}%</view>
<view>平均分:{{avg_score}}</view>
</view>
<!-- 列表 -->
<view>
</view>
</view>

0
pages/exam/total.wxss Normal file
View File

View File

@ -6,7 +6,7 @@ Page({
* 页面的初始数据
*/
data: {
questioncatData: [],
questioncatData: [{}],
isLoad: true,
workscopeName:''
},
@ -130,8 +130,10 @@ Page({
},
startLianxi: function (e) {
debugger;
console.log(e.target.dataset.id)
wx.navigateTo({
url: 'main?questioncat=' + e.currentTarget.id,
url: 'main?questioncat=' + e.target.dataset.id,
})
},
restartLianxi: function (e) {

View File

@ -1,34 +1,29 @@
<!--pages/lianxi/index.wxml-->
<view class="page">
<view style="height:10px"></view>
<view style="color:steelblue;font-weight:bold;text-align:center">{{workscopeName}}</view>
<block wx:for="{{questioncatData}}" wx:key="unique">
<view class="weui-panel weui-panel_access">
<view style="color:#438af4;font-weight:bold;text-align:center">{{workscopeName}}</view>
<block wx:for="{{questioncatData}}" wx:key="unique">
<view class="weui-panel weui-panel_access">
<view class="weui-panel__bd">
<view class="weui-media-box weui-media-box_appmsg">
<view class="weui-media-box__hd">
<image class="weui-media-box__thumb" src="/images/fushe.svg" alt></image>
<view class="weui-media-box weui-media-box_appmsg">
<view class="weui-media-box__hd" style="width: 80rpx;height: 80rpx;">
<image class="weui-media-box__thumb" src="/images/tiku.png" alt></image>
</view>
<view class="weui-media-box__bd">
<h4 class="weui-media-box__title">{{item.name}}</h4>
<view class="weui-media-box__desc">
已答<span class="blueBold">{{item.ydtmtotal}}</span>
道,共<span class="blueBold">{{item.tmtotal}}</span>道
</view>
<view class="weui-media-box__bd">
<h4 class="weui-media-box__title">{{item.name}}</h4>
<view class="weui-media-box__desc">
已答
<span style="color:darkblue;font-weight:bold">{{item.ydtmtotal}}</span>
道,
<span style="color:darkblue;font-weight:bold">{{item.tmtotal}}</span>
</view>
<view class="weui-media-box__desc">
<a class="weui-btn weui-btn_mini weui-btn_primary" bindtap="startLianxi" id="{{item.id}}" wx:if="{{item.ydtmtotal ==0}}">开始练习</a>
<a class="weui-btn weui-btn_mini weui-btn_primary" bindtap="startLianxi" id="{{item.id}}" wx:else>继续练习</a>
<a class="weui-btn weui-btn_mini weui-btn_warn" bindtap="restartLianxi" id="{{item.id}}" wx:if="{{item.ydtmtotal > 0}}" style="margin-left:4px">重新开始</a>
</view>
<view class="weui-media-box__desc">
<a class=" kaishilianxi" bindtap="startLianxi" data-id="{{item.id}}" wx:if="{{item.ydtmtotal ==0}}">开始练习</a>
<a class=" kaishilianxi" bindtap="startLianxi" data-id="{{item.id}}" wx:else>继续练习</a>
<a class=" kaishilianxi" bindtap="restartLianxi" data-id="{{item.id}}" wx:if="{{item.ydtmtotal ==item.tmtotal}}" style="margin-left:4px">重新开始</a>
</view>
</view>
</view>
</view>
</block>
</view>
</view>
</view>
</block>
</view>

View File

@ -9,6 +9,19 @@
box-shadow: 0px 4rpx 16rpx 0px rgba(140, 160, 181, 0.2);
/* background: linear-gradient(to right, #3399CC 0%, #0066CC 100%); */
}
/* .weui-media-box__title {
color:ghostwhite
} */
.blueBold{
color:#438af4;
font-weight:bold
}
.kaishilianxi{
display: inline-block;
padding: 6rpx 15rpx;
font-size: 28rpx;
border-radius: 40rpx;
border: 1rpx solid #438af4;
color: #438af4;
position: absolute;
top: 50%;
right: 10rpx;
transform: translateY(-50%);
}

View File

@ -17,26 +17,38 @@ Page({
page:1,
domain:getApp().globalData.mediahost,
moShi:'背题模式',
isTest:true,
processCard:false,
},
changeM: function () {
var that = this
if(that.data.moShi=='看题模式'){
var that = this;
if(that.data.isTest){
that.setData({
moShi:'背题模式',
isTest:false,
})
that.showOptions()
}else{
that.setData({
moShi: '看题模式',
isTest:true,
})
}
// if(that.data.moShi=='看题模式'){
// that.setData({
// moShi:'背题模式',
// })
// that.showOptions()
// }else{
// that.setData({
// moShi: '看题模式',
// })
// }
},
radioChange: function(e) {
var that = this
that.data.tm_current['user_answer'] = e.detail.value
that.data.tms[that.data.tm_index] = that.data.tm_current
that.showAnswer()
if (that.data.moShi=='背题模式' && that.data.ydtms.indexOf(that.data.tm_current.id) == -1) {
if (!that.data.isTest && that.data.ydtms.indexOf(that.data.tm_current.id) == -1) {
that.data.ydtms.push(that.data.tm_current.id)
}
},
@ -44,7 +56,7 @@ Page({
var that = this
that.data.tm_current['user_answer'] = e.detail.value
that.data.tms[that.data.tm_index] = that.data.tm_current
if (that.data.moShi=='背题模式' && that.data.ydtms.indexOf(that.data.tm_current.id) == -1) {
if (!that.data.isTest && that.data.ydtms.indexOf(that.data.tm_current.id) == -1) {
that.data.ydtms.push(that.data.tm_current.id)
}
},
@ -52,13 +64,23 @@ Page({
let data = {'questioncat':this.questioncat, 'ydtms':this.ydtms}
},
showCard:function(){
this.setData({
processCard:true
})
},
closeShowCard:function(){
this.setData({
processCard:false
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
wx.hideShareMenu()
var that = this
that.data.questioncat = options.questioncat
that.data.questioncat = options.questioncat//题库id
try {
var value = wx.getStorageSync('cat' + that.data.questioncat.toString())
if (value) {
@ -84,11 +106,13 @@ Page({
getTms: function() {
var that = this
var query = {
limit:10,
page:that.data.page,
questioncat: that.data.questioncat,
ydtms: wx.getStorageSync('cat' + that.data.questioncat.toString()),
ydtms_:that.data.ydtms
}
api.request('/question/question/exercise/?limit=10&page='+that.data.page, 'POST', query).then(res => {
api.request('/question/question/exercise/', 'POST', query).then(res => {
if(res.code>=200){
for (var i = 0; i < res.data.results.length; i++) {
if(res.data.results[i].img){
@ -104,30 +128,9 @@ Page({
}
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function() {
try {
wx.setStorageSync('cat' + this.data.questioncat.toString(), this.data.ydtms)
@ -136,28 +139,14 @@ Page({
wx.setStorageSync('ctms', this.data.ctms)
} catch (e) {}
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
/** * 页面相关事件处理函数--监听用户下拉动作 */
onPullDownRefresh: function() {
},
/**
* 页面上拉触底事件的处理函数
*/
/** 页面上拉触底事件的处理函数 */
onReachBottom: function() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function() {
},
showTm: function(index) {
var that = this
if(index<that.data.tms.length){

View File

@ -1,5 +1,5 @@
<view class="page">
<view class="head">
<!-- <view class="head">
<view style="width:50%">
<span style="margin-left:10px">题量: {{tm_index+1}}/{{tmtotal}}</span>
</view>
@ -7,32 +7,42 @@
<span style="margin-right:10px"><span style="font-weight:bold;">{{moShi}}</span>
(点击切换)</span>
</view>
</view> -->
<view class="head">
<view class="typeBtns">
<view class="typeBtn typeBtn1 {{isTest ? 'datiBtn' : 'beitiBtn'}}" bindtap="changeM">背题模式</view>
<view class="typeBtn {{!isTest ? 'datiBtn' : 'beitiBtn'}}" bindtap="changeM">看题模式</view>
</view>
<view style="position: absolute;bottom: 10rpx;right: 20rpx;" bindtap="showCard">
<span style="margin-left:10px" bindtap="showCard">{{tm_index+1}} / {{tmtotal}}</span>
</view>
</view>
<scroll-view scroll-y="true" style="height: {{scrollHeight}}px;">
<view class="weui-article">
<view class="weui-article__h2">{{tm_index+1}}.
<span class="txlabel">{{tm_current.type}}</span>
<span class="txlabel">{{tm_current.type}}</span>
</view>
<view class="weui-article__title">
<mp-html content="{{tm_current.name}}" />
</view>
<view wx:if="{{tm_current.img}}" style="text-align:center"><image src="{{tm_current.img}}" mode="aspectFit"></image></view>
</view>
<!-- 单选 判断 -->
<view class="weui-cells weui-cells_radio">
<radio-group class="radio-group" bindchange="radioChange" wx:if="{{(tm_current.type=='单选' ||tm_current.type=='判断')}}">
<label class="weui-cell weui-cell_active weui-check__label" wx:for="{{options}}" wx:key="key">
<view class="weui-cell__bd" >
<view style="font-weight:bold;color:green" wx:if="{{ moShi == '看题模式' && item.right}}">
<view style="float:left;width:10%">{{item.key}}:</view>
<view style="float:left;width:90%">
<mp-html content="{{item.value}}" />
</view>
<view style="font-weight:bold;color:green" wx:if="{{ !isTest && item.right}}">
<view style="float:left;width:10%">{{item.key}}</view>
<view style="float:left;width:90%">
<mp-html content="{{item.value}}" />
</view>
</view>
<view wx:else>
<view style="float:left;width:10%">{{item.key}}:</view>
<view style="float:left;width:90%">
<mp-html content="{{item.value}}" />
</view>
<view style="float:left;width:10%">{{item.key}}:</view>
<view style="float:left;width:90%">
<mp-html content="{{item.value}}" />
</view>
</view>
</view>
<view class="weui-cell__ft">
@ -42,22 +52,22 @@
</label>
</radio-group>
</view>
<!-- 多选 -->
<view class="weui-cells weui-cells_checkbox">
<checkbox-group bindchange="checkboxChange" wx:if="{{tm_current.type=='多选'}}">
<label class="weui-cell weui-cell_active weui-check__label" wx:for="{{options}}" wx:key="key">
<view class="weui-cell__bd" >
<view style="font-weight:bold;color:green" wx:if="{{ moShi == '看题模式' && item.right}}">
<view style="float:left;width:10%">{{item.key}}:</view>
<view style="float:left;width:90%">
<mp-html content="{{item.value}}" domain="{{domain}}"/>
</view>
<view style="font-weight:bold;color:green" wx:if="{{ !isTest && item.right}}">
<view style="float:left;width:10%">{{item.key}}.</view>
<view style="float:left;width:90%">
<mp-html content="{{item.value}}" domain="{{domain}}"/>
</view>
</view>
<view wx:else>
<view style="float:left;width:10%">{{item.key}}:</view>
<view style="float:left;width:90%">
<mp-html content="{{item.value}}" domain="{{domain}}"/>
</view>
<view style="float:left;width:10%">{{item.key}}.</view>
<view style="float:left;width:90%">
<mp-html content="{{item.value}}" domain="{{domain}}"/>
</view>
</view>
</view>
<view class="weui-cell__hd">
@ -67,18 +77,20 @@
</label>
</checkbox-group>
</view>
<view class="weui-article" wx:if="{{answerP||moShi=='看题模式'}}">
<view class="weui-article__h2" wx:if="{{isright}}" style="color:green;font-weight:bold">回答正确!</view>
<view class="weui-article__h2" wx:else style="color:red;font-weight:bold">回答有误!</view>
<view class="weui-article__h2">正确答案是 {{tm_current.right}},你的答案是 {{tm_current.user_answer}}</view>
<view class="weui-article__title">
<span style="color:blue">解析: </span>
<span wx:if="{{tm_current.resolution}}">{{tm_current.resolution}}</span>
<span wx:else>无</span>
<view class="weui-article" wx:if="{{answerP||!isTest}}">
<view class="weui-article__h2" wx:if="{{isright&&isTest}}" style="color:green;font-weight:bold">回答正确!</view>
<view class="weui-article__h2" wx:if="{{!isright&&isTest}}" style="color:red;font-weight:bold">回答有误!</view>
<view class="weui-article__h2">正确答案: {{tm_current.right}}
<text wx:if="{{isTest}}">,你的答案:{{tm_current.user_answer}}</text>
</view>
<view class="weui-article__title" style="font-size: 30rpx;">
<span style="color:#438af4;font-weight: bold;font-size: 34rpx;">解析: </span>
<span wx:if="{{tm_current.question.resolution}}">{{tm_current.question.resolution}}</span>
<span wx:else>暂无解析</span>
</view>
</view>
</scroll-view>
<view class="btns">
<view class="btns footerBtns">
<view style="width:25%">
<button type="primary" size="mini" bindtap="previous" disabled="{{tm_index==0}}">上题</button>
</view>
@ -89,9 +101,17 @@
<button type="primary" size="mini" bindtap="showAnswer">答案</button>
</view>
<view style="width:25%">
<image style="height: 80%;" src="/images/yishoucang.svg" bindtap="shoucang" wx:if="{{tm_current.is_collect}}"></image>
<image style="height: 80%;" src="/images/weishoucang.svg" bindtap="shoucang" wx:else></image>
<image style="width: 60rpx;margin-top: 10rpx;" mode="widthFix" src="/images/shoucang.png" bindtap="shoucang" wx:if="{{tm_current.is_collect}}"></image>
<image style="width:60rpx;margin-top: 10rpx;" mode="widthFix" src="/images/shoucang1.png" bindtap="shoucang" wx:else></image>
</view>
</view>
</view>
</view>
<mp-halfScreenDialog wx:if="{{processCard}}" title="答题卡">
<view slot="desc" style="width: 100%;height: 431px;position: fixed;bottom: 0;left: 0;background: #ffffff;z-index: 100;border-top: 1rpx solid #dddddd;border-radius: 20rpx; padding: 20rpx;box-sizing: border-box;">
<view style="text-align: center;" bindtap="closeShowCard">答题卡</view>
<view>
<view class=""></view>
</view>
ddddddddddddd
</view>
</mp-halfScreenDialog>

View File

@ -18,11 +18,64 @@
}
.txlabel{
color:#fff;
background-color: rgb(216, 140, 0);
background-color:#438af4;
border-radius: 2px;
padding: 1px 4px;
padding: 6rpx 16rpx;
font-weight: 500;
font-size: 30rpx;
}
.weui-article{
background-color: white;
padding: 24px 16px;
}
/* 样式二 */
.page{
padding-top: 60rpx;
padding-bottom: 90rpx;
}
.head{
top: 0;
left: 0;
z-index: 10;
width: 100%;
position: fixed;
padding-bottom: 20rpx;
background-color:#438af4
}
.typeBtns{
margin: auto;
display: flex;
}
.typeBtn{
height: 60rpx;
line-height: 60rpx;
padding: 0 15rpx;
border-radius: 0 6rpx 6rpx 0 ;
border: 1rpx solid #ffffff;
}
.typeBtn1{
border-radius: 6rpx 0 0 6rpx;
}
.datiBtn{
color: #438af4;
background: #ffffff;
}
.beitiBtn{
color: #ffffff;
}
.footerBtns{
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #f7f7f7;
border-top: 1rpx solid #f1f1f1;
}
.checkKey{
width: 70rpx; text-align: center; line-height: 70rpx;height: 70rpx;border-radius: 38rpx;border: 1rpx solid #aaaaaa;
}

View File

@ -5,6 +5,7 @@ const api = require("../../utils/request.js");
Page({
data: {
userInfo: {},
if_checked:false,
hasUserInfo: false,
canIUse: wx.canIUse('button.open-type.getUserInfo'),
countDown:40,
@ -15,18 +16,6 @@ Page({
avatar:0
}
},
//事件处理函数
bindViewTap: function () {
wx.navigateTo({
url: '../logs/logs'
})
},
phoneChange: function (e) {
this.data.form.phone = e.detail.value
},
codeChange: function (e) {
this.data.form.code = e.detail.value
},
onLoad: function () {
wx.hideHomeButton()
if (app.globalData.userInfo) {
@ -56,62 +45,12 @@ Page({
})
}
},
getUserInfo: function (e) {
app.globalData.userInfo = e.detail.userInfo
this.setData({
userInfo: e.detail.userInfo,
hasUserInfo: true
})
},
sendMsg : function (){
var that = this
if(that.isPhone(that.data.form.phone)){
api.request('/crm/consumer/sendcode', 'GET', { phone: that.data.form.phone }).then(res => {
wx.showToast({
title: '验证码发送成功!注意查收',
icon: 'none'
})
getApp().globalData.timer = setInterval(function () {
that.startPass()
}, 1000)
})
}else{
wx.showToast({
title: '请输入正确的手机号!',
icon: 'none'
})
}
},
onGetInfo : function (e){
var that = this
if(e.detail.userInfo){
this.setData({
userInfo: e.detail.userInfo
})
that.data.form.nickname = e.detail.userInfo.nickName
that.data.form.avatar = e.detail.userInfo.avatarUrl
}
if(that.isPhone(that.data.form.phone)){
that.denglu(that.data.form)
}else{
wx.showToast({
title: '请输入正确的手机号!',
icon: 'none'
})
}
},
goMain: function (){
wx.reLaunch({
url: '/pages/main/main',
})
},
goadmin: function(){
wx.redirectTo({
url: '/pages/admin/login',
})
},
denglu: function (data) {
api.request('/crm/consumer/register/', 'POST', data).then(res => {
getApp().onLaunch()
@ -120,26 +59,43 @@ Page({
})
})
},
startPass: function(){
var that = this
var mil = that.data.countDown
if (mil < 2) {
that.setData({
countDown:40
})
clearInterval(getApp().globalData.timer)
}else{
this.setData({
countDown: mil-1,
});
}
checkedChange(e){
let if_checked = !this.data.if_checked;
this.setData({
if_checked:if_checked
})
},
getPhoneNumber: function(e){
if(e.detail.encryptedData){
let form = {
encryptedData: e.detail.encryptedData,
iv: e.detail.iv,
sessionKey:getApp().globalData.session_key
}
api.request('/crm/consumer/wxphoneregister/', 'POST', form).then(res => {
getApp().onLaunch()
wx.login({
success: res => {
api.request('/crm/consumer/mplogin/','POST', {code:res.code}).then(res=>{
if(res.code==200){
wx.setStorageSync('token', res.data.token)
wx.setStorageSync('session_key', res.data.session_key)
wx.setStorageSync('userinfo', res.data.userinfo)
wx.switchTab({
url: '/pages/main/main',
})
}
})
}
})
})
}
},
clickdenglu(){
wx.showToast({
icon: 'none',
title: '请先阅读并同意协议',
})
},
isPhone: function(phone){
var phoneReg = /^[1][3,4,5,6,7,8,9][0-9]{9}$/;
if (phoneReg.test(phone)) {
return true;
} else {
return false;
}
}
})

View File

@ -1,9 +1,9 @@
<view class="page">
<view class="page__hd">
<view class="page__hd" style="padding-bottom: 0;">
<view class="page__title">开启学习之旅</view>
<view class="page__desc">为了更好的为您服务,请注册!</view>
</view>
<view class="page__bd">
<!-- <view class="page__bd">
<view class="weui-cells__title">注册</view>
<view class="weui-cells weui-cells_after-title">
<view class="weui-cell weui-cell_vcode">
@ -27,13 +27,24 @@
</view>
</view>
</view>
</view>
<button class="weui-btn" type="primary" open-type="getUserInfo" bindgetuserinfo="onGetInfo">授权并登陆</button>
<a class="weui-btn weui-btn_default" bindtap="goMain">浏览进入</a>
</view> -->
<image class="logoImg" src="./../../images/loginBg.png" mode="widthFix"></image>
<button wx:if="{{if_checked}}" class="weui-btn loginBtn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">手机号登录</button>
<view wx:else class="weui-btn loginBtn" bindtap="clickdenglu">手机号登录</view>
<a class="weui-btn loginBtn loginBtn_visit" bindtap="goMain">浏览进入</a>
</view>
<view class="weui-footer weui-footer_fixed-bottom">
<!-- <view class="weui-footer__text" bindtap="intro">点击下载系统/小程序文档介绍</view> -->
<view style="color:blue" bindtap="goadmin">管理员入口</view>
<view class="weui-footer__text">Copyright © 2018-2021 国检集团</view>
<view class="weui-footer__text">中存大数据提供技术支持</view>
<view style="display: flex;justify-content: center;">
<view class="ceheckedIcon" bindtap="checkedChange">
<icon wx:if="{{if_checked}}" class="icon-small" type="success_no_circle" size="16"></icon>
</view>
我已阅读并同意
<navigator url="/pages/protocol/index">
<view>《用户服务协议》</view>
</navigator>和
<navigator url="/pages/protocol/Privacy">
<view>《隐私政策》</view>
</navigator>
</view>
<view class="weui-footer__text">Copyright © 2020-2022 国检集团</view>
</view>

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