Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
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
wangxuelai
wechatapp.shangjiadao.com
Commits
6c435f41
Commit
6c435f41
authored
Oct 23, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'最新代码'
parent
d7f53228
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
359 deletions
+23
-359
index2_20191018163621.wxml
.history/src/pages/signup/index2_20191018163621.wxml
+0
-48
index2_20191018163621.wxss
.history/src/pages/signup/index2_20191018163621.wxss
+0
-116
index2_20191021175935.wxss
.history/src/pages/signup/index2_20191021175935.wxss
+0
-116
index2_20191021180141.wxml
.history/src/pages/signup/index2_20191021180141.wxml
+0
-47
constants.js
constants/constants.js
+4
-4
circlemember.js
service/business/circlemember.js
+8
-17
common.js
service/common.js
+9
-9
userMedal.js
service/customer/userMedal.js
+2
-2
No files found.
.history/src/pages/signup/index2_20191018163621.wxml
deleted
100644 → 0
View file @
d7f53228
<!-- 学员加入校区 校区层面 -->
<view class="container">
<view class="instro-box">
<view class="instro-item">
<view class="item-label">学校名称:</view>
<view class="item-content">{{schoolDetail.title}}</view>
</view>
</view>
<view class="form-box">
<view class="form-item">
<input type="text" class="form-input" maxlength="20" bindinput="nameInput" placeholder-class="placeholderclass" value="{{params.name}}" placeholder="输入姓名"/>
</view>
</view>
<view class="form-box">
<view class="form-item">
<view class="left">性别</view>
<view class="right">
<view class="radio-item {{params.gender == item.value? 'active':''}}" wx:for="{{genderArr}}" wx:key="" data-value="{{item.value}}" bindtap="selectGender">
<image class="icon-checkbox" src="{{imageRoot}}2c/common/radioactive2.png?{{imageVersion}}" wx:if="{{params.gender==item.value}}"></image>
<image class="icon-checkbox" src="{{imageRoot}}2b/common/radiono.png?{{imageVersion}}" wx:else></image>
<view class="radio-title">{{item.title}}</view>
</view>
</view>
</view>
</view>
<view class="form-box">
<view class="form-item">
<input type="number" class="form-input" bindinput="mobileInput" placeholder-class="placeholderclass" value="{{params.mobile}}" placeholder="输入手机号" maxlength="11"/>
<button class="btn-getcode" bindtap="sendVerify" disabled="{{hasSend || params.mobile.length<11}}">{{hasSend ? countdownTime + '秒后重新获取': '获取验证码'}}</button>
</view>
<view class="form-item">
<input type="number" class="form-input" maxlength="4" bindinput="codeInput" placeholder-class="placeholderclass" value="{{params.code}}" placeholder="输入验证码" />
</view>
</view>
<view class="form-box">
<picker class="form-item" mode="date" fields="day" value="" start="{{range_start}}" end="{{range_end}}" bindchange="bindDateChange">
<input type="text" class="form-input" bindinput="psdInput" placeholder-class="placeholderclass" value="{{params.birthday}}" placeholder="选择生日" disabled style="width: 700rpx;"/>
</picker>
</view>
<form bindsubmit="studentAddSumbit" report-submit="true">
<button class="form-btn" form-type="submit">完成报名</button>
</form>
<guidecollection/>
</view>
\ No newline at end of file
.history/src/pages/signup/index2_20191018163621.wxss
deleted
100644 → 0
View file @
d7f53228
/* src/pages/signup/index.wxss */
.instro-box{
width: 100%;
position: relative;
border-bottom: 16rpx solid #F7F7F9;
padding: 10rpx 0 25rpx
}
.instro-box .instro-item{
display: flex;
align-items: flex-start;
line-height: 31rpx;
color: #575757;
font-size: 24rpx;
padding: 13rpx 24rpx;
font-weight: bold;
}
.instro-box .instro-item .item-label{
color: #575757;
white-space:nowrap;
}
.instro-box .instro-item .item-content{
color: #000;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.form-box{
width: 100%;
position: relative;
border-bottom: 16rpx solid #F7F7F9;
}
.form-item{
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
height: 100rpx;
padding: 0 25rpx;
}
.form-item::after{
content: '';
width: 100%;
height: 1px;
background: rgba(0,0,0,.05);
position: absolute;
left: 0;
bottom: 0;
transform: scaleY(.5);
}
.form-item:last-of-type::after{
display: none;
}
.placeholderclass{
color: rgba(0,0,0,.6);
font-size: 24rpx;
}
.form-item .btn-getcode{
font-size: 24rpx;
border-radius: 10rpx;
height: 60rpx;
color: #000;
background: #FFD85C;
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 0 15rpx;
}
.form-item .btn-getcode-default{
color: #000;
background: #FFD85C;
}
.form-item .form-input{
width: 500rpx;
}
.form-btn{
width: 414rpx;
height: 70rpx;
background:#FFD85C;
border-radius:35px;
font-size: 30rpx;
color: #000;
font-weight: 500;
margin-top: 237rpx;
display: flex;
align-items: center;
justify-content: center;
}
/* 性别单独设置 */
.left{
color: rgba(0,0,0,.6);
font-size: 24rpx;
}
.right{
display: flex;
}
.radio-item{
margin-left: 47rpx;
display: flex;
align-items: center;
}
.radio-item:first-of-type{
margin-left: 0;
}
.radio-item .icon-checkbox{
width: 36rpx;
height: 36rpx;
position: relative;
margin-right: 20rpx;
}
.radio-item .radio-title{
color: #8C8C8C;
font-size: 26rpx;
}
\ No newline at end of file
.history/src/pages/signup/index2_20191021175935.wxss
deleted
100644 → 0
View file @
d7f53228
/* src/pages/signup/index.wxss */
.instro-box{
width: 100%;
position: relative;
border-bottom: 16rpx solid #F7F7F9;
padding: 10rpx 0 25rpx;
}
.instro-box .instro-item{
display: flex;
align-items: flex-start;
line-height: 31rpx;
color: #575757;
font-size: 24rpx;
padding: 13rpx 24rpx;
font-weight: bold;
}
.instro-box .instro-item .item-label{
color: #575757;
white-space:nowrap;
}
.instro-box .instro-item .item-content{
color: #000;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.form-box{
width: 100%;
position: relative;
border-bottom: 16rpx solid #F7F7F9;
}
.form-item{
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
height: 100rpx;
padding: 0 25rpx;
}
.form-item::after{
content: '';
width: 100%;
height: 1px;
background: rgba(0,0,0,.05);
position: absolute;
left: 0;
bottom: 0;
transform: scaleY(.5);
}
.form-item:last-of-type::after{
display: none;
}
.placeholderclass{
color: rgba(0,0,0,.6);
font-size: 24rpx;
}
.form-item .btn-getcode{
font-size: 24rpx;
border-radius: 10rpx;
height: 60rpx;
color: #000;
background: #FFD85C;
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 0 15rpx;
}
.form-item .btn-getcode-default{
color: #000;
background: #FFD85C;
}
.form-item .form-input{
width: 500rpx;
}
.form-btn{
width: 414rpx;
height: 70rpx;
background:#FFD85C;
border-radius:35px;
font-size: 30rpx;
color: #000;
font-weight: 500;
margin-top: 237rpx;
display: flex;
align-items: center;
justify-content: center;
}
/* 性别单独设置 */
.left{
color: rgba(0,0,0,.6);
font-size: 24rpx;
}
.right{
display: flex;
}
.radio-item{
margin-left: 47rpx;
display: flex;
align-items: center;
}
.radio-item:first-of-type{
margin-left: 0;
}
.radio-item .icon-checkbox{
width: 36rpx;
height: 36rpx;
position: relative;
margin-right: 20rpx;
}
.radio-item .radio-title{
color: #8C8C8C;
font-size: 26rpx;
}
\ No newline at end of file
.history/src/pages/signup/index2_20191021180141.wxml
deleted
100644 → 0
View file @
d7f53228
<!-- 学员加入校区 校区层面 -->
<view class="container">
<view class="instro-box">
<view class="instro-item">
<view class="item-label">学校名称:</view>
<view class="item-content">{{schoolDetail.title}}</view>
</view>
</view>
<view class="form-box">
<view class="form-item">
<input type="text" class="form-input" maxlength="20" bindinput="nameInput" placeholder-class="placeholderclass" value="{{params.name}}" placeholder="输入姓名"/>
</view>
</view>
<view class="form-box">
<view class="form-item">
<view class="left">性别</view>
<view class="right">
<view class="radio-item {{params.gender == item.value? 'active':''}}" wx:for="{{genderArr}}" wx:key="" data-value="{{item.value}}" bindtap="selectGender">
<image class="icon-checkbox" src="{{imageRoot}}2c/common/radioactive2.png?{{imageVersion}}" wx:if="{{params.gender==item.value}}"></image>
<image class="icon-checkbox" src="{{imageRoot}}2b/common/radiono.png?{{imageVersion}}" wx:else></image>
<view class="radio-title">{{item.title}}</view>
</view>
</view>
</view>
</view>
<view class="form-box">
<view class="form-item">
<input type="number" class="form-input" bindinput="mobileInput" placeholder-class="placeholderclass" value="{{params.mobile}}" placeholder="输入手机号" maxlength="11"/>
<button class="btn-getcode" bindtap="sendVerify" disabled="{{hasSend || params.mobile.length<11}}">{{hasSend ? countdownTime + '秒后重新获取': '获取验证码'}}</button>
</view>
<view class="form-item">
<input type="number" class="form-input" maxlength="4" bindinput="codeInput" placeholder-class="placeholderclass" value="{{params.code}}" placeholder="输入验证码" />
</view>
</view>
<view class="form-box">
<picker class="form-item" mode="date" fields="day" value="" start="{{range_start}}" end="{{range_end}}" bindchange="bindDateChange">
<input type="text" class="form-input" bindinput="psdInput" placeholder-class="placeholderclass" value="{{params.birthday}}" placeholder="选择生日" disabled style="width: 700rpx;"/>
</picker>
</view>
<form bindsubmit="studentAddSumbit" report-submit="true">
<button class="form-btn" form-type="submit">完成报名</button>
</form>
</view>
\ No newline at end of file
constants/constants.js
View file @
6c435f41
export
default
{
imageRoot
:
'https://cdn.img.shangjiadao.cn/qingxiao/daka/images/'
,
host
:
'https://qxapi.qingxiao.online/daka'
,
host2
:
'https://wx.m.shangjiadao.cn'
,
//
host: 'https://qxapi.qingxiao.online/daka',
//
host2: 'https://wx.m.shangjiadao.cn',
storageVersion
:
'4.0'
,
imageVersion
:
'20191017'
,
//
host: 'https://clock.wp53.cn',
//
host2: 'https://test.wp53.cn',
host
:
'https://clock.wp53.cn'
,
host2
:
'https://test.wp53.cn'
,
appId
:
'wxc1246ea029394785'
,
miniProgram
:
{
...
...
service/business/circlemember.js
View file @
6c435f41
...
...
@@ -30,14 +30,14 @@ function memberIntegral (data){
errorresolve
:
2
,
})
}
function
memberMark
(
data
)
{
return
wxRequest
({
role
:
'2b'
,
url
:
apis
.
business
.
circleMember
.
memberMark
,
data
,
method
:
'POST'
,
errorresolve
:
1
,
})
function
memberMark
(
data
)
{
return
wxRequest
({
role
:
'2b'
,
url
:
apis
.
business
.
circleMember
.
memberMark
,
data
,
method
:
'POST'
,
errorresolve
:
1
,
})
}
// 修改学员昵称
function
memberRemark
(
data
)
{
...
...
@@ -77,15 +77,6 @@ function erpStudentAdjust(data) {
errorresolve
:
1
,
})
}
function
memberMark
(
data
)
{
return
wxRequest
({
role
:
'2b'
,
url
:
apis
.
business
.
circleMember
.
memberMark
,
data
,
method
:
'POST'
,
errorresolve
:
1
,
})
}
// 毕业
function
studentgraduate
(
data
)
{
return
wxRequest
({
...
...
service/common.js
View file @
6c435f41
...
...
@@ -47,9 +47,17 @@ function formIdCreate ({formId}) {
})
}
// function updateUserinfo(data) {
// return wxRequest({
// url: apis.customer.common.updateUserinfo,
// data,
// method: 'POST',
// errorresolve: 1,
// })
// }
function
updateUserinfo
(
data
)
{
return
wxRequest
({
url
:
apis
.
customer
.
common
.
updateUserinfo
,
url
:
apis
.
business
.
common
.
updateUserinfo
,
data
,
method
:
'POST'
,
errorresolve
:
1
,
...
...
@@ -129,14 +137,6 @@ function generateCustomerQrcode (data) {
errorresolve
:
1
,
})
}
function
updateUserinfo
(
data
)
{
return
wxRequest
({
url
:
apis
.
business
.
common
.
updateUserinfo
,
data
,
method
:
'POST'
,
errorresolve
:
1
,
})
}
function
updateUserByOpenId
(
data
)
{
return
wxRequest
({
url
:
apis
.
business
.
common
.
updateUserByOpenId
,
...
...
service/customer/userMedal.js
View file @
6c435f41
...
...
@@ -13,6 +13,6 @@ function getTotalList (data) {
}
export
{
getTotalList
,
getWeekList
,
getDailyList
//
getWeekList,
//
getDailyList
}
\ No newline at end of file
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