diff --git a/api/newFun.js b/api/newFun.js index 56f6253..12359c1 100644 --- a/api/newFun.js +++ b/api/newFun.js @@ -211,4 +211,21 @@ export const editTransfer = (param) => { // 数据统计 export const statistics = (param) => { return request.post('data/statistics', param) +} +// 会员分类 +export const category = (param) => { + return request.post('category/list', param) +} +// 会员分类新增 +export const setStorePrice = (param) => { + return request.post('store/setStorePrice', param) +} +// 会员分类xiangqing +export const getStorePriceInfo = (param) => { + return request.post('store/getStorePriceInfo', param) +} + +// 会员分类编辑 +export const editStore = (param) => { + return request.post('store/editStore', param) } \ No newline at end of file diff --git a/pages/news/user/report.vue b/pages/news/user/report.vue index 156e815..892fbea 100644 --- a/pages/news/user/report.vue +++ b/pages/news/user/report.vue @@ -15,7 +15,7 @@ 订单数{{ orderData.orderCount}} - 支持人数{{ orderData.orderPayUser}} + 订单人数{{ orderData.orderPayUser}} 总成本金额¥{{ orderData.orderCostMoney}} @@ -88,7 +88,7 @@ 订单数{{ orderData.orderCount}} - 支持人数{{ orderData.orderPayUser}} + 订单人数{{ orderData.orderPayUser}} 总成本金额¥{{ orderData.orderCostMoney}} diff --git a/pages/news3/components/category.vue b/pages/news3/components/category.vue new file mode 100644 index 0000000..601b033 --- /dev/null +++ b/pages/news3/components/category.vue @@ -0,0 +1,182 @@ + + + + + diff --git a/pages/news3/components/setRange.vue b/pages/news3/components/setRange.vue index f4582d9..8dc1236 100644 --- a/pages/news3/components/setRange.vue +++ b/pages/news3/components/setRange.vue @@ -1,14 +1,14 @@ @@ -142,7 +361,7 @@ } ::v-deep .uni-input-wrapper { - width: 160rpx !important; + width: 180rpx !important; text-align: center !important; height: 70rpx !important; } @@ -152,6 +371,18 @@ font-size: 28rpx; } + .category_box { + display: flex; + + .maxWith { + max-width: 400rpx; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + display: block; + } + } + .vipInfo { .msg { background: #FFE7E7; @@ -173,13 +404,17 @@ } .classifyContainer { + padding-bottom: 200rpx; + .classifyItem { padding: 36upx 56upx; background-color: #fff; margin-bottom: 14upx; .classTitle { - + display: flex; + justify-content: space-between; + align-items: center; font-size: 28upx; font-family: PingFang SC, PingFang SC; font-weight: 500; @@ -205,7 +440,7 @@ border-radius: 4rpx; border: 2rpx solid #DADADA; text-align: center; - line-height: 74rpx; + line-height: 66rpx; margin-right: 50rpx; text { @@ -232,9 +467,11 @@ } .profit { + min-width: 180rpx; border: none !important; background: transparent !important; line-height: 70rpx; + text-align: center; ::v-deep .uni-input-placeholder { display: none; @@ -290,4 +527,73 @@ } } } + + .category { + display: flex; + align-items: center; + padding: 40rpx 0; + + .rangeHandle { + flex: 1; + display: flex; + align-items: center; + justify-content: center; + margin-right: 20rpx; + + .addFlag { + width: 30upx; + height: 30upx; + background: #FF6551; + border-radius: 50%; + color: #fff; + line-height: 26upx; + text-align: center; + opacity: 1; + } + + .delBtn { + width: 30upx; + height: 30upx; + line-height: 26upx; + text-align: center; + background: #BDBDBD; + border-radius: 50%; + color: #fff; + opacity: 1; + + } + + text { + + font-size: 24upx; + font-family: PingFang SC, PingFang SC; + font-weight: 400; + color: #3B3B3B; + margin-left: 10upx; + } + } + } + + .price-fd { + width: 100%; + position: fixed; + left: 0; + bottom: 0; + padding: 0.9375rem; + z-index: 99; + background-color: #fafafa; + box-sizing: border-box; + + .btn { + width: 630rpx; + line-height: 88rpx; + background: #F34A40; + border-radius: 88rpx; + text-align: center; + font-size: 28rpx; + font-weight: 500; + color: #FFFFFF; + margin: auto; + } + } diff --git a/pages/user/index.vue b/pages/user/index.vue index c5f6346..75db2c4 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -419,14 +419,14 @@ 物流查询 - 会员价 -