Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
游洁
thinkApp
Commits
f1337abd
Commit
f1337abd
authored
Sep 26, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
99e90a3d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
87 additions
and
70 deletions
+87
-70
erp.js
src/api/erp.js
+44
-44
pages.json
src/pages.json
+20
-20
index.vue
src/pages/FriendsAndRelatives/index.vue
+23
-6
No files found.
src/api/erp.js
View file @
f1337abd
...
...
@@ -38,53 +38,53 @@ export function setStudentClassInAccount(data) {
})
}
/**
* 获取预约课程
* @param {JSON参数} data
*/
export
function
RemovePlanAppointment
(
data
)
{
return
request
({
url
:
'/LeaveStudent/RemovePlanAppointment'
,
method
:
'post'
,
data
})
}
/
/ /
**
//
* 获取预约课程
//
* @param {JSON参数} data
//
*/
//
export function RemovePlanAppointment(data) {
//
return request({
//
url: '/LeaveStudent/RemovePlanAppointment',
//
method: 'post',
//
data
//
})
//
}
/**
* 获取预约课程列表
* @param {JSON参数} data
*/
export
function
GetStuPlanAppointment
(
data
)
{
return
request
({
url
:
'/LeaveStudent/GetStuPlanAppointment'
,
method
:
'post'
,
data
})
}
/
/ /
**
//
* 获取预约课程列表
//
* @param {JSON参数} data
//
*/
//
export function GetStuPlanAppointment(data) {
//
return request({
//
url: '/LeaveStudent/GetStuPlanAppointment',
//
method: 'post',
//
data
//
})
//
}
/**
* 获取可预约课程时间范围
* @param {JSON参数} data
*/
export
function
GetPlanTime
(
data
)
{
return
request
({
url
:
'/LeaveStudent/GetPlanTime'
,
method
:
'post'
,
data
})
}
/
/ /
**
//
* 获取可预约课程时间范围
//
* @param {JSON参数} data
//
*/
//
export function GetPlanTime(data) {
//
return request({
//
url: '/LeaveStudent/GetPlanTime',
//
method: 'post',
//
data
//
})
//
}
/**
* 提交预约课程
* @param {JSON参数} data
*/
export
function
SetPlanAppointment
(
data
)
{
return
request
({
url
:
'/LeaveStudent/SetPlanAppointment'
,
method
:
'post'
,
data
})
}
/
/ /
**
//
* 提交预约课程
//
* @param {JSON参数} data
//
*/
//
export function SetPlanAppointment(data) {
//
return request({
//
url: '/LeaveStudent/SetPlanAppointment',
//
method: 'post',
//
data
//
})
//
}
/**
* 获取个人信息接口
...
...
src/pages.json
View file @
f1337abd
...
...
@@ -103,26 +103,26 @@
],
"subPackages"
:
[
{
"root"
:
"pages/bookAclass"
,
//约课分包
"pages"
:
[{
"path"
:
"index"
,
"style"
:
{
"navigationBarTitleText"
:
"上课计划"
,
"navigationBarBackgroundColor"
:
"#F6F6F6"
,
"backgroundColor"
:
"#F6F6F6"
}
},
{
"path"
:
"addPlan"
,
"style"
:
{
"navigationBarTitleText"
:
"添加计划"
,
"navigationBarBackgroundColor"
:
"#F6F6F6"
,
"backgroundColor"
:
"#F6F6F6"
}
}
]
},
//
{
//
"root"
:
"pages/bookAclass"
,
//约课分包
//
"pages"
:
[{
//
"path"
:
"index"
,
//
"style"
:
{
//
"navigationBarTitleText"
:
"上课计划"
,
//
"navigationBarBackgroundColor"
:
"#F6F6F6"
,
//
"backgroundColor"
:
"#F6F6F6"
//
}
//
},
//
{
//
"path"
:
"addPlan"
,
//
"style"
:
{
//
"navigationBarTitleText"
:
"添加计划"
,
//
"navigationBarBackgroundColor"
:
"#F6F6F6"
,
//
"backgroundColor"
:
"#F6F6F6"
//
}
//
}
//
]
//
},
{
"root"
:
"pages/contract"
,
//合同分包
"pages"
:
[{
...
...
src/pages/FriendsAndRelatives/index.vue
View file @
f1337abd
...
...
@@ -71,6 +71,19 @@
.header-right
.right-image
image
{
display
:
block
;
}
.right-button
{
position
:
absolute
;
height
:
100%
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0
);
z-index
:
2
;
}
.right-button
::after
{
border
:
1
rpx
solid
rgba
(
0
,
0
,
0
,
0
);
}
.FriendsAndRelatives-content
{
padding
:
0
50
rpx
;
}
...
...
@@ -133,6 +146,7 @@
</view>
<view
class=
"header-right flex"
>
<view
class=
"right-image"
@
click=
"invite"
>
<button
class=
"right-button"
data-name=
"shareBtn"
open-type=
"share"
></button>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664164163000_619.png"
style=
"width: 99rpx;height: 99rpx;"
></image>
<text
class=
"left-title"
>
微信邀请
</text>
...
...
@@ -222,11 +236,7 @@
});
const
methods
=
{
invite
(){
return
{
title
:
"微信邀请"
,
query
:
"/pages/login/login"
,
imageUrl
:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664163809000_838.png"
,
};
},
usernameInput
(
val
)
{
data
.
Account
=
val
.
detail
;
...
...
@@ -252,6 +262,13 @@
},
onReachBottom
()
{
}
},
onShareAppMessage
()
{
return
{
title
:
"微信邀请"
,
query
:
"/pages/login/login"
,
imageUrl
:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664163809000_838.png"
,
};
},
};
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment