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
257793ba
Commit
257793ba
authored
Oct 13, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多少人
parent
d7d33b0c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
24 deletions
+62
-24
address2.vue
pages/address/address2.vue
+12
-12
goods.vue
pages/goods/goods.vue
+5
-5
order-submit2.vue
pages/order-submit/order-submit2.vue
+45
-7
No files found.
pages/address/address2.vue
View file @
257793ba
...
...
@@ -66,9 +66,9 @@
<text
class=
"school"
>
选择就读学校
</text>
</text>
</view>
<view
class=
"search"
>
<
!--
<
view
class=
"search"
>
<u-search
placeholder=
"请输入名称"
v-model=
"keyword"
></u-search>
</view>
</view>
-->
<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)"
>
...
...
@@ -103,9 +103,9 @@
<text
class=
"school"
>
选择校区
</text>
</text>
</view>
<view
class=
"search"
>
<
!--
<
view
class=
"search"
>
<u-search
placeholder=
"请输入名称"
v-model=
"keyword"
></u-search>
</view>
</view>
-->
<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)"
>
...
...
@@ -192,14 +192,14 @@
that
.
requestJJSWAdmin
(
testCmd
,
postMsg
,
(
res
)
=>
{
if
(
res
.
data
.
Code
==
1
)
{
uni
.
showToast
({
title
:
'提交成功'
,
icon
:
'exception'
,
duration
:
2000
});
uni
.
navigate
To
({
url
:
'bankcard'
})
//
uni.showToast({
//
title: '提交成功',
//
icon: 'exception',
//
duration: 2000
//
});
uni
.
navigate
Back
({
delta
:
1
});
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
Message
,
...
...
pages/goods/goods.vue
View file @
257793ba
...
...
@@ -1093,7 +1093,7 @@
.teacher
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
/* align-items: center; */
margin-bottom
:
50
rpx
;
}
...
...
@@ -1115,13 +1115,13 @@
}
.teacher5
{
color
:
#999
;
font-size
:
20
rpx
;
overflow
:
hidden
;
/*
color: #999;
font-size: 20rpx;
*/
/*
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient
:
vertical
-webkit-box-orient: vertical
*/
}
.introduce-box
{
...
...
pages/order-submit/order-submit2.vue
View file @
257793ba
...
...
@@ -3,9 +3,20 @@
<!-- @click="chosenAddress(ds.address.id)" -->
<view
class=
"add-box"
>
<!--
<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"
>
<!--
<view
class=
"address"
>
{{
address
.
province
+
address
.
city
+
address
.
district
}}
</view>
-->
<view
v-if=
"namelist&&namelist.length>0"
class=
"area"
@
click=
"mask()"
>
{{
Thename
}}
</view>
<view
v-if=
"namelist&&namelist.length>0"
class=
"area"
>
<view
class=
"name-top"
>
<view
class=
"mask-lit22"
:style=
"
{ 'background-color': mc }">
{{
Thename
.
substr
(
0
,
1
)
}}
</view>
<view
class=
"switch-box1"
@
click=
"mask()"
>
<view
class=
"switch-box2"
>
{{
Thename
}}
</view>
<view
class=
"switch-box3"
>
点击切换学员
</view>
</view>
</view>
</view>
<view
v-if=
"namelist.length
<0
"
class=
"area"
@
click=
"chosenAddress()"
>
请添加学员
</view>
<view
class=
"address"
>
<!-- 切换学员 -->
...
...
@@ -436,9 +447,12 @@
}
this
.
requestJJSWAdmin
(
testCmd
,
postMsg
,
(
res
)
=>
{
this
.
namelist
=
res
.
data
.
Data
this
.
Thename
=
res
.
data
.
Data
[
0
].
StuName
this
.
JJSWStuId
=
res
.
data
.
Data
[
0
].
StuId
if
(
res
.
data
.
Data
.
length
>
0
)
{
this
.
namelist
=
res
.
data
.
Data
this
.
Thename
=
res
.
data
.
Data
[
0
].
StuName
this
.
JJSWStuId
=
res
.
data
.
Data
[
0
].
StuId
}
}
);
},
...
...
@@ -492,7 +506,7 @@
});
return
;
}
if
(
that
.
JJSWStuId
==
''
)
{
if
(
that
.
JJSWStuId
==
''
||
that
.
Thename
==
''
)
{
this
.
$refs
.
uToast
.
show
({
title
:
'请添加学员!'
,
type
:
'warning'
...
...
@@ -506,7 +520,8 @@
complete
(
res
)
{
that
.
submitOrder
=
false
;
let
form
=
{};
form
.
Consignee
=
that
.
adressInfo
.
Consignee
;
// form.Consignee = that.adressInfo.Consignee;
form
.
Consignee
=
that
.
Thename
;
form
.
Mobile
=
that
.
adressInfo
.
Mobile
;
form
.
Province
=
that
.
adressInfo
.
Province
;
form
.
City
=
that
.
adressInfo
.
City
;
...
...
@@ -812,6 +827,29 @@
</
script
>
<
style
>
.mask-lit22
{
width
:
50
rpx
;
height
:
50
rpx
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
font-size
:
30
rpx
;
border-radius
:
50%
;
text-align
:
center
;
line-height
:
40
rpx
;
color
:
#FFF
;
margin-right
:
20
rpx
;
}
.switch-box2
{
font-size
:
25
rpx
;
}
.switch-box3
{
font-size
:
18
rpx
;
color
:
#999
;
}
.name-top
{
display
:
flex
;
}
.mask-lit
{
display
:
flex
;
justify-content
:
space-between
;
...
...
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