feat:0905优惠券多物流信息
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
<view class="info_warp">
|
||||
<view v-if="form.category !== 'redpacket' && infoList.length > 1">
|
||||
<view class="info_title_warp">
|
||||
<view :class="selInfo === item.key ? 'info_title_item_warp info_title_item_sel_warp' : 'info_title_item_warp'"
|
||||
<view
|
||||
:class="selInfo === item.key ? 'info_title_item_warp info_title_item_sel_warp' : 'info_title_item_warp'"
|
||||
v-for="item in infoList" :key="item.key" @click="selectInfo(item)">
|
||||
<text>{{ item.name }}</text>
|
||||
<view class="info_title_item_sel_but_warp" v-if="selInfo === item.key"></view>
|
||||
@@ -27,32 +28,35 @@
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
</view>
|
||||
<view v-if="source.length ">
|
||||
<view v-if="source.length">
|
||||
<view class="icon-top-view" v-if="form.category == 'expend' || form.category == 'balance'">
|
||||
<view class="top-view">
|
||||
<view class="top-left-view">
|
||||
<text class="text-36 text-gray text-bold">{{headerData[source[0].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[0].name}}</text>
|
||||
<text class="text-36 text-gray text-bold" style="margin-top:40rpx">{{headerData[source[2].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[2].name}}</text>
|
||||
<text class="text-36 text-gray text-bold">{{ headerData[source[0].key] }}</text>
|
||||
<text class="text-24 text-fu1">{{ source[0].name }}</text>
|
||||
<text class="text-36 text-gray text-bold"
|
||||
style="margin-top:40rpx">{{ headerData[source[2].key] }}</text>
|
||||
<text class="text-24 text-fu1">{{ source[2].name }}</text>
|
||||
</view>
|
||||
<view class="top-left-view" style="border-width: 0;">
|
||||
<text class="text-36 text-gray text-bold">{{headerData[source[1].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[1].name}}</text>
|
||||
<text class="text-36 text-gray text-bold" style="margin-top:40rpx">{{headerData[source[3].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[3].name}}</text>
|
||||
<text class="text-36 text-gray text-bold">{{ headerData[source[1].key] }}</text>
|
||||
<text class="text-24 text-fu1">{{ source[1].name }}</text>
|
||||
<text class="text-36 text-gray text-bold"
|
||||
style="margin-top:40rpx">{{ headerData[source[3].key] }}</text>
|
||||
<text class="text-24 text-fu1">{{ source[3].name }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="icon-top-view" style="height:178rpx;min-height:178rpx;margin-top:24rpx" v-if="form.category == 'vcoin'">
|
||||
<view class="icon-top-view" style="height:178rpx;min-height:178rpx;margin-top:24rpx"
|
||||
v-if="form.category == 'vcoin'">
|
||||
<view class="top-view">
|
||||
<view class="top-left-view">
|
||||
<text class="text-36 text-gray text-bold">{{headerData[source[0].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[0].name}}</text>
|
||||
<text class="text-36 text-gray text-bold">{{ headerData[source[0].key] }}</text>
|
||||
<text class="text-24 text-fu1">{{ source[0].name }}</text>
|
||||
</view>
|
||||
<view class="top-left-view" style="border-width: 0;">
|
||||
<text class="text-36 text-gray text-bold">{{headerData[source[1].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[1].name}}</text>
|
||||
<text class="text-36 text-gray text-bold">{{ headerData[source[1].key] }}</text>
|
||||
<text class="text-24 text-fu1">{{ source[1].name }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -67,15 +71,18 @@
|
||||
v-if="orderList && orderList.length !== 0">
|
||||
<view class="purse_info_left">
|
||||
<!-- <up-image :src="item.type === 1? 'https://static.tbmall.xin/static/mine/purse_sf.png' : 'https://static.tbmall.xin/static/mine/purse_xf.png'" width="40" height="40" bgColor="#f1f6ff00"></up-image> -->
|
||||
<up-image :src="item.amount > 0 ? 'https://static.tbmall.xin/static/mine/zhen.png' : 'https://static.tbmall.xin/static/mine/fu.png'" width="32" height="32" bgColor="#f1f6ff00"></up-image>
|
||||
|
||||
<up-image
|
||||
:src="item.amount > 0 ? 'https://static.tbmall.xin/static/mine/zhen.png' : 'https://static.tbmall.xin/static/mine/fu.png'"
|
||||
width="32" height="32" bgColor="#f1f6ff00"></up-image>
|
||||
|
||||
<view class="purse_data_warp">
|
||||
<view class="purse_info_name">{{ getValue(BALANCE_TYPE, item.type) }}</view>
|
||||
<view class="purse_info_value">{{ formatDate(item.ctdate) }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="ipurse_nfo_right">
|
||||
<view class="purse_info_title" style="text-align: end;">{{ handleAmount(item.amount) }}</view>
|
||||
<view class="purse_info_title" style="text-align: end;">{{ handleAmount(item.amount) }}
|
||||
</view>
|
||||
<view class="purse_info_value">{{ item.remark }}</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -169,8 +176,8 @@ export default {
|
||||
name: "总分享金额",
|
||||
key: "totalBonus"
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
@@ -187,7 +194,7 @@ export default {
|
||||
key: "lockAmount"
|
||||
},
|
||||
{
|
||||
name: "分红",
|
||||
name: "消费者权益",
|
||||
key: "bonusAmount"
|
||||
},
|
||||
|
||||
@@ -381,7 +388,7 @@ export default {
|
||||
this.form.page = 1;
|
||||
this.selInfo = item.key;
|
||||
let id = 0;
|
||||
|
||||
|
||||
if (item.key === "cur") {
|
||||
id = this.curId;
|
||||
}
|
||||
@@ -453,33 +460,36 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.icon-top-view{
|
||||
width:100%;
|
||||
height:298rpx;
|
||||
min-height:298rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 0 32rpx;
|
||||
.icon-top-view {
|
||||
width: 100%;
|
||||
height: 298rpx;
|
||||
min-height: 298rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 0 32rpx;
|
||||
display: flex;
|
||||
|
||||
.top-view {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
.top-view{
|
||||
width:100%;
|
||||
height:100%;
|
||||
border-radius: 12rpx;
|
||||
border: 2rpx solid rgba(121, 52, 246, 0.08);
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 52rpx 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
.top-left-view {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
border-radius: 12rpx;
|
||||
border: 2rpx solid rgba(121,52,246,0.08);
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 52rpx 0;
|
||||
box-sizing: border-box;
|
||||
.top-left-view{
|
||||
flex:1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
border-right: 2px solid #F5F5F5;
|
||||
}
|
||||
border-right: 2px solid #F5F5F5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mine_purse_log_warp {
|
||||
height: calc(100vh - var(--status-bar-height));
|
||||
overflow-y: hidden;
|
||||
|
||||
Reference in New Issue
Block a user