Phase1 后端核心:
- 新增 fsgx_v1.sql 迁移脚本(is_queue_goods/frozen_points/available_points/no_assess)
- SystemConfigServices 返佣设置扩展(周期人数/分档比例/范围/时机)
- StoreOrderCreateServices 周期循环佣金计算
- StoreOrderTakeServices 佣金发放后同步冻结积分
- StoreProductServices/StoreProduct 保存 is_queue_goods
Phase2 后端接口:
- GET /api/hjf/brokerage/progress 佣金周期进度
- GET /api/hjf/assets/overview 资产总览
- HjfPointsServices 每日 frozen_points 0.4‰ 释放定时任务
- PUT /adminapi/hjf/member/{uid}/no_assess 不考核接口
- GET /adminapi/hjf/points/release_log 积分日志接口
Phase3 前端清理:
- hjfCustom.js 路由精简(仅保留 points/log)
- hjfQueue.js/hjfMember.js API 清理/重定向至 CRMEB 原生接口
- pages.json 公排→推荐佣金/佣金记录/佣金规则
Phase4-5 前端改造:
- queue/status.vue 推荐佣金进度页整体重写
- 商品详情/订单确认/支付结果页文案与逻辑改造
- 个人中心/资产页/引导页/规则页文案改造
- HjfQueueProgress/HjfRefundNotice/HjfAssetCard 组件改造
- 推广中心嵌入佣金进度摘要
- hjfMockData.js 全量更新(公排字段→佣金字段)
Phase6 Admin 增强:
- 用户列表新增 frozen_points/available_points 列及不考核操作按钮
- hjfPoints.js USE_MOCK=false 对接真实积分日志接口
Phase7 配置文档:
- docs/fsgx-phase7-config-checklist.md 后台配置与全链路验收清单
Made-with: Cursor
96 lines
3.2 KiB
Vue
96 lines
3.2 KiB
Vue
<template>
|
|
<base-drawer mode="bottom" :visible="visible" background-color="transparent" mask maskClosable @close="closeDrawer">
|
|
<view class="w-100% bg--w111-f5f5f5 rd-t-40rpx py-32">
|
|
<view class="text-center fs-32 text--w111-333 fw-500">赠品</view>
|
|
<view class="mt-48 px-20 scroll-content">
|
|
<view class="text--w111-333 fs-28 lh-40rpx">本单可获得以下赠品</view>
|
|
<view class="gift-card mt-24 bg--w111-fff rd-16rpx p-16 flex-y-center"
|
|
v-for="(item,index) in giveCartInfo" :key="item.id" @tap="goPage(1,'/pages/goods_details/index?id=' + item.productInfo.id)">
|
|
<image class="w-116 h-116 rd-16rpx" :src="item.productInfo.attrInfo.image" v-if="item.productInfo.attrInfo"></image>
|
|
<image class="w-116 h-116 rd-16rpx" :src="item.productInfo.image" v-else></image>
|
|
<view class="flex-1 flex-between-center pl-16">
|
|
<view class="w-460">
|
|
<view class="w-full line1 fs-28 lh-40rpx">{{item.productInfo.store_name}}</view>
|
|
<view class="fs-22 text--w111-999 lh-30rpx mt-12">数量x{{item.cart_num}}</view>
|
|
</view>
|
|
<text class="iconfont icon-ic_rightarrow fs-24 text--w111-999"></text>
|
|
</view>
|
|
</view>
|
|
<view class="gift-card mt-24 bg--w111-fff rd-16rpx p-16 flex-y-center"
|
|
v-for="(item,index) in giveData.give_coupon" :key="index" @tap="goPage(1,'/pages/users/user_coupon/index')">
|
|
<view class="w-116 h-116 rd-16rpx flex-center bg--w111-f5f5f5">
|
|
<text class="fs-48 gold iconfont icon-a-ic_discount1"></text>
|
|
</view>
|
|
<view class="flex-1 flex-between-center pl-16">
|
|
<view class="w-460">
|
|
<view class="w-full line1 fs-28 lh-40rpx">{{item.coupon_title}}</view>
|
|
<view class="fs-22 text--w111-999 lh-30rpx mt-12">数量x1</view>
|
|
</view>
|
|
<text class="iconfont icon-ic_rightarrow fs-24 text--w111-999"></text>
|
|
</view>
|
|
</view>
|
|
<view class="gift-card mt-24 bg--w111-fff rd-16rpx p-16 flex-y-center"
|
|
v-if="giveData.give_integral>0"
|
|
@tap="goPage(1,'/pages/users/user_integral/index')">
|
|
<view class="w-116 h-116 rd-16rpx flex-center bg--w111-f5f5f5">
|
|
<text class="fs-48 gold iconfont icon-ic_badge11"></text>
|
|
</view>
|
|
<view class="flex-1 flex-between-center pl-16">
|
|
<view class="w-460">
|
|
<view class="w-full line1 fs-28 lh-40rpx">{{giveData.give_integral}}积分</view>
|
|
<view class="fs-22 text--w111-999 lh-30rpx mt-12">数量x1</view>
|
|
</view>
|
|
<text class="iconfont icon-ic_rightarrow fs-24 text--w111-999"></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="mx-20">
|
|
<view class="mt-52 h-72 flex-center rd-36px bg-color fs-26 text--w111-fff" @tap="showGiftDrawer = false">确定</view>
|
|
</view>
|
|
</view>
|
|
</base-drawer>
|
|
</template>
|
|
|
|
<script>
|
|
import baseDrawer from '@/components/tui-drawer/tui-drawer.vue';
|
|
export default {
|
|
props:{
|
|
visible: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
giveCartInfo:{
|
|
type: Array,
|
|
default: ()=>[]
|
|
},
|
|
giveData:{
|
|
type: Object,
|
|
default: ()=>{}
|
|
},
|
|
},
|
|
components: {
|
|
baseDrawer
|
|
},
|
|
methods:{
|
|
closeDrawer() {
|
|
this.$emit('closeDrawer');
|
|
},
|
|
goPage(type,url){
|
|
uni.navigateTo({
|
|
url
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.gold{
|
|
color: #DCA658;
|
|
}
|
|
.scroll-content{
|
|
height: 800rpx;
|
|
overflow-y: auto;
|
|
}
|
|
</style>
|