feat(fsgx): 完成全部24项开发任务 Phase1-7
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
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/home/index"],{"0708":function(e,t,n){"use strict";n.r(t);var i=n("583d"),o=n("39bb");for(var s in o)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(s);n("b2df");var a=n("828b"),r=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"064580fc",null,!1,i["a"],void 0);t["default"]=r.exports},"39bb":function(e,t,n){"use strict";n.r(t);var i=n("6032"),o=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);t["default"]=o.a},"583d":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=(e._self._c,e.is_show&&e.showMenu&&3==e.index&&e.isOpen?e.menus.length:null),i=e.is_show&&e.showMenu&&4==e.index&&e.isOpen?e.menus.length:null;e.$mp.data=Object.assign({},{$root:{g0:n,g1:i}})},o=[]},6032:function(e,t,n){"use strict";(function(e){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("7ca3")),s=n("8f59"),a=i(n("89cc")),r=n("4d38"),c=(i(n("3240")),n("360a"));function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var f={name:"fabHome",props:{styleType:{type:Number,default:2}},mixins:[a.default],data:function(){return{top:"545",imgHost:r.HTTP_REQUEST_URL,isOpen:!1,opend:!1,menus:[],main_image:"",shifting:10,index:4,is_show:1,main_after_image:"",main_ago_image:"",windowHeight:0,fabHeight:0,isHide:!1,menu:{color:"rgba(0, 0, 0, 0.10)"},showMenu:!0}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,s.mapGetters)(["isLogin"])),mounted:function(){var t=this;e.$on("scroll",this.scrollFn),this.isLogin&&[1,2].includes(this.$store.state.app.identity)?this.showMenu=!1:setTimeout((function(){t.getSuspended()}),500),e.getSystemInfo({success:function(e){t.windowHeight=e.windowHeight}})},beforeDestroy:function(){this.$Cache.set("homeTop",this.top)},methods:{changeStatus:function(){this.isOpen=!this.isOpen,this.opend=!0,this.isHide=!1},setTouchMove:function(e){var t=e.touches[0].clientY;t>this.fabHeight/2&&t<this.windowHeight-this.fabHeight/2&&(this.top=t)},scrollFn:function(){this.isOpen=!1,this.isHide=!0},jump:function(e){this.$util.JumpPath(e)},getSuspended:function(){var t=this;(0,c.getSuspended)().then((function(n){var i=n.data;t.menus=i.button,t.index=i.index,t.is_show=i.is_show,t.main_image=i.main_image,t.main_after_image=i.main_after_image||"",t.main_ago_image=i.main_ago_image||"",t.shifting=i.shifting,i.is_show&&t.$nextTick((function(){var n=e.createSelectorQuery().in(t);n.select("#fab".concat(t.index)).boundingClientRect((function(e){t.fabHeight=e.height,t.$Cache.get("homeTop")?t.top=t.$Cache.get("homeTop"):100==t.shifting?t.top=t.windowHeight-e.height/2:0==t.shifting?t.top=e.height/2:t.top=t.shifting/100*t.windowHeight})).exec()}))}))}}};t.default=f}).call(this,n("df3c")["default"])},"7a82":function(e,t,n){},b2df:function(e,t,n){"use strict";var i=n("7a82"),o=n.n(i);o.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/home/index-create-component',
|
||||
{
|
||||
'components/home/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("0708"))
|
||||
})
|
||||
},
|
||||
[['components/home/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<block wx:if="{{is_show&&showMenu}}"><view style="{{(colorStyle)}}" class="data-v-064580fc"><view style="touch-action:none;" class="data-v-064580fc"><view class="home data-v-064580fc" style="{{'position:fixed;'+('top:'+(top+'px')+';')}}" id="right-nav" data-event-opts="{{[['touchmove',[['setTouchMove',['$event']]]]]}}" catchtouchmove="__e"><block wx:if="{{index==3}}"><view class="{{['menus','data-v-064580fc',isOpen?'menus_isOpen-'+$root.g0:'']}}"><view id="fab3" class="data-v-064580fc"></view><view data-event-opts="{{[['tap',[['changeStatus',['$event']]]]]}}" class="menu menu_main data-v-064580fc" bindtap="__e"><image class="image data-v-064580fc" style="border-radius:50%;" src="{{isOpen?main_after_image:main_ago_image}}"></image></view><block wx:for="{{menus}}" wx:for-item="menu" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['menus','',index,'url']]]]]]]}}" class="{{['data-v-064580fc','menu menu_a','menu_a--'+(index+1)]}}" catchtap="__e"><image class="icon-img data-v-064580fc" src="{{menu.img}}"></image></view></block></view></block><block wx:if="{{index==1}}"><view class="fab1 p-10 data-v-064580fc" id="fab1" data-event-opts="{{[['touchmove',[['setTouchMove',['$event']]]]]}}" catchtouchmove="__e"><view hidden="{{!(isOpen)}}" class="img-list data-v-064580fc"><block wx:for="{{menus}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['menus','',index,'url']]]]]]]}}" class="img-box data-v-064580fc" bindtap="__e"><image class="img data-v-064580fc" src="{{item.img}}" mode></image></view></block></view><view data-event-opts="{{[['tap',[['changeStatus',['$event']]]]]}}" class="btn-box data-v-064580fc" bindtap="__e"><view class="img-box data-v-064580fc"><image class="img data-v-064580fc" src="{{main_ago_image}}" mode></image></view></view></view></block><block wx:if="{{index==2}}"><view class="{{['fab2','flex-y-center','relative','p-10','data-v-064580fc',(isHide)?'hide':'']}}" id="fab2"><block wx:if="{{isOpen}}"><view class="img-list data-v-064580fc"><block wx:for="{{menus}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['menus','',index,'url']]]]]]]}}" class="img-box data-v-064580fc" bindtap="__e"><image class="img data-v-064580fc" src="{{item.img}}" mode></image></view></block></view></block><block wx:if="{{!isOpen}}"><view data-event-opts="{{[['tap',[['changeStatus',['$event']]]]]}}" class="btn-box data-v-064580fc" bindtap="__e"><view class="img-box data-v-064580fc"><image class="img data-v-064580fc" src="{{main_ago_image}}" mode></image></view></view></block><block wx:if="{{isOpen}}"><view data-event-opts="{{[['tap',[['changeStatus',['$event']]]]]}}" class="icon data-v-064580fc" bindtap="__e"><text class="iconfont icon-ic_rightarrow data-v-064580fc"></text></view></block></view></block><block wx:if="{{index==4}}"><view class="{{['menus','fab4','data-v-064580fc',isOpen?'menus_isOpen menus_isOpen-'+$root.g1:'']}}"><view style="height:350rpx;width:1px;" id="fab4" class="data-v-064580fc"></view><view class="{{['menu_bag','data-v-064580fc',isOpen?' has-bag':opend?'close-bag':'']}}"></view><view data-event-opts="{{[['tap',[['changeStatus',['$event']]]]]}}" class="menu menu_main menu_main4 data-v-064580fc" bindtap="__e"><block wx:if="{{isOpen}}"><text class="iconfont icon-ic_close data-v-064580fc"></text></block></view><block wx:for="{{menus}}" wx:for-item="menu" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['menus','',index,'url']]]]]]]}}" class="{{['data-v-064580fc','menu menu_a','menu_a--'+(index+1)]}}" style="{{'z-index:'+(isOpen?9999:'-1')+';'}}" catchtap="__e"><image class="icon-img data-v-064580fc" src="{{menu.img}}"></image></view></block></view></block></view></view></view></block>
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user