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
f50f5149
Commit
f50f5149
authored
Aug 28, 2020
by
王建威
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改样式
parent
40404785
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
26 deletions
+32
-26
applypage1.vue
pages/apply/applypage1.vue
+1
-1
applypage2.vue
pages/apply/applypage2.vue
+1
-1
applypage3.vue
pages/apply/applypage3.vue
+1
-1
choosetype.vue
pages/apply/choosetype.vue
+1
-1
financialstage.vue
pages/financial/financialstage.vue
+23
-20
installmentinfo.vue
pages/installment/installmentinfo.vue
+5
-2
No files found.
pages/apply/applypage1.vue
View file @
f50f5149
...
...
@@ -118,7 +118,7 @@
onLoad
(
option
)
{
this
.
contract_no
=
option
.
contract_no
||
''
;
uni
.
request
({
url
:
`/uni/api/userqualification/GetUserQualification/
${
option
.
property_id
}
`
,
url
:
`/uni/api/userqualification/GetUserQualification/
${
option
.
property_id
}
/
${
option
.
equipment_id
}
`
,
method
:
'GET'
,
success
:
(
res
)
=>
{
if
(
res
.
data
.
code
===
0
)
{
...
...
pages/apply/applypage2.vue
View file @
f50f5149
...
...
@@ -95,7 +95,7 @@
this
.
contract_no
=
option
.
contract_no
||
''
;
const
d
=
uni
.
getStorageSync
(
'installment'
);
uni
.
request
({
url
:
`/uni/api/userqualification/GetUserQualification/
${
d
.
property_id
}
`
,
url
:
`/uni/api/userqualification/GetUserQualification/
${
d
.
property_id
}
/
${
d
.
equipment_id
}
`
,
method
:
'GET'
,
success
:
(
res
)
=>
{
const
d
=
res
.
data
.
data
;
...
...
pages/apply/applypage3.vue
View file @
f50f5149
...
...
@@ -82,7 +82,7 @@
onLoad
(
option
)
{
const
d
=
uni
.
getStorageSync
(
'installment'
);
uni
.
request
({
url
:
`/uni/api/userqualification/GetUserQualification/
${
d
.
property_id
}
`
,
url
:
`/uni/api/userqualification/GetUserQualification/
${
d
.
property_id
}
/
${
d
.
equipment_id
}
`
,
method
:
'GET'
,
success
:
(
res
)
=>
{
const
d
=
res
.
data
.
data
;
...
...
pages/apply/choosetype.vue
View file @
f50f5149
...
...
@@ -32,7 +32,7 @@
key
:
'installment'
,
success
:
(
res
)
=>
{
uni
.
navigateTo
({
url
:
`/pages/apply/applypage1?property_id=
${
d
.
property_id
}
`
url
:
`/pages/apply/applypage1?property_id=
${
d
.
property_id
}
&equipment_id=
${
d
.
equipment_id
}
`
});
}
});
...
...
pages/financial/financialstage.vue
View file @
f50f5149
...
...
@@ -22,16 +22,16 @@
<swiper-item>
b
</swiper-item>
</swiper>
</view>
-->
<view
class=
"fin_select"
v-if=
"Equipment
Hot
List"
>
<view
class=
"fin_select"
v-if=
"Equipment
Recommend
List"
>
<view
class=
"fin_select_label"
>
<
text
class=
"fin_limit"
>
限时
</text
>
<text
class=
"fin_title"
>
行业精选
限时免息!
</text>
<
!--
<text
class=
"fin_limit"
>
限时
</text>
--
>
<text
class=
"fin_title"
>
行业精选
,更多选择
</text>
</view>
<text
class=
"fin_desc"
>
各类搭配组合 满足中小型医院无忧开店
</text>
<uni-swiper-dot
:info=
"Equipment
Hot
List"
mode=
"dot"
:dotsStyles=
"
{'width': 4,'height':4, 'bottom':0,'border':'none','selectedBorder':'none'}" :current="current">
<text
class=
"fin_desc"
>
0首付,无压力,高端设备,随时拥有
</text>
<uni-swiper-dot
:info=
"Equipment
Recommend
List"
mode=
"dot"
:dotsStyles=
"
{'width': 4,'height':4, 'bottom':0,'border':'none','selectedBorder':'none'}" :current="current">
<swiper
class=
"fin_swiper"
:autoplay=
"true"
@
change=
"change"
:style=
"height ?
{'height':'580rpx'} : null">
<swiper-item
class=
"fin_swiper_item"
v-for=
"(val, index) in Equipment
Hot
List"
:key=
"index"
>
<swiper-item
class=
"fin_swiper_item"
v-for=
"(val, index) in Equipment
Recommend
List"
:key=
"index"
>
<view
class=
"fin_goods"
v-for=
"(vo, key) in val"
:key=
"key"
>
<view
class=
"fin_goods_item"
@
click=
"jumpDetail(vo.equipment_id)"
>
<image
:src=
"vo.img_url"
></image>
...
...
@@ -43,9 +43,9 @@
</swiper>
</uni-swiper-dot>
</view>
<view
class=
"fin_recommended"
v-if=
"Equipment
Recommend
List"
>
<view
class=
"fin_recommended"
v-if=
"Equipment
Hot
List"
>
<view
class=
"fin_recommended_label"
>
<
i
class=
"fin_icon"
></i
>
<
!--
<i
class=
"fin_icon"
></i>
--
>
<text
class=
"fin_recommended_title"
>
为您推荐
</text>
</view>
<view
class=
"fin_rec_desc"
>
...
...
@@ -54,10 +54,13 @@
<i></i>
</view>
<view
class=
"fin_rec_goods"
>
<view
class=
"fin_rec_goods_item"
v-for=
"(val, index) in Equipment
Recommend
List"
:key=
"index"
@
click=
"jumpDetail(val.equipment_id)"
>
<view
class=
"fin_rec_goods_item"
v-for=
"(val, index) in Equipment
Hot
List"
:key=
"index"
@
click=
"jumpDetail(val.equipment_id)"
>
<image
:src=
"val.img_url"
></image>
<i
class=
"fin_rec_label fin_rec_label1"
>
限时
</i>
<i
class=
"fin_rec_label fin_rec_label2"
>
免息
</i>
<text
v-if=
"Number(val.count) === 0"
>
<i
class=
"fin_rec_label fin_rec_label1"
>
限时
</i>
<i
class=
"fin_rec_label fin_rec_label2"
>
免息
</i>
</text>
<text
v-else
style=
"height: 52rpx;"
></text>
<text
class=
"fin_rec_goodsname"
>
{{
val
.
equipment_name
}}
</text>
<!--
<text
class=
"fin_rec_goodssubname"
>
限量版宝璐天然粮
</text>
-->
<text
class=
"fin_rec_goodprice"
>
...
...
@@ -115,10 +118,10 @@
this
.
EquipmentRecommendList
=
EquipmentRecommendList
;
this
.
isLogin
=
res
.
data
.
login_flg
;
// 热销列表 根据专区类型是否显示
if
(
Equipment
Hot
List
instanceof
Array
)
{
if
(
Equipment
Recommend
List
instanceof
Array
)
{
let
array
=
[];
let
temp
=
[];
Equipment
Hot
List
.
map
((
item
,
index
)
=>
{
Equipment
Recommend
List
.
map
((
item
,
index
)
=>
{
if
((
item
.
goods_type
>
0
&&
goods_type
>
0
)
||
item
.
goods_type
==
0
)
{
temp
.
push
(
item
);
}
...
...
@@ -127,25 +130,25 @@
for
(
var
i
=
0
,
j
=
temp
.
length
;
i
<
j
;
i
+=
6
)
{
array
.
push
(
temp
.
slice
(
i
,
i
+
6
));
}
this
.
Equipment
Hot
List
=
array
;
this
.
Equipment
Recommend
List
=
array
;
}
else
{
this
.
Equipment
Hot
List
=
null
;
this
.
Equipment
Recommend
List
=
null
;
}
}
else
{
this
.
Equipment
HotList
=
EquipmentHot
List
;
this
.
Equipment
RecommendList
=
EquipmentRecommend
List
;
}
// 推荐列表 根据专区类型是否显示
if
(
Equipment
Recommend
List
instanceof
Array
)
{
if
(
Equipment
Hot
List
instanceof
Array
)
{
let
recommd_list
=
[];
Equipment
Recommend
List
.
map
((
item
,
index
)
=>
{
Equipment
Hot
List
.
map
((
item
,
index
)
=>
{
if
((
item
.
goods_type
>
0
&&
goods_type
>
0
)
||
item
.
goods_type
==
0
)
{
recommd_list
.
push
(
item
);
}
});
this
.
Equipment
Recommend
List
=
recommd_list
;
this
.
Equipment
Hot
List
=
recommd_list
;
}
if
(
this
.
Equipment
Hot
List
[
0
].
length
>
3
)
{
if
(
this
.
Equipment
Recommend
List
[
0
].
length
>
3
)
{
this
.
height
=
true
;
}
}
...
...
pages/installment/installmentinfo.vue
View file @
f50f5149
...
...
@@ -129,7 +129,9 @@
</view>
</view>
<view
class=
"poupp_nper"
>
<view><text
class=
"dlb"
>
期数
</text><text
class=
"dlb limit_free"
>
限时免息
</text></view>
<view><text
class=
"dlb"
>
期数
</text>
<!--
<text
class=
"dlb limit_free"
>
限时免息
</text>
-->
</view>
<view
class=
"poupp_nper_box"
>
<text
v-for=
"(val,index) in data.Equipmentproperty"
:key=
"index"
:class=
"
{act: periodTab === index}" @click="choosePeriod(index)">
{{
Number
(
val
.
periods_num
)
+
1
}}
期
</text>
</view>
...
...
@@ -283,7 +285,8 @@
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/apply/choosetype'
// url: '/pages/apply/choosetype'
url
:
`/pages/apply/applypage1?property_id=
${
this
.
e_info
.
property_id
}
&equipment_id=
${
this
.
equipment_id
}
`
});
}
});
...
...
郑秀明
@zhengxiuming
mentioned in commit
0b23bfec
·
Aug 28, 2020
mentioned in commit
0b23bfec
mentioned in commit 0b23bfec0d841bc539fed9d28d8b2a4d5852596c
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