123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>产品中心-我的业绩-创业帮</title>
- <meta name="keywords" content="产品中心-我的业绩-创业帮">
- <meta name="description" content="产品中心-我的业绩-创业帮">
- <meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,shrink-to-fit=no,user-scalable=no" name="viewport" viewport="cover">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
- <meta content="telephone=no" name="format-detection">
- <meta content="email=no" name="format-detection">
- <meta name="apple-mobile-web-app-title" content="产品中心-我的业绩-创业帮">
- <meta http-equiv="Cache-Control" content="no-siteapp">
- <link rel="stylesheet" href="./static/css/main.css">
- <style>
- .screenroll::-webkit-scrollbar {
- display: none;
- }
- .van-pull-refresh{
- height:calc(100vh - 2.3rem);
- }
- .bycloud{
- margin-left:0 !important;
- }
- .detailinfo{
- justify-content:space-between !important;
- }
- /*.mtr{
- text-align:right;
- }
- */
- .jcsb div{
- flex:1;
- }
- </style>
- </head>
- <body class="bgc-back pb0 ovh">
- <div class="iphonetitle"> </div>
- <div id="app" v-cloak>
- <van-nav-bar class="camp_title user_title_normal f16" title="盟主中心" @click-left="goback" v-if="toptitleisshow" left-arrow v-cloak>
- <template #left>
- <van-icon name="arrow-left" color="#333" size="20"></van-icon>
- </template>
- </van-nav-bar>
- <div class="screenroll">
- <van-pull-refresh v-model="refreshing" @refresh="onRefresh">
- <div class="performance_toppanel ovh">
- <div class="title df mt8 c333">
- <div class="time" @click="showDate = true"></div>
- <div class="f12"> </div>
- </div>
- </div>
- <div class="performance_panel bgcfff">
- <div class="title df">
- <div class="f14 c333 b"> </div>
- <div class="pic" @click="trendpic('个人交易')"><span class="f12"> </span></div>
- </div>
- </div>
- </van-pull-refresh>
- </div>
- <van-popup class="product_mymerchant_transaction" v-model="showDate" position="bottom" :style="{ height: '50%' }" v-cloak>
- <van-datetime-picker v-model="currentDate" type="year-month" :min-date="minDate" :max-date="maxDate" :formatter="formatter" @cancel="showDate = false" @confirm="onConfirmDate"></van-datetime-picker>
- </van-popup>
- </div>
- <script src="./static/js/echarts.min.js"></script>
- <script src="./static/js/klm-vv.min.js"></script>
- <script src="./static/js/appfunc.min.js"></script>
- <script src="./static/js/klm-axios-config.js"></script>
- <script src="./static/js/publicfn.js"></script>
- <script>
- function OnStart(){
- PublicLib.SetStatusBarStyle({type:'light', isShow:1});
- };
- // 通过 CDN 引入时不会自动注册 Lazyload 组件
- // 可以通过下面的方式手动注册
- Vue.use(vant.Lazyload);
- //--- PublicLib.SetStatusBarStyle({type:'light', isShow:1});
- // 在 #app 标签下渲染一个按钮组件
- let app = new Vue({
- el: '#app',
- data() {
- return {
- refreshing: false,
- toptitleisshow:true,
- showDate: false,
- currentDate: new Date(),
- minDate: new Date(new Date().getFullYear(),(new Date().getMonth() - 5)),
- maxDate: new Date(),
- nowdate: '',
- isme:false,
- ismelist:[
- 14,1,598
- ],
- };
- },
- created(){
- this.onConfirmDate();
- this.isme = PublicLib.GetAppVersion() === '1.4.2' ? true : false;
- this.ismelist.forEach(item=>{
- if(item === Number(PublicLib.getCookieInfo('userId'))){
- this.isme = true;
- };
- });
- },
- methods: {
- onRefresh() {
- // 清空列表数据
- this.onConfirmDate();
- },
- formatter(type, val) {
- if (type === 'year') {
- return `${val}年`;
- } else if (type === 'month') {
- return `${val}月`;
- } else if (type === 'day') {
- return `${val}日`;
- }
- return val;
- },
- onConfirmDate() {
- this.showDate = false;
- this.nowdate = this.currentDate.getFullYear() + '-' + (this.currentDate.getMonth() + 1);
- },
- onConformateDate(){
- return fillzero(formatDate(this.currentDate.getFullYear(),this.currentDate.getMonth() + 1));
- },
- trendpic(val){
- PublicLib.putCookieInfo('trendtype', val);
- PublicLib.Goto({Url:'product-trendchart'});
- },
- goback(){
- PublicLib.GoBack({Level:1});
- },
- }
- });
- </script>
- </body>
- </html>
|