diff --git a/buyer/src/pages/home/memberCenter/CommentList.vue b/buyer/src/pages/home/memberCenter/CommentList.vue index 0ebaa688..49aff9a3 100644 --- a/buyer/src/pages/home/memberCenter/CommentList.vue +++ b/buyer/src/pages/home/memberCenter/CommentList.vue @@ -36,7 +36,7 @@
{{item.content}}
-
+
{{item.content}}
@@ -160,7 +160,11 @@ export default { color: #999; max-height: 60px; overflow: hidden; - word-wrap: break-word; + // word-wrap: break-word; + display:-webkit-box; + -webkit-box-orient:vertical;/*设置方向*/ + -webkit-line-clamp:3;/*设置超过为省略号的行数*/ + word-break:break-all; } .eval-detail { diff --git a/buyer/src/pages/home/userCenter/MyTracks.vue b/buyer/src/pages/home/userCenter/MyTracks.vue index d5c3b709..94464f28 100644 --- a/buyer/src/pages/home/userCenter/MyTracks.vue +++ b/buyer/src/pages/home/userCenter/MyTracks.vue @@ -113,6 +113,7 @@ export default { this.spinShow = false; if (res.success && res.result.records.length) { this.list = res.result.records; + this.total = res.result.total } else { this.list = []; } diff --git a/manager/src/views/promotions/coupon/coupon.vue b/manager/src/views/promotions/coupon/coupon.vue index c54a4162..e8b4cf01 100644 --- a/manager/src/views/promotions/coupon/coupon.vue +++ b/manager/src/views/promotions/coupon/coupon.vue @@ -146,26 +146,26 @@ export default { // 表头 { type: "selection", - width: 60, + width: 100, align: "center", fixed: "left", }, { title: "活动名称", key: "promotionName", - width: 100, + width: 180, fixed: "left", }, { title: "优惠券名称", key: "couponName", - width: 100, + width: 180, tooltip: true, }, { title: "面额/折扣", key: "price", - width: 100, + width: 150, render: (h, params) => { if (params.row.price) { return h( @@ -181,7 +181,7 @@ export default { { title: "已领取数量/总数量", key: "publishNum", - width: 150, + width: 180, render: (h, params) => { return h( "div", @@ -195,7 +195,7 @@ export default { { title: "已被使用的数量/已领取数量", key: "publishNum", - width: 130, + width: 200, render: (h, params) => { return h("div", params.row.usedNum + "/" + params.row.receivedNum); }, @@ -203,7 +203,7 @@ export default { { title: "优惠券类型", key: "couponType", - width: 120, + width: 150, render: (h, params) => { let text = ""; if (params.row.couponType === "DISCOUNT") { @@ -225,7 +225,7 @@ export default { }, { title: "活动时间", - width: 150, + width: 200, render: (h, params) => { if ( params?.row?.getType === "ACTIVITY" && @@ -246,18 +246,18 @@ export default { title: "状态", width: 100, key: "promotionStatus", + align: "center", fixed: "right", render: (h, params) => { return promotionsStatusRender(h, params); }, - minWidth: 70, }, { title: "操作", slot: "action", align: "center", fixed: "right", - width: 130, + width: 150, }, ], data: [], // 表单数据