first commit
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/team/detail.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/team/detail.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/team/detail"],{1229:function(e,n,t){"use strict";(function(e,n){var a=t("47a9");t("4233");a(t("3240"));var r=a(t("213d"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},"1fcb":function(e,n,t){"use strict";(function(e){var a=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,c=a(t("7eb4")),o=a(t("ee10")),i={data:function(){return{screen:{showcalendar:!1},shopinfo:{nickname:"",username:"",money:"",mobile:"",vip:"",device_num:"",id:""},team_device_num:0,chartData:{},opts:{padding:[15,10,0,15],enableScroll:!1,legend:{},xAxis:{disableGrid:!0,showTitle:!1},yAxis:{disabled:!0,gridType:"dash",dashLength:2},extra:{line:{type:"curve",width:2,activeType:"none"}}},search:{team_shop_id:"",start_time:"",end_time:"",week:0}}},onLoad:function(e){r=this,e&&e.team_shop_id&&(r.search.team_shop_id=e.team_shop_id)},onReady:function(){r.getServerData()},onPullDownRefresh:function(){return(0,o.default)(c.default.mark((function n(){return c.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:r.search.week=0,r.getServerData(),e.stopPullDownRefresh();case 3:case"end":return n.stop()}}),n)})))()},methods:{confirmcalendar:function(e){r.search.start_date=e[0],r.search.end_date=e[e.length-1],r.screen.showcalendar=!1,r.search.week="",r.getServerData()},checkweek:function(e){r.search.week=e,r.search.start_date="",r.search.end_date="",r.getServerData()},getServerData:function(){r.$http.get("/shop/v10/team/report",r.search).then((function(e){var n=e.data;r.team_device_num=n.team_device_num,r.chartData=n.report,r.shopinfo=n.team_shop}))}}};n.default=i}).call(this,t("df3c")["default"])},"213d":function(e,n,t){"use strict";t.r(n);var a=t("a1d4"),r=t("c8ff");for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);t("8c82");var o=t("828b"),i=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=i.exports},"8c82":function(e,n,t){"use strict";var a=t("e51d"),r=t.n(a);r.a},a1d4:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return a}));var a={"u-Image":function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u--image/u--image")]).then(t.bind(null,"eae0"))},uDivider:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-divider/u-divider")]).then(t.bind(null,"c144"))},qiunDataCharts:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(t.bind(null,"7ab4"))},uCalendar:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-calendar/u-calendar")]).then(t.bind(null,"cc7c"))}},r=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.screen.showcalendar=!0},e.e1=function(n){e.screen.showcalendar=!1})},c=[]},c8ff:function(e,n,t){"use strict";t.r(n);var a=t("1fcb"),r=t.n(a);for(var c in a)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(c);n["default"]=r.a},e51d:function(e,n,t){}},[["1229","common/runtime","common/vendor"]]]);
|
||||
10
unpackage/dist/build/mp-weixin/pages/team/detail.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/team/detail.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "成员详情",
|
||||
"enablePullDownRefresh": true,
|
||||
"usingComponents": {
|
||||
"u--image": "/node-modules/uview-ui/components/u--image/u--image",
|
||||
"u-divider": "/node-modules/uview-ui/components/u-divider/u-divider",
|
||||
"qiun-data-charts": "/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts",
|
||||
"u-calendar": "/node-modules/uview-ui/components/u-calendar/u-calendar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/team/detail.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/team/detail.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="xkl-com-bg"><view style="height:20rpx;"></view><view style="background-color:#ffffff;border-radius:10rpx;padding:30rpx;font-size:30rpx;"><view class="u-flex u-flex-y-center"><u--image vue-id="3c7c1d28-1" width="100rpx" height="100rpx" src="{{shopinfo.avatar_url}}" shape="circle" bind:__l="__l"></u--image><view style="width:20rpx;"></view><view><view>{{shopinfo.nickname}}</view><view style="height:10rpx;"></view><view>{{shopinfo.username}}</view></view></view><u-divider vue-id="3c7c1d28-2" bind:__l="__l"></u-divider><view class="u-flex u-flex-between"><view><view>{{"手机号:"+shopinfo.mobile}}</view><view style="height:10rpx;"></view><view>{{"等级:v"+shopinfo.vip}}</view></view><view style="width:20rpx;"></view><view><view>{{"余额:¥"+shopinfo.money}}</view><view style="height:10rpx;"></view><view>{{"自购:"+shopinfo.device_num}}</view></view></view><view style="height:16rpx;"></view><view>{{"注册时间:"+shopinfo.created_at}}</view></view><view style="height:20rpx;"></view><view style="background-color:#ffffff;border-radius:10rpx;padding:30rpx;font-size:30rpx;"><view class="u-flex u-flex-y-center"><view data-event-opts="{{[['tap',[['checkweek',[0]]]]]}}" class="{{[search.week===0?'xkl_cur':'xkl_no']}}" style="background-color:#ffffff;border-radius:12rpx;padding:10rpx;" bindtap="__e">本周</view><view style="width:30rpx;"></view><view data-event-opts="{{[['tap',[['checkweek',[1]]]]]}}" class="{{[search.week==1?'xkl_cur':'xkl_no']}}" style="background-color:#ffffff;border-radius:12rpx;padding:10rpx;" bindtap="__e">上周</view><view style="width:30rpx;"></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{[search.week===''?'xkl_cur':'xkl_no']}}" style="background-color:#ffffff;border-radius:12rpx;padding:10rpx;" bindtap="__e"><block wx:if="{{search.start_date}}"><text>{{search.start_date+" - "+search.end_date}}</text></block><block wx:else><text>自定义时间</text></block></view></view><u-divider vue-id="3c7c1d28-3" bind:__l="__l"></u-divider><view>{{shopinfo.nickname+"团队销量 "+team_device_num+''}}</view><view style="height:20rpx;"></view><qiun-data-charts vue-id="3c7c1d28-4" type="line" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view><u-calendar vue-id="3c7c1d28-5" show="{{screen.showcalendar}}" minDate="2024-03-01" mode="range" showTitle="{{false}}" defaultDate="{{null}}" data-event-opts="{{[['^confirm',[['confirmcalendar']]],['^close',[['e1']]]]}}" bind:confirm="__e" bind:close="__e" bind:__l="__l"></u-calendar><view style="height:100rpx;"></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/team/detail.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/team/detail.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.xkl_cur{border:1px solid #26418a;color:#26418a}.xkl_no{border:1px solid #999;color:#999}
|
||||
1
unpackage/dist/build/mp-weixin/pages/team/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/team/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/team/index"],{"8ca4":function(e,t,n){"use strict";(function(e){var a=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,u=a(n("7eb4")),r=a(n("ee10")),c={data:function(){return{screen:{showcalendar:!1},teamItems:[],loadStatus:"loadmore",total:0,page:{current:0,last_page:1,page:1},search:{level:1,page:1,start_date:"",end_date:""}}},onLoad:function(){o=this,o.getShopTeam()},onReachBottom:function(){o.pageStatus()&&(o.loadStatus="loading",o.search.page+=1,o.getShopTeam())},onPullDownRefresh:function(){return(0,r.default)(u.default.mark((function t(){return u.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o.search.page=1,o.teamItems=[],t.next=4,o.getShopTeam();case 4:e.stopPullDownRefresh();case 5:case"end":return t.stop()}}),t)})))()},methods:{confirmcalendar:function(e){o.search.start_date=e[0],o.search.end_date=e[e.length-1],o.screen.showcalendar=!1},pageStatus:function(){return o.loadStatus="loadmore",!(o.search.page>=o.page.last_page)||(o.loadStatus="nomore",!1)},getShopTeam:function(){o.$http.get("/shop/v10/user/team",o.search).then((function(e){var t=e.data;e.success;o.teamItems=o.teamItems.concat(t.data),o.page.last_page=t.last_page,o.total=t.total,o.pageStatus()}))}}};t.default=c}).call(this,n("df3c")["default"])},"9b38":function(e,t,n){},b669:function(e,t,n){"use strict";n.r(t);var a=n("8ca4"),o=n.n(a);for(var u in a)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(u);t["default"]=o.a},c422:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return a}));var a={"u-Image":function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u--image/u--image")]).then(n.bind(null,"eae0"))},uDivider:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-divider/u-divider")]).then(n.bind(null,"c144"))},uLoadmore:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-loadmore/u-loadmore")]).then(n.bind(null,"7d1b"))},uCalendar:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-calendar/u-calendar")]).then(n.bind(null,"cc7c"))}},o=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.screen.showcalendar=!1})},u=[]},c9ce:function(e,t,n){"use strict";(function(e,t){var a=n("47a9");n("4233");a(n("3240"));var o=a(n("f663"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},cb00:function(e,t,n){"use strict";var a=n("9b38"),o=n.n(a);o.a},f663:function(e,t,n){"use strict";n.r(t);var a=n("c422"),o=n("b669");for(var u in o)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(u);n("cb00");var r=n("828b"),c=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"bdc521fa",null,!1,a["a"],void 0);t["default"]=c.exports}},[["c9ce","common/runtime","common/vendor"]]]);
|
||||
10
unpackage/dist/build/mp-weixin/pages/team/index.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/team/index.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "邀请记录",
|
||||
"enablePullDownRefresh": true,
|
||||
"usingComponents": {
|
||||
"u--image": "/node-modules/uview-ui/components/u--image/u--image",
|
||||
"u-divider": "/node-modules/uview-ui/components/u-divider/u-divider",
|
||||
"u-loadmore": "/node-modules/uview-ui/components/u-loadmore/u-loadmore",
|
||||
"u-calendar": "/node-modules/uview-ui/components/u-calendar/u-calendar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/team/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/team/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="xkl-com-bg data-v-bdc521fa"><view style="height:20rpx;" class="data-v-bdc521fa"></view><view style="background-color:#ffffff;padding:20rpx;" class="data-v-bdc521fa">{{"邀请人数:"+total}}</view><view style="height:20rpx;" class="data-v-bdc521fa"></view><view class="data-v-bdc521fa"><block wx:for="{{teamItems}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="background-color:#ffffff;border-radius:10rpx;padding:30rpx;margin-bottom:20rpx;font-size:30rpx;" class="data-v-bdc521fa"><view class="u-flex u-flex-y-center data-v-bdc521fa"><u--image vue-id="{{'3d695c4d-1-'+index}}" width="100rpx" height="100rpx" src="{{item.avatar_url}}" shape="circle" class="data-v-bdc521fa" bind:__l="__l"></u--image><view style="width:20rpx;" class="data-v-bdc521fa"></view><view class="data-v-bdc521fa"><view class="data-v-bdc521fa">{{item.nickname}}</view><view style="height:10rpx;" class="data-v-bdc521fa"></view><view class="data-v-bdc521fa">{{item.username}}</view></view></view><u-divider vue-id="{{'3d695c4d-2-'+index}}" class="data-v-bdc521fa" bind:__l="__l"></u-divider><view class="u-flex u-flex-between data-v-bdc521fa"><view class="data-v-bdc521fa"><view class="data-v-bdc521fa">{{"手机号:"+item.mobile}}</view><view style="height:10rpx;" class="data-v-bdc521fa"></view><view class="data-v-bdc521fa">等级:***</view></view><view style="width:20rpx;" class="data-v-bdc521fa"></view><view class="data-v-bdc521fa"><view class="data-v-bdc521fa">{{"自购:"+item.device_num}}</view></view></view><view style="height:16rpx;" class="data-v-bdc521fa"></view><view class="data-v-bdc521fa">{{"注册时间:"+item.created_at}}</view></view></block></view><u-loadmore vue-id="3d695c4d-3" status="{{loadStatus}}" class="data-v-bdc521fa" bind:__l="__l"></u-loadmore><u-calendar vue-id="3d695c4d-4" show="{{screen.showcalendar}}" minDate="2024-02-01" mode="range" showTitle="{{false}}" defaultDate="{{[]}}" data-event-opts="{{[['^confirm',[['confirmcalendar']]],['^close',[['e0']]]]}}" bind:confirm="__e" bind:close="__e" class="data-v-bdc521fa" bind:__l="__l"></u-calendar><view style="height:100rpx;" class="data-v-bdc521fa"></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/team/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/team/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.xkl-com-bg.data-v-bdc521fa{min-height:100vh}
|
||||
Reference in New Issue
Block a user