Commit 39225c6a by 袁伟伦

by ywl bug

parent 55a22dc5
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
.fontsImg{ .fontsImg{
width: 250rpx; width: 250rpx;
height: 68rpx; height: 50rpx;
position: absolute; position: absolute;
top: 260rpx; top: 260rpx;
left: 40rpx; left: 40rpx;
...@@ -37,9 +37,10 @@ ...@@ -37,9 +37,10 @@
margin: auto; margin: auto;
} }
.title{ .title{
color: rgb(168, 168, 173); color:rgba(149,157,169,1);
font-size: 28rpx; font-size:30rpx;
letter-spacing: 1px; letter-spacing: 1px;
font-weight:400;
margin-bottom: 45rpx; margin-bottom: 45rpx;
} }
.item{ .item{
...@@ -60,13 +61,14 @@ ...@@ -60,13 +61,14 @@
width: 380rpx; width: 380rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-around; justify-content: center;
} }
.my-activities-title{ .my-activities-title{
color:rgba(21,25,31,1); color:rgba(21,25,31,1);
font-weight: 500; font-weight: 500;
font-size: 30rpx; font-size: 30rpx;
letter-spacing: 1px; letter-spacing: 1px;
margin-bottom: 16rpx;
} }
.time{ .time{
font-size: 26rpx; font-size: 26rpx;
......
...@@ -34,6 +34,53 @@ Page({ ...@@ -34,6 +34,53 @@ Page({
}) })
}, },
saveImage(e){
let url = e.currentTarget.dataset.url;
console.log(url);
//用户需要授权
wx.getSetting({
success: (res) => {
if (!res.authSetting['scope.writePhotosAlbum']) {
wx.authorize({
scope: 'scope.writePhotosAlbum',
success:()=> {
// 同意授权
this.saveImg1(url);
},
fail: (res) =>{
console.log(res);
}
})
}else{
// 已经授权了
this.saveImg1(url);
}
},
fail: (res) =>{
console.log(res);
}
})
},
saveImg1(url){
wx.getImageInfo({
src: url,
success:(res)=> {
let path = res.path;
wx.saveImageToPhotosAlbum({
filePath:path,
success:(res)=> {
console.log(res);
},
fail:(res)=>{
console.log(res);
}
})
},
fail:(res)=> {
console.log(res);
}
})
},
//失去焦点 //失去焦点
inputBlur(e) { inputBlur(e) {
this.setData({ this.setData({
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<image class="logo" src="http://upload.miaomiao-bao.com/c83b1202008141006519147.svg"></image> <image class="logo" src="http://upload.miaomiao-bao.com/c83b1202008141006519147.svg"></image>
</view> </view>
<view class="er-code-div"> <view class="er-code-div">
<image class="er-code" src="http://upload.miaomiao-bao.com/8fe2e202008141039384300.png"></image> <image class="er-code" bindlongpress="saveImage" data-url="http://sm-web.meiqicloud.com/userfiles/appResources/mine/server/code.png" src="http://sm-web.meiqicloud.com/userfiles/appResources/mine/server/code.png"></image>
</view> </view>
<view class="title">添加客服微信</view> <view class="title">添加客服微信</view>
<view class="operation">保存图片 > 点击微信“扫一扫” >选择相册</view> <view class="operation">保存图片 > 点击微信“扫一扫” >选择相册</view>
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
} }
.footer-nav{ .footer-nav{
position: fixed; position: fixed;
bottom: 0; bottom: 38rpx;
width: 750rpx; width: 750rpx;
height: 120rpx; height: 100rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
...@@ -46,8 +46,8 @@ ...@@ -46,8 +46,8 @@
color: rgb(169, 171, 177); color: rgb(169, 171, 177);
} }
.nav-icon{ .nav-icon{
width: 60rpx; width: 48rpx;
height: 60rpx; height: 48rpx;
} }
.mask-content{ .mask-content{
width: 610rpx; width: 610rpx;
......
...@@ -38,12 +38,13 @@ Page({ ...@@ -38,12 +38,13 @@ Page({
onLoad: function (options) { onLoad: function (options) {
console.log('.............', options.detail) console.log('.............', options.detail)
let detail=JSON.parse(options.detail); let detail=JSON.parse(options.detail);
console.log(detail);
this.setData({ this.setData({
type: detail.type, type: detail.type,
name: detail.name, name: detail.name,
mobile: detail.mobile, mobile: detail.mobile,
num: detail.num, num: detail.num,
time: detail.time.substring(0,10) + ((detail.type == 0) ? ' 20:00-24:00' : ''), time: detail.time.substring(5,11).replace('-','月').replace(' ','日') + ((detail.type == 0) ? ' 20:00-24:00' : ''),
}) })
}, },
......
...@@ -6,11 +6,10 @@ ...@@ -6,11 +6,10 @@
<view class="appiont-container"> <view class="appiont-container">
<image wx:if="{{type == 0}}" class="bgcImg" src="http://upload.miaomiao-bao.com/f8e92202008192102227949.jpg"></image> <image wx:if="{{type == 0}}" class="bgcImg" src="http://upload.miaomiao-bao.com/f8e92202008192102227949.jpg"></image>
<image wx:if="{{type == 1}}" class="bgcImg" src="http://upload.miaomiao-bao.com/11174202008192100431340.jpg"></image> <image wx:if="{{type == 1}}" class="bgcImg" src="http://upload.miaomiao-bao.com/11174202008192100431340.jpg"></image>
<image class="icon" src="../../image/logo-w.png"></image>
<view class="form"> <view class="form">
<image class="card" src="http://upload.miaomiao-bao.com/b6d15202008192102456807.png"></image> <image class="card" src="http://upload.miaomiao-bao.com/b6d15202008192102456807.png"></image>
<view wx:if="{{type == 0}}" class="title">夜间入园预约凭证</view> <image wx:if="{{type == 0}}" src="http://sm-web.meiqicloud.com/userfiles/appResources/appointment/night/title-1.png" class="title" style="width:400rpx;margin-left:112rpx;"></image>
<view wx:if="{{type == 1}}" class="title">看房预约凭证</view> <image wx:if="{{type == 1}}" src="http://sm-web.meiqicloud.com/userfiles/appResources/appointment/night/title-2.png" class="title" style="width:300rpx;margin-left:160rpx;"></image>
<view class="form-content"> <view class="form-content">
<view class="form-item"> <view class="form-item">
<view class="form-item-nav">姓名</view> <view class="form-item-nav">姓名</view>
...@@ -34,7 +33,7 @@ ...@@ -34,7 +33,7 @@
</view> </view>
</view> </view>
<view class="thanks">THANK YOU FOR THE APPOINTMENT!</view> <image src="http://sm-web.meiqicloud.com/userfiles/appResources/appointment/night/ornament-1.png" class="thanks"></image>
</view> </view>
<view class="custom" bindtap="showHotline">客服咨询</view> <view class="custom" bindtap="showHotline">客服咨询</view>
</view> </view>
......
...@@ -22,20 +22,19 @@ ...@@ -22,20 +22,19 @@
position: relative; position: relative;
height: 780rpx; height: 780rpx;
margin-top: -5rpx; margin-top: -5rpx;
overflow: hidden;
} }
.card{ .card{
width: 100%; width: 100%;
height: 780rpx; height: 1096rpx;
position: absolute; position: absolute;
z-index: -1; z-index: -1;
top:-316rpx;
} }
.title{ .title{
text-align: center; height: 50rpx;
padding-top: 55rpx; margin-top: 50rpx;
font-size: 50rpx; margin-bottom: 94rpx;
margin-bottom: 90rpx;
font-weight:600;
color:rgba(0,0,0,1);
} }
.form-content{ .form-content{
width: 494rpx; width: 494rpx;
...@@ -60,14 +59,11 @@ ...@@ -60,14 +59,11 @@
color:rgba(21,25,31,1); color:rgba(21,25,31,1);
} }
.thanks{ .thanks{
width: 100%; width: 462rpx;
text-align: center; height: 22rpx;
position: absolute; position: absolute;
bottom: 30rpx; bottom: 56rpx;
font-size:26rpx; left: 76rpx;
font-family:CormorantUnicase-Medium,CormorantUnicase;
font-weight:500;
color:rgba(0,0,0,1)
} }
.icon{ .icon{
width: 170rpx; width: 170rpx;
......
...@@ -4,11 +4,8 @@ ...@@ -4,11 +4,8 @@
<view style="height:{{height}}px;overflow:hidden;"> <view style="height:{{height}}px;overflow:hidden;">
<image class="bgClass" src="http://upload.miaomiao-bao.com/97b52202008201410189925.png"></image> <image class="bgClass" src="http://upload.miaomiao-bao.com/97b52202008201410189925.png"></image>
<view class="imgContainer"> <view class="imgContainer">
<image class="titleImg" src="http://upload.miaomiao-bao.com/24614202008211016488542.png"></image> <image class="titleImg" src="./image/login1.png"></image>
<image style="width:356rpx;height:40rpx;margin-bottom:138rpx;" src="./image/The blue island@2x.png"></image> <image class="contentImg" src="./image/login.png"></image>
<image class="font" src="./image/zq@2x.png" style="width:456rpx"></image>
<image class="font" src="./image/xhslqj@2x.png" style="width:228rpx"></image>
<image class="font" src="./image/syrs@2x.png" style="width:228rpx"></image>
</view> </view>
......
...@@ -15,17 +15,22 @@ ...@@ -15,17 +15,22 @@
.imgContainer{ .imgContainer{
width: 750rpx; width: 750rpx;
position: absolute; position: absolute;
top: 445rpx; top: 326rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
.titleImg{ .titleImg{
width: 528rpx; width: 528rpx;
height: 158rpx; height: 230rpx;
left: 112rpx; left: 112rpx;
margin-bottom: 26rpx; margin-bottom: 26rpx;
} }
.contentImg{
width: 456rpx;
height: 190rpx;
margin-top: 132rpx;
}
.font{ .font{
height: 42rpx; height: 42rpx;
margin-bottom: 32rpx; margin-bottom: 32rpx;
...@@ -33,7 +38,7 @@ ...@@ -33,7 +38,7 @@
.btn-contanier{ .btn-contanier{
width:558rpx; width:558rpx;
position: absolute; position: absolute;
bottom: 0; bottom: 80rpx;
left: 96rpx; left: 96rpx;
/* margin-top: 176rpx; */ /* margin-top: 176rpx; */
} }
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</view> </view>
<view class="menu"> <view class="menu">
<l-list url="../myActivity/myActivity" l-content-class="menu-title" title="我的活动"></l-list> <l-list url="../myActivity/myActivity" l-content-class="menu-title" l-class="listClass" title="我的活动"></l-list>
<!-- 我的活动 --> <!-- 我的活动 -->
<view class="my-activities" wx:if="{{activityList.length > 0}}"> <view class="my-activities" wx:if="{{activityList.length > 0}}">
<view class="my-activities-item" data-enrollid="{{item.enrollId}}" wx:for="{{activityList}}" wx:for-index="index" wx:for-item="item" wx:key="index" bindtap="activityDetail"> <view class="my-activities-item" data-enrollid="{{item.enrollId}}" wx:for="{{activityList}}" wx:for-index="index" wx:for-item="item" wx:key="index" bindtap="activityDetail">
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</view> </view>
<view class="my-activities-item"></view> <view class="my-activities-item"></view>
</view> </view>
<l-list l-content-class="menu-title" title="我的预约" url="../myAppointment/myAppointment"></l-list> <l-list l-content-class="menu-title" title="我的预约" l-class="listClass" url="../myAppointment/myAppointment"></l-list>
<!-- 我的预约 --> <!-- 我的预约 -->
<view class="my-activities" wx:if="{{appointmentList.length > 0}}"> <view class="my-activities" wx:if="{{appointmentList.length > 0}}">
<view class="my-activities-item" wx:for="{{appointmentList}}" wx:for-index="index" wx:for-item="item" wx:key="index"> <view class="my-activities-item" wx:for="{{appointmentList}}" wx:for-index="index" wx:for-item="item" wx:key="index">
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
</view> </view>
<view class="my-activities-item"></view> <view class="my-activities-item"></view>
</view> </view>
<l-list l-content-class="menu-title" title="客服中心" url="../customerService/customerService"></l-list> <l-list l-content-class="menu-title" title="客服中心" l-class="listClass" url="../customerService/customerService"></l-list>
</view> </view>
</view> </view>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
} }
.mine-info view:nth-child(2) { .mine-info view:nth-child(2) {
margin-top: 14rpx; margin-top: 0rpx;
} }
.mine-info view:nth-child(2) text { .mine-info view:nth-child(2) text {
...@@ -86,6 +86,10 @@ ...@@ -86,6 +86,10 @@
.menu-title { .menu-title {
font-weight: bolder; font-weight: bolder;
font-size: 30rpx; font-size: 30rpx;
border-bottom: none;
}
.listClass{
border-bottom: none !important;
} }
.my-activities{ .my-activities{
width: 798rpx; width: 798rpx;
...@@ -131,11 +135,14 @@ ...@@ -131,11 +135,14 @@
padding-left:50rpx ; padding-left:50rpx ;
margin-top: 70rpx; margin-top: 70rpx;
line-height: 2; line-height: 2;
font-weight: bold; font-size:30rpx;
font-weight:500;
color:rgba(21,25,31,1);
} }
.my-activities-content{ .my-activities-content{
color: rgb(169, 174, 181);
font-size: 26rpx; font-size: 26rpx;
font-weight:400;
color:rgba(101,110,123,1);
padding-left:50rpx ; padding-left:50rpx ;
line-height: 2; line-height: 2;
white-space: nowrap; white-space: nowrap;
......
...@@ -131,7 +131,7 @@ Page({ ...@@ -131,7 +131,7 @@ Page({
let obj = { let obj = {
title:title, title:title,
type: type, type: type,
time: item.subscribeDate.substring(0,10) + ((type == 0) ? ' 20:00-24:00' : ''), time: item.subscribeDate.substring(5,11).replace('-','月').replace(' ','日') + ((type == 0) ? ' 20:00-24:00' : ''),
num: item.subscribeNum, num: item.subscribeNum,
url: url, url: url,
id: item.id, id: item.id,
......
...@@ -116,8 +116,7 @@ ...@@ -116,8 +116,7 @@
line-height: 70rpx; line-height: 70rpx;
text-align: center; text-align: center;
color: white; color: white;
background-color: rgb(186, 174, 135); background:rgba(255,255,255,0.53);
border-radius: 3px; border-radius: 3px;
font-size: 28rpx; font-size: 28rpx;
opacity: 0.87;
} }
\ No newline at end of file
...@@ -25,14 +25,14 @@ ...@@ -25,14 +25,14 @@
<view class="marginB"> <view class="marginB">
<view class="form-item"> <view class="form-item">
<view class="form-item-nav">姓名</view> <view class="form-item-nav">姓名</view>
<input maxlength="10" class="{{nameErr.length>0 ? 'form-input-error' : 'form-input'}}" bindinput="inputName" bindblur="nameBlur" placeholder="请输入姓名" value="{{name}}"></input> <input placeholder-class="placeholder" maxlength="10" class="{{nameErr.length>0 ? 'form-input-error' : 'form-input'}}" bindinput="inputName" bindblur="nameBlur" placeholder="请输入姓名" value="{{name}}"></input>
</view> </view>
<view class="error" hidden="{{!nameErr.length>0}}">{{nameErr}}</view> <view class="error" hidden="{{!nameErr.length>0}}">{{nameErr}}</view>
</view> </view>
<view class="marginB"> <view class="marginB">
<view class="form-item"> <view class="form-item">
<view class="form-item-nav">手机号</view> <view class="form-item-nav">手机号</view>
<input maxlength="11" type="number" class="{{phoneErr.length>0 ? 'form-input-error' : 'form-input'}}" bindinput="inputPhone" bindblur="phoneBlur" placeholder="请输入手机号" value="{{phone}}"></input> <input placeholder-class="placeholder" maxlength="11" type="number" class="{{phoneErr.length>0 ? 'form-input-error' : 'form-input'}}" bindinput="inputPhone" bindblur="phoneBlur" placeholder="请输入手机号" value="{{phone}}"></input>
</view> </view>
<view class="error" hidden="{{!(phoneErr.length>0)}}">{{phoneErr}}</view> <view class="error" hidden="{{!(phoneErr.length>0)}}">{{phoneErr}}</view>
</view> </view>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<view class="marginB"> <view class="marginB">
<view class="form-item"> <view class="form-item">
<view class="form-item-nav">身份证号</view> <view class="form-item-nav">身份证号</view>
<input maxlength="18" type="idcard" class="{{idCardErr.length>0 ? 'form-input-error' : 'form-input'}}" bindinput="inputIdCard" bindblur="idCardBlur" placeholder="请输入身份证号" value="{{idCard}}"></input> <input placeholder-class="placeholder" maxlength="18" type="idcard" class="{{idCardErr.length>0 ? 'form-input-error' : 'form-input'}}" bindinput="inputIdCard" bindblur="idCardBlur" placeholder="请输入身份证号" value="{{idCard}}"></input>
</view> </view>
<view class="error" hidden="{{!idCardErr.length>0}}">{{idCardErr}}</view> <view class="error" hidden="{{!idCardErr.length>0}}">{{idCardErr}}</view>
</view> </view>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<view class="marginB"> <view class="marginB">
<view class="form-item"> <view class="form-item">
<view class="form-item-nav">房号</view> <view class="form-item-nav">房号</view>
<input maxlength="10" class="{{roomErr.length>0 ? 'form-input-error' : 'form-input'}}"bindinput="inputRoom" bindblur="roomBlur" placeholder="请输入房号" value="{{room}}"></input> <input placeholder-class="placeholder" maxlength="10" class="{{roomErr.length>0 ? 'form-input-error' : 'form-input'}}"bindinput="inputRoom" bindblur="roomBlur" placeholder="请输入房号" value="{{room}}"></input>
</view> </view>
<view class="error" hidden="{{!roomErr.length>0}}">{{roomErr}}</view> <view class="error" hidden="{{!roomErr.length>0}}">{{roomErr}}</view>
</view> </view>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
} }
.yztq{ .yztq{
width: 320rpx; width: 320rpx;
height: 84rpx; height: 78rpx;
} }
.items{ .items{
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
font-weight:400; font-weight:400;
color:rgba(255,255,255,1); color:rgba(255,255,255,1);
font-size:22rpx; font-size:22rpx;
margin-left: 8rpx;
opacity: 0.4;
} }
.content{ .content{
...@@ -68,9 +70,15 @@ font-size:22rpx; ...@@ -68,9 +70,15 @@ font-size:22rpx;
} }
.form-item-nav{ .form-item-nav{
width: 120rpx; width: 120rpx;
text-align:justify;
text-align-last:justify ; text-align-last:justify ;
font-size:30rpx; font-size:30rpx;
} }
.form-item-nav::after{
content: " ";
display: inline-block;
width: 100%;
}
.form-input{ .form-input{
width:510rpx; width:510rpx;
height:80rpx; height:80rpx;
...@@ -108,7 +116,7 @@ color:rgba(21,25,31,1); ...@@ -108,7 +116,7 @@ color:rgba(21,25,31,1);
line-height:36rpx; line-height:36rpx;
} }
input::-webkit-input-placeholder { .placeholder {
/* WebKit browsers */ /* WebKit browsers */
color:rgba(194,199,207,1); color:rgba(194,199,207,1);
} }
......
...@@ -100,6 +100,13 @@ ...@@ -100,6 +100,13 @@
"id": -1, "id": -1,
"name": "pages/customerService/customerService", "name": "pages/customerService/customerService",
"pathName": "pages/customerService/customerService", "pathName": "pages/customerService/customerService",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/ownerCertification/ownerCertification",
"pathName": "pages/ownerCertification/ownerCertification",
"scene": null "scene": null
} }
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment