天医币和积分可以查看详情,vip延期支持积分购买
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
isCondition="true"
|
||||
isNoIcon="true"
|
||||
label="orderType"
|
||||
@hancleClick="goClick"
|
||||
>
|
||||
<template slot="labelSlot" slot-scope="slotProps">
|
||||
<view class="label_content AC_List">
|
||||
@@ -115,6 +116,14 @@ export default {
|
||||
},
|
||||
//方法
|
||||
methods: {
|
||||
//列表跳转到详情
|
||||
goClick(data){
|
||||
if(data.relationId){
|
||||
uni.navigateTo({
|
||||
url: "/pages/detail/orderLCont?orderId=" + data.relationId
|
||||
});
|
||||
}
|
||||
},
|
||||
// 获取
|
||||
getData() {
|
||||
var data = {
|
||||
|
||||
@@ -10,16 +10,17 @@
|
||||
label="orderType"
|
||||
>
|
||||
<template slot="labelSlot" slot-scope="slotProps">
|
||||
<view class="label_content AC_List">
|
||||
<view class="label_content AC_List" @click="slotProps.row.relationId?goClick(slotProps.row.relationId):''">
|
||||
<view class="point_box">
|
||||
<view class="title">{{slotProps.row.orderType}}</view>
|
||||
<view class="title"><view class="AC_time">{{slotProps.row.createTime}}</view></view>
|
||||
|
||||
<view class="Hot">
|
||||
<text v-if="slotProps.row.changeAmount > 0">+</text>
|
||||
<text>{{slotProps.row.changeAmount}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="AC_mark" v-if="slotProps.row.remark">{{slotProps.row.remark}}</view>
|
||||
<view class="AC_time">{{slotProps.row.createTime}}</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
</common-list>
|
||||
@@ -91,6 +92,12 @@ export default {
|
||||
},
|
||||
//方法
|
||||
methods: {
|
||||
//列表进入详情
|
||||
goClick(id){
|
||||
uni.navigateTo({
|
||||
url: "/pages/detail/orderLCont?orderId=" + id
|
||||
});
|
||||
},
|
||||
// 获取
|
||||
getData() {
|
||||
var data = {
|
||||
@@ -408,9 +415,6 @@ export default {
|
||||
display: block;
|
||||
font-size: 28rpx;
|
||||
color: #343434;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
padding-top: 10rpx;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user