第一次提交

This commit is contained in:
dt_2916866708
2024-02-28 17:26:46 +08:00
commit f756390529
991 changed files with 126914 additions and 0 deletions

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/personal/index"],{"0dfe":function(e,n,t){"use strict";(function(e,i){var o=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(t("2eee")),c=o(t("c973")),u=o(t("76d8")),r={data:function(){return{imgUrl:this.baseImgURL,cards:e.getStorageSync("cards"),user:e.getStorageSync("user"),others:[{title:"个人信息"},{title:"密码设置"},{title:"关于我们"},{title:"退出登录",functionName:"goM78"}],options:[{logo:t("aa6c"),title:"我的订单",functionName:"KillTheRecord"},{logo:t("feca"),title:"我的车辆",functionName:"ultramanVehicle"},{logo:t("64b8"),title:"我的收藏",functionName:"goCollect"},{logo:t("d881"),title:"客服中心"}],titleStyle:{}}},created:function(){this.init()},onShow:function(){},filters:{filterPhone:function(e){if(!e)return" ";var n=e.slice(0,3)+"****"+e.slice(e.length-4);return n}},methods:{ultramanVehicle:function(){e.navigateTo({url:"/ChargingStation/pages/vehicle/index"})},goCollect:function(){e.navigateTo({url:"/ChargingStation/pages/collect/index"})},KillTheRecord:function(){this.$emit("switchTabBar",3)},login:function(){this.user||(e.clearStorageSync(),e.reLaunch({url:"/pages/login/index"}))},isEyeFn:function(e){e.isEye=!e.isEye,console.log(e,"isEyeFnisEyeFnisEyeFn")},othersClick:function(n){n.functionName?this[n.functionName]():e.showToast({title:"功能暂未开放",icon:"none"})},init:function(){this.titleStyle=i.getMenuButtonBoundingClientRect(),this.user||this.others.pop()},goM78:function(){return(0,c.default)(a.default.mark((function n(){var t;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,u.default.loginOut();case 2:t=n.sent,t&&(e.clearStorageSync(),e.reLaunch({url:"/pages/login/index"}));case 4:case"end":return n.stop()}}),n)})))()}}};n.default=r}).call(this,t("543d")["default"],t("bc2e")["default"])},"20b1":function(e,n,t){"use strict";t.r(n);var i=t("0dfe"),o=t.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(a);n["default"]=o.a},2879:function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return i}));var i={uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(t.bind(null,"e4f7"))}},o=function(){var e=this,n=e.$createElement,t=(e._self._c,e._f("filterPhone")(e.user.userPhone)),i=e.cards.length,o=i?e.__map(e.cards,(function(n,t){var i=e.__get_orig(n),o=n.isEye?e.tool.getnum(n.balance):null;return{$orig:i,g1:o}})):null;e.$mp.data=Object.assign({},{$root:{f0:t,g0:i,l0:o}})},a=[]},"731e":function(e,n,t){"use strict";(function(e,n){var i=t("4ea4");t("9773");i(t("66fd"));var o=i(t("7a68"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},"7a68":function(e,n,t){"use strict";t.r(n);var i=t("2879"),o=t("20b1");for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);t("c172");var c=t("f0c5"),u=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"3fd65076",null,!1,i["a"],void 0);n["default"]=u.exports},"96be":function(e,n,t){},c172:function(e,n,t){"use strict";var i=t("96be"),o=t.n(i);o.a}},[["731e","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"usingComponents": {
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}

View File

