oms
This commit is contained in:
1
unpackage/dist/build/mp-weixin/salesRanking/page/contribution/contribution.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/salesRanking/page/contribution/contribution.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["salesRanking/page/contribution/contribution"],{"2ef3":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(a("b922")),i=r(a("b523"));function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var s={data:function(){return{list:[],dedata:null,getData:{pageSize:10,currentPage:1,params:{siteId:"",endTime:"",startTime:""}}}},onLoad:function(t){console.log(t),t.jsData&&(this.dedata=JSON.parse(t.jsData),this.getData.params.siteId=this.dedata.id,this.getData.params.endTime=this.dedata.endTime.split(" ")[0],this.getData.params.startTime=this.dedata.startTime.split(" ")[0],this.getlist())},filters:{price:function(t){return i.default.convertW(t)}},methods:{getlist:function(){var e,a=this;n.default[this.dedata.routerIndex?"inquireAboutCorporateContributions":"queryTheRevenueContributionOfGasStations"]({pageSize:this.getData.pageSize,currentPage:this.getData.currentPage,params:(e={},o(e,this.dedata.routerIndex?"siteId":"companyId",this.getData.params.siteId),o(e,"endTime",this.getData.params.endTime),o(e,"startTime",this.getData.params.startTime),e)}).then((function(e){2e4===e.code&&(0==e.data.list.length&&t.showToast({title:"没有数据了哦",icon:"none"}),1===a.getData.currentPage?a.list=e.data.list:a.list=a.list.concat(e.data.list))}))},scrolltolower:function(){this.getData.currentPage+=1,this.getlist()}}};e.default=s}).call(this,a("543d")["default"])},"42c4":function(t,e,a){"use strict";(function(t){a("6e43");n(a("66fd"));var e=n(a("7f48"));function n(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=a,t(e.default)}).call(this,a("543d")["createPage"])},"4ebf":function(t,e,a){"use strict";var n=a("658f"),i=a.n(n);i.a},"5e0b":function(t,e,a){"use strict";a.r(e);var n=a("2ef3"),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"658f":function(t,e,a){},"7f48":function(t,e,a){"use strict";a.r(e);var n=a("face"),i=a("5e0b");for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("4ebf");var o,s=a("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"bfacf184",null,!1,n["a"],o);e["default"]=u.exports},face:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={uniIcons:function(){return Promise.all([a.e("common/vendor"),a.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(a.bind(null,"3b32"))}},i=function(){var t=this,e=t.$createElement,a=(t._self._c,t.dedata.liters.toFixed(2)),n=t._f("price")(t.dedata.enterpriseContributionAmount),i=t.dedata.startTime.split(" "),r=t.dedata.endTime.split(" "),o=t.__map(t.list,(function(e,a){var n=t.__get_orig(e),i=e.volume.toFixed(2),r=t._f("price")(e.realPrice);return{$orig:n,g3:i,f1:r}}));t.$mp.data=Object.assign({},{$root:{g0:a,f0:n,g1:i,g2:r,l0:o}})},r=[]}},[["42c4","common/runtime","common/vendor"]]]);
|
||||
7
unpackage/dist/build/mp-weixin/salesRanking/page/contribution/contribution.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/salesRanking/page/contribution/contribution.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "消费支出",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/salesRanking/page/contribution/contribution.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/salesRanking/page/contribution/contribution.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="contribution_body data-v-bfacf184"><view class="contribution_header_car data-v-bfacf184" style="display:flex;flex-direction:column;flex-wrap:wrap;"><view class="flex ac jc data-v-bfacf184"><view class="flex jc data-v-bfacf184"><block wx:if="{{dedata.routerIndex}}"><uni-icons vue-id="d20bd6e0-1" color="#2866ff" custom-prefix="iconfont" type="iconjiayou" size="25" class="data-v-bfacf184" bind:__l="__l"></uni-icons></block><block wx:else><image style="width:60rpx;height:60rpx;" src="../../../static/selegs.png" class="data-v-bfacf184"></image></block><view style="margin-left:24rpx;width:365rpx;overflow:hidden;" class="data-v-bfacf184"><view style="overflow:hidden;width:100%;white-space:nowrap;text-overflow:ellipsis;" class="data-v-bfacf184">{{''+(dedata.routerIndex?dedata.siteName:dedata.companyName)+''}}</view><view class="samalltext data-v-bfacf184">{{dedata.id}}</view></view><block wx:if="{{!dedata.routerIndex}}"><view class="list_item_tip data-v-bfacf184" style="{{'background:'+(dedata.parentMark=='0'?'':'#BC853B')+';'}}">{{''+(dedata.parentMark=='0'?'总公司':'子公司')+''}}</view></block></view></view><view class="flex data-v-bfacf184" style="justify-content:space-around;margin-top:24rpx;"><view class="data-v-bfacf184">{{$root.g0+''}}<text style="color:#BBBBBB;" class="data-v-bfacf184">L</text></view><view class="data-v-bfacf184">{{''+$root.f0+''}}<text style="color:#BBBBBB;" class="data-v-bfacf184">¥</text></view></view><view class="contribution_header_car_tip flex ac jc data-v-bfacf184">{{$root.g1[0]+" - "+$root.g2[0]}}</view></view><view style="flex:1;margin-top:73rpx;overflow:hidden;" class="data-v-bfacf184"><scroll-view class="scroll-view data-v-bfacf184" style="height:100%;" scroll-y="true" data-event-opts="{{[['scrolltolower',[['scrolltolower',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index"><view class="list_item data-v-bfacf184"><view class="data-v-bfacf184">{{"NO."+item.$orig.rankingNum}}</view><view style="width:192rpx;text-align:center;" class="data-v-bfacf184"><block wx:if="{{dedata.routerIndex}}"><view class="list_item_tip data-v-bfacf184" style="{{'background:'+(item.$orig.parentMark=='0'?'':'#BC853B')+';'}}">{{item.$orig.parentMark=='0'?'总公司':'子公司'}}</view></block><block wx:else><view class="data-v-bfacf184"><block wx:if="{{item.$orig.siteImages}}"><image style="width:50rpx;height:50rpx;" src="{{item.$orig.siteImages}}" class="data-v-bfacf184"></image></block><block wx:if="{{!dedata.routerIndex&&!item.$orig.siteImages}}"><uni-icons vue-id="{{'d20bd6e0-2-'+index}}" color="#2866ff" custom-prefix="iconfont" type="iconjiayou" size="25" class="data-v-bfacf184" bind:__l="__l"></uni-icons></block><block wx:if="{{dedata.routerIndex&&!item.$orig.siteImages}}"><image style="width:60rpx;height:60rpx;" src="../../../static/selegs.png" class="data-v-bfacf184"></image></block></view></block><view class="samalltext data-v-bfacf184">{{item.$orig.siteContacts||'暂无'}}</view></view><view style="flex:1;overflow:hidden;" class="data-v-bfacf184"><view style="width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" class="data-v-bfacf184">{{item.$orig.name}}</view><view style="display:flex;justify-content:space-between;" class="data-v-bfacf184"><view class="data-v-bfacf184"><text class="data-v-bfacf184">{{item.g3}}</text>L</view><view class="data-v-bfacf184"><text class="data-v-bfacf184">{{item.f1}}</text>¥</view></view></view></view></block></scroll-view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/salesRanking/page/contribution/contribution.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/salesRanking/page/contribution/contribution.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.contribution_body.data-v-bfacf184{padding:40rpx 0;display:flex;flex-direction:column;flex-wrap:wrap;height:100vh;color:#666}.list_item.data-v-bfacf184{display:flex;padding:26rpx 30rpx;align-items:center;color:#666}.list_item_tip.data-v-bfacf184{padding:11rpx 14rpx;background-color:#9f43cc;color:#fff;font-size:16rpx;width:-webkit-fit-content;width:fit-content;margin:0 auto}.samalltext.data-v-bfacf184{font-size:24rpx;color:#bbb}.contribution_header_car.data-v-bfacf184{height:270rpx;background:#fff;border-radius:10px;padding-top:50rpx;position:relative;margin:0 44rpx}.jc.data-v-bfacf184{justify-content:center}.ac.data-v-bfacf184{align-items:center}.list_item.data-v-bfacf184{height:120rpx;background:#fff;border-radius:10px;width:660rpx;margin:0 auto;margin-bottom:10rpx}.contribution_header_car_tip.data-v-bfacf184{position:absolute;width:calc(100% - 200rpx);height:90rpx;background-color:#adceff;color:#fff;font-size:28rpx;bottom:-45rpx;border-radius:10px;left:calc((100% - (100% - 200rpx))/2)}.flex.data-v-bfacf184{display:flex}.data-v-bfacf184::-webkit-scrollbar{width:0;color:transparent}.list_item_tip.data-v-bfacf184{padding:11rpx 14rpx;background-color:#9f43cc;color:#fff;font-size:16rpx;width:-webkit-fit-content;width:fit-content;margin:0 auto;height:-webkit-fit-content;height:fit-content}
|
||||
Reference in New Issue
Block a user