优化页面
This commit is contained in:
1
unpackage/dist/build/mp-weixin/components/DifferenceArray.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/DifferenceArray.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";exports.DifferenceArray=function(r){const e=Date.now()/1e3,t=Math.ceil((r-e)/3600);return Array.from({length:t},((r,e)=>String(e+1)))};
|
||||
@@ -1 +1 @@
|
||||
"use strict";exports.formatDate=function(t){const e=new Date(1e3*t);return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")} ${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}:${String(e.getSeconds()).padStart(2,"0")}`};
|
||||
"use strict";exports.formatDate=function(t){const e=new Date(1e3*t),r=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0"),g=String(e.getHours()).padStart(2,"0"),S=String(e.getMinutes()).padStart(2,"0");return String(e.getSeconds()).padStart(2,"0"),`${r}-${a}-${n} ${g}:${S}`};
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../common/vendor.js"),t=require("./addPrefixToHeaderIcon.js");exports.request=function(n){const{url:a,data:r,method:o,header:s,userInfo:i}=n,g="http://120.26.251.180:8086/"+a;return new Promise(i?(n,a)=>{e.index.getStorage({key:"userinfo",success:i=>{i.data?i.data.nickName?e.index.request({url:g,data:r,method:o,header:s,success:function(e){console.log("请求成功1",e.data),n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){a(e)}}):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.reLaunch({url:"/pages/UserInformation/UserInformation"})):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}))},fail:function(t){e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}),a(t)}})}:(n,a)=>{e.index.request({url:g,data:r,method:o,header:s,success:function(e){console.log("请求成功2",e),n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){a(e)}})})};
|
||||
"use strict";const e=require("../common/vendor.js"),t=require("./addPrefixToHeaderIcon.js");exports.request=function(n){const{url:a,data:r,method:o,header:s,userInfo:i}=n,g="http://192.168.0.218:8086/"+a;return new Promise(i?(n,a)=>{e.index.getStorage({key:"userinfo",success:i=>{i.data?i.data.nickName?e.index.request({url:g,data:r,method:o,header:s,success:function(e){console.log("请求成功1",e.data),n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){a(e)}}):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.reLaunch({url:"/pages/UserInformation/UserInformation"})):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}))},fail:function(t){e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}),a(t)}})}:(n,a)=>{e.index.request({url:g,data:r,method:o,header:s,success:function(e){console.log("请求成功2",e),n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){a(e)}})})};
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t={data:()=>({title:"Hello",Select:!1}),onLoad(){},methods:{MakeAppointmentPK(){this.Select=!1,this.$emit("MakeAppointmentPK")},RealTimePk(){this.Select=!0,this.$emit("RealTimePk")},screening(){this.$emit("screening")},Search(){this.$emit("Search")}}};const n=e._export_sfc(t,[["render",function(t,n,i,c,o,a){return{a:e.o$1(((...e)=>a.MakeAppointmentPK&&a.MakeAppointmentPK(...e))),b:o.Select?"":1,c:o.Select?1:"",d:e.o$1(((...e)=>a.RealTimePk&&a.RealTimePk(...e))),e:o.Select?1:"",f:o.Select?"":1,g:e.o$1(((...e)=>a.screening&&a.screening(...e)))}}],["__scopeId","data-v-4ea16277"]]);wx.createComponent(n);
|
||||
"use strict";const e=require("../../common/vendor.js"),t={data:()=>({title:"Hello",Select:!1}),onLoad(){},methods:{MakeAppointmentPK(){this.Select=!1,this.$emit("MakeAppointmentPK")},RealTimePk(){this.Select=!0,this.$emit("RealTimePk")},screening(){this.$emit("screening")},Search(){this.$emit("Search")}}};const n=e._export_sfc(t,[["render",function(t,n,i,c,o,a){return{a:e.o$1(((...e)=>a.MakeAppointmentPK&&a.MakeAppointmentPK(...e))),b:o.Select?"":1,c:o.Select?1:"",d:e.o$1(((...e)=>a.RealTimePk&&a.RealTimePk(...e))),e:o.Select?1:"",f:o.Select?"":1,g:e.o$1(((...e)=>a.screening&&a.screening(...e)))}}],["__scopeId","data-v-492a9904"]]);wx.createComponent(n);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="topNavigation data-v-4ea16277"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-4ea16277']}}">今日PK</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-4ea16277']}}">PK大厅</view><view bindtap="{{g}}" class="Screening data-v-4ea16277">筛选</view></view>
|
||||
<view class="topNavigation data-v-492a9904"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-492a9904']}}">今日PK</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-492a9904']}}">PK大厅</view><view bindtap="{{g}}" class="Screening data-v-492a9904">筛选</view></view>
|
||||
@@ -1 +1 @@
|
||||
.topNavigation.data-v-4ea16277{width:100%;height:114.5rpx;display:flex;align-items:center}.Screening.data-v-4ea16277{width:120rpx;height:50rpx;background:#5bced1;font-size:23rpx;font-weight:700;color:#fff;text-align:center;line-height:50rpx;border-radius:15rpx}.filter-icon.data-v-4ea16277{width:33rpx;height:33rpx}.RealTime.data-v-4ea16277{margin:0 39rpx 0 41rpx}.MakeAppointment.data-v-4ea16277{margin-right:280rpx}.Screening.data-v-4ea16277{margin-right:20rpx}.Selectcss.data-v-4ea16277{width:146rpx;height:39rpx;font-size:42rpx;color:#0e1011;font-weight:600}.NoSelectcss.data-v-4ea16277{font-weight:600;height:29rpx;color:#727a7b}
|
||||
.topNavigation.data-v-492a9904{width:100%;height:114.5rpx;display:flex;align-items:center}.Screening.data-v-492a9904{width:120rpx;height:50rpx;background:#5bced1;font-size:23rpx;font-weight:700;color:#fff;text-align:center;line-height:50rpx;border-radius:15rpx}.filter-icon.data-v-492a9904{width:33rpx;height:33rpx}.RealTime.data-v-492a9904{margin:0 39rpx 0 41rpx}.MakeAppointment.data-v-492a9904{margin-right:270rpx}.Screening.data-v-492a9904{margin-right:20rpx}.Selectcss.data-v-492a9904{width:146rpx;height:39rpx;font-size:42rpx;color:#0e1011;font-weight:600}.NoSelectcss.data-v-492a9904{font-weight:600;height:29rpx;color:#727a7b}
|
||||
|
||||
Reference in New Issue
Block a user