Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
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
郑秀明
shop_mobile_uni
Commits
e00286d6
Commit
e00286d6
authored
Apr 14, 2020
by
王建威
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
dbef3541
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
66 additions
and
30 deletions
+66
-30
manifest.json
manifest.json
+1
-1
applypage1.vue
pages/apply/applypage1.vue
+20
-13
applypage2.vue
pages/apply/applypage2.vue
+11
-7
applypage3.vue
pages/apply/applypage3.vue
+6
-0
choosetype.vue
pages/apply/choosetype.vue
+7
-2
certification.vue
pages/certification/certification.vue
+7
-1
financialstage.vue
pages/financial/financialstage.vue
+12
-4
installmentinfo.vue
pages/installment/installmentinfo.vue
+2
-2
No files found.
manifest.json
View file @
e00286d6
...
...
@@ -62,7 +62,7 @@
"disableHostCheck"
:
true
,
"proxy"
:
{
"/uni/api"
:
{
"target"
:
"http://
39.96.85.45:9093
/"
,
"target"
:
"http://
192.168.50.133:6564
/"
,
"changeOrigin"
:
true
,
"secure"
:
false
,
"pathRewrite"
:
{
...
...
pages/apply/applypage1.vue
View file @
e00286d6
...
...
@@ -122,11 +122,13 @@
url
:
`/uni/api/userqualification/GetUserQualification/
${
option
.
contract_no
}
`
,
method
:
'GET'
,
success
:
(
res
)
=>
{
const
d
=
res
.
data
.
data
;
Object
.
keys
(
this
.
params
).
forEach
((
item
,
index
)
=>
{
this
.
params
[
item
]
=
d
[
item
]
});
this
.
qualification_id
=
d
.
qualification_id
;
if
(
res
.
data
.
code
===
0
)
{
const
d
=
res
.
data
.
data
;
Object
.
keys
(
this
.
params
).
forEach
((
item
,
index
)
=>
{
this
.
params
[
item
]
=
d
[
item
]
});
this
.
qualification_id
=
d
.
qualification_id
;
}
}
});
...
...
@@ -142,6 +144,11 @@
uploadImage
(
key
)
{
uni
.
chooseImage
({
success
:
(
res
)
=>
{
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
,
duration
:
90000
})
const
tempFilePaths
=
res
.
tempFilePaths
;
uni
.
uploadFile
({
url
:
'/uni/api/resources'
,
...
...
@@ -150,6 +157,7 @@
success
:
(
uploadFileRes
)
=>
{
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
uni
.
hideToast
();
}
});
}
...
...
@@ -185,6 +193,10 @@
// mozilla(firefox)
url
=
window
.
URL
.
createObjectURL
(
file
);
}
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
})
uni
.
uploadFile
({
url
:
'/uni/api/resources'
,
filePath
:
url
,
...
...
@@ -196,6 +208,7 @@
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
this
.
compressName
=
fileName
;
uni
.
hideToast
();
}
});
}
...
...
@@ -248,13 +261,6 @@
});
return
}
if
(
!
this
.
params
.
bank_card_record
)
{
uni
.
showToast
({
title
:
'请上传企业银行流水'
,
icon
:
'none'
});
return
}
this
.
submitFlag
=
false
;
const
methond
=
this
.
qualification_id
?
'PUT'
:
'POST'
;
const
url
=
this
.
qualification_id
?
'/uni/api/userqualification/EditUserQualification/first'
:
'/uni/api/userqualification/AddUserQualification'
;
...
...
@@ -267,7 +273,8 @@
method
:
methond
,
data
:
{
...
this
.
params
,
...
this
.
data
...
this
.
data
,
qualification_id
:
this
.
qualification_id
},
success
:
(
res
)
=>
{
if
(
res
.
data
.
code
===
0
)
{
...
...
pages/apply/applypage2.vue
View file @
e00286d6
...
...
@@ -115,6 +115,11 @@
uploadImage
(
key
)
{
uni
.
chooseImage
({
success
:
(
res
)
=>
{
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
,
duration
:
90000
})
const
tempFilePaths
=
res
.
tempFilePaths
uni
.
uploadFile
({
url
:
'/uni/api/resources'
,
...
...
@@ -123,6 +128,7 @@
success
:
(
uploadFileRes
)
=>
{
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
uni
.
hideToast
();
}
});
}
...
...
@@ -158,6 +164,10 @@
// mozilla(firefox)
url
=
window
.
URL
.
createObjectURL
(
file
);
}
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
})
uni
.
uploadFile
({
url
:
'/uni/api/resources'
,
filePath
:
url
,
...
...
@@ -169,6 +179,7 @@
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
this
.
compressName
=
fileName
;
uni
.
hideToast
();
}
});
}
...
...
@@ -210,13 +221,6 @@
});
return
}
if
(
!
this
.
params
.
legal_card_record
)
{
uni
.
showToast
({
title
:
'请上传法人银行流水'
,
icon
:
'none'
});
return
}
this
.
submitFlag
=
false
;
uni
.
showToast
({
title
:
'提交中'
,
...
...
pages/apply/applypage3.vue
View file @
e00286d6
...
...
@@ -90,6 +90,11 @@
uploadImage
(
key
)
{
uni
.
chooseImage
({
success
:
(
res
)
=>
{
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
,
duration
:
90000
})
const
tempFilePaths
=
res
.
tempFilePaths
uni
.
uploadFile
({
url
:
'/uni/api/resources'
,
...
...
@@ -98,6 +103,7 @@
success
:
(
uploadFileRes
)
=>
{
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
uni
.
hideToast
();
}
});
}
...
...
pages/apply/choosetype.vue
View file @
e00286d6
...
...
@@ -27,8 +27,13 @@
},
nextStep
()
{
if
(
this
.
type
===
1
)
{
uni
.
navigateTo
({
url
:
'/pages/apply/applypage1'
uni
.
getStorage
({
key
:
'installment'
,
success
:
(
res
)
=>
{
uni
.
navigateTo
({
url
:
`/pages/apply/applypage1?contract_no=
${
res
.
data
.
contract_no
}
`
});
}
});
}
else
{
uni
.
navigateTo
({
...
...
pages/certification/certification.vue
View file @
e00286d6
...
...
@@ -70,7 +70,7 @@
params
:
{
enterprise_type
:
1
,
enterprise_name
:
''
,
organ_type
:
1
0
,
organ_type
:
1
1
,
social_credit_code
:
''
,
legal_name
:
''
,
legal_card
:
''
,
...
...
@@ -99,6 +99,11 @@
uploadImage
(
key
)
{
uni
.
chooseImage
({
success
:
(
res
)
=>
{
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
,
duration
:
90000
})
const
tempFilePaths
=
res
.
tempFilePaths
uni
.
uploadFile
({
url
:
'/uni/api/resources'
,
...
...
@@ -107,6 +112,7 @@
success
:
(
uploadFileRes
)
=>
{
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
uni
.
hideToast
();
}
});
}
...
...
pages/financial/financialstage.vue
View file @
e00286d6
...
...
@@ -24,7 +24,8 @@
</view>
<text
class=
"fin_desc"
>
各类搭配组合 满足中小型医院无忧开店
</text>
<uni-swiper-dot
:info=
"EquipmentHotList"
mode=
"dot"
:dotsStyles=
"
{'width': 4,'height':4, 'bottom':0,'border':'none','selectedBorder':'none'}" :current="current">
<swiper
class=
"fin_swiper"
:autoplay=
"true"
@
change=
"change"
>
<swiper
class=
"fin_swiper"
:autoplay=
"true"
@
change=
"change"
:style=
"height ?
{'height':'580rpx'} : null">
<swiper-item
class=
"fin_swiper_item"
v-for=
"(val, index) in EquipmentHotList"
:key=
"index"
>
<view
class=
"fin_goods"
v-for=
"(vo, key) in val"
:key=
"key"
>
<view
class=
"fin_goods_item"
@
click=
"jumpDetail(vo.equipment_id)"
>
...
...
@@ -76,7 +77,8 @@
EquipmentRecommendList
:
[],
//推荐
EquipmentHotList
:
[],
//精选
isLogin
:
0
,
current
:
0
current
:
0
,
height
:
false
}
},
onLoad
()
{
...
...
@@ -103,6 +105,10 @@
}
else
{
this
.
EquipmentHotList
=
res
.
data
.
data
.
EquipmentHotList
;
}
console
.
log
(
this
.
EquipmentHotList
[
0
].
length
>
3
)
if
(
this
.
EquipmentHotList
[
0
].
length
>
3
)
{
this
.
height
=
true
;
}
uni
.
hideLoading
();
}
});
...
...
@@ -204,13 +210,12 @@
box-shadow:0px 4px 16px 0px rgba(0,0,0,0.04);
width: 702rpx;
margin: 36rpx auto 0;
max-height: 580rpx;
padding: 0 46rpx;
box-sizing: border-box;
.fin_swiper_item {
display: flex;
flex-wrap: wrap;
justify-content:
space-between
;
justify-content:
flex-start
;
}
}
.fin_goods {
...
...
@@ -246,6 +251,9 @@
}
}
}
.fin_goods:nth-of-type(3n-1) {
margin: 0 34rpx;
}
.fin_recommended {
width: 702rpx;
margin: 36rpx auto 0;
...
...
pages/installment/installmentinfo.vue
View file @
e00286d6
...
...
@@ -49,7 +49,7 @@
</view>
-->
<view
class=
"common_item_bar"
>
<view>
<text
class=
"info_commom_title"
>
规格
</text>
<text
class=
"info_commom_title"
>
分期
</text>
<text
class=
"info_common_con"
>
已选:x
{{
Number
(
e_info
.
periods_num
)
+
1
}}
期
</text>
</view>
<view
class=
"info_operation"
@
click=
"open()"
>
...
...
@@ -80,7 +80,7 @@
<view>
<image
class=
"shop_logo"
:src=
"data.StoreInfo.store_logo || $defaultPortrait"
></image>
<view
class=
"dlb dlb_box"
@
click=
"jumpPhpPage(`app=store&id=$
{data.StoreInfo.store_id}`)">
<view
class=
"shop_name"
>
谛宝多多
<i
class=
"right_arrow_icon"
></i></view>
<view
class=
"shop_name"
>
{{
data
.
StoreInfo
.
store_name
}}
<i
class=
"right_arrow_icon"
></i></view>
<view
class=
"focus_num"
>
{{
data
.
StoreInfo
.
collect_count
}}
人关注
</view>
</view>
</view>
...
...
郑秀明
@zhengxiuming
mentioned in commit
6c9ddcbf
·
Apr 15, 2020
mentioned in commit
6c9ddcbf
mentioned in commit 6c9ddcbf039853000495667ff0cd20b17b161af3
Toggle commit list
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