gdpao #84

Merged
gyh merged 1 commits from gyh into master 2020-09-03 10:27:40 +08:00
5 changed files with 59 additions and 22 deletions

View File

@ -454,6 +454,7 @@ export default {
}); });
} else { } else {
this.info = res.data; this.info = res.data;
this.cur = res.data.is_selfraising;
} }
}); });
this.$u.api.takeawayerlist({}).then(res => { this.$u.api.takeawayerlist({}).then(res => {

View File

@ -5,7 +5,7 @@
<text>上传凭证</text> <text>上传凭证</text>
<text class="tips">仅可上传1张凭证</text> <text class="tips">仅可上传1张凭证</text>
</view> </view>
<u-upload class="upload-box" :form-data="coverformdata" :action="action" :header="header" name="common" :max-count="1" @on-success="uploadSuc"></u-upload> <u-upload class="upload-box" :form-data="coverformdata" upload-text="" :action="action" :header="header" name="common" :max-count="1" @on-success="uploadSuc"></u-upload>
</view> </view>
<view class="remarks"> <view class="remarks">
<view>备注:</view> <view>备注:</view>
@ -43,7 +43,7 @@
title: e.message, title: e.message,
type: "success" type: "success"
}) })
console.log(e.data); // console.log(e.data);
this.img_url = e.data.file_path; this.img_url = e.data.file_path;
} else { } else {
this.$refs.uToast.show({ this.$refs.uToast.show({
@ -79,6 +79,7 @@
this.$refs.uToast.show({ this.$refs.uToast.show({
title: res.message, title: res.message,
type: "success", type: "success",
isTab: "true",
url: "/pages/index/index" url: "/pages/index/index"
}) })
} else { } else {
@ -97,6 +98,9 @@
.container { .container {
padding: 30rpx; padding: 30rpx;
} }
::v-deep.uicon-plus {
font-size: 50rpx !important;
}
.upload { .upload {
.title { .title {
display: flex; display: flex;
@ -130,10 +134,13 @@
} }
.btn-submit { .btn-submit {
width: 690rpx; width: 690rpx;
height: 98rpx; height: 98rpx !important;
margin-top: 70rpx; margin-top: 70rpx;
color: #fff; font-size: 36rpx !important;
text-align: center;
line-height: 98rpx !important;
color: #fff !important;
border-radius: 50rpx; border-radius: 50rpx;
background-color: #FF780F; background-color: #FF780F !important;
} }
</style> </style>

View File

@ -1,7 +1,7 @@
<template> <template>
<!-- login页面 --> <!-- login页面 -->
<view> <view>
<view class="login"> <view class="login" @touchmove.stop.prevent="moveHandle">
<!-- <image class="images" :src="url"></image> --> <!-- <image class="images" :src="url"></image> -->
<view class="backes"></view> <view class="backes"></view>
<view class="title_top">德铭阳光在线-商家端</view> <view class="title_top">德铭阳光在线-商家端</view>
@ -13,6 +13,9 @@
<view v-bind:class="[state==1 ? 'show' : '']" @click="changetab(1)"> <view v-bind:class="[state==1 ? 'show' : '']" @click="changetab(1)">
达人登录 达人登录
</view> </view>
<view v-bind:class="[state==2 ? 'show' : '']" @click="changetab(2)">
平台达人登录
</view>
</view> </view>
<view class="" v-if="state==0"> <view class="" v-if="state==0">
<view class="labales"> <view class="labales">
@ -24,7 +27,7 @@
<input v-model="mima" type="password" placeholder="请输入密码" /> <input v-model="mima" type="password" placeholder="请输入密码" />
</view> </view>
</view> </view>
<view class="" v-else> <view class="" v-else-if="state==1">
<view class="labales"> <view class="labales">
<image src="../../static/image/login/login(3).png"></image> <image src="../../static/image/login/login(3).png"></image>
<input v-model="zhanghaoA" type="text" placeholder="请输入账号" /> <input v-model="zhanghaoA" type="text" placeholder="请输入账号" />
@ -34,10 +37,20 @@
<input v-model="mimaA" type="password" placeholder="请输入密码" /> <input v-model="mimaA" type="password" placeholder="请输入密码" />
</view> </view>
</view> </view>
<view v-else>
<view class="labales">
<image src="../../static/image/login/login(3).png"></image>
<input v-model="phone" type="number" maxlength="11" placeholder="请输入手机号" />
</view>
<view class="labales">
<image src="../../static/image/login/safe.png"></image>
<input v-model="code" type="number" placeholder="请输入验证码" />
<u-button class="get-code">获取验证码</u-button>
</view>
</view>
</view> </view>
<!-- denglu QQ weixin --> <!-- denglu QQ weixin -->
<button @click="logins">{{ login }}</button> <button @click="logins">{{ login }}</button>
<!-- <u-button :custom-style="customStyle" ></u-button> --> <!-- <u-button :custom-style="customStyle" ></u-button> -->
<u-toast ref="uToast" /> <u-toast ref="uToast" />
</view> </view>
@ -61,6 +74,8 @@ export default {
zhanghaoA: '', zhanghaoA: '',
mimaA: '', mimaA: '',
url: '', url: '',
phone: "",
code: "",
state:0, state:0,
clickstate:false clickstate:false
}; };
@ -89,7 +104,7 @@ export default {
loading() {}, loading() {},
logins() { logins() {
// //
console.log(this.zhanghao); // console.log(this.zhanghao);
if(this.clickstate==false){ if(this.clickstate==false){
this.clickstate=true this.clickstate=true
}else{ }else{
@ -143,8 +158,10 @@ export default {
} }
}); });
} }
},
} moveHandle(){
return;
}
}, },
onLoad() { onLoad() {
let token = uni.getStorageSync('token'); let token = uni.getStorageSync('token');
@ -171,6 +188,7 @@ export default {
top: 0; top: 0;
left: 0; left: 0;
z-index: -1;/*-1 可以当背景*/ z-index: -1;/*-1 可以当背景*/
transform: scale(1.1);
-webkit-filter: blur(3px); -webkit-filter: blur(3px);
filter: blur(3px); filter: blur(3px);
} }
@ -247,27 +265,38 @@ export default {
.labales text { .labales text {
font-size: 30rpx; font-size: 30rpx;
} }
.get-code {
width: 250rpx !important;
height: 60rpx !important;
font-size: 30rpx !important;
line-height: 60rpx !important;
color: #fff !important;
border: none !important;
border-radius: 10rpx !important;
&::after {
border: none !important;
}
}
.labales { .labales {
display: flex;
align-items: center;
height: 90rpx;
margin-bottom: 160rpx;
line-height: 90rpx;
border-bottom: 1px #fff solid; border-bottom: 1px #fff solid;
margin-bottom: 180rpx;
height: 70rpx;
line-height: 70rpx;
position: relative;
input { input {
width: 80%; width: 80%;
margin-left: 60rpx; margin-left: 30rpx;
color: #fff; color: #fff;
letter-spacing: 2rpx; letter-spacing: 2rpx;
background-color: none; background-color: none;
} }
} }
.labales image { .labales image {
position: absolute; flex-shrink: 0;
left: 0; width: 38rpx;
top: 0;
bottom: 0;
width: 39rpx;
height: 40rpx; height: 40rpx;
} }
.labales:nth-child(3) { .labales:nth-child(3) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 908 KiB

After

Width:  |  Height:  |  Size: 341 KiB

BIN
static/image/login/safe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB