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:
apple
2026-03-23 22:32:19 +08:00
parent 788ee0c0c0
commit 434aa8c69d
13098 changed files with 2008990 additions and 961 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
{
"navigationBarTitleText": "内容发布",
"navigationBarBackgroundColor": "#FFFFFF",
"usingComponents": {
"uni-popup": "/uni_modules/uni-popup/components/uni-popup/uni-popup",
"base-drawer": "/components/tui-drawer/tui-drawer",
"empty-page": "/components/emptyPage"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/discover/discoverCreate/topic"],{"0f48":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return c})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.filterStyle]));this.$mp.data=Object.assign({},{$root:{s0:e}})},c=[]},"12f4":function(t,e,i){},6771:function(t,e,i){"use strict";var n=i("12f4"),c=i.n(n);c.a},"6d3c":function(t,e,i){"use strict";i.r(e);var n=i("0f48"),c=i("d64e");for(var o in c)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return c[t]}))}(o);i("6771"),i("fa9b");var a=i("828b"),r=Object(a["a"])(c["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports},7402:function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("f076");n(i("3240"));var c=n(i("6d3c"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(c.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},ba6d:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=n(i("af34")),o=i("eb8a"),a=n(i("89cc")),r=i("2c18"),s=t.getWindowInfo().statusBarHeight,u={name:"createTopic",data:function(){return{sysHeight:s,id:0,topicSelectedList:[],topicKeyword:"",showFilter:!1,filterTopicList:[],focus:!0,recommendParams:{page:1,limit:10,is_recommend:1},showMore:!1,recommendTopic:[],boxHeight:0}},mixins:[a.default],computed:{filterStyle:function(){var e=t.getWindowInfo().windowHeight;return{height:e-this.boxHeight+"px",top:this.boxHeight+"px"}}},onLoad:function(t){t.data&&(this.topicSelectedList=JSON.parse(t.data)),this.getTopic()},methods:{getHeight:function(){var e=this;t.createSelectorQuery().select(".topic-box").boundingClientRect((function(t){e.boxHeight=t.height})).exec()},handleInput:(0,r.Debounce)((function(t){var e=this;this.topicKeyword?(0,o.getTopicApi)({is_community:1,name:this.topicKeyword}).then((function(t){e.getHeight(),e.filterTopicList=t.data,e.filterTopicList.unshift({name:e.topicKeyword}),e.showFilter=!0})):this.showFilter=!1})),getTopic:function(){var t=this;(0,o.getTopicApi)(this.recommendParams).then((function(e){t.showMore=e.data.length>=t.recommendParams.limit,t.recommendTopic=t.recommendTopic.concat(e.data),t.recommendParams.page++;var i=[];t.recommendTopic.forEach((function(e,n){t.topicSelectedList.forEach((function(t){t.name.includes(e.name)&&i.push(n)}))})),i=(0,c.default)(new Set(i)).sort((function(t,e){return e-t})),i.forEach((function(e){t.recommendTopic.splice(e,1)}))}))},changeTopic:function(t){var e=this;if(this.showFilter=!1,this.topicKeyword="",this.topicSelectedList.length>4)return this.$util.Tips({title:"最多可选择5个话题"});this.focus=!1;var i=this.topicSelectedList.map((function(t){return t.name}));i.includes(t.name)||this.topicSelectedList.push(t),this.recommendTopic.splice(this.recommendTopic.findIndex((function(e){return e.id==t.id})),1),this.$nextTick((function(){e.focus=!0}))},confirmCreate:function(){this.topicKeyword&&this.changeTopic({name:this.topicKeyword})},saveTopic:function(){t.$emit("topicSave",this.topicSelectedList),t.navigateBack()},delTopic:function(t){this.topicSelectedList.splice(t,1)}}};e.default=u}).call(this,i("df3c")["default"])},c6ea:function(t,e,i){},d64e:function(t,e,i){"use strict";i.r(e);var n=i("ba6d"),c=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=c.a},fa9b:function(t,e,i){"use strict";var n=i("c6ea"),c=i.n(n);c.a}},[["7402","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "添加话题",
"navigationBarBackgroundColor": "#ffffff",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view style="{{(colorStyle)}}"><view class="px-30"><view class="topic-box pt-24 pb-10 bb-e w-full flex-y-center flex-wrap"><block wx:for="{{topicSelectedList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['delTopic',[index]]]]]}}" class="h-52 px-16 font-num bg-light rd-30rpx flex-center fs-26 mr-22 mb-20" bindtap="__e"><text class="pr-8">{{"#"+item.name+''}}</text><text class="iconfont icon-ic_close fs-24"></text></view></block><input class="fs-28 lh-40rpx flex-1 mb-20 min-w-150" type="text" placeholder="新建或搜索话题" maxlength="{{10}}" focus="{{focus}}" data-event-opts="{{[['input',[['__set_model',['','topicKeyword','$event',['trim']]],['handleInput',['$event']]]],['confirm',[['confirmCreate',['$event']]]],['blur',[['$forceUpdate']]]]}}" value="{{topicKeyword}}" bindinput="__e" bindconfirm="__e" bindblur="__e"/></view><view class="flex-y-center flex-wrap pt-32"><block wx:for="{{recommendTopic}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeTopic',['$0'],[[['recommendTopic','',index]]]]]]]}}" class="h-52 px-16 bg--w111-f5f5f5 rd-30rpx flex-center fs-26 mr-22 mb-20" bindtap="__e">{{"#"+item.name}}</view></block></view><view hidden="{{!(showFilter)}}" class="w-full fixed-lt bg--w111-fff z-20" style="{{$root.s0}}"><view class="relative mt-20 px-30 h-full overflow-scroll"><block wx:for="{{filterTopicList}}" wx:for-item="cell" wx:for-index="i" wx:key="i"><view data-event-opts="{{[['tap',[['changeTopic',['$0'],[[['filterTopicList','',i]]]]]]]}}" class="h-88 filter-cell flex-between-center" bindtap="__e"><text class="fs-28 fw-500 lh-40rpx"><text>#</text>{{cell.name}}</text><text hidden="{{!(cell.community_count>0)}}" class="text--w111-999 fs-22">{{cell.community_count+"篇内容"}}</text></view></block><view class="h-80"></view></view></view><view class="fixed-lb w-full pb-safe"><view class="h-128 flex-center px-30"><view data-event-opts="{{[['tap',[['saveTopic',['$event']]]]]}}" class="w-full h-88 rd-44rpx bg-color text--w111-fff flex-center fs-28" bindtap="__e">完成</view></view></view></view></view>

View File

@@ -0,0 +1 @@
page{background-color:#fff}.bg-light{background-color:var(--view-minorColorT)}.bb-e{border-bottom:1rpx solid #eee}.min-w-150{min-width:150rpx}.filter-cell ~ .filter-cell{border-top:1px solid #f5f5f5}.overflow-scroll{overflow-y:scroll}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "内容详情",
"navigationBarBackgroundColor": "#ffffff",
"usingComponents": {
"empty-page": "/components/emptyPage",
"tui-modal": "/components/tui-modal/index"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
page{background-color:#fff}.b-e{border:1rpx solid #eee}.bt-f5{border-top:1px solid #f5f5f5}.swiper, .swiper-item{width:100%;height:100%}.error{background-color:#fdf3f2;color:#e93323}.theme-border{border:1px solid var(--view-theme)}.warning{background-color:#fff4eb;color:#fc8327}.theme-border{border:1rpx solid var(--view-theme)}.bubble_box{position:absolute;bottom:74rpx;left:-24rpx;width:184rpx;z-index:999}.bubble_box .bubble{width:184rpx;height:198rpx;background:#fff;box-shadow:0rpx 2rpx 15rpx 0rpx rgba(0,0,0,.102);border-radius:16rpx;padding:36rpx 16rpx 26rpx 16rpx;position:relative}.bubble_box .bubble:before{content:"";position:absolute;left:70rpx;bottom:-20rpx;width:0;height:0;border-style:solid;border-width:10px 10px 0 10px;border-color:#fff transparent transparent transparent}.bubble_box .x-line{border-bottom:1rpx solid hsla(0,0%,93.3%,.4)}.drawer-text{padding-bottom:calc(32rpx + env(safe-area-inset-bottom))}.child-reply ~ .child-reply{margin-top:22rpx}.more-line{width:40rpx;height:2rpx;background:#d8d8d8}.max-w-200{max-width:200rpx}.comment-author{color:#4a8ac9;padding:0 4rpx}.icon-ic_love_2, .icon-icon_Like_2{color:#e93323}.load-box{height:750rpx;-webkit-animation:looming-gray 1s infinite linear;animation:looming-gray 1s infinite linear;background-color:#e3e3e3}.bubble-mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:5}@-webkit-keyframes looming-gray{0%{background-color:hsla(0,0%,89%,.6666666666666666)}50%{background-color:#e3e3e3}100%{background-color:hsla(0,0%,89%,.6666666666666666)}}@keyframes looming-gray{0%{background-color:hsla(0,0%,89%,.6666666666666666)}50%{background-color:#e3e3e3}100%{background-color:hsla(0,0%,89%,.6666666666666666)}}swiper .wx-swiper-dot{width:12rpx;height:12rpx;border-radius:50%}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/discover/discoverFollow/index"],{4788:function(t,i,n){"use strict";var e=n("a83a"),a=n.n(e);a.a},"5baa":function(t,i,n){"use strict";n.r(i);var e=n("f6c8"),a=n("9b37");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return a[t]}))}(o);n("4788");var s=n("828b"),c=Object(s["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);i["default"]=c.exports},"9b37":function(t,i,n){"use strict";n.r(i);var e=n("c48a"),a=n.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(o);i["default"]=a.a},a83a:function(t,i,n){},bb4c:function(t,i,n){"use strict";(function(t,i){var e=n("47a9");n("f076");e(n("3240"));var a=e(n("5baa"));t.__webpack_require_UNI_MP_PLUGIN__=n,i(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},c48a:function(t,i,n){"use strict";(function(t,e){var a=n("47a9");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=n("eb8a"),s=a(n("89cc")),c=t.getWindowInfo().statusBarHeight,u={data:function(){return{sysHeight:c,tabActive:0,params:{page:1,limit:20},type:"follow",loading:!1,userList:[],showModal:!1,uid:"",index:0}},mixins:[s.default],components:{emptyPage:function(){n.e("components/emptyPage").then(function(){return resolve(n("398a"))}.bind(null,n)).catch(n.oe)},tuiModal:function(){n.e("components/tui-modal/index").then(function(){return resolve(n("6b9f"))}.bind(null,n)).catch(n.oe)}},computed:{menuBoxStyle:function(){var t=e.getMenuButtonBoundingClientRect();return{width:t.left+"px"}}},onLoad:function(t){t.type&&0==t.type?(this.tabActive=1,this.type="follow",this.getList()):t.type&&1==t.type?(this.tabActive=0,this.getFriend()):t.type&&2==t.type?(this.tabActive=2,this.type="fans",this.getList()):(this.tabActive=0,this.getFriend())},methods:{changeTab:function(t){this.tabActive!=t&&(this.tabActive=t,this.loading=!1,this.userList=[],this.params.page=1,1==t?(this.type="follow",this.getList()):2==t?(this.type="fans",this.getList()):0==t&&this.getFriend())},authTo:function(i){t.navigateTo({url:i})},backPage:function(){t.navigateBack()},getList:function(){var t=this;this.loading||(this.loading=!0,(0,o.communityFlowListApi)(this.type,this.params).then((function(i){var n=i.data,e=n.length<t.params.limit;t.userList=t.userList.concat(n),t.params.page++,t.loading=e})).catch((function(i){return t.$util.Tips({title:i})})))},getFriend:function(){var t=this;this.loading||(this.loading=!0,(0,o.communityFriendListApi)(this.params).then((function(i){var n=i.data,e=n.length<t.params.limit;t.userList=t.userList.concat(n),t.params.page++,t.loading=e})).catch((function(i){return t.$util.Tips({title:i})})))},openModal:function(t,i){this.uid=t.relation_id,this.index=i,this.showModal=!0},handleClick:function(i){var n=this,e=i.index;1==e?(0,o.communitySetInsterestApi)(this.uid,{status:0}).then((function(t){n.userList[n.index].is_follow=0,n.showModal=!1})).catch((function(i){n.showModal=!1,t.showToast({title:i,icon:"none",duration:2e3})})):this.showModal=!1},followChange:function(t){var i=this;(0,o.communitySetInsterestApi)(t.relation_id,{status:1}).then((function(n){return t.is_follow=1,i.$util.Tips({title:n.msg})})).catch((function(t){return i.$util.Tips({title:t})}))},emptyText:function(){return{0:"您还没有好友哦~",1:"您还没有关注任何人哦~",2:"您还没有粉丝哦~"}[this.tabActive]}},onReachBottom:function(){this.getList()},onPageScroll:function(){t.$emit("scroll")}};i.default=u}).call(this,n("df3c")["default"],n("3223")["default"])},f6c8:function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return a})),n.d(i,"a",(function(){}));var e=function(){var t=this.$createElement,i=(this._self._c,this.userList.length),n=this.emptyText();this.$mp.data=Object.assign({},{$root:{g0:i,m0:n}})},a=[]}},[["bb4c","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {
"empty-page": "/components/emptyPage",
"tui-modal": "/components/tui-modal/index"
}
}

View File

@@ -0,0 +1 @@
<view style="{{(colorStyle)}}"><view class="bg--w111-fff"><view style="{{'padding-top:'+(sysHeight+'px')+';'}}"><view class="flex-between-center h-80 px-20"><text data-event-opts="{{[['tap',[['backPage',['$event']]]]]}}" class="iconfont icon-ic_leftarrow fs-40" bindtap="__e"></text><view class="h-80 flex-y-center fs-32 text--w111-999"><view data-event-opts="{{[['tap',[['changeTab',[0]]]]]}}" class="{{[(tabActive==0)?'tab-active':'']}}" bindtap="__e">好友</view><view data-event-opts="{{[['tap',[['changeTab',[1]]]]]}}" class="{{['ml-48',(tabActive==1)?'tab-active':'']}}" bindtap="__e">关注</view><view data-event-opts="{{[['tap',[['changeTab',[2]]]]]}}" class="{{['ml-48',(tabActive==2)?'tab-active':'']}}" bindtap="__e">粉丝</view></view><text class="w-40"></text></view></view><block wx:for="{{userList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="h-180 p-30 flex-between-center"><view data-event-opts="{{[['tap',[['authTo',['/pages/discover/discoverUser/index?id='+item.relation_id]]]]]}}" class="flex-y-center" bindtap="__e"><image class="w-120 h-120 rd-50-p111-" src="{{item.author_image}}" mode="aspectFill"></image><view class="pl-20"><view class="fs-30">{{item.author}}</view><view class="flex-y-center mt-16 fs-24 text--w111-999"><text>{{"内容·"+item.community_num}}</text><text class="pl-30">{{"粉丝·"+item.fans_num}}</text></view></view></view><view data-event-opts="{{[['tap',[['followChange',['$0'],[[['userList','',index]]]]]]]}}" hidden="{{!(item.is_follow==0&&item.is_fans==0)}}" class="w-124 h-52 rd-30rpx flex-center bg-color text--w111-fff fs-24" bindtap="__e">关注</view><view data-event-opts="{{[['tap',[['openModal',['$0',index],[[['userList','',index]]]]]]]}}" hidden="{{!(item.is_follow==1&&item.is_fans==0)}}" class="w-124 h-52 rd-30rpx flex-center bg--w111-fff text--w111-999 b-d fs-24" bindtap="__e">已关注</view><view data-event-opts="{{[['tap',[['followChange',['$0'],[[['userList','',index]]]]]]]}}" hidden="{{!(item.is_follow==0&&item.is_fans==1)}}" class="w-124 h-52 rd-30rpx flex-center bg-color text--w111-fff fs-24" bindtap="__e">回关</view><view data-event-opts="{{[['tap',[['openModal',['$0',index],[[['userList','',index]]]]]]]}}" hidden="{{!(item.is_follow==1&&item.is_fans==1)}}" class="w-124 h-52 rd-30rpx flex-center bg--w111-fff text--w111-999 b-d fs-24" bindtap="__e">互相关注</view></view></block><view hidden="{{!(!$root.g0)}}"><empty-page vue-id="732754e8-1" title="{{$root.m0}}" src="/statics/images/video/no_friend.png" bind:__l="__l"></empty-page></view></view><tui-modal vue-id="732754e8-2" show="{{showModal}}" title="确认取消关注" maskClosable="{{false}}" data-event-opts="{{[['^click',[['handleClick']]]]}}" bind:click="__e" bind:__l="__l"></tui-modal><home vue-id="732754e8-3" bind:__l="__l"></home></view>

View File

@@ -0,0 +1 @@
.tab-active{font-weight:500;color:#333;position:relative}.tab-active:after{content:"";position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:-14rpx;width:64rpx;height:5rpx;background:var(--view-theme);border-radius:4rpx}.b-d{border:1px solid #ddd}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/discover/discoverMessage/index"],{"34f20":function(t,e,n){"use strict";n.r(e);var i=n("fc20"),a=n("3a7a");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("5da7"),n("ebe0");var o=n("828b"),c=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=c.exports},"3a7a":function(t,e,n){"use strict";n.r(e);var i=n("eba1"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},"5da7":function(t,e,n){"use strict";var i=n("a385"),a=n.n(i);a.a},"708b":function(t,e,n){},"9acd":function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("f076");i(n("3240"));var a=i(n("34f20"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},a385:function(t,e,n){},eba1:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("7ca3")),r=i(n("89cc")),o=n("8f59"),c=n("eb8a");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var u={data:function(){return{current:0,params:{page:1,limit:20,type:1},loading:!1,messageList:[],isViewed:{comment:0,follow:0,like:0}}},mixins:[r.default],components:{emptyPage:function(){n.e("components/emptyPage").then(function(){return resolve(n("398a"))}.bind(null,n)).catch(n.oe)}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,a.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,o.mapGetters)(["isLogin","uid"])),onLoad:function(t){this.getList()},onReachBottom:function(){this.getList()},methods:{changeTab:function(t){this.current=t,this.loading=!1,this.params.page=1,this.params.type=t+1,this.messageList=[],this.getList()},getList:function(){var t=this;this.loading||(this.loading=!0,(0,c.communityMessageApi)(this.params).then((function(e){var n=e.data.list;t.isViewed=e.data.isViewed;var i=n.length<t.params.limit;t.messageList=t.messageList.concat(n),t.params.page++,t.loading=i})).catch((function(e){return t.$util.Tips({title:e})})))},toPage:function(e){1==e.content_type?t.navigateTo({url:"/pages/discover/discoverDetails/index?id=".concat(e.link_id)}):t.navigateTo({url:"/pages/discover/discoverVideo/index?id=".concat(e.link_id)})},toAuthor:function(e){t.navigateTo({url:"/pages/discover/discoverUser/index?id=".concat(e.relation_id)})}}};e.default=u}).call(this,n("df3c")["default"])},ebe0:function(t,e,n){"use strict";var i=n("708b"),a=n.n(i);a.a},fc20:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=(this._self._c,this.messageList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]}},[["9acd","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "互动消息",
"navigationBarBackgroundColor": "#FFFFFF",
"usingComponents": {
"empty-page": "/components/emptyPage"
}
}

View File

@@ -0,0 +1 @@
<view style="{{(colorStyle)}}"><view class="h-full h-90 bb-f5 px-120 flex-between-center fs-32 fw-500"><view data-event-opts="{{[['tap',[['changeTab',[0]]]]]}}" class="{{['h-90','tab','flex-y-center',(current==0)?'active-tab':'']}}" bindtap="__e">点赞</view><view data-event-opts="{{[['tap',[['changeTab',[1]]]]]}}" class="{{['h-90','tab','flex-y-center',(current==1)?'active-tab':'',(isViewed.comment&&current!=1)?'show-dot':'']}}" bindtap="__e">评论</view><view data-event-opts="{{[['tap',[['changeTab',[2]]]]]}}" class="{{['h-90','tab','flex-y-center',(current==2)?'active-tab':'',(isViewed.follow&&current!=2)?'show-dot':'']}}" bindtap="__e">关注</view></view><view hidden="{{!(current==0)}}"><block wx:for="{{messageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toPage',['$0'],[[['messageList','',index]]]]]]]}}" class="h-180 p-30 flex-between-center" bindtap="__e"><view class="flex-y-center"><image class="w-120 h-120 rd-50-p111-" src="{{item.relation_author_image}}"></image><view class="ml-20 w-398"><view class="fs-28 lh-40rpx">{{item.relation_author||'用户已注销'}}</view><view class="flex-y-center fs-26 lh-36rpx text--w111-666 pt-8"> 赞了你的内容 <text class="text--w111-999 fs-22 pl-8">{{item.time_text}}</text></view></view></view><image class="w-108 h-108 rd-8rpx" src="{{item.image}}" mode="aspectFill"></image></view></block></view><view hidden="{{!(current==1)}}"><block wx:for="{{messageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toPage',['$0'],[[['messageList','',index]]]]]]]}}" class="h-180 p-30 flex-between-center" bindtap="__e"><view class="flex-y-center"><image class="w-120 h-120 rd-50-p111-" src="{{item.relation_author_image}}"></image><view class="ml-20 w-398"><view class="fs-28 lh-40rpx">{{item.relation_author||'用户已注销'}}</view><view class="fs-26 lh-36rpx text--w111-666 mt-8 w-400 line1">{{'评论了你:'+item.content+''}}</view><view class="text--w111-999 fs-22 mt-8">{{item.time_text}}</view></view></view><image class="w-108 h-108 rd-8rpx" src="{{item.image}}" mode="aspectFill"></image></view></block></view><view hidden="{{!(current==2)}}"><block wx:for="{{messageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toAuthor',['$0'],[[['messageList','',index]]]]]]]}}" class="h-180 p-30 flex-between-center" bindtap="__e"><view class="flex-y-center"><image class="w-120 h-120 rd-50-p111-" src="{{item.relation_author_image}}"></image><view class="ml-20 w-398"><view class="fs-28 lh-40rpx">{{item.relation_author||'用户已注销'}}</view><view class="flex-y-center fs-26 lh-36rpx text--w111-666 pt-8"> 关注了你 <text class="text--w111-999 fs-22 pl-8">{{item.time_text}}</text></view></view></view></view></block></view><view hidden="{{!(!$root.g0)}}"><empty-page vue-id="a7580edc-1" title="暂无内容~" src="/statics/images/video/no_friend.png" bind:__l="__l"></empty-page></view></view>

View File

@@ -0,0 +1 @@
page{background-color:#fff}.bb-f5{border-bottom:1px solid #f5f5f5}.px-120{padding:0 120rpx}.tab{border-bottom:4rpx solid transparent}.active-tab{position:relative}.active-tab:after{content:"";position:absolute;bottom:-4rpx;left:0;width:64rpx;height:4rpx;background:#e93323}.show-dot{position:relative}.show-dot:after{content:"";position:absolute;top:18rpx;right:-6rpx;width:12rpx;height:12rpx;background:#e93323;border-radius:8rpx}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/discover/discoverSearch/index"],{"0099":function(t,n,i){"use strict";(function(t){var e=i("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e(i("89cc")),c=i("eb8a"),a={data:function(){return{keyword:"",cateActive:"",topicList:[],contentList:[],noMore:!1,loading:!1,intoindex:"",params:{page:1,limit:20,topic_id:"",keyword:"",is_interest:0}}},components:{waterfallsFlow:function(){i.e("components/discoverWaterfall/WaterfallsFlow").then(function(){return resolve(i("831d"))}.bind(null,i)).catch(i.oe)},emptyPage:function(){i.e("components/emptyPage").then(function(){return resolve(i("398a"))}.bind(null,i)).catch(i.oe)}},mixins:[o.default],provide:function(){return{flowLike:this.flowLike}},onPageScroll:function(n){t.$emit("scroll")},onLoad:function(){this.getTopic(),this.getList()},methods:{clearWord:function(){this.params.keyword=""},changeCate:function(t,n){var i=this;this.cateActive=n,this.$nextTick((function(){i.intoindex="sort"+t})),this.params.page=1,this.params.topic_id=n,this.contentList=[],this.noMore=!1,this.getList()},getSearch:function(){this.params.page=1,this.contentList=[],this.noMore=!1,this.getList()},getTopic:function(){var t=this;(0,c.getTopicApi)().then((function(n){t.topicList=n.data}))},getList:function(){var t=this;this.noMore||(this.noMore=!0,this.loading=!0,(0,c.communityListApi)(this.params).then((function(n){var i=n.data,e=i.length<t.params.limit;t.contentList=t.contentList.concat(i),t.params.page++,t.noMore=e})).finally((function(){t.loading=!1})))},flowLike:function(t){var n=this.contentList.findIndex((function(n){return t.id==n.id}));this.contentList[n].is_like=t.status,1==t.status?this.contentList[n].like_num++:this.contentList[n].like_num--}},onReachBottom:function(){this.getList()}};n.default=a}).call(this,i("df3c")["default"])},1032:function(t,n,i){"use strict";i.r(n);var e=i("0099"),o=i.n(e);for(var c in e)["default"].indexOf(c)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(c);n["default"]=o.a},"129c":function(t,n,i){},"1ed5":function(t,n,i){"use strict";(function(t,n){var e=i("47a9");i("f076");e(i("3240"));var o=e(i("263a"));t.__webpack_require_UNI_MP_PLUGIN__=i,n(o.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"263a":function(t,n,i){"use strict";i.r(n);var e=i("c67d"),o=i("1032");for(var c in o)["default"].indexOf(c)<0&&function(t){i.d(n,t,(function(){return o[t]}))}(c);i("39d6");var a=i("828b"),s=Object(a["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=s.exports},"39d6":function(t,n,i){"use strict";var e=i("129c"),o=i.n(e);o.a},c67d:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){}));var e=function(){var t=this.$createElement,n=(this._self._c,this.contentList.length),i=0==this.contentList.length&&!this.loading;this.$mp.data=Object.assign({},{$root:{g0:n,g1:i}})},o=[]}},[["1ed5","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "搜索结果",
"navigationBarBackgroundColor": "#FFFFFF",
"usingComponents": {
"waterfalls-flow": "/components/discoverWaterfall/WaterfallsFlow",
"empty-page": "/components/emptyPage"
}
}

View File

@@ -0,0 +1 @@
<view style="{{(colorStyle)}}"><view class="gradient-box"><view class="flex-between-center"><view class="search-box flex-y-center pl-24 pr-20"><text class="iconfont icon-ic_search fs-32 text--w111-999"></text><input class="fs-26 ml-16 flex-1" type="text" placeholder="请输入关键词" data-event-opts="{{[['input',[['__set_model',['$0','keyword','$event',[]],['params']]]]]}}" value="{{params.keyword}}" bindinput="__e"/><block wx:if="{{params.keyword}}"><text data-event-opts="{{[['tap',[['clearWord',['$event']]]]]}}" class="iconfont icon-ic_close2 fs-28 text--w111-999 pl-20" bindtap="__e"></text></block></view><text data-event-opts="{{[['tap',[['getSearch',['$event']]]]]}}" class="fs-26 pl-24" bindtap="__e">搜索</text></view><view class="flex-y-center"><scroll-view class="white-nowrap vertical-middle w-676 pl-30" scroll-x="true" scroll-with-animation="{{true}}" scroll-into-view="{{intoindex}}" show-scrollbar="false"><view class="inline-block mr-52"><view data-event-opts="{{[['tap',[['changeCate',[-1,'']]]]]}}" class="{{['flex-y-center','h-100','fs-28',(cateActive=='')?'cate-active':'']}}" bindtap="__e">全部</view></view><block wx:for="{{topicList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="inline-block mr-52" id="{{'sort'+index}}"><view data-event-opts="{{[['tap',[['changeCate',[index,'$0'],[[['topicList','',index,'id']]]]]]]}}" class="{{['flex-y-center','h-100','fs-28',(cateActive==item.id)?'cate-active':'']}}" bindtap="__e">{{item.name}}</view></view></block></scroll-view></view></view><block wx:if="{{$root.g0}}"><view class="px-20"><waterfalls-flow vue-id="46dbc996-1" wfList="{{contentList}}" data-event-opts="{{[['^onFlowLike',[['flowLike']]]]}}" bind:onFlowLike="__e" bind:__l="__l"></waterfalls-flow></view></block><block wx:if="{{$root.g1}}"><view class="px-20"><empty-page vue-id="46dbc996-2" title="{{params.keyword?'无搜索结果,换个词试试吧':'暂无内容,去看点别的吧~'}}" src="{{params.keyword?'/statics/images/noSearch.gif':'/statics/images/empty-box.gif'}}" bind:__l="__l"></empty-page></view></block><home vue-id="46dbc996-3" bind:__l="__l"></home></view>

View File

@@ -0,0 +1 @@
.gradient-box{width:750rpx;height:182rpx;background:linear-gradient(180deg,#fff,#f5f5f5);padding:20rpx 30rpx 0}.gradient-box .search-box{width:614rpx;height:64rpx;background:#f3f3f3;border-radius:32rpx}.cate-active{font-weight:500;font-size:34rpx;color:var(--view-theme);position:relative}.cate-active:after{content:"";position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:14rpx;width:64rpx;height:5rpx;background:var(--view-theme);border-radius:4rpx}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/discover/discoverTopic/index"],{"09f8":function(t,n,i){"use strict";i.r(n);var e=i("2893"),o=i.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(a);n["default"]=o.a},"0d54":function(t,n,i){"use strict";i.r(n);var e=i("b3c1"),o=i("09f8");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return o[t]}))}(a);i("b1a9");var c=i("828b"),s=Object(c["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=s.exports},2893:function(t,n,i){"use strict";(function(t){var e=i("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e(i("89cc")),a=i("eb8a"),c={data:function(){return{tabActive:0,scrollStatus:!1,contentList:[],loading:!1,params:{page:1,limit:20,topic_id:"",keyword:"",is_interest:0,order:2},topicName:"",count:1}},components:{emptyPage:function(){i.e("components/emptyPage").then(function(){return resolve(i("398a"))}.bind(null,i)).catch(i.oe)},waterfallsFlow:function(){i.e("components/discoverWaterfall/WaterfallsFlow").then(function(){return resolve(i("831d"))}.bind(null,i)).catch(i.oe)}},mixins:[o.default],computed:{navStyle:function(){return{backgroundColor:this.scrollStatus?"#fff":"transparent"}}},provide:function(){return{flowLike:this.flowLike}},onPageScroll:function(n){n.scrollTop>50?this.scrollStatus=!0:n.scrollTop<50&&(this.scrollStatus=!1),t.$emit("scroll")},onLoad:function(t){this.params.topic_id=t.id||"",this.topicName=t.name||"",this.getList(),this.getCount()},methods:{createTo:function(){t.navigateTo({url:"/pages/discover/discoverCreate/index?topic_name="+this.topicName})},changeTab:function(t){this.tabActive=t,this.params.order=0==t?2:1,this.loading=!1,this.params.page=1,this.contentList=[],this.getList()},getList:function(){var t=this;this.loading||(this.loading=!0,(0,a.communityListApi)(this.params).then((function(n){var i=n.data,e=i.length<t.params.limit;t.contentList=t.contentList.concat(i),t.params.page++,t.loading=e})))},getCount:function(){var t=this;(0,a.communityTopicCountApi)(this.params.topic_id).then((function(n){t.count=n.data.count}))},flowLike:function(t){var n=this.contentList.findIndex((function(n){return t.id==n.id}));this.contentList[n].is_like=t.status,1==t.status?this.contentList[n].like_num++:this.contentList[n].like_num--}},onReachBottom:function(){this.getList()}};n.default=c}).call(this,i("df3c")["default"])},4205:function(t,n,i){},b1a9:function(t,n,i){"use strict";var e=i("4205"),o=i.n(e);o.a},b3c1:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){}));var e=function(){var t=this.$createElement,n=(this._self._c,this.__get_style([this.navStyle]));this.$mp.data=Object.assign({},{$root:{s0:n}})},o=[]},dcc0:function(t,n,i){"use strict";(function(t,n){var e=i("47a9");i("f076");e(i("3240"));var o=e(i("0d54"));t.__webpack_require_UNI_MP_PLUGIN__=i,n(o.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])}},[["dcc0","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "话题列表",
"navigationBarBackgroundColor": "#FFFFFF",
"usingComponents": {
"empty-page": "/components/emptyPage",
"waterfalls-flow": "/components/discoverWaterfall/WaterfallsFlow"
}
}

View File

@@ -0,0 +1 @@
<view style="{{(colorStyle)}}"><view class="w-full abs-lt gradient-box"></view><view class="topic-box relative z-10"><view class="flex-between-center"><view><view class="fs-34 fw-500"><text class="iconfont icon-ic_talk_2 fs-36"></text><text class="pl-8">{{topicName}}</text></view><view class="fs-24 lh-36rpx pt-20 text--w111-666">{{count+"篇内容"}}</view></view><view data-event-opts="{{[['tap',[['createTo']]]]}}" class="w-162 h-60 rd-30rpx flex-center fs-24 text--w111-3d b-e" bindtap="__e"><text class="iconfont icon-ic_edit fs-24"></text><text class="pl-8">去发布</text></view></view><view class="pb-26rpx bb-e"></view></view><view class="nav-box w-full h-100 pl-30 fs-30 text--w111-999 flex-y-center" style="{{$root.s0}}"><text data-event-opts="{{[['tap',[['changeTab',[0]]]]]}}" class="{{[(tabActive==0)?'tab-active':'']}}" bindtap="__e">最热</text><text data-event-opts="{{[['tap',[['changeTab',[1]]]]]}}" class="{{['ml-52',(tabActive==1)?'tab-active':'']}}" bindtap="__e">最新</text></view><view class="px-20"><waterfalls-flow vue-id="53f575ea-1" wfList="{{contentList}}" data-event-opts="{{[['^onFlowLike',[['flowLike']]]]}}" bind:onFlowLike="__e" bind:__l="__l"></waterfalls-flow></view><home vue-id="53f575ea-2" bind:__l="__l"></home></view>

View File

@@ -0,0 +1 @@
.gradient-box{height:260rpx;background:linear-gradient(180deg,#fff,#f5f5f5);z-index:2}.topic-box{padding:42rpx 32rpx 0}.nav-box{position:-webkit-sticky;position:sticky;left:0;top:0;z-index:10}.b-e{border:1rpx solid #eee}.bb-e{border-bottom:1rpx solid #eee}.tab-active{font-weight:500;color:#333;position:relative}.tab-active:after{content:"";position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:-14rpx;width:40rpx;height:5rpx;background:var(--view-theme);border-radius:4rpx}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {
"empty-page": "/components/emptyPage",
"nav-bar": "/components/NavBar",
"waterfalls-flow": "/components/discoverWaterfall/WaterfallsFlow",
"tui-modal": "/components/tui-modal/index"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.info-card{background-size:cover}.blur-bg{-webkit-filter:blur(50rpx);filter:blur(50rpx);background-size:cover}.content{position:relative;z-index:2;-webkit-filter:blur(0);filter:blur(0);background:linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,.1) 39%,rgba(0,0,0,.7))}.info{padding:38rpx 34rpx 0 30rpx}.bg-white-01{background-color:hsla(0,0%,100%,.1)}.bg--w111-f1f1f1{background-color:#f1f1f1}.border-white{border:1rpx solid #fff}.list-box{position:relative;left:0;top:-24rpx;border-radius:24rpx 24rpx 0 0;z-index:90}.list-tab{background:linear-gradient(180deg,#fff,#f5f5f5);padding-left:20rpx;padding-right:20rpx;padding-bottom:24rpx;border-radius:24rpx 24rpx 0 0}.center-tabs{position:absolute;top:38rpx;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.active-tab{font-weight:500;color:#333;position:relative}.active-tab:after{content:"";position:absolute;left:0;bottom:-14rpx;width:64rpx;height:5rpx;background:var(--view-theme);border-radius:4rpx}.vip{width:64rpx;height:26rpx;background:#fef0d9;border:1px solid #facc7d;border-radius:50rpx;font-size:18rpx;font-weight:500;color:#dfa541;margin-left:10rpx}.vip .iconfont{font-size:16rpx;margin-right:4rpx}.vip-badge{position:absolute;top:-20rpx;right:0;width:48rpx;height:46rpx}.svip-border{border:2rpx solid #f1bb0d}.tui-modal-custom{height:530rpx}.tui-modal-custom .h-342{height:342rpx}.white-border{border:2rpx solid #fff}.modal-btn{width:244rpx;height:72rpx;border-radius:36rpx}.close-btn{border:1rpx solid var(--view-theme)}.confirm-btn{background-color:var(--view-theme)}.msg-icon{position:relative}.msg-icon:after{content:"";position:absolute;right:8rpx;top:10rpx;width:12rpx;height:12rpx;border-radius:6rpx;background-color:#e93323}.user-desc{max-height:200rpx;overflow-y:scroll}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/discover/discoverVideo/index"],{"12b2":function(t,n,i){"use strict";(function(t,n){var e=i("47a9");i("f076");e(i("3240"));var o=e(i("5624"));t.__webpack_require_UNI_MP_PLUGIN__=i,n(o.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"2ce8":function(t,n,i){"use strict";i.r(n);var e=i("3645"),o=i.n(e);for(var c in e)["default"].indexOf(c)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(c);n["default"]=o.a},3645:function(t,n,i){"use strict";(function(t){var e=i("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e(i("7ca3")),c=e(i("89cc")),r=i("eb8a"),s=(i("92f9"),i("769c"),i("8f59"));function a(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,e)}return i}var u={name:"discoverVideo",data:function(){return{contentList:[],loading:!1,params:{page:1,limit:10,topic_id:"",keyword:"",is_interest:0,content_type:2,start_id:"",relation_id:""},infoData:{},configData:{community_status:1,community_comment_add:1,community_comment_status:1},current:0}},mixins:[c.default],components:{swiperVideo:function(){i.e("components/discoverVideo/index").then(function(){return resolve(i("5e30"))}.bind(null,i)).catch(i.oe)}},provide:function(){return{flowLike:this.flowLike}},onPageScroll:function(n){t.$emit("scroll")},computed:function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?a(Object(i),!0).forEach((function(n){(0,o.default)(t,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}return t}({},(0,s.mapGetters)(["isLogin","uid"])),onLoad:function(t){this.params.start_id=t.id,t.relation_id&&this.$set(this.params,"relation_id",t.relation_id),this.getConfig(),this.getList()},methods:{getConfig:function(){var t=this;(0,r.getCommunityConfig)().then((function(n){t.configData=n.data}))},getList:function(){var t=this;this.loading||(this.loading=!0,(0,r.communityListApi)(this.params).then((function(n){var i=n.data,e=i.length<t.params.limit;t.contentList=t.contentList.concat(i),t.params.page++,t.loading=e})))},followUser:function(t){return this.contentList[t.index].is_follow=1,this.$util.Tips({title:"关注成功"})},beforeRequest:function(t){this.current=t,this.contentList.length-1==t&&this.getList()},likeFun:function(t){this.contentList[t.index].is_like=t.status,1==t.status?this.contentList[t.index].like_num++:this.contentList[t.index].like_num--},resShare:function(t){this.infoData=t}},onReachBottom:function(){this.getList()},onShareAppMessage:function(){return{title:this.contentList[this.current].title||this.contentList[this.current].content,imageUrl:this.contentList[this.current].image,path:"/pages/discover/".concat(1==this.contentList[this.current].content_type?"discoverDetails":"discoverVideo","/index?id=").concat(this.contentList[this.current].id,"&spid=").concat(this.uid,"&relation_id=").concat(this.params.relation_id)}},onShareTimeline:function(){return{title:this.contentList[this.current].title||this.contentList[this.current].content,imageUrl:this.contentList[this.current].image,path:"/pages/discover/".concat(1==this.contentList[this.current].content_type?"discoverDetails":"discoverVideo","/index?id=").concat(this.contentList[this.current].id,"&spid=").concat(this.uid,"&relation_id=").concat(this.params.relation_id)}}};n.default=u}).call(this,i("df3c")["default"])},"4c4a":function(t,n,i){},5624:function(t,n,i){"use strict";i.r(n);var e=i("adab"),o=i("2ce8");for(var c in o)["default"].indexOf(c)<0&&function(t){i.d(n,t,(function(){return o[t]}))}(c);i("c754");var r=i("828b"),s=Object(r["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=s.exports},adab:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},o=[]},c754:function(t,n,i){"use strict";var e=i("4c4a"),o=i.n(e);o.a}},[["12b2","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {
"swiper-video": "/components/discoverVideo/index"
}
}

View File

@@ -0,0 +1 @@
<view style="{{(colorStyle)}}"><view class="full-page"><swiper-video vue-id="07d6e71e-1" swiperData="{{contentList}}" showFooter="{{false}}" replyStatus="{{configData.community_comment_status}}" addReply="{{configData.community_comment_add}}" fullVideo="{{true}}" data-event-opts="{{[['^onLike',[['likeFun']]],['^followChange',[['followUser']]],['^onSwiper',[['beforeRequest']]],['^onShare',[['resShare']]]]}}" bind:onLike="__e" bind:followChange="__e" bind:onSwiper="__e" bind:onShare="__e" bind:__l="__l"></swiper-video></view></view>

View File

@@ -0,0 +1 @@
.full-page{height:100vh;background-color:#000}