Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
d7d33b0c
Commit
d7d33b0c
authored
Oct 13, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
学员修改
parent
d2d9c6a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
158 additions
and
125 deletions
+158
-125
address2.vue
pages/address/address2.vue
+138
-113
goods.vue
pages/goods/goods.vue
+6
-6
order-submit2.vue
pages/order-submit/order-submit2.vue
+14
-6
No files found.
pages/address/address2.vue
View file @
d7d33b0c
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
</view>
</view>
<view
class=
"box-bg"
>
<view
class=
"box-bg"
>
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.StuName"
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.StuName"
placeholder=
"请输入学员姓名"
maxlength=
"5"
/>
placeholder=
"请输入学员姓名"
maxlength=
"5"
/>
</view>
</view>
<view
class=
"box-bg"
>
<view
class=
"box-bg"
>
<view>
性别
</view>
<view>
性别
:
{{}}
</view>
<view
class=
"xingbie"
>
<view
class=
"xingbie"
>
<text
v-for=
"(item, i) in goodsist"
:key=
"i"
@
click=
"gende(item,i)"
<text
v-for=
"(item, i) in goodsist"
:key=
"i"
@
click=
"gende(item,i)"
:class=
"[index==i?'gender':'gender2'] "
>
{{
item
.
name
}}
</text>
:class=
"[index==i?'gender':'gender2'] "
>
{{
item
.
name
}}
</text>
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
</view>
</view>
</view>
</view>
<view
class=
"box-bg"
>
<view
class=
"box-bg"
>
<input
type=
"number"
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.StuTel"
<input
type=
"number"
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
placeholder=
"请输入手机号"
maxlength=
"11"
/>
v-model=
"rules.StuTel"
placeholder=
"请输入手机号"
maxlength=
"11"
/>
</view>
</view>
<view
class=
"box-bg"
>
<view
class=
"box-bg"
>
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.BaseCondition"
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.BaseCondition"
...
@@ -34,22 +34,22 @@
...
@@ -34,22 +34,22 @@
</view>
</view>
</view>
</view>
<view
class=
"box-bg"
@
click=
"gradess()"
>
<view
class=
"box-bg"
@
click=
"gradess()"
>
<input
maxlength=
"0"
readonly=
"readonly"
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.DemandPoint"
<input
maxlength=
"0"
readonly=
"readonly"
class=
"uni-input inputM"
placeholder=
"就读年级"
/>
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.DemandPoint"
placeholder=
"就读年级"
/>
<view>
<view>
<u-icon
name=
"arrow"
color=
"#9F9F9F"
size=
"20"
></u-icon>
<u-icon
name=
"arrow"
color=
"#9F9F9F"
size=
"20"
></u-icon>
</view>
</view>
</view>
</view>
<view
class=
"box-bg"
@
click=
"community()"
>
<view
class=
"box-bg"
@
click=
"community()"
>
<input
maxlength=
"0"
class=
"uni-input inputM"
readonly=
"readonly"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.School_Id"
<input
maxlength=
"0"
class=
"uni-input inputM"
readonly=
"readonly"
placeholder=
"报名校区"
/>
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.School_Id"
placeholder=
"报名校区"
/>
<view>
<view>
<u-icon
name=
"arrow"
color=
"#9F9F9F"
size=
"20"
></u-icon>
<u-icon
name=
"arrow"
color=
"#9F9F9F"
size=
"20"
></u-icon>
</view>
</view>
</view>
</view>
<view
class=
"box-bg"
>
<view
class=
"box-bg"
>
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.ConsultingResults"
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
placeholder=
"如何知道进阶思维"
/>
v-model=
"rules.ConsultingResults"
placeholder=
"如何知道进阶思维"
/>
</view>
</view>
<!-- 日历弹窗 -->
<!-- 日历弹窗 -->
<u-popup
v-model=
"show"
mode=
"bottom"
length=
"100%"
>
<u-popup
v-model=
"show"
mode=
"bottom"
length=
"100%"
>
...
@@ -62,28 +62,36 @@
...
@@ -62,28 +62,36 @@
<u-popup
v-model=
"show2"
mode=
"right"
length=
"80%"
>
<u-popup
v-model=
"show2"
mode=
"right"
length=
"80%"
>
<view
class=
"school-bg"
>
<view
class=
"school-bg"
>
<text>
<text>
<text
class=
"school"
>
选择就读学校>
</text>
<!--
<u-icon
name=
"arrow-left"
size=
"20"
></u-icon>
-->
<text
class=
"school"
>
选择就读学校
</text>
</text>
</text>
</view>
</view>
<view
class=
"search"
>
<view
class=
"search"
>
<u-search
placeholder=
"请输入名称"
v-model=
"keyword"
></u-search>
<u-search
placeholder=
"请输入名称"
v-model=
"keyword"
></u-search>
</view>
</view>
<scroll-view
scroll-y=
"true"
style=
"height:100%;"
>
<scroll-view
scroll-y=
"true"
style=
"height:100%;"
>
<view
class=
"list"
:class=
"[actuve==i?'list2':'']"
v-for=
"(item, i) in schoollist"
:key=
"i"
@
click=
"masklist(item.Content,i)"
>
<view
class=
"list"
:class=
"[actuve==i?'list2':'']"
v-for=
"(item, i) in schoollist"
:key=
"i"
@
click=
"masklist(item.Content,i)"
>
<view>
<view>
{{
item
.
Content
}}
{{
item
.
Content
}}
</view>
</view>
<view
v-if=
"actuve==i"
>
<view
v-if=
"actuve==i"
>
<u-icon
name=
"
arrow
"
size=
"20"
></u-icon>
<u-icon
name=
"
success
"
size=
"20"
></u-icon>
</view>
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</u-popup>
</u-popup>
<!-- 年级弹窗 -->
<!-- 年级弹窗 -->
<u-popup
v-model=
"show3"
mode=
"bottom"
length=
"auto"
>
<u-popup
v-model=
"show3"
mode=
"bottom"
length=
"auto"
>
<scroll-view
scroll-y=
"true"
style=
"height:400rpx;"
>
<scroll-view
scroll-y=
"true"
style=
"height:400rpx;"
>
<view
v-for=
"(item, i) in DemandPoint"
:key=
"i"
>
<view
v-for=
"(item, i) in DemandPoint"
:key=
"i"
>
<view
class=
"list"
@
click=
"grades(item.Content,i)"
>
{{
item
.
Content
}}
</view>
<view
class=
"list"
:class=
"[actuve3==i?'list2':'']"
@
click=
"grades(item.Content,i)"
>
<view>
{{
item
.
Content
}}
</view>
<view
v-if=
"actuve3==i"
>
<u-icon
name=
"success"
size=
"20"
></u-icon>
</view>
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</u-popup>
</u-popup>
...
@@ -91,19 +99,21 @@
...
@@ -91,19 +99,21 @@
<u-popup
v-model=
"show4"
mode=
"right"
length=
"80%"
>
<u-popup
v-model=
"show4"
mode=
"right"
length=
"80%"
>
<view
class=
"school-bg"
>
<view
class=
"school-bg"
>
<text>
<text>
<text
class=
"school"
>
选择校区>
</text>
<!--
<u-icon
name=
"arrow-left"
size=
"20"
></u-icon>
-->
<text
class=
"school"
>
选择校区
</text>
</text>
</text>
</view>
</view>
<view
class=
"search"
>
<view
class=
"search"
>
<u-search
placeholder=
"请输入名称"
v-model=
"keyword"
></u-search>
<u-search
placeholder=
"请输入名称"
v-model=
"keyword"
></u-search>
</view>
</view>
<scroll-view
scroll-y=
"true"
style=
"height:100%;"
>
<scroll-view
scroll-y=
"true"
style=
"height:100%;"
>
<view
class=
"list"
:class=
"[actuve2==i?'list2':'']"
v-for=
"(item, i) in campus"
:key=
"i"
@
click=
"masklist2(item,i)"
>
<view
class=
"list"
:class=
"[actuve2==i?'list2':'']"
v-for=
"(item, i) in campus"
:key=
"i"
@
click=
"masklist2(item,i)"
>
<view>
<view>
{{
item
.
StuName
}}
{{
item
.
StuName
}}
</view>
</view>
<view
v-if=
"actuve2==i"
>
<view
v-if=
"actuve2==i"
>
<u-icon
name=
"
arrow
"
size=
"20"
></u-icon>
<u-icon
name=
"
success
"
size=
"20"
></u-icon>
</view>
</view>
</view>
</view>
</scroll-view>
</scroll-view>
...
@@ -121,37 +131,38 @@
...
@@ -121,37 +131,38 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
u
:{},
u
:
{},
School_Id
:
''
,
//要传的校区id
School_Id
:
''
,
//要传的校区id
schoollist
:
[],
//学校
schoollist
:
[],
//学校
DemandPoint
:
[],
//班级
DemandPoint
:
[],
//班级
campus
:
[],
//校区
campus
:
[],
//校区
Type
:
''
,
Type
:
''
,
communitys
:
false
,
communitys
:
false
,
actuve
:
-
1
,
actuve
:
-
1
,
actuve2
:
-
1
,
actuve2
:
-
1
,
actuve3
:
-
1
,
show
:
false
,
//日历
show
:
false
,
//日历
show2
:
false
,
//学校
show2
:
false
,
//学校
show3
:
false
,
//年级
show3
:
false
,
//年级
show4
:
false
,
//社区
show4
:
false
,
//社区
mode
:
'date'
,
mode
:
'date'
,
rules
:
{
rules
:
{
StuName
:
''
,
StuName
:
''
,
StuSex
:
'0'
,
StuSex
:
'0'
,
StuBirth
:
''
,
StuBirth
:
''
,
BaseCondition
:
''
,
BaseCondition
:
''
,
DemandPoint
:
''
,
DemandPoint
:
''
,
School_Id
:
''
,
School_Id
:
''
,
StuTel
:
''
,
StuTel
:
''
,
ConsultingResults
:
''
ConsultingResults
:
''
},
},
goodsist
:
[{
goodsist
:
[{
name
:
'男'
,
name
:
'男'
,
id
:
'0'
,
id
:
'0'
,
},
},
{
{
name
:
'女'
,
name
:
'女'
,
id
:
"1"
id
:
"1"
}
}
],
],
index
:
0
index
:
0
...
@@ -164,82 +175,83 @@
...
@@ -164,82 +175,83 @@
// 提交表单
// 提交表单
registered
()
{
registered
()
{
let
that
=
this
;
let
that
=
this
;
testCmd
=
"/api/WeChatPublic/CreateStudent"
;
testCmd
=
"/api/WeChatPublic/CreateStudent"
;
postMsg
=
{
postMsg
=
{
OpenId
:
that
.
u
.
OpenId
,
// openId 是 [string] 查看
OpenId
:
that
.
u
.
OpenId
,
// openId 是 [string] 查看
UnionId
:
that
.
u
.
Unoinid
,
UnionId
:
that
.
u
.
Unoinid
,
StuSex
:
that
.
rules
.
StuSex
,
// 学生性别 0男 1女 是 [string] 查看
StuSex
:
that
.
rules
.
StuSex
,
// 学生性别 0男 1女 是 [string] 查看
StuName
:
that
.
rules
.
StuName
,
// 学生姓名 是 [string] 查看
StuName
:
that
.
rules
.
StuName
,
// 学生姓名 是 [string] 查看
StuBirth
:
that
.
rules
.
StuBirth
,
// 学生生日 是 [string] 查看
StuBirth
:
that
.
rules
.
StuBirth
,
// 学生生日 是 [string] 查看
StuTel
:
that
.
rules
.
StuTel
,
// 手机号码 是 [string] 查看
StuTel
:
that
.
rules
.
StuTel
,
// 手机号码 是 [string] 查看
BaseCondition
:
that
.
rules
.
BaseCondition
,
// 就读学校 是 [string] 查看
BaseCondition
:
that
.
rules
.
BaseCondition
,
// 就读学校 是 [string] 查看
DemandPoint
:
that
.
rules
.
DemandPoint
,
// 班级 是 [string] 查看
DemandPoint
:
that
.
rules
.
DemandPoint
,
// 班级 是 [string] 查看
ConsultingResults
:
that
.
rules
.
ConsultingResults
,
// 如何知道进阶思维 是 [string] 查看
ConsultingResults
:
that
.
rules
.
ConsultingResults
,
// 如何知道进阶思维 是 [string] 查看
School_Id
:
that
.
School_Id
,
// 校区 是 [string]
School_Id
:
that
.
School_Id
,
// 校区 是 [string]
Group_Id
:
"100001"
Group_Id
:
"100001"
};
};
that
.
requestJJSWAdmin
(
testCmd
,
postMsg
,
that
.
requestJJSWAdmin
(
testCmd
,
postMsg
,
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
data
.
Code
==
1
)
{
if
(
res
.
data
.
Code
==
1
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'成功'
,
title
:
'提交成功'
,
icon
:
'exception'
,
icon
:
'exception'
,
duration
:
2000
duration
:
2000
});
});
}
else
{
uni
.
navigateTo
({
uni
.
showToast
({
url
:
'bankcard'
title
:
res
.
data
.
Message
,
})
position
:
'bottom'
,
}
else
{
icon
:
'none'
,
uni
.
showToast
({
duration
:
2000
title
:
res
.
data
.
Message
,
});
position
:
'bottom'
,
}
icon
:
'none'
,
duration
:
2000
});
}
}
);
}
},
);
},
initlist
()
{
initlist
()
{
let
that
=
this
;
let
that
=
this
;
that
.
requestJJSWAdmin
(
testCmd
,
postMsg
,
that
.
requestJJSWAdmin
(
testCmd
,
postMsg
,
(
res
)
=>
{
(
res
)
=>
{
if
(
postMsg
.
Type
==
1
)
{
if
(
postMsg
.
Type
==
1
)
{
that
.
schoollist
=
res
.
data
.
Data
that
.
schoollist
=
res
.
data
.
Data
}
else
if
(
postMsg
.
Type
==
2
)
{
}
else
if
(
postMsg
.
Type
==
2
)
{
that
.
DemandPoint
=
res
.
data
.
Data
that
.
DemandPoint
=
res
.
data
.
Data
}
}
else
if
(
that
.
show4
)
{
else
if
(
that
.
show4
)
{
that
.
campus
=
res
.
data
.
Data
that
.
campus
=
res
.
data
.
Data
}
}
}
}
);
);
},
},
submit
()
{
submit
()
{
let
patt
=
/^
[
1
][
3-9
][\d]{9}
/
let
patt
=
/^
[
1
][
3-9
][\d]{9}
/
if
(
this
.
rules
.
StuName
==
''
)
{
if
(
this
.
rules
.
StuName
==
''
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'请填写姓名'
,
title
:
'请填写姓名'
,
position
:
'bottom'
,
position
:
'bottom'
,
icon
:
'none'
,
icon
:
'none'
,
duration
:
2000
duration
:
2000
});
});
}
else
if
(
this
.
rules
.
StuTel
==
''
)
{
}
else
if
(
this
.
rules
.
StuTel
==
''
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'请输入手机号'
,
title
:
'请输入手机号'
,
position
:
'bottom'
,
position
:
'bottom'
,
icon
:
'none'
,
icon
:
'none'
,
duration
:
2000
duration
:
2000
});
});
}
else
if
(
!
patt
.
test
(
this
.
rules
.
StuTel
))
{
}
else
if
(
!
patt
.
test
(
this
.
rules
.
StuTel
))
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'请输入正确的手机号码'
,
title
:
'请输入正确的手机号码'
,
position
:
'bottom'
,
position
:
'bottom'
,
icon
:
'none'
,
icon
:
'none'
,
duration
:
2000
duration
:
2000
});
});
}
}
else
{
else
{
this
.
registered
()
this
.
registered
()
}
}
},
},
confirm
(
e
)
{
confirm
(
e
)
{
console
.
log
(
e
);
console
.
log
(
e
);
...
@@ -247,7 +259,7 @@
...
@@ -247,7 +259,7 @@
this
.
rules
.
StuBirth
=
e
.
fulldate
this
.
rules
.
StuBirth
=
e
.
fulldate
},
},
gende
(
item
,
i
)
{
gende
(
item
,
i
)
{
this
.
index
=
1
this
.
index
=
i
this
.
rules
.
StuSex
=
item
.
id
this
.
rules
.
StuSex
=
item
.
id
},
},
calendar
()
{
calendar
()
{
...
@@ -263,7 +275,7 @@
...
@@ -263,7 +275,7 @@
this
.
initlist
()
this
.
initlist
()
this
.
show2
=
true
this
.
show2
=
true
},
},
masklist
(
item
,
i
)
{
masklist
(
item
,
i
)
{
this
.
actuve
=
i
this
.
actuve
=
i
this
.
rules
.
BaseCondition
=
item
this
.
rules
.
BaseCondition
=
item
this
.
show2
=
false
this
.
show2
=
false
...
@@ -277,7 +289,8 @@
...
@@ -277,7 +289,8 @@
this
.
show3
=
true
this
.
show3
=
true
},
},
// 年级
// 年级
grades
(
item
,
i
)
{
grades
(
item
,
i
)
{
this
.
actuve3
=
i
this
.
rules
.
DemandPoint
=
item
this
.
rules
.
DemandPoint
=
item
this
.
show3
=
false
this
.
show3
=
false
},
},
...
@@ -289,7 +302,7 @@
...
@@ -289,7 +302,7 @@
this
.
initlist
()
this
.
initlist
()
this
.
show4
=
true
this
.
show4
=
true
},
},
masklist2
(
item
,
i
)
{
masklist2
(
item
,
i
)
{
this
.
actuve2
=
i
this
.
actuve2
=
i
this
.
rules
.
School_Id
=
item
.
StuName
this
.
rules
.
School_Id
=
item
.
StuName
this
.
School_Id
=
item
.
StuId
this
.
School_Id
=
item
.
StuId
...
@@ -300,37 +313,46 @@
...
@@ -300,37 +313,46 @@
</
script
>
</
script
>
<
style
>
<
style
>
.uni-input
{
.uni-input
{
margin-left
:
0
rpx
!important
;
margin-left
:
0
rpx
!important
;
}
}
.search
{
.school
{
font-size
:
22
rpx
;
}
.search
{
margin-bottom
:
20
rpx
;
margin-bottom
:
20
rpx
;
}
}
.view-box
{
padding-top
:
40
rpx
;
.view-box
{
background-color
:
#EEF1FA
;
padding-top
:
40
rpx
;
min-height
:
100vh
;
background-color
:
#EEF1FA
;
}
min-height
:
100vh
;
.submit-box
{
}
margin-top
:
50
rpx
;
.submit-box
{
/* margin-top: 50rpx; */
width
:
80%
;
width
:
80%
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
font-size
:
22
rpx
;
font-size
:
22
rpx
;
color
:
#fff
;
color
:
#fff
;
position
:
fixed
;
position
:
absolute
;
bottom
:
40
0
rpx
;
bottom
:
25
0
rpx
;
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
0%
);
transform
:
translate
(
-50%
,
0%
);
background-color
:
#138BF9
;
background-color
:
#138BF9
;
border-radius
:
10
rpx
;
border-radius
:
10
rpx
;
height
:
60
rpx
;
height
:
60
rpx
;
align-items
:
center
;
align-items
:
center
;
}
}
.list2
{
color
:
blue
;
.list2
{
color
:
#138BF9
;
}
}
.list
{
.list
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
...
@@ -340,6 +362,7 @@
...
@@ -340,6 +362,7 @@
padding-right
:
20
rpx
;
padding-right
:
20
rpx
;
font-size
:
24
rpx
;
font-size
:
24
rpx
;
}
}
.box
{
.box
{
width
:
90%
;
width
:
90%
;
border-radius
:
10
rpx
;
border-radius
:
10
rpx
;
...
@@ -351,14 +374,16 @@
...
@@ -351,14 +374,16 @@
padding-bottom
:
80
rpx
;
padding-bottom
:
80
rpx
;
border-radius
:
20
rpx
;
border-radius
:
20
rpx
;
}
}
.school-bg
{
.school-bg
{
background-color
:
#EEF1FA
;
background-color
:
#EEF1FA
;
height
:
50
rpx
;
height
:
50
rpx
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding-left
:
50
rpx
;
padding-left
:
50
rpx
;
margin-bottom
:
20
rpx
;
margin-bottom
:
20
rpx
;
}
}
.xingbie
{
.xingbie
{
width
:
185
rpx
;
width
:
185
rpx
;
display
:
flex
;
display
:
flex
;
...
@@ -372,9 +397,9 @@
...
@@ -372,9 +397,9 @@
width
:
80
rpx
;
width
:
80
rpx
;
height
:
20px
;
height
:
20px
;
display
:
inline-block
;
display
:
inline-block
;
text-align
:
center
;
text-align
:
center
;
line-height
:
20px
;
line-height
:
20px
;
border-radius
:
5
rpx
;
border-radius
:
5
rpx
;
font-size
:
22
rpx
;
font-size
:
22
rpx
;
}
}
...
@@ -384,9 +409,9 @@
...
@@ -384,9 +409,9 @@
width
:
80
rpx
;
width
:
80
rpx
;
height
:
20px
;
height
:
20px
;
display
:
inline-block
;
display
:
inline-block
;
text-align
:
center
;
text-align
:
center
;
line-height
:
20px
;
line-height
:
20px
;
border-radius
:
5
rpx
;
border-radius
:
5
rpx
;
font-size
:
22
rpx
;
font-size
:
22
rpx
;
}
}
...
...
pages/goods/goods.vue
View file @
d7d33b0c
...
@@ -167,16 +167,16 @@
...
@@ -167,16 +167,16 @@
<text
class=
"introduce2"
>
老师介绍
</text>
<text
class=
"introduce2"
>
老师介绍
</text>
</view>
</view>
<view
class=
"teacher"
>
<view
class=
"teacher"
>
<image
src=
"@/static/images/icon/icon-share.png"
style=
"width:2
0px;height:30px;"
<image
:src=
"g.edu_data.TeacherIcon"
mode=
"aspectFill"
style=
"width:3
0px;height:30px;"
class=
"share-icon"
/>
class=
"share-icon"
/>
<view
class=
"teacher2"
>
<view
class=
"teacher2"
>
<view
class=
"teacher3"
>
<view
class=
"teacher3"
>
<view
class=
"teacher4"
>
张鑫生
</view>
<view
class=
"teacher4"
v-if=
'g.edu_data.TeacherName'
>
{{g.edu_data.TeacherName}}
</view>
<view
class=
"teacher5"
>
高级高级高级高级高级高级高级高级高级
</view>
<view
class=
"teacher5"
>
<rich-text
:nodes=
"g.edu_data.TeacherInfo"
></rich-text>
</view>
</view>
</view>
<view
class=
"teacher4"
>
<!--
<view class="teacher4">
<u-icon name="arrow" :size="32" color="#111"></u-icon>
<u-icon name="arrow" :size="32" color="#111"></u-icon>
</view>
</view>
-->
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
<text
class=
"introduce"
:style=
"{ 'background-color': mc }"
></text>
<text
class=
"introduce"
:style=
"{ 'background-color': mc }"
></text>
<text
class=
"introduce2"
>
详情介绍
</text>
<text
class=
"introduce2"
>
详情介绍
</text>
</view>
</view>
<
view>
富文本
</view
>
<
rich-text
:nodes=
"detailContent"
></rich-text
>
</view>
</view>
<!-- top3 -->
<!-- top3 -->
<view
iew
v-if=
"current==2"
>
<view
iew
v-if=
"current==2"
>
...
...
pages/order-submit/order-submit2.vue
View file @
d7d33b0c
...
@@ -5,24 +5,25 @@
...
@@ -5,24 +5,25 @@
<!--
<view
v-if=
"address.province && address.province != ''"
class=
"add-info"
>
-->
<!--
<view
v-if=
"address.province && address.province != ''"
class=
"add-info"
>
-->
<view
v-if=
"address.province && address.province != ''"
class=
"add-info"
style=
"margin-top: 39px;"
>
<view
v-if=
"address.province && address.province != ''"
class=
"add-info"
style=
"margin-top: 39px;"
>
<!--
<view
class=
"address"
>
{{
address
.
province
+
address
.
city
+
address
.
district
}}
</view>
-->
<!--
<view
class=
"address"
>
{{
address
.
province
+
address
.
city
+
address
.
district
}}
</view>
-->
<view
class=
"area"
@
click=
"mask()"
>
{{
Thename
}}
</view>
<view
v-if=
"namelist&&namelist.length>0"
class=
"area"
@
click=
"mask()"
>
{{
Thename
}}
</view>
<view
v-if=
"namelist.length
<0
"
class=
"area"
@
click=
"chosenAddress()"
>
请添加学员
</view>
<view
class=
"address"
>
<view
class=
"address"
>
<!-- 切换学员 -->
<!-- 切换学员 -->
<!--
<text
style=
"margin-right: 10px;"
>
{{
address
.
name
}}
</text>
<!--
<text
style=
"margin-right: 10px;"
>
{{
address
.
name
}}
</text>
<text>
{{
address
.
mobile
}}
</text
--
>
<text>
{{
address
.
mobile
}}
</text
--
>
</view>
</view>
</view>
</view>
<view
v-else
class=
"add-info"
>
<
!--
<
view
v-else
class=
"add-info"
>
<span
style=
"position: relative;top: 16rpx;"
>
请选择
</span>
<span
style=
"position: relative;top: 16rpx;"
>
请选择
</span>
</view>
</view>
-->
<view
class=
"arrow"
@
click=
"chosenAddress()"
>
<view
class=
"arrow"
@
click=
"chosenAddress()"
>
<u-icon
name=
"arrow"
size=
"32"
color=
"#444"
></u-icon>
<u-icon
name=
"arrow"
size=
"32"
color=
"#444"
></u-icon>
</view>
</view>
</view>
</view>
<view
class=
"pay"
>
<view
class=
"pay"
>
<view>
支付方式
22
</view>
<view>
支付方式
</view>
<view
style=
"text-align: right;"
>
在线支付
222
</view>
<view
style=
"text-align: right;"
>
在线支付
</view>
</view>
</view>
<!--
<view
class=
"discountbox"
style=
"padding: 15px 0;margin-bottom: 12px;"
v-if=
"ds.total_price >0"
>
<!--
<view
class=
"discountbox"
style=
"padding: 15px 0;margin-bottom: 12px;"
v-if=
"ds.total_price >0"
>
<view
class=
"filed"
style=
"justify-content: space-between;"
>
<view
class=
"filed"
style=
"justify-content: space-between;"
>
...
@@ -292,7 +293,7 @@
...
@@ -292,7 +293,7 @@
<text
:class=
"[actuve==i?'mask-lit3':'mask-lit33']"
>
{{item.StuName}}
</text>
<text
:class=
"[actuve==i?'mask-lit3':'mask-lit33']"
>
{{item.StuName}}
</text>
</view>
</view>
<view
v-if=
"actuve==i"
>
<view
v-if=
"actuve==i"
>
<u-icon
name=
"
arrow
"
size=
"40"
></u-icon>
<u-icon
name=
"
success
"
size=
"40"
></u-icon>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -491,6 +492,13 @@
...
@@ -491,6 +492,13 @@
});
});
return
;
return
;
}
}
if
(
that
.
JJSWStuId
==
''
)
{
this
.
$refs
.
uToast
.
show
({
title
:
'请添加学员!'
,
type
:
'warning'
});
return
;
}
if
(
!
this
.
submitOrder
)
{
if
(
!
this
.
submitOrder
)
{
this
.
submitOrder
=
true
;
this
.
submitOrder
=
true
;
uni
.
requestSubscribeMessage
({
uni
.
requestSubscribeMessage
({
...
...
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