@@ -0,0 +1,2 @@
<view class="personal flex column data-v-3fd65076"><view class="personal_title flex ac jc data-v-3fd65076" style="{{'height:'+(titleStyle.height+'px')+';'}}">用户中心</view><view class="personal_top data-v-3fd65076"><view class="businessCard flex ac data-v-3fd65076"><view class="sculpture flex ac jc data-v-3fd65076" style="font-size:55rpx;color:aliceblue;"><image src="{{user.headPhoto}}" mode class="data-v-3fd65076"></image></view><view class="information data-v-3fd65076"><view data-event-opts="{{[['tap',[['login',['$event']]]]]}}" class="information_name data-v-3fd65076" bindtap="__e">{{''+(user?user.name:'点击登录')}}</view><view class="information_footer data-v-3fd65076">{{''+$root.f0}}</view></view></view><block wx:if="{{$root.g0}}"><swiper style="width:100%;height:200rpx;margin-top:70rpx;" indicator-dots="{{true}}" circular="{{true}}" class="data-v-3fd65076"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="data-v-3fd65076"><view class="wallet flex ac data-v-3fd65076"><image src="../../static/je-bg.png" class="data-v-3fd65076"></image><view class="wallet_container data-v-3fd65076"><view class="wallet_name data-v-3fd65076">{{''+item.$orig.name+''}}<block wx:if="{{item.$orig.shareCompanyQuota==1}}"><text class="data-v-3fd65076">( 共享
)</text></block></view><view class="wallet_balance flex ac jw data-v-3fd65076"><text class="data-v-3fd65076">{{''+(item.$orig.isEye?item.g1:'*****')+''}}</text><block wx:if="{{item.$orig.isEye}}"><uni-icons vue-id="{{'abe335ec-1-'+index}}" type="eye" color="#ffffff" size="25" data-event-opts="{{[['^click',[['isEyeFn',['$0'],[[['cards','',index]]]]]]]}}" bind:click="__e" class="data-v-3fd65076" bind:__l="__l"></uni-icons></block><block wx:else><uni-icons vue-id="{{'abe335ec-2-'+index}}" type="eye-slash-filled" color="#ffffff" size="25" data-event-opts="{{[['^click',[['isEyeFn',['$0'],[[['cards','',index]]]]]]]}}" bind:click="__e" class="data-v-3fd65076" bind:__l="__l"></uni-icons></block></view></view></view></swiper-item></block></swiper></block><view class="options flex around data-v-3fd65076"><block wx:for="{{options}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['othersClick',['$0'],[[['options','',index]]]]]]]}}" class="options_item flex column ac data-v-3fd65076" bindtap="__e"><image mode="heightFix" src="{{item.logo}}" class="data-v-3fd65076"></image><view class="options_item_title data-v-3fd65076">{{item.title}}</view></view></block></view></view><view class="personal_bottom oneflex data-v-3fd65076"><view class="personal_bottom_banner data-v-3fd65076"><image src="{{imgUrl+'/banner.png'}}" class="data-v-3fd65076"></image></view><view class="personal_bottom_others data-v-3fd65076"><block wx:for="{{others}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['othersClick',['$0'],[[['others','',index]]]]]]]}}" class="personal_bottom_others_item flex ac data-v-3fd65076" bindtap="__e"><view class="oneflex personal_bottom_others_item_title data-v-3fd65076">{{item.title}}</view><uni-icons vue-id="{{'abe335ec-3-'+index}}" type="forward" color="#121836" size="20" class="data-v-3fd65076" bind:__l="__l"></uni-icons></view></block></view></view></view>

View File

@@ -0,0 +1 @@
.personal.data-v-3fd65076{padding:0 30rpx;height:100%;font-family:PingFang SC-Bold,PingFang SC}.personal .personal_title.data-v-3fd65076{font-size:34rpx;font-family:PingFang SC-Bold,PingFang SC;color:#000;font-weight:600}.personal .personal_bottom.data-v-3fd65076{border-radius:50rpx 50rpx 0 0;margin-top:50rpx;box-sizing:border-box;padding:46rpx;background:hsla(0,0%,100%,.9)}.personal .personal_bottom .personal_bottom_others.data-v-3fd65076{margin-top:50rpx}.personal .personal_bottom .personal_bottom_others .personal_bottom_others_item .personal_bottom_others_item_title.data-v-3fd65076{margin-bottom:30rpx;color:#121836;font-size:28rpx}.personal .personal_bottom .personal_bottom_banner.data-v-3fd65076{width:100%;height:288rpx}.personal .personal_bottom .personal_bottom_banner image.data-v-3fd65076{width:100%;height:100%}.personal .personal_top .options.data-v-3fd65076{margin-top:53rpx}.personal .personal_top .options .options_item image.data-v-3fd65076{height:45rpx}.personal .personal_top .options .options_item .options_item_title.data-v-3fd65076{color:rgba(0,0,0,.85);font-size:28rpx;margin-top:20rpx}.personal .personal_top .wallet.data-v-3fd65076{color:#fff;width:690rpx;height:200rpx;opacity:1;border-radius:20rpx 20rpx 0 0;position:relative}.personal .personal_top .wallet .wallet_balance.data-v-3fd65076{color:#fff;font-size:42rpx}.personal .personal_top .wallet .wallet_container.data-v-3fd65076{position:relative;z-index:2;padding:0 35rpx;width:100%}.personal .personal_top .wallet .wallet_container .wallet_name.data-v-3fd65076{margin-bottom:38rpx;color:#fff;font-size:28rpx}.personal .personal_top .wallet image.data-v-3fd65076{width:calc(100% - 20rpx);height:100%;position:absolute;left:0;right:0;margin:auto}.personal .personal_top .businessCard .sculpture.data-v-3fd65076{width:130rpx;height:129rpx;background:#121836;border-radius:50%;overflow:hidden}.personal .personal_top .businessCard .sculpture image.data-v-3fd65076{width:100%;height:100%}.personal .personal_top .information.data-v-3fd65076{margin-left:43rpx}.personal .personal_top .information .information_footer.data-v-3fd65076{color:rgba(0,0,0,.3);font-size:24rpx;margin-top:15rpx}.personal .personal_top .information .information_name.data-v-3fd65076{font-weight:600;color:#000;font-size:34rpx}.page_body.data-v-3fd65076{width:100vw;height:100vh;display:flex;flex-direction:column;box-sizing:border-box;background:linear-gradient(133deg,rgba(219,235,250,.9) 2%,rgba(241,248,253,.9))}.page_body .page_container.data-v-3fd65076{flex:1;overflow:hidden}