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
0921498d
Commit
0921498d
authored
May 21, 2020
by
郑秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分期合同
parent
5686d9e6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
9 deletions
+36
-9
promotion.vue
pages/home/components/promotion.vue
+20
-2
installmentinfo.vue
pages/installment/installmentinfo.vue
+2
-2
signcontract.vue
pages/signcontract/signcontract.vue
+14
-5
No files found.
pages/home/components/promotion.vue
View file @
0921498d
...
...
@@ -14,7 +14,10 @@
</view>
<view
class=
"promo_goods_content"
>
<view
class=
"promo_goods_item"
v-for=
"(item,key) in list"
:key=
"key"
@
click=
"$jumpGoodDetail(item.goods_id)"
>
<view
class=
'img_box'
>
<image
:src=
"item.default_image || $noGoodsImg"
></image>
<view
v-if=
"item.stock
<
=
0
"
class=
"stock_title"
>
已售罄
</view>
</view>
<view
v-if=
"isLogin"
>
<text
class=
"pro_price"
>
¥
{{
item
.
pro_price
}}
</text>
<text
class=
"price"
>
¥
{{
item
.
price
}}
</text>
...
...
@@ -120,6 +123,21 @@
width: 140rpx;
text-align: center;
margin-bottom: 14rpx;
.img_box{
position: relative;
width: 140rpx;
height: 140rpx;
.stock_title{
position: absolute;
bottom: 0;
width: 100%;
background-color: rgba(0,0,0,0.5);
height: 30rpx;
color: #fff;
font-size: 22rpx;
line-height: 30rpx;
}
}
image {
width:140rpx;
height: 140rpx;
...
...
pages/installment/installmentinfo.vue
View file @
0921498d
...
...
@@ -272,7 +272,7 @@
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/
certification/certification
'
url
:
'/pages/
signcontract/signcontract?type=1
'
});
}
});
...
...
@@ -313,7 +313,7 @@
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/signcontract/signcontract'
url
:
'/pages/signcontract/signcontract
?type=1
'
});
}
});
...
...
pages/signcontract/signcontract.vue
View file @
0921498d
...
...
@@ -2,14 +2,14 @@
<view
class=
"sign_content"
>
<TopBar
title=
"金融分期"
/>
<view
:style=
"
{'margin-top':'28rpx'}">
<view
class=
"apply_title"
>
签署合同
</view>
<view
class=
"apply_desc"
>
请填写合同内详细信息
</view>
<view
class=
"apply_title"
>
{{
title
}}
</view>
<view
class=
"apply_desc"
>
{{
sub_title
}}
</view>
<view
v-for=
"(item,index) in list"
:key=
"index"
>
{{
item
.
index
}}
</view>
</view>
<uni-collapse>
<uni-collapse-item
title=
"企业信息
"
:open=
"true"
>
<uni-collapse-item
:title=
"third_title
"
:open=
"true"
>
<view
v-for=
"(item, index) in list"
:key=
"index"
>
<view
class=
"sign_title"
>
{{
item
.
name
}}
</view>
<view>
...
...
@@ -48,7 +48,10 @@
list
:
[],
data
:
{},
is_eidt
:
false
,
is_agree
:
false
is_agree
:
false
,
title
:
'签署合同'
,
sub_title
:
'请填写合同内详细信息'
,
third_title
:
'企业信息'
}
},
components
:
{
...
...
@@ -56,7 +59,13 @@
uniCollapseItem
,
TopBar
},
onLoad
()
{
onLoad
(
option
)
{
const
{
type
}
=
option
;
if
(
type
){
this
.
title
=
'收货信息'
;
this
.
sub_title
=
'请填写收货地址信息'
;
this
.
third_title
=
'收货信息'
;
}
this
.
loadData
();
},
methods
:{
...
...
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