Commit 0921498d authored by 郑秀明's avatar 郑秀明

分期合同

parent 5686d9e6
......@@ -13,8 +13,11 @@
</text>
</view>
<view class="promo_goods_content">
<view class="promo_goods_item" v-for="(item,key) in list" :key="key" @click="$jumpGoodDetail(item.goods_id)">
<image :src="item.default_image || $noGoodsImg"></image>
<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;
......
......@@ -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'
});
}
});
......
......@@ -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:{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment