first commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<script setup lang="ts">
|
||||
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
|
||||
onLaunch(() => {
|
||||
console.log("App Launch");
|
||||
});
|
||||
onShow(() => {
|
||||
console.log("App Show");
|
||||
});
|
||||
onHide(() => {
|
||||
console.log("App Hide");
|
||||
});
|
||||
|
||||
const getUpData=()=>{
|
||||
// #ifdef APP
|
||||
// plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
|
||||
// NvpMerchService.GetAppVersion().then(res=>{
|
||||
// console.log('wgtinfo.versionCode',wgtinfo.versionCode);
|
||||
// if (res.data.version > wgtinfo.versionCode) {
|
||||
// setTimeout(function() {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/upData/upData?info=" +
|
||||
// encodeURIComponent(
|
||||
// JSON.stringify(res.data))
|
||||
// })
|
||||
// }, 1000)
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
// #endif
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
<style lang="scss">
|
||||
|
||||
@import "uview-plus/index.scss";
|
||||
@import "colorui/main.css";
|
||||
@import "colorui/icon.css";
|
||||
page {
|
||||
--nav-mian: #1890FF; //全局颜色
|
||||
--nav-vice: #52C41A; //副颜色
|
||||
--nav-diluted: #FF4D4F; //次颜色
|
||||
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
@@ -0,0 +1,162 @@
|
||||
<template>
|
||||
<view style="margin: 20rpx ;">
|
||||
<view class=""
|
||||
style="background: linear-gradient(to bottom,#E6F7FF,#FFFFFF) ; border-radius: 20rpx; display: flex; align-items: center; padding: 40rpx 20rpx; ">
|
||||
<image :src="Service.GetMateUrlByImg('/static/dele/home/general.jpg')"
|
||||
style="width: 110rpx; height: 110rpx; border-radius: 50%; border: 1rpx solid var(--nav-mian); " mode="">
|
||||
</image>
|
||||
<view class="" style="flex: 1; margin-left: 30rpx;">
|
||||
<view class="" style="font-size: 34rpx; font-weight: 600; color: var(--nav-mian); ">
|
||||
王师傅
|
||||
</view>
|
||||
<view class="" style="margin: 10rpx 0; font-size: 28rpx; ">
|
||||
ID: MT007
|
||||
</view>
|
||||
<view class="" style="color: var(--nav-vice);">
|
||||
已上线 · 接单中
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class=""
|
||||
style=" padding: 20rpx; margin-top: 20rpx; background-color: #fff; border-radius: 20rpx; display: flex; align-items: center; justify-content: space-around; ">
|
||||
<view class="" v-for="(accItem,accIndex) in account" :key="accIndex"
|
||||
style="display: flex; flex-direction: column; align-items: center; justify-content: center;">
|
||||
<view class="" style="font-weight: 700; font-size: 32rpx; "
|
||||
:style="{ 'color':accIndex==0? 'var(--nav-diluted)':(accIndex==1?'var(--nav-vice)':'var(--nav-mian)') }">
|
||||
{{ accIndex==0?'¥':'' }}
|
||||
{{ accIndex==0? Number(accItem.value).toFixed(2):(accIndex==1?accItem.value:Number(accItem.value).toFixed(1))}}
|
||||
{{ accIndex==1?'单':'' }}
|
||||
</view>
|
||||
<view class="" style="margin-top: 10rpx; color: #999999; font-size: 28rpx; ">
|
||||
{{accItem.name}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="" style="margin: 20rpx 0;">
|
||||
<text style="font-size: 34rpx; font-weight: 600; ">我的服务</text>
|
||||
</view>
|
||||
<view class="" style=" background-color: #fff; border-radius: 20rpx; ">
|
||||
<view class="" @click="gopage(funcItem,funcIndex)" v-for="(funcItem,funcIndex) in funcList" :key="funcIndex"
|
||||
style=" border-bottom: 1rpx solid #e2e2e2; display: flex; align-items: center; padding: 24rpx 30rpx; ">
|
||||
<image :src="Service.GetIconImg(funcItem.icon)" style="width: 50rpx; height: 50rpx; " mode=""></image>
|
||||
<view class="" style="flex: 1; font-size: 28rpx; margin-left: 20rpx; ">
|
||||
{{funcItem.name}}
|
||||
</view>
|
||||
<view class="">
|
||||
<up-icon name="arrow-right"></up-icon>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<button class="confirm-button">退出登录</button>
|
||||
<view class="" style="width: 100vw; height: 100rpx; " >
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { onShow, onLoad } from "@dcloudio/uni-app";
|
||||
import { Service } from "@/Service/Service";
|
||||
import { ref } from 'vue'
|
||||
|
||||
let account = ref([
|
||||
{
|
||||
name: '今日',
|
||||
value: '200'
|
||||
},
|
||||
{
|
||||
name: '本周',
|
||||
value: '200'
|
||||
},
|
||||
{
|
||||
name: '评分',
|
||||
value: '2.5'
|
||||
}
|
||||
])
|
||||
|
||||
let funcList = ref([
|
||||
{
|
||||
name: '我的任务',
|
||||
icon: '/static/index/user/task.png',
|
||||
path: '/pages/index/task'
|
||||
},
|
||||
{
|
||||
name: '收入中心',
|
||||
icon: '/static/index/user/income.png',
|
||||
path: '/pages/index/income'
|
||||
},
|
||||
{
|
||||
name: '上线管理',
|
||||
icon: '/static/index/user/user.png',
|
||||
path: '/pages/my/statusContro'
|
||||
},
|
||||
{
|
||||
name: '联系客服',
|
||||
icon: '/static/index/user/phone.png',
|
||||
path: ''
|
||||
},
|
||||
{
|
||||
name: '异常订单',
|
||||
icon: '/static/index/user/warming.png',
|
||||
path: ''
|
||||
},
|
||||
{
|
||||
name: '签到与奖励',
|
||||
icon: '/static/index/user/check.png',
|
||||
path: ''
|
||||
},
|
||||
{
|
||||
name: '账号与安全',
|
||||
icon: '/static/index/user/security.png',
|
||||
path: ''
|
||||
},
|
||||
{
|
||||
name: '帮助与规则',
|
||||
icon: '/static/index/user/ruler.png',
|
||||
path: ''
|
||||
}
|
||||
])
|
||||
|
||||
|
||||
onLoad(() => {
|
||||
|
||||
});
|
||||
|
||||
onShow(() => {
|
||||
|
||||
});
|
||||
|
||||
const gopage=(item:any,index:number)=>{
|
||||
if(index==0 || index==1){
|
||||
Service.GoPageTab(item.path)
|
||||
}else{
|
||||
Service.GoPage(item.path)
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.confirm-button {
|
||||
width: 100%;
|
||||
height: 90rpx;
|
||||
background-color: #1677ff;
|
||||
color: #fff;
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
border-radius: 45rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: none;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.confirm-button:active {
|
||||
background-color: #0958d9;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,11 @@
|
||||
证书名称:mtRide
|
||||
证书别名 : mtRide.keystore
|
||||
密码:mtride123
|
||||
|
||||
Android包名: uni.app.mtRide
|
||||
|
||||
|
||||
公钥: 23435172021720380296490271990846239523088929679377835616301524017081159158577836162239381151243298901437095797013081178084484892892282290047113348240657346956713787714933303422589001907866881902732510923086940980581545841757511067550808944197841667280168896693187717619066714045065554845389736630938506286493905689600193070592687026511430452365865642865545372189037121494085492908628863153027560970849723281130967310912385133250501495484257588011871904030061857722775337559368709705749873676799326594015907798061990721957932319586602834507269616033727425161286295674390689849811675448907045862979284056273143790164007
|
||||
|
||||
|
||||
MD5:01 0A B9 8B 87 80 DD 78 BA 41 05 45 07 E9 4D AF
|
||||
Reference in New Issue
Block a user