first commit
This commit is contained in:
1
芳林公司项目/zyhelp/common/.pydio
Normal file
1
芳林公司项目/zyhelp/common/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
b27aa540-ffe8-4add-917b-0e795d931d83
|
||||
1
芳林公司项目/zyhelp/common/config/.pydio
Normal file
1
芳林公司项目/zyhelp/common/config/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
c698dd28-a9e3-4ae0-93d8-d1745f927372
|
||||
8667
芳林公司项目/zyhelp/common/config/ImgURL.js
Normal file
8667
芳林公司项目/zyhelp/common/config/ImgURL.js
Normal file
File diff suppressed because it is too large
Load Diff
78
芳林公司项目/zyhelp/common/config/config.js
Executable file
78
芳林公司项目/zyhelp/common/config/config.js
Executable file
@@ -0,0 +1,78 @@
|
||||
export const config = {
|
||||
|
||||
// 测试地址
|
||||
// baseUrl: 'http://www.zyhelp.test/index.php/api',
|
||||
|
||||
// 正式地址
|
||||
baseUrl: 'http://www.zhiyuanhelp.com/index.php/api',
|
||||
|
||||
// 支付回调页面
|
||||
PayResultUrl: 'http://www.zhiyuanhelp.com/#/pages/payResult/payResult',
|
||||
apiList: {
|
||||
appLogin: '/appLogin', // 用户登录
|
||||
sendCode: '/sendCode', // 发送验证码
|
||||
getArea: '/getArea', // 获取省份
|
||||
getSchoolType: '/getSchoolType', //获取院校类型查询
|
||||
provinceSubject: '/provinceSubject', // 根据省份获取高考科目
|
||||
proScoreRank: '/proScoreRank', // 查询分数在省份里面的排名
|
||||
modifyUser: '/modifyUser', // 修改用户信息
|
||||
getSchools: '/getSchools', // 查询学校
|
||||
checkAuth: '/checkAuth', // 用户权限查询
|
||||
getProvinceBatch: '/getProvinceBatch', // 获取省份批次
|
||||
createOrder: '/createOrder', // 用户下单接口
|
||||
payOrder: '/payOrder', // 调用支付接口
|
||||
checkPay: '/checkPay', // 查询支付是否成功
|
||||
myOrders: '/myOrders', // 我的订单
|
||||
getMesType: '/getMesType', // 获取联系客服类型
|
||||
addMessage: '/addMessage', // 添加用户留言
|
||||
addUserCollectSch: '/addUserCollectSch', // 收藏学校
|
||||
myCollectSch: '/myCollectSch', // 获取所有的收藏院校
|
||||
delUserCollect: '/delUserCollect', // 移除我的收藏
|
||||
defaultMajor: '/defaultMajor', // 专业筛选首页默认显示数据
|
||||
getPullDown: '/getPullDown', // 搜索下拉
|
||||
getMajorAbout: '/getMajorAbout', // 根据标题查询专业
|
||||
majorSchool: '/majorSchool', //外省向本省招收专业的学校
|
||||
addUserCollectMajor: '/addUserCollectMajor', //收藏专业
|
||||
myCollectMajor: '/myCollectMajor', // 查询我的收藏专业
|
||||
delUserMajor: '/delUserMajor', // 移除我收藏的专业
|
||||
getSchMajor: '/getSchMajor', // 获取院校专业
|
||||
uploads: '/uploads', // 上传图片接口
|
||||
getSchEnroll: '/getSchEnroll', // 查询学校往年招生情况
|
||||
getUserMes: '/getUserMes', // 查询我的工单
|
||||
getSchCount: '/getSchCount', // 根据条件查询院校数量
|
||||
getMajorSch: '/getMajorSch', // 新高考院校查询
|
||||
getNewMajor: '/getNewMajor', // 新高考专业查询接口
|
||||
getNewMajorCount: '/getNewMajorCount', // 按专业查询数量
|
||||
getNewSchCount: '/getNewSchCount', // 按学校查询数量
|
||||
addUserNewMajor: '/addUserNewMajor', // 新高考专业收藏
|
||||
addUserNewSch: '/addUserNewSch', // 新高考收藏院校
|
||||
myNewSch: '/myNewSch', // 新高考查看收藏的院校
|
||||
myNewMajor: '/myNewMajor', // 新高考查看收藏的专业
|
||||
delNewSch: '/delNewSch', // 移除 新高考收藏院校
|
||||
delNewMajor: '/delNewMajor', // 移除 新高考收藏专业
|
||||
getNewSchMajor: '/getNewSchMajor', // 新高考查询院校的专业(弹窗)
|
||||
newMajorSch: '/newMajorSch', // 新高考专业筛选查学校
|
||||
getScoreGrade: '/getScoreGrade', // 查询收藏表分数段(新高考和普通高考)
|
||||
},
|
||||
AlertText: {
|
||||
// 概率弹窗
|
||||
probability: `由于你没有购买当前分数下所有<b style="color: #1aa3fa;">展示院校数据权限</b>,暂且无法使用筛选功能,请购买后重试!`,
|
||||
// 筛选
|
||||
screen: `由于你仅获当前分数院校<b style="color: #1aa3fa;">测算概率</b>权限,但暂未获得<b style="color: #1aa3fa;">筛选权限</b>,如需筛选院校功能,请购买筛选权限!`,
|
||||
// 专业
|
||||
major: `由于你仅获当前分数院校<b style="color: #1aa3fa;">测算概率</b>权限,但暂未获得<b style="color: #1aa3fa;">查看专业分数权限</b>,如需查阅,请购买该权限!`
|
||||
|
||||
},
|
||||
loginViewPage: [
|
||||
'pages/me/me',
|
||||
'pages/orderStatus/orderStatus',
|
||||
'pages/feedback/feedback',
|
||||
'pages/mySchool/mySchool'
|
||||
], // 需要登录的页面
|
||||
publicKey: `-----BEGIN PUBLIC KEY-----
|
||||
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCN7ijw6NrCLMhOC1pjkL8XdhXX
|
||||
QfXASfU32f1UhvMSuPg05shdGMaQx5l1MmR8MznzA9WBwUQ1yII0ZH28j0LUprGq
|
||||
IUmnSU/8Ujg9GXU+IDZ5+S4tLXMsBoLeizRKt5uugyptuZ6+GXCy+F2NAhD2caH0
|
||||
8itmDTyOr4Hg/itXYwIDAQAB
|
||||
-----END PUBLIC KEY-----`
|
||||
}
|
||||
1
芳林公司项目/zyhelp/common/http/.pydio
Normal file
1
芳林公司项目/zyhelp/common/http/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
86a5c91d-3513-42c5-b7bf-ce74dc6c59c4
|
||||
116
芳林公司项目/zyhelp/common/http/http.js
Executable file
116
芳林公司项目/zyhelp/common/http/http.js
Executable file
@@ -0,0 +1,116 @@
|
||||
import { config } from "../config/config.js";
|
||||
import store from "../../store";
|
||||
|
||||
export class Http {
|
||||
/**
|
||||
* @param {Object} params
|
||||
*/
|
||||
async get (params) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
uni.request({
|
||||
method: 'GET',
|
||||
url: config.baseUrl + params.url,
|
||||
data: params.data,
|
||||
header: params.header ? params.header : {},
|
||||
success: (res) => {
|
||||
if (res.data.status !== 1) {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: res.data.msg,
|
||||
duration: 2000,
|
||||
icon: 'none'
|
||||
});
|
||||
} else {
|
||||
uni.hideLoading();
|
||||
resolve(res.data);
|
||||
}
|
||||
},
|
||||
fail: (res => {
|
||||
uni.hideLoading();
|
||||
reject(res.data)
|
||||
})
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param {Object} params
|
||||
*/
|
||||
async post (params) {
|
||||
|
||||
store.state.showStatus = 1
|
||||
// uni.showLoading({ title: '请求中...' });
|
||||
// 设请求头
|
||||
let header = {
|
||||
'content-type': 'application/x-www-form-urlencoded'
|
||||
};
|
||||
|
||||
// 请求参数中如果有token,那么设置请求头token后删除请求参数中多余的token
|
||||
if (params.data.hasOwnProperty('token')) {
|
||||
header.token = params.data.token
|
||||
delete params.data['token']
|
||||
}
|
||||
|
||||
return new Promise(function(resolve, reject) {
|
||||
uni.request({
|
||||
method: 'POST',
|
||||
url: config.baseUrl + params.url,
|
||||
data: params.data,
|
||||
header: header,
|
||||
success: (res) => {
|
||||
if (res.data.status !== 1) {
|
||||
switch (res.data.error_code) {
|
||||
case 10001:
|
||||
uni.showModal({
|
||||
title: '温馨提示',
|
||||
content: res.data.msg,
|
||||
showCancel: false,
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
// uni.removeStorageSync('user_input');
|
||||
uni.removeStorageSync('user_message');
|
||||
|
||||
uni.navigateTo({
|
||||
url: '/pages/startUp/startUp'
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
break;
|
||||
|
||||
case 10000:
|
||||
uni.showToast({
|
||||
title: res.data.msg,
|
||||
duration: 2000,
|
||||
icon: 'none'
|
||||
})
|
||||
break;
|
||||
|
||||
case 999:
|
||||
uni.showToast({
|
||||
title: '后端'+res.data.msg,
|
||||
duration: 2000,
|
||||
icon: 'none'
|
||||
})
|
||||
break;
|
||||
}
|
||||
|
||||
} else {
|
||||
if (res.data.msg != '暂无数据!') {
|
||||
store.state.showStatus = 2
|
||||
resolve(res.data);
|
||||
} else {
|
||||
store.state.showStatus = 3
|
||||
}
|
||||
}
|
||||
},
|
||||
fail: (res => {
|
||||
// uni.hideLoading();
|
||||
reject(res)
|
||||
})
|
||||
});
|
||||
})
|
||||
}
|
||||
}
|
||||
1
芳林公司项目/zyhelp/common/less/.pydio
Normal file
1
芳林公司项目/zyhelp/common/less/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
9abfefe4-8bed-41e4-bbdf-86d808996733
|
||||
2
芳林公司项目/zyhelp/common/less/index.less
Executable file
2
芳林公司项目/zyhelp/common/less/index.less
Executable file
@@ -0,0 +1,2 @@
|
||||
@import "tpl/color";
|
||||
@import "tpl/common";
|
||||
1
芳林公司项目/zyhelp/common/less/page/.pydio
Normal file
1
芳林公司项目/zyhelp/common/less/page/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
1e71f12b-2c4d-4d82-9550-9c1adc42603b
|
||||
72
芳林公司项目/zyhelp/common/less/page/WorkOrder.less
Executable file
72
芳林公司项目/zyhelp/common/less/page/WorkOrder.less
Executable file
@@ -0,0 +1,72 @@
|
||||
@import "../tpl/color";
|
||||
.work_order_content {
|
||||
.order_content {
|
||||
margin-top: 20px;
|
||||
.order_l {
|
||||
margin-bottom: 10px;
|
||||
border: 1px solid #efefef;
|
||||
border-radius: 8px;
|
||||
.order_item {
|
||||
padding: 5px;
|
||||
padding-left: 10px;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
height: 70px;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
.iconfont {
|
||||
font-size: 30px;
|
||||
color: @themeColor;
|
||||
flex: 1;
|
||||
}
|
||||
.item_center {
|
||||
flex: 6;
|
||||
border-right: 1px solid #f0f0f0;
|
||||
padding-right: 15px;
|
||||
box-sizing: border-box;
|
||||
.top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.title {
|
||||
font-size: 15px;
|
||||
font-weight: bolder;
|
||||
}
|
||||
.time {
|
||||
font-size: 13px;
|
||||
color: #bbb9b9;
|
||||
}
|
||||
}
|
||||
.mess {
|
||||
font-size: 13px;
|
||||
color: #bbb9b9;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
width: 240px;
|
||||
}
|
||||
}
|
||||
.status {
|
||||
flex: 2;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.error {
|
||||
color: #fd5252;
|
||||
}
|
||||
.success {
|
||||
color: #049004;
|
||||
}
|
||||
}
|
||||
.show_content {
|
||||
padding: 5px;
|
||||
padding-left: 10px;
|
||||
box-sizing: border-box;
|
||||
border-top: 1px solid #efefef;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
89
芳林公司项目/zyhelp/common/less/page/feedback.less
Executable file
89
芳林公司项目/zyhelp/common/less/page/feedback.less
Executable file
@@ -0,0 +1,89 @@
|
||||
@import "../tpl/color";
|
||||
.feedback {
|
||||
.problem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
margin: 28.985rpx 0;
|
||||
.uni-badge {
|
||||
width: 126.811rpx !important;
|
||||
padding: 7.246rpx;
|
||||
font-size: 25.362rpx;
|
||||
line-height: 36.231rpx;
|
||||
height: 36.231rpx;
|
||||
}
|
||||
}
|
||||
.user_mess {
|
||||
width: 100%;
|
||||
background: #F6F7FF 100%;
|
||||
color: #B9B6B6 100%;
|
||||
font-size: 25.362rpx;
|
||||
padding: 28.985rpx 25.362rpx;
|
||||
box-sizing: border-box;
|
||||
margin-top: 28.985rpx;
|
||||
border-radius: 21.739rpx;
|
||||
}
|
||||
.uploadImage {
|
||||
display: flex;
|
||||
margin: 25.362rpx 0;
|
||||
.uni-padding-wrap {
|
||||
width: 172.101rpx;
|
||||
height: 152.173rpx;
|
||||
border: 1.811rpx solid #eaeaea;
|
||||
background: #f6f7fe;
|
||||
margin-right: 28.985rpx;
|
||||
.demo {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
image {
|
||||
width: 172.101rpx !important;
|
||||
height: 152.173rpx !important;
|
||||
}
|
||||
.uni-hello-addfile {
|
||||
font-size: 25.362rpx;
|
||||
text-align: center;
|
||||
view:first-child {
|
||||
font-size: 36.231rpx;
|
||||
color: #8A8A8A;
|
||||
}
|
||||
view:last-child {
|
||||
color: #8A8A8A;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.button_submit {
|
||||
height: 67.028rpx;
|
||||
background: @themeColor;
|
||||
color: #fff;
|
||||
line-height: 67.028rpx;
|
||||
font-size: 28.985rpx;
|
||||
text-align: center;
|
||||
border-radius: 5px;
|
||||
margin: 54.347rpx auto;
|
||||
margin-top: 50px;
|
||||
}
|
||||
.user_phone {
|
||||
height: 79.71rpx;
|
||||
width: 100%;
|
||||
background: #F6F7FF 100%;
|
||||
position: relative;
|
||||
margin-top: 23.55rpx;
|
||||
.iconfont {
|
||||
position: absolute;
|
||||
left: 21.739rpx;
|
||||
top:50%;
|
||||
margin-top: -14.492rpx;
|
||||
}
|
||||
.phone {
|
||||
line-height: 79.71rpx;
|
||||
padding-left: 72.463rpx;
|
||||
height: 100%;
|
||||
font-size: 25.362rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
503
芳林公司项目/zyhelp/common/less/page/index.less
Executable file
503
芳林公司项目/zyhelp/common/less/page/index.less
Executable file
@@ -0,0 +1,503 @@
|
||||
@import "../tpl/common";
|
||||
@import "../tpl/color";
|
||||
|
||||
.content {
|
||||
position: absolute !important;
|
||||
width: 100% !important;
|
||||
left: 0 !important;
|
||||
right: 0 ;
|
||||
}
|
||||
|
||||
.t_title {
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: -1;
|
||||
position: absolute;
|
||||
background: #fff;
|
||||
.new_tabs_title {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 0 18.115rpx;
|
||||
width: 95%;
|
||||
border: 1px solid rgba(249, 241, 241, 1);
|
||||
height: 72.463rpx;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
top: 21.231rpx;
|
||||
.title {
|
||||
font-size: 27.173rpx;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
line-height: 72.463rpx;
|
||||
background: #fff;
|
||||
}
|
||||
.on {
|
||||
color: #fff;
|
||||
background: @themeColor;
|
||||
}
|
||||
}
|
||||
.tabs_title {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
border-radius: 34.42rpx;
|
||||
overflow: hidden;
|
||||
border: 1.811rpx solid @themeColor;
|
||||
margin: 0 18.115rpx;
|
||||
z-index: 1;
|
||||
width: 95%;
|
||||
.title_item {
|
||||
width: 23%;
|
||||
color: #333;
|
||||
line-height: 65.217rpx;
|
||||
border-right: 1.811rpx solid @themeColor;
|
||||
color: @themeColor;
|
||||
text-align: center;
|
||||
font-size: 27.673rpx;
|
||||
background: #fff;
|
||||
&:last-child {
|
||||
border-right: none !important;
|
||||
}
|
||||
&:last-child,
|
||||
&:first-child {
|
||||
width: 27%;
|
||||
}
|
||||
}
|
||||
.active {
|
||||
color: #fff;
|
||||
background: @themeColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.loginBuy {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 106.884rpx;
|
||||
z-index: 99;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.left_monkey {
|
||||
width: 30%;
|
||||
background: #1ba3fa;
|
||||
text-align: center;
|
||||
line-height: 106.884rpx;
|
||||
height: 100%;
|
||||
color: #fff;
|
||||
font-size: 38.043rpx;
|
||||
}
|
||||
.right_buy {
|
||||
background: @themeColor;
|
||||
color: #fff;
|
||||
width: 70%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
.iconfont {
|
||||
font-size: 38.043rpx;
|
||||
margin-right: 9.057rpx;
|
||||
}
|
||||
text {
|
||||
color: #fff;
|
||||
font-size: 36.231rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background-image: linear-gradient(to top, #1a78fa 0%, #1aa3fa 100%);
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 999;
|
||||
padding-top: var(--status-bar-height);
|
||||
box-shadow: 0 5.434rpx 25.362rpx 0 rgba(93, 92, 92, 0.75);
|
||||
.menu {
|
||||
.title {
|
||||
color: #fff;
|
||||
font-size: 25.362rpx;
|
||||
}
|
||||
.type_school {
|
||||
h2 {
|
||||
font-size: 17px;
|
||||
margin-bottom: 19.927rpx;
|
||||
margin-left: 27.773rpx;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
.city {
|
||||
padding: 27.173rpx 0;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
height: 100%;
|
||||
ul {
|
||||
display: flex;
|
||||
width: 96%;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
margin: 0 auto;
|
||||
li {
|
||||
width: 17%;
|
||||
text-align: center;
|
||||
margin-bottom: 18.615rpx;
|
||||
color: #696969;
|
||||
border: 1px solid #e6e6e6;
|
||||
border-radius: 23.55rpx;
|
||||
margin-right: 10.969rpx;
|
||||
margin-left: 9.457rpx;
|
||||
margin-bottom: 18.615rpx;
|
||||
font-size: 27.673rpx;
|
||||
padding: 3.623rpx 14.492rpx;
|
||||
box-sizing: border-box;
|
||||
&:nth-child(5n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
.on {
|
||||
background: #f7fbfe;
|
||||
border: 1px solid #eee;
|
||||
color: @themeColor;
|
||||
}
|
||||
}
|
||||
.school_ts li {
|
||||
width: auto !important;
|
||||
margin-right: 5.434rpx !important;
|
||||
}
|
||||
|
||||
}
|
||||
.batch_content {
|
||||
padding: 18.115rpx;
|
||||
.on {
|
||||
background: #f7fbfe;
|
||||
border: 1px solid #eee !important;
|
||||
color: @themeColor !important;
|
||||
}
|
||||
.batch_item {
|
||||
width: 100%;
|
||||
height: 86.956rpx;
|
||||
line-height: 86.956rpx;
|
||||
border-radius: 10.869rpx;
|
||||
color: #696969;
|
||||
text-align: center;
|
||||
border: 1.811rpx solid #e6e6e6;
|
||||
font-size: 28.985rpx;
|
||||
margin-bottom: 18.115rpx;
|
||||
box-shadow: 0 10.869rpx 19.927rpx 0 rgba(24, 122, 184, 0.08);
|
||||
}
|
||||
}
|
||||
.ranking {
|
||||
padding: 18.115rpx;
|
||||
.ranking_item {
|
||||
width: 100%;
|
||||
height: 86.956rpx;
|
||||
line-height: 86.956rpx;
|
||||
border-radius: 10.869rpx;
|
||||
color: #696969;
|
||||
text-align: center;
|
||||
border: 1.811rpx solid #e6e6e6;
|
||||
font-size: 27.173rpx;
|
||||
margin-bottom: 18.115rpx;
|
||||
box-shadow: 0 10.869rpx 19.927rpx 0 rgba(24, 122, 184, 0.08);
|
||||
}
|
||||
}
|
||||
.professional_screening {
|
||||
-webkit-overflow-scrolling:touch;
|
||||
padding: 25.362rpx 16.304rpx;
|
||||
.search {
|
||||
width: 100%;
|
||||
height: 72.463rpx;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background: #f5f5f5;
|
||||
border-radius: 19.927rpx;
|
||||
position: relative;
|
||||
.proposal{
|
||||
position: absolute;
|
||||
top: 42px;
|
||||
background: #fff;
|
||||
width: 100%;
|
||||
padding: 18.115rpx 9.057rpx;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 7.246rpx 3.623rpx 32.608rpx #e2dede;
|
||||
.item {
|
||||
font-size: 25.362rpx;
|
||||
padding: 9.057rpx 9.057rpx;
|
||||
color: #808080;
|
||||
}
|
||||
}
|
||||
input {
|
||||
padding-left: 27.173rpx;
|
||||
box-sizing: border-box;
|
||||
font-size: 25.362rpx;
|
||||
width: 78%;
|
||||
height: 100%;
|
||||
}
|
||||
.line {
|
||||
width: 1.811rpx;
|
||||
height: 36.231rpx;
|
||||
background: #dcdada;
|
||||
}
|
||||
.right_search {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
padding-right: 39.855rpx;
|
||||
.iconfont {
|
||||
margin-right: 9.057rpx;
|
||||
color: @themeColor;
|
||||
}
|
||||
text {
|
||||
font-size: 25.362rpx;
|
||||
color: @themeColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
.hot_list {
|
||||
margin-top: 19.927rpx;
|
||||
display: flex;
|
||||
margin-left: 9.057rpx;
|
||||
margin-bottom: 16.304rpx;
|
||||
.title {
|
||||
font-size: 25.362rpx;
|
||||
color: #999595;
|
||||
}
|
||||
.list {
|
||||
display: flex;
|
||||
font-size: 25.362rpx;
|
||||
color: #999595;
|
||||
.item {
|
||||
margin-left: 21.739rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.major_list {
|
||||
.major_header {
|
||||
margin-top: 23.55rpx;
|
||||
margin-bottom: 27.173rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
img {
|
||||
width: 43.478rpx;
|
||||
height: 43.478rpx;
|
||||
}
|
||||
text {
|
||||
font-size: 27.173rpx;
|
||||
color: #101010;
|
||||
font-weight: bolder;
|
||||
margin-left: 14.492rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
text {
|
||||
font-size: 25.662rpx;
|
||||
font-weight: 400;
|
||||
color: #696969;
|
||||
}
|
||||
.iconfont {
|
||||
color: #ACACAC;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.login {
|
||||
display: flex;
|
||||
height: 72.463rpx;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding: 0 18.115rpx;
|
||||
padding-top: 16.604rpx;
|
||||
box-sizing: border-box;
|
||||
span {
|
||||
color: #fff;
|
||||
font-size: 27.673rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.login_message {
|
||||
font-size: 36.231rpx;
|
||||
vertical-align: text-bottom;
|
||||
margin-right: 10.869rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
.edit {
|
||||
border-radius: 94.202rpx;
|
||||
background: hsla(0,0%,100%,.1);
|
||||
margin-left: 32.608rpx;
|
||||
display: flex;
|
||||
padding: 9.057rpx 14.492rpx;
|
||||
align-items: center;
|
||||
.message {
|
||||
color: #fff;
|
||||
font-size: 27.673rpx;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-right: 10.869rpx;
|
||||
}
|
||||
.iconfont {
|
||||
font-size: 27.673rpx;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nodata {
|
||||
text-align: center;
|
||||
font-size: 25.362rpx;
|
||||
color: #8d8d8d;
|
||||
margin-top: 60rpx;
|
||||
}
|
||||
.content {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
padding-top: 181rpx;
|
||||
.tabs {
|
||||
.tabs_content {
|
||||
margin-top: 115.942rpx;
|
||||
.bottom_tips {
|
||||
color: #333;
|
||||
font-size: 27.173rpx;
|
||||
text-align: center;
|
||||
margin-top: 39.855rpx;
|
||||
.loginViewSchool {
|
||||
width: 80%;
|
||||
height: 105rpx;
|
||||
background: @themeColor;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 105rpx;
|
||||
border-radius: 54.347rpx;
|
||||
margin: 0 auto;
|
||||
margin-top: 54.347rpx;
|
||||
margin-bottom: 161.231rpx;
|
||||
box-shadow: 0 9.057rpx 19.927rpx 0 rgba(27,163,250,.5);
|
||||
}
|
||||
|
||||
text {
|
||||
color: @themeColor;
|
||||
}
|
||||
}
|
||||
.show {
|
||||
display: block;
|
||||
}
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
.tip {
|
||||
font-size: 21.739rpx;
|
||||
color: #a499a1;
|
||||
line-height: 57.971rpx;
|
||||
margin: 9.057rpx 18.115rpx 18.115rpx 18.115rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.content_item {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.major_dd {
|
||||
.top_title {
|
||||
font-size: 25.362rpx;
|
||||
text-align: left;
|
||||
padding: 25.362rpx 0;
|
||||
padding-left: 23.55rpx;
|
||||
.iconfont {
|
||||
margin-right: 18.115rpx;
|
||||
color: #4F6980;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.school_major {
|
||||
.school_scroll {
|
||||
padding: 16.304rpx;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 144.927rpx;
|
||||
.top_title {
|
||||
margin-top: 18.115rpx;
|
||||
.t_t {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 18.115rpx;
|
||||
z-index: 999;
|
||||
width: 100%;
|
||||
padding: 0 18.515rpx;
|
||||
padding-left: 29.185rpx;
|
||||
padding-top: 14.692rpx;
|
||||
padding-bottom: 9.557rpx;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
text {
|
||||
font-size: 36.231rpx;
|
||||
color: #000;
|
||||
}
|
||||
.iconfont {
|
||||
color: @themeColor;
|
||||
font-size: 32.608rpx;
|
||||
}
|
||||
}
|
||||
.tips {
|
||||
margin-top: 43.778rpx;
|
||||
text {
|
||||
font-size: 25.362rpx;
|
||||
}
|
||||
.left_2 {
|
||||
color: @themeColor;
|
||||
margin-right: 18.115rpx;
|
||||
}
|
||||
.left_4 {
|
||||
color: #999595;
|
||||
margin-right: 30.797rpx;
|
||||
}
|
||||
.left_6 {
|
||||
color: @themeColor;
|
||||
}
|
||||
}
|
||||
.info {
|
||||
font-size: 23.55rpx;
|
||||
text-align: left;
|
||||
padding: 23.55rpx 0;
|
||||
background: #F6F7FF 100%;
|
||||
margin-top: 18.115rpx;
|
||||
padding-left: 16.304rpx;
|
||||
span {
|
||||
color: #4F6980;
|
||||
margin-right: 18.115rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottom_table {
|
||||
margin-top: 27.173rpx;
|
||||
.back {
|
||||
background-image: linear-gradient(270deg,#fffcfe,#f8f5f7 49%,#fefafd);
|
||||
}
|
||||
.table_header {
|
||||
display: flex;
|
||||
padding: 19.927rpx 28.985rpx;
|
||||
justify-content: space-around;
|
||||
.item {
|
||||
text-align: center;
|
||||
font-size: 25.362rpx;
|
||||
color: #696969;
|
||||
line-height: 39.855rpx;
|
||||
flex: 1;
|
||||
}
|
||||
.border {
|
||||
flex: 1;
|
||||
border-bottom: 1.811rpx solid #ecf6f4;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
128
芳林公司项目/zyhelp/common/less/page/login.less
Executable file
128
芳林公司项目/zyhelp/common/less/page/login.less
Executable file
@@ -0,0 +1,128 @@
|
||||
@import "../tpl/color";
|
||||
.login {
|
||||
width: 100%;
|
||||
height: 286.231rpx;
|
||||
background: linear-gradient(to top, #1a78fa 0%, #1aa3fa 100%);
|
||||
position: relative;
|
||||
padding-top: var(--status-bar-height);
|
||||
.login_page {
|
||||
position: absolute;
|
||||
top: 180rpx;
|
||||
margin: 0 auto;
|
||||
left: 50%;
|
||||
margin-left: -95% / 2;
|
||||
width: 95%;
|
||||
border-radius: 19.927rpx;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
text-align: center;
|
||||
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.4);
|
||||
border: 1px solid rgba(255, 255, 255, 0);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding-left: 28rpx;
|
||||
padding-right: 28rpx;
|
||||
padding-top: 36.231rpx;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 36.231rpx;
|
||||
h2 {
|
||||
font-size: 36.231rpx;
|
||||
margin-bottom: 36.231rpx;
|
||||
}
|
||||
input {
|
||||
width: 100%;
|
||||
border-bottom: 1.811rpx solid #eaeaea;
|
||||
text-align: left;
|
||||
padding-left: 81.521rpx;
|
||||
box-sizing: border-box;
|
||||
font-size: 15px;
|
||||
height: 72.463rpx;
|
||||
}
|
||||
.user_phone {
|
||||
width: 100%;
|
||||
input {
|
||||
background: url("~@/static/img/phone.png") no-repeat;
|
||||
background-size: 45.289rpx 45.289rpx;
|
||||
background-position: 18.115rpx center;
|
||||
}
|
||||
}
|
||||
.user_code {
|
||||
margin-top: 18.115rpx;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
input {
|
||||
background: url("~@/static/img/pwd.png") no-repeat;
|
||||
background-size: 45.289rpx 45.289rpx;
|
||||
background-position: 18.115rpx center;
|
||||
|
||||
}
|
||||
.getcode {
|
||||
position: absolute;
|
||||
right: 18.115rpx;
|
||||
bottom: 14.492rpx;
|
||||
height: 50.724rpx;
|
||||
font-size: 23.65rpx;
|
||||
padding: 12.681rpx 18.115rpx;
|
||||
background: @themeColor 100%;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 23.65rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: 32.608rpx;
|
||||
}
|
||||
.disable {
|
||||
background: #b9bbbd 100%;
|
||||
}
|
||||
}
|
||||
.login_submit {
|
||||
width: 100%;
|
||||
height: 81.521rpx;
|
||||
text-align: center;
|
||||
line-height: 81.521rpx;
|
||||
color: #fff;
|
||||
background: #00c6ff; /* fallback for old browsers */
|
||||
background: -webkit-linear-gradient(to right, #0072ff, #00c6ff); /* Chrome 10-25, Safari 5.1-6 */
|
||||
background: linear-gradient(to right, #0072ff, #00c6ff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
|
||||
font-size: 32.608rpx;
|
||||
border-radius: 90.579rpx;
|
||||
margin-top: 54.347rpx;
|
||||
box-shadow: 0 8px 19px 0 rgba(27,163,250,.5);
|
||||
}
|
||||
.Agreement_consent {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 38.543rpx;
|
||||
position: relative;
|
||||
.yes {
|
||||
background: @themeColor;
|
||||
&:before {
|
||||
content: '✓';
|
||||
color: #fff;
|
||||
font-size: 28.985rpx;
|
||||
position: absolute;
|
||||
left: 5.434rpx;
|
||||
top: -3.623rpx;
|
||||
}
|
||||
}
|
||||
.check {
|
||||
margin-top: -3.623rpx;
|
||||
width: 25.362rpx;
|
||||
height: 25.362rpx;
|
||||
border: 1.811rpx solid @themeColor;
|
||||
border-radius: 50%;
|
||||
}
|
||||
text {
|
||||
vertical-align: inherit;
|
||||
font-size: 27.173rpx;
|
||||
margin-left: 18.115rpx;
|
||||
.xy {
|
||||
margin-left: 0;
|
||||
color: @themeColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.uni-checkbox-input {
|
||||
border-radius: 50%;
|
||||
}
|
||||
37
芳林公司项目/zyhelp/common/less/page/me.less
Executable file
37
芳林公司项目/zyhelp/common/less/page/me.less
Executable file
@@ -0,0 +1,37 @@
|
||||
.me {
|
||||
.setting_list {
|
||||
padding: 18.115rpx 41.666rpx;
|
||||
li {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 18.115rpx 0;
|
||||
.list_left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
image {
|
||||
width: 67.028rpx;
|
||||
height: 67.028rpx;
|
||||
}
|
||||
.setting_text {
|
||||
color: rgba(55, 55, 55, 1);
|
||||
font-size: 32.608rpx;
|
||||
text-align: left;
|
||||
margin-left: 27.173rpx;
|
||||
}
|
||||
}
|
||||
.list_right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text{
|
||||
font-size: 14px;
|
||||
color: #bbb9b9;
|
||||
}
|
||||
uni-badge {}
|
||||
uni-icons {
|
||||
font-size: 43.478rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
25
芳林公司项目/zyhelp/common/less/page/mySchool.less
Executable file
25
芳林公司项目/zyhelp/common/less/page/mySchool.less
Executable file
@@ -0,0 +1,25 @@
|
||||
@import "../tpl/color";
|
||||
|
||||
.MySchool {
|
||||
|
||||
.nodata {
|
||||
text-align: center;
|
||||
font-size: 25.362rpx;
|
||||
margin-top: 25%;
|
||||
color: #bbb9b9;
|
||||
}
|
||||
.select_score {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.iconfont {
|
||||
color: #bbb9b9;
|
||||
}
|
||||
uni-view {
|
||||
margin-left: 9.057rpx;
|
||||
display: block;
|
||||
font-size: 28.985rpx;
|
||||
color: #bbb9b9;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
68
芳林公司项目/zyhelp/common/less/page/orderStatus.less
Executable file
68
芳林公司项目/zyhelp/common/less/page/orderStatus.less
Executable file
@@ -0,0 +1,68 @@
|
||||
@import "../tpl/color";
|
||||
.order_status {
|
||||
.add_score {
|
||||
padding: 9.057rpx 18.115rpx;
|
||||
background: @themeColor;
|
||||
color: #fff;
|
||||
border-radius: 54.347rpx;
|
||||
display: flex;
|
||||
box-shadow: 0 2px 4px 0 rgba(27,120,250,.5);
|
||||
align-items: center;
|
||||
.iconfont {
|
||||
color: #fff;
|
||||
margin-top: 6.228rpx;
|
||||
}
|
||||
text {
|
||||
font-size: 25.662rpx;
|
||||
}
|
||||
}
|
||||
.order_status_content {
|
||||
.error {
|
||||
margin: 36.231rpx 0;
|
||||
font-size: 27.173rpx;
|
||||
color: #8d8d8d;
|
||||
text-align: center;
|
||||
}
|
||||
.score_item {
|
||||
width: 100%;
|
||||
padding: 25.362rpx 28.985rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background: #F9FAFE 100%;
|
||||
border-radius: 23.55rpx;
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
margin: 21.939rpx 0;
|
||||
.score {
|
||||
font-size: 27.673rpx
|
||||
}
|
||||
.status {
|
||||
display: flex;
|
||||
li {
|
||||
width: 47.101rpx;
|
||||
height: 47.101rpx;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
line-height: 47.101rpx;
|
||||
border: 1.811rpx solid #BBBBBB;
|
||||
color: red;
|
||||
font-size: 25.362rpx;
|
||||
margin-left: 23.55rpx;
|
||||
}
|
||||
.no {
|
||||
color: #BBBBBB;
|
||||
}
|
||||
}
|
||||
.tips {
|
||||
font-size: 23.55rpx;
|
||||
padding: 9.057rpx 12.681rpx;
|
||||
border-radius: 54.347rpx;
|
||||
border: 1.811rpx solid #C8C3C3;
|
||||
color: #C8C3C3;
|
||||
}
|
||||
}
|
||||
.NoPayOrder {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
}
|
||||
}
|
||||
171
芳林公司项目/zyhelp/common/less/page/payment.less
Executable file
171
芳林公司项目/zyhelp/common/less/page/payment.less
Executable file
@@ -0,0 +1,171 @@
|
||||
@import "../tpl/color";
|
||||
.payment {
|
||||
.payment_content {
|
||||
|
||||
.tips_title {
|
||||
font-size: 33.197rpx;
|
||||
padding-left: 21.739rpx;
|
||||
color: #000;
|
||||
border-left: 5.434rpx solid @themeColor;
|
||||
}
|
||||
.tips_content {
|
||||
margin-top: 23.55rpx;
|
||||
background: #f9f9f9;
|
||||
padding: 18.115rpx;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 30.797rpx;
|
||||
li {
|
||||
font-size: 25.473rpx;
|
||||
line-height: 47.101rpx;
|
||||
margin-left: 12.681rpx;
|
||||
color: #999595;
|
||||
&:before {
|
||||
content: "●";
|
||||
color: #585757;
|
||||
font-size: 3.623rpx;
|
||||
margin-right: 12.681rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.buy_score {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 28.985rpx;
|
||||
padding-left: 27.173rpx;
|
||||
box-sizing: border-box;
|
||||
padding-right: 14.492rpx;
|
||||
align-items: center;
|
||||
.score_item{
|
||||
padding: 5.434rpx 27.173rpx;
|
||||
background: #f9f9f9;
|
||||
border-radius: 21.739rpx;
|
||||
font-size: 30.797rpx;
|
||||
}
|
||||
.tips {
|
||||
color: @themeColor
|
||||
}
|
||||
.new_num {
|
||||
width: 150.851rpx;
|
||||
font-size: 25.362rpx;
|
||||
border-bottom: 1.811rpx solid #999595;
|
||||
text-align: center;
|
||||
padding-bottom: 5.434rpx;
|
||||
}
|
||||
.city_project {
|
||||
font-size: 29.985rpx;
|
||||
.radioF {
|
||||
display: flex;
|
||||
|
||||
.radio_item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 9.057rpx;
|
||||
radio {
|
||||
transform: scale(0.7);
|
||||
}
|
||||
view {
|
||||
font-size: 25.362rpx;
|
||||
padding-top: 10.869rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.radio {
|
||||
radio {
|
||||
transform:scale(0.8)
|
||||
}
|
||||
text {
|
||||
vertical-align: middle;
|
||||
font-size: 30.797rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.location{
|
||||
|
||||
.iconfont{
|
||||
font-size: 30.997rpx;
|
||||
color: @themeColor;
|
||||
margin-right: 4px;
|
||||
}
|
||||
text,
|
||||
.score{
|
||||
font-size: 30.997rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.buy_score_tips {
|
||||
font-size: 23.85rpx;
|
||||
color: #999595;
|
||||
margin-top: 36.531rpx;
|
||||
margin-left: 32.908rpx;
|
||||
}
|
||||
.pay_type {
|
||||
display: flex;
|
||||
margin-top: 120.86rpx;
|
||||
margin-bottom: 36.231rpx;
|
||||
justify-content: space-around;
|
||||
.pay_button_alipay {
|
||||
width: 40%;
|
||||
background: #00c6ff;
|
||||
background: linear-gradient(to right, #0072ff, #00c6ff);
|
||||
height: 85.144rpx;
|
||||
line-height: 85.144rpx;
|
||||
text-align: center;
|
||||
border-radius: 54.347rpx;
|
||||
padding: 0 18.115rpx;
|
||||
box-shadow: 0 7.246rpx 10.869rpx 0 rgba(7,160,248,.3);
|
||||
}
|
||||
.pay_button_weixin {
|
||||
width: 40%;
|
||||
background: #a8ff78;
|
||||
background: linear-gradient(to right, #78ffd6, #a8ff78);
|
||||
height: 85.144rpx;
|
||||
line-height: 85.144rpx;
|
||||
text-align: center;
|
||||
border-radius: 54.647rpx;
|
||||
box-shadow: 0 7.246rpx 10.869rpx 0 rgba(81,194,71,.3);
|
||||
padding: 0 18.115rpx;
|
||||
}
|
||||
.iconfont {
|
||||
color: #fff;
|
||||
font-size: 45.689rpx;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
text {
|
||||
margin-left: 18.415rpx;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.pay_monkey {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 34.62rpx;
|
||||
margin-top: 36.631rpx;
|
||||
.message{
|
||||
font-size: 29.362rpx;
|
||||
}
|
||||
.monkey{
|
||||
color: @themeColor;
|
||||
font-size: 43.478rpx;
|
||||
}
|
||||
}
|
||||
.bind_phone {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 34.62rpx;
|
||||
margin-top: 20px;
|
||||
text {
|
||||
font-size: 29.362rpx;
|
||||
}
|
||||
.input_phone {
|
||||
font-size: 23.55rpx;
|
||||
border-bottom: 1.811rpx solid #DDDDDD;
|
||||
width: 70%;
|
||||
text-align: center;
|
||||
padding-bottom: 10.969rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
204
芳林公司项目/zyhelp/common/less/page/startUp.less
Executable file
204
芳林公司项目/zyhelp/common/less/page/startUp.less
Executable file
@@ -0,0 +1,204 @@
|
||||
@import "../tpl/common";
|
||||
@import "../tpl/color";
|
||||
|
||||
.startUp {
|
||||
.header {
|
||||
width: 100%;
|
||||
height: 286.231rpx;
|
||||
background: url("~@/static/img/header_back.jpg") no-repeat;
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
padding-top: var(--status-bar-height);
|
||||
.navigation {
|
||||
width: 100%;
|
||||
height: 79.71rpx;
|
||||
font-size: 28.985rpx;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 18.115rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
span {
|
||||
font-size: 36.231rpx;
|
||||
vertical-align: text-bottom;
|
||||
margin-right: 10.869rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
text {
|
||||
font-size: 29.185rpx;
|
||||
}
|
||||
}
|
||||
.startUp_page {
|
||||
.page_w();
|
||||
padding-left: 28.985rpx;
|
||||
padding-right: 28.985rpx;
|
||||
box-shadow: 0px 3.623rpx 10.869rpx 0px rgba(0, 0, 0, 0.4);
|
||||
h2 {
|
||||
font-size: 36.241rpx;
|
||||
margin-bottom: 57.971rpx;
|
||||
}
|
||||
.choice {
|
||||
width: 100%;
|
||||
.submitForm {
|
||||
border-radius: 72.463rpx;
|
||||
margin-top: 45.289rpx;
|
||||
background: @themeColor;
|
||||
font-size: 34.42rpx;
|
||||
box-shadow: 0 8px 19px 0 rgba(27,163,250,.5);
|
||||
background: #00c6ff; /* fallback for old browsers */
|
||||
background: -webkit-linear-gradient(to right, #0072ff, #00c6ff); /* Chrome 10-25, Safari 5.1-6 */
|
||||
background: linear-gradient(to right, #0072ff, #00c6ff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
|
||||
|
||||
}
|
||||
.special {
|
||||
border-bottom: none !important;
|
||||
.left {
|
||||
display: flex;
|
||||
border: 1.811rpx solid #eee;
|
||||
padding-left: 16.304rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: 16.304rpx;
|
||||
height: 67.028rpx;
|
||||
width: 39%;
|
||||
padding-right: 21.739rpx;
|
||||
.left_leve {
|
||||
padding-left: 21.739rpx;
|
||||
border-left: 1.811rpx solid #ebebeb;
|
||||
}
|
||||
.left_city {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-right: 16.304rpx;
|
||||
.iconfont {}
|
||||
.uni-input {
|
||||
font-size: 25.362rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.right {
|
||||
display: flex;
|
||||
border: 1.811rpx solid #eee;
|
||||
padding-left: 16.304rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: 25.362rpx;
|
||||
height: 67.028rpx;
|
||||
width: 39%;
|
||||
}
|
||||
}
|
||||
.project_radio {
|
||||
align-items: center;
|
||||
.new_test {
|
||||
display: flex;
|
||||
width: 60%;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
.uni-badge {
|
||||
margin-right: 16.604rpx;
|
||||
margin-bottom: 11.869rpx;
|
||||
font-size: 25.762rpx;
|
||||
color: #9a9a9a;
|
||||
padding: 0 12.981rpx;
|
||||
}
|
||||
.uni-badge--primary {
|
||||
color: #fff !important;
|
||||
}
|
||||
}
|
||||
.radio_item {
|
||||
float: left;
|
||||
margin-left: 36.231rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
radio {
|
||||
transform:scale(0.7)
|
||||
}
|
||||
view {
|
||||
padding-top: 10.869rpx;
|
||||
font-size: 32.608rpx;
|
||||
color: #696969;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.choice_item {
|
||||
display: flex;
|
||||
padding: 27.173rpx 0;
|
||||
justify-content: space-between;
|
||||
border-bottom: 1.811rpx solid #e8e8e8;
|
||||
.city_title {
|
||||
font-size: 29.285rpx;
|
||||
color: #999;
|
||||
}
|
||||
.city_fraction {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
input {
|
||||
text-align: center;
|
||||
margin-right: 16.304rpx;
|
||||
font-size: 30.997rpx !important;
|
||||
}
|
||||
text {
|
||||
font-size: 32.608rpx;
|
||||
color: #696969;
|
||||
}
|
||||
}
|
||||
.city_address {
|
||||
.iconfont {
|
||||
color: @themeColor;
|
||||
font-weight: bolder;
|
||||
font-size: 32.908rpx;
|
||||
}
|
||||
text {
|
||||
font-size: 32.608rpx;
|
||||
color: #696969;
|
||||
margin-left: 9.057rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.action_list {
|
||||
margin-top: 650.362rpx;
|
||||
h2 {
|
||||
text-align: center;
|
||||
color: rgba(0, 114, 255, 1);
|
||||
font-size: 32.608rpx;
|
||||
margin-bottom: 48rpx;
|
||||
}
|
||||
ul {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
flex-wrap: wrap;
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
li {
|
||||
width: 45%;
|
||||
background: #E7F1FD;
|
||||
border-radius: 21.739rpx;
|
||||
padding: 9.057rpx 18.115rpx 16.304rpx 18.115rpx;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 28.985rpx;
|
||||
.list_header{
|
||||
.iconfont {
|
||||
font-size: 43.478rpx;
|
||||
vertical-align: middle;
|
||||
margin-right: 9.057rpx;
|
||||
color: @themeColor;
|
||||
}
|
||||
text {
|
||||
font-size: 32.608rpx;
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
.list_mes {
|
||||
color: #9F9F9F;
|
||||
margin-top: 21.739rpx;
|
||||
font-size: 28.985rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1
芳林公司项目/zyhelp/common/less/tpl/.pydio
Normal file
1
芳林公司项目/zyhelp/common/less/tpl/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
f035a185-ff46-48d5-a58a-bec100a40f6b
|
||||
1
芳林公司项目/zyhelp/common/less/tpl/color.less
Executable file
1
芳林公司项目/zyhelp/common/less/tpl/color.less
Executable file
@@ -0,0 +1 @@
|
||||
@themeColor: #1b78fa;
|
||||
28
芳林公司项目/zyhelp/common/less/tpl/common.less
Executable file
28
芳林公司项目/zyhelp/common/less/tpl/common.less
Executable file
@@ -0,0 +1,28 @@
|
||||
.page_w(){
|
||||
position: absolute;
|
||||
top: 163.043rpx;
|
||||
margin: 0 auto;
|
||||
left: 50%;
|
||||
margin-left: -45%;
|
||||
width: 90%;
|
||||
border-radius: 19.927rpx;
|
||||
background-color: #ffffff;
|
||||
text-align: center;
|
||||
box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.4);
|
||||
border: 1px solid rgba(255, 255, 255, 0);
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-webkit-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-align: center;
|
||||
-webkit-align-items: center;
|
||||
align-items: center;
|
||||
padding-left: 25.362rpx;
|
||||
padding-right: 25.362rpx;
|
||||
padding-top: 36.231rpx;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 36.231rpx;
|
||||
}
|
||||
167
芳林公司项目/zyhelp/common/less/tpl/reset.less
Normal file
167
芳林公司项目/zyhelp/common/less/tpl/reset.less
Normal file
@@ -0,0 +1,167 @@
|
||||
/*登录页面输入框样式重置*/
|
||||
.login .login_page uni-input {
|
||||
font-size: 27.573rpx !important;
|
||||
}
|
||||
|
||||
/*父容器宽高必须设置100%,为了兼容PC浏览器*/
|
||||
html,
|
||||
body,
|
||||
uni-app,
|
||||
uni-page,
|
||||
uni-page-wrapper,
|
||||
uni-page-body,
|
||||
.container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/*清除滚动条*/
|
||||
::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* 解决头条小程序组件内引入字体不生效的问题 */
|
||||
/* #ifdef MP-TOUTIAO */
|
||||
@font-face {
|
||||
font-family: uniicons;
|
||||
src: url('/static/uni.ttf');
|
||||
}
|
||||
/* #endif */
|
||||
|
||||
/*字体样式 开始*/
|
||||
@font-face {
|
||||
font-family: 'iconfont'; /* project id 1750291 */
|
||||
src: url('http://at.alicdn.com/t/font_1750291_rfhbjgayb8.eot');
|
||||
src: url('http://at.alicdn.com/t/font_1750291_rfhbjgayb8.eot?#iefix') format('embedded-opentype'),
|
||||
url('http://at.alicdn.com/t/font_1750291_rfhbjgayb8.woff2') format('woff2'),
|
||||
url('http://at.alicdn.com/t/font_1750291_rfhbjgayb8.woff') format('woff'),
|
||||
url('http://at.alicdn.com/t/font_1750291_rfhbjgayb8.ttf') format('truetype'),
|
||||
url('http://at.alicdn.com/t/font_1750291_rfhbjgayb8.svg#iconfont') format('svg');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 28.985rpx;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
/*字体样式 结束*/
|
||||
|
||||
/*startUp 页面输入框提示文字的样式*/
|
||||
.city_fraction .input-placeholder,
|
||||
.city_fraction .uni-input-input{
|
||||
color: #999999;
|
||||
font-size: 28.985rpx;
|
||||
}
|
||||
|
||||
/*默认样式清除*/
|
||||
ul,li,h1,h2,h3,h4,h5,h6,p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/*弹窗的字体*/
|
||||
.JurisdictionAlert {
|
||||
.uni-icon-cancel {
|
||||
font-size: 32.608rpx !important;
|
||||
}
|
||||
.uni-popup {
|
||||
z-index: 999 !important;
|
||||
}
|
||||
.uni-popup__wrapper-box {
|
||||
width: 80%;
|
||||
padding: 5px 14px 14px 14px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*边距*/
|
||||
.content {
|
||||
/* #ifdef MP-WEIXIN || APP-PLUS || MP-BAIDU */
|
||||
padding-top: calc(var(--status-bar-height) + 181rpx) !important;
|
||||
/* #endif */
|
||||
}
|
||||
|
||||
/*用户登录后,内容区域和顶部的距离*/
|
||||
.order_status_content,
|
||||
.payment_content,
|
||||
.setting_list,
|
||||
.feedback_content,
|
||||
.MySchool_content,
|
||||
.work_order_content{
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
box-sizing: border-box;
|
||||
margin-top: 15%;
|
||||
background: #fff;
|
||||
border-radius: 11px;
|
||||
}
|
||||
|
||||
/*列表底部样式*/
|
||||
.item_message {
|
||||
margin-top: 23.55rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
li {
|
||||
flex: 1;
|
||||
color: #666;
|
||||
text-align: center;
|
||||
text {
|
||||
font-size: 21.739rpx;
|
||||
opacity: .6;
|
||||
padding-bottom: 10.869rpx;
|
||||
}
|
||||
view {
|
||||
font-size: 25.362rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*专业筛选弹窗层级*/
|
||||
.major_dd {
|
||||
z-index: 999 !important;
|
||||
.uni-transition {
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
height: 905.797rpx;
|
||||
overflow-y: scroll;
|
||||
background: #fff;
|
||||
border-top-left-radius: 25.362rpx !important;
|
||||
border-top-right-radius: 25.362rpx !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*index页面院校点击的弹窗*/
|
||||
.school_major {
|
||||
z-index: 999 !important;
|
||||
.uni-transition {
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
height: 905.797rpx;
|
||||
overflow-y: scroll;
|
||||
background: #fff;
|
||||
border-top-left-radius: 25.362rpx !important;
|
||||
border-top-right-radius: 25.362rpx !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*公共组件 ListItem.vue 收藏按钮的样式*/
|
||||
.like {
|
||||
background: #fff;
|
||||
border: 1.811rpx solid rgba(41,169,250,.3);
|
||||
color: #1b78fa;
|
||||
font-size: 28.985rpx;
|
||||
border-radius: 28.985rpx;
|
||||
line-height: 57.971rpx;
|
||||
padding: 0 18.115rpx;
|
||||
text-align: center;
|
||||
height: 61.594rpx;
|
||||
}
|
||||
.yj_like {
|
||||
color: #a4a4a4;
|
||||
border: 1.811rpx solid #a4a4a4;
|
||||
}
|
||||
1
芳林公司项目/zyhelp/common/lib/.pydio
Normal file
1
芳林公司项目/zyhelp/common/lib/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
3b485b2e-c784-44fc-896f-eddae9193138
|
||||
1
芳林公司项目/zyhelp/common/lib/amap-wx.js
Executable file
1
芳林公司项目/zyhelp/common/lib/amap-wx.js
Executable file
File diff suppressed because one or more lines are too long
1
芳林公司项目/zyhelp/common/service/.pydio
Normal file
1
芳林公司项目/zyhelp/common/service/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
16e1cbb8-6694-46d4-a11e-9c8defb5dece
|
||||
1
芳林公司项目/zyhelp/common/service/impl/.pydio
Normal file
1
芳林公司项目/zyhelp/common/service/impl/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
131ca1da-c3e0-4c09-a495-91a38e295d48
|
||||
158
芳林公司项目/zyhelp/common/service/impl/indexService.js
Executable file
158
芳林公司项目/zyhelp/common/service/impl/indexService.js
Executable file
@@ -0,0 +1,158 @@
|
||||
import { Http } from "../../http/http.js";
|
||||
import { config } from "../../config/config.js";
|
||||
|
||||
|
||||
export class indexService extends Http {
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
}
|
||||
|
||||
async getCityList(params) {
|
||||
return await this.get({
|
||||
url: config.apiList.getArea,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getSchoolType(params) {
|
||||
return await this.get({
|
||||
url: config.apiList.getSchoolType,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getSchools(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getSchools,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async checkAuth(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.checkAuth,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getProvinceBatch(params) {
|
||||
return await this.get({
|
||||
url: config.apiList.getProvinceBatch,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async defaultMajor(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.defaultMajor,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getPullDown(params) {
|
||||
return await this.get({
|
||||
url: config.apiList.getPullDown,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getMajorAbout(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getMajorAbout,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async majorSchool(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.majorSchool,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async addUserCollectMajor(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.addUserCollectMajor,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getSchMajor(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getSchMajor,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getSchEnroll(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getSchEnroll,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getSchCount(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getSchCount,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getMajorSch(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getMajorSch,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getNewMajor(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getNewMajor,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getNewMajorCount(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getNewMajorCount,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getNewSchCount(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getNewSchCount,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async addUserNewMajor(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.addUserNewMajor,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async addUserNewSch(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.addUserNewSch,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getNewSchMajor(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getNewSchMajor,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async newMajorSch(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.newMajorSch,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
35
芳林公司项目/zyhelp/common/service/impl/loginService.js
Executable file
35
芳林公司项目/zyhelp/common/service/impl/loginService.js
Executable file
@@ -0,0 +1,35 @@
|
||||
import { Http } from "../../http/http.js";
|
||||
import { config } from "../../config/config.js";
|
||||
|
||||
|
||||
export class loginService extends Http {
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户登录接口
|
||||
* @param params
|
||||
* @returns {Promise<unknown>}
|
||||
*/
|
||||
async appLogin(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.appLogin,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送短息验证码
|
||||
* @param params
|
||||
* @returns {Promise<unknown>}
|
||||
*/
|
||||
async sendCode(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.sendCode,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
32
芳林公司项目/zyhelp/common/service/impl/startUpService.js
Executable file
32
芳林公司项目/zyhelp/common/service/impl/startUpService.js
Executable file
@@ -0,0 +1,32 @@
|
||||
import { Http } from "../../http/http.js";
|
||||
import { config } from "../../config/config.js";
|
||||
|
||||
|
||||
export class startUpService extends Http {
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
}
|
||||
|
||||
async provinceSubject(params) {
|
||||
return await this.get({
|
||||
url: config.apiList.provinceSubject,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async proScoreRank(params) {
|
||||
return await this.get({
|
||||
url: config.apiList.proScoreRank,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async modifyUser(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.modifyUser,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
130
芳林公司项目/zyhelp/common/service/impl/userService.js
Executable file
130
芳林公司项目/zyhelp/common/service/impl/userService.js
Executable file
@@ -0,0 +1,130 @@
|
||||
import { Http } from "../../http/http.js";
|
||||
import { config } from "../../config/config.js";
|
||||
|
||||
|
||||
export class userService extends Http {
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
}
|
||||
|
||||
async createOrder(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.createOrder,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async payOrder(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.payOrder,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async checkPay(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.checkPay,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async myOrders(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.myOrders,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getMesType(params) {
|
||||
return await this.get({
|
||||
url: config.apiList.getMesType,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async addMessage(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.addMessage,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async addUserCollectSch(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.addUserCollectSch,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async myCollectSch(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.myCollectSch,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async delUserCollect(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.delUserCollect,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async myCollectMajor(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.myCollectMajor,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async delUserMajor(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.delUserMajor,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getUserMes(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getUserMes,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async myNewSch(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.myNewSch,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async myNewMajor(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.myNewMajor,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async delNewSch(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.delNewSch,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async delNewMajor(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.delNewMajor,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
async getScoreGrade(params) {
|
||||
return await this.post({
|
||||
url: config.apiList.getScoreGrade,
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
11
芳林公司项目/zyhelp/common/service/imports.js
Executable file
11
芳林公司项目/zyhelp/common/service/imports.js
Executable file
@@ -0,0 +1,11 @@
|
||||
import { indexService } from "./impl/indexService";
|
||||
import { loginService } from "./impl/loginService";
|
||||
import { startUpService } from "./impl/startUpService";
|
||||
import { userService } from "./impl/userService";
|
||||
|
||||
export class Imports {
|
||||
indexService = new indexService()
|
||||
loginService = new loginService()
|
||||
startUpService = new startUpService()
|
||||
userService = new userService()
|
||||
}
|
||||
1
芳林公司项目/zyhelp/common/utils/.pydio
Normal file
1
芳林公司项目/zyhelp/common/utils/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
3f6abde8-1f51-49a3-82d7-d4a0ca1c0906
|
||||
240
芳林公司项目/zyhelp/common/utils/utils.js
Executable file
240
芳林公司项目/zyhelp/common/utils/utils.js
Executable file
@@ -0,0 +1,240 @@
|
||||
import JSEncrypt from "../../static/js/wx_rsa.js"
|
||||
import querystring from "querystring";
|
||||
import { config } from "../config/config";
|
||||
import { userService } from "../service/impl/userService";
|
||||
|
||||
export class Utils {
|
||||
|
||||
constructor() {
|
||||
this.userService = new userService();
|
||||
this.jse = new JSEncrypt();
|
||||
this.jse.setPublicKey(config.publicKey)
|
||||
}
|
||||
|
||||
/**
|
||||
* 跳转页面
|
||||
* @param path
|
||||
*/
|
||||
enterPage(path) {
|
||||
uni.navigateTo({
|
||||
url: path
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 从所有地址中获取当前用户地址的下标
|
||||
*/
|
||||
getCurrentCity(city) {
|
||||
let address = this.getLocalStorage("address");
|
||||
for (let i = 0; i < address.length; i++) {
|
||||
if (address[i].title == city) {
|
||||
return i
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 返回 user_input
|
||||
* @returns {boolean|*}
|
||||
*/
|
||||
getUserInput() {
|
||||
if (this.getLocalStorage("user_input")) {
|
||||
return this.getLocalStorage("user_input")
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断是否为新高考
|
||||
*/
|
||||
checkNewTest() {
|
||||
let status = "";
|
||||
// 如果登录了
|
||||
if (this.checkLogin()) {
|
||||
|
||||
// 如果两个同时有数值,那么以 user_message 数值为准
|
||||
if (this.getLocalStorage("user_message") && this.getLocalStorage("user_input")) {
|
||||
// 如果权限等于 2 表示新高考
|
||||
if (this.getLocalStorage("user_message").provinceType == 2) {
|
||||
status = true
|
||||
} else {
|
||||
status = false
|
||||
}
|
||||
|
||||
// 如果两个不是同时有数值
|
||||
} else {
|
||||
// 如果只有 user_input 那么判断 user_input mySub 是否选过新高考
|
||||
if (this.getLocalStorage("user_input")) {
|
||||
if (this.getLocalStorage("user_input").mySub.length == 3) {
|
||||
status = true
|
||||
} else {
|
||||
status = false
|
||||
}
|
||||
// 如果登录但是未填智能表单,那么获取本地的账户类型 provinceType
|
||||
} else if (this.getLocalStorage("user_message")) {
|
||||
// 如果权限等于 2 新高考
|
||||
if (this.getLocalStorage("user_message").provinceType == 2) {
|
||||
status = true
|
||||
} else {
|
||||
status = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 未登录情况,本地只可能有 user_input,所以根据 user_input 来判断显示什么布局
|
||||
} else if (this.getLocalStorage("user_input")) {
|
||||
if (this.getLocalStorage("user_input").mySub.length == 3) {
|
||||
status = true
|
||||
} else {
|
||||
status = false
|
||||
}
|
||||
|
||||
// 如果是未登录,未填智能表单的情况(直接通过地址栏进入index)
|
||||
// 那么展示默认的布局。
|
||||
} else {
|
||||
status = false
|
||||
}
|
||||
|
||||
return status
|
||||
}
|
||||
|
||||
/**
|
||||
* 关闭并跳转页面
|
||||
* @param path
|
||||
*/
|
||||
closedEnterPage(path) {
|
||||
uni.redirectTo({
|
||||
url: path
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回
|
||||
*/
|
||||
backPage() {
|
||||
uni.navigateBack()
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否需要登录,如果需要跳转去登陆
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
async isLogin() {
|
||||
let token = this.getLocalStorage("user_message")
|
||||
let pages = getCurrentPages();
|
||||
let route = pages[pages.length - 1].route;
|
||||
|
||||
if(config.loginViewPage.includes(route)) {
|
||||
if (!token) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '未登录,请先登录再使用',
|
||||
showCancel: false,
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/startUp/startUp`
|
||||
})
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否已经登录成功
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
checkLogin() {
|
||||
if (this.getLocalStorage("user_message")) {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
isPcClient() {
|
||||
var u = navigator.userAgent;
|
||||
if (!u.match(/AppleWebKit.*Mobile.*/)) {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 保存数据
|
||||
* @param name
|
||||
* @param key
|
||||
*/
|
||||
setLocalStorage (name, key) {
|
||||
uni.setStorageSync(name, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* 读取数据
|
||||
* @param key
|
||||
* @returns {boolean|*}
|
||||
*/
|
||||
getLocalStorage (key) {
|
||||
try {
|
||||
const value = uni.getStorageSync(key);
|
||||
if (value) {
|
||||
return value
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
} catch (e) {
|
||||
console.log("缓存读取失败:", e)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 序列化并加密前端需要传递给后端的参数
|
||||
* @param url
|
||||
* @returns {*}
|
||||
* @constructor
|
||||
*/
|
||||
QueryString(url) {
|
||||
return this.JSEncrypts(querystring.stringify(url))
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建订单
|
||||
* @param params
|
||||
* @constructor
|
||||
*/
|
||||
async CreatedOrder(params) {
|
||||
return await this.userService.createOrder(params);
|
||||
}
|
||||
|
||||
/**
|
||||
* 调起支付接口
|
||||
* @constructor
|
||||
*/
|
||||
async PlayOrder(parmas) {
|
||||
return await this.userService.payOrder(parmas)
|
||||
}
|
||||
|
||||
async Pay(params) {
|
||||
// #ifdef H5
|
||||
location.href = location.href = params.data
|
||||
// #endif
|
||||
|
||||
//#ifdef APP-PLUS || MP-WEIXIN
|
||||
// #endif
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 解密后端给的数据
|
||||
* @param str
|
||||
* @returns {PromiseLike<ArrayBuffer>}
|
||||
* @constructor
|
||||
*/
|
||||
JSEncrypts(str) {
|
||||
return this.jse.encrypt(str);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user