Commit 39225c6a by 袁伟伦

by ywl bug

parent 55a22dc5
......@@ -6,7 +6,7 @@
}
.fontsImg{
width: 250rpx;
height: 68rpx;
height: 50rpx;
position: absolute;
top: 260rpx;
left: 40rpx;
......@@ -37,9 +37,10 @@
margin: auto;
}
.title{
color: rgb(168, 168, 173);
font-size: 28rpx;
color:rgba(149,157,169,1);
font-size:30rpx;
letter-spacing: 1px;
font-weight:400;
margin-bottom: 45rpx;
}
.item{
......@@ -60,13 +61,14 @@
width: 380rpx;
display: flex;
flex-direction: column;
justify-content: space-around;
justify-content: center;
}
.my-activities-title{
color:rgba(21,25,31,1);
font-weight: 500;
font-size: 30rpx;
letter-spacing: 1px;
margin-bottom: 16rpx;
}
.time{
font-size: 26rpx;
......
......@@ -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) {
this.setData({
......
......@@ -62,7 +62,7 @@
<image class="logo" src="http://upload.miaomiao-bao.com/c83b1202008141006519147.svg"></image>
</view>
<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 class="title">添加客服微信</view>
<view class="operation">保存图片 > 点击微信“扫一扫” >选择相册</view>
......
......@@ -4,9 +4,9 @@
}
.footer-nav{
position: fixed;
bottom: 0;
bottom: 38rpx;
width: 750rpx;
height: 120rpx;
height: 100rpx;
display: flex;
align-items: center;
justify-content: space-around;
......@@ -46,8 +46,8 @@
color: rgb(169, 171, 177);
}
.nav-icon{
width: 60rpx;
height: 60rpx;
width: 48rpx;
height: 48rpx;
}
.mask-content{
width: 610rpx;
......
......@@ -38,12 +38,13 @@ Page({
onLoad: function (options) {
console.log('.............', options.detail)
let detail=JSON.parse(options.detail);
console.log(detail);
this.setData({
type: detail.type,
name: detail.name,
mobile: detail.mobile,
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 @@
<view class="appiont-container">
<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 class="icon" src="../../image/logo-w.png"></image>
<view class="form">
<image class="card" src="http://upload.miaomiao-bao.com/b6d15202008192102456807.png"></image>
<view wx:if="{{type == 0}}" class="title">夜间入园预约凭证</view>
<view wx:if="{{type == 1}}" 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>
<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-item">
<view class="form-item-nav">姓名</view>
......@@ -34,7 +33,7 @@
</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 class="custom" bindtap="showHotline">客服咨询</view>
</view>
......
......@@ -22,20 +22,19 @@
position: relative;
height: 780rpx;
margin-top: -5rpx;
overflow: hidden;
}
.card{
width: 100%;
height: 780rpx;
height: 1096rpx;
position: absolute;
z-index: -1;
top:-316rpx;
}
.title{
text-align: center;
padding-top: 55rpx;
font-size: 50rpx;
margin-bottom: 90rpx;
font-weight:600;
color:rgba(0,0,0,1);
height: 50rpx;
margin-top: 50rpx;
margin-bottom: 94rpx;
}
.form-content{
width: 494rpx;
......@@ -60,14 +59,11 @@
color:rgba(21,25,31,1);
}
.thanks{
width: 100%;
text-align: center;
width: 462rpx;
height: 22rpx;
position: absolute;
bottom: 30rpx;
font-size:26rpx;
font-family:CormorantUnicase-Medium,CormorantUnicase;
font-weight:500;
color:rgba(0,0,0,1)
bottom: 56rpx;
left: 76rpx;
}
.icon{
width: 170rpx;
......
......@@ -4,11 +4,8 @@
<view style="height:{{height}}px;overflow:hidden;">
<image class="bgClass" src="http://upload.miaomiao-bao.com/97b52202008201410189925.png"></image>
<view class="imgContainer">
<image class="titleImg" src="http://upload.miaomiao-bao.com/24614202008211016488542.png"></image>
<image style="width:356rpx;height:40rpx;margin-bottom:138rpx;" src="./image/The blue island@2x.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>
<image class="titleImg" src="./image/login1.png"></image>
<image class="contentImg" src="./image/login.png"></image>
</view>
......
......@@ -15,17 +15,22 @@
.imgContainer{
width: 750rpx;
position: absolute;
top: 445rpx;
top: 326rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.titleImg{
width: 528rpx;
height: 158rpx;
height: 230rpx;
left: 112rpx;
margin-bottom: 26rpx;
}
.contentImg{
width: 456rpx;
height: 190rpx;
margin-top: 132rpx;
}
.font{
height: 42rpx;
margin-bottom: 32rpx;
......@@ -33,7 +38,7 @@
.btn-contanier{
width:558rpx;
position: absolute;
bottom: 0;
bottom: 80rpx;
left: 96rpx;
/* margin-top: 176rpx; */
}
......
......@@ -55,7 +55,7 @@
</view>
<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-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 @@
</view>
<view class="my-activities-item"></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-item" wx:for="{{appointmentList}}" wx:for-index="index" wx:for-item="item" wx:key="index">
......@@ -86,7 +86,7 @@
</view>
<view class="my-activities-item"></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>
......
......@@ -21,7 +21,7 @@
}
.mine-info view:nth-child(2) {
margin-top: 14rpx;
margin-top: 0rpx;
}
.mine-info view:nth-child(2) text {
......@@ -86,6 +86,10 @@
.menu-title {
font-weight: bolder;
font-size: 30rpx;
border-bottom: none;
}
.listClass{
border-bottom: none !important;
}
.my-activities{
width: 798rpx;
......@@ -131,11 +135,14 @@
padding-left:50rpx ;
margin-top: 70rpx;
line-height: 2;
font-weight: bold;
font-size:30rpx;
font-weight:500;
color:rgba(21,25,31,1);
}
.my-activities-content{
color: rgb(169, 174, 181);
font-size: 26rpx;
font-weight:400;
color:rgba(101,110,123,1);
padding-left:50rpx ;
line-height: 2;
white-space: nowrap;
......
......@@ -131,7 +131,7 @@ Page({
let obj = {
title:title,
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,
url: url,
id: item.id,
......
......@@ -116,8 +116,7 @@
line-height: 70rpx;
text-align: center;
color: white;
background-color: rgb(186, 174, 135);
background:rgba(255,255,255,0.53);
border-radius: 3px;
font-size: 28rpx;
opacity: 0.87;
}
\ No newline at end of file
......@@ -25,14 +25,14 @@
<view class="marginB">
<view class="form-item">
<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 class="error" hidden="{{!nameErr.length>0}}">{{nameErr}}</view>
</view>
<view class="marginB">
<view class="form-item">
<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 class="error" hidden="{{!(phoneErr.length>0)}}">{{phoneErr}}</view>
</view>
......@@ -40,7 +40,7 @@
<view class="marginB">
<view class="form-item">
<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 class="error" hidden="{{!idCardErr.length>0}}">{{idCardErr}}</view>
</view>
......@@ -48,7 +48,7 @@
<view class="marginB">
<view class="form-item">
<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 class="error" hidden="{{!roomErr.length>0}}">{{roomErr}}</view>
</view>
......
......@@ -11,7 +11,7 @@
}
.yztq{
width: 320rpx;
height: 84rpx;
height: 78rpx;
}
.items{
......@@ -39,6 +39,8 @@
font-weight:400;
color:rgba(255,255,255,1);
font-size:22rpx;
margin-left: 8rpx;
opacity: 0.4;
}
.content{
......@@ -68,9 +70,15 @@ font-size:22rpx;
}
.form-item-nav{
width: 120rpx;
text-align:justify;
text-align-last:justify ;
font-size:30rpx;
}
.form-item-nav::after{
content: " ";
display: inline-block;
width: 100%;
}
.form-input{
width:510rpx;
height:80rpx;
......@@ -108,7 +116,7 @@ color:rgba(21,25,31,1);
line-height:36rpx;
}
input::-webkit-input-placeholder {
.placeholder {
/* WebKit browsers */
color:rgba(194,199,207,1);
}
......
......@@ -100,6 +100,13 @@
"id": -1,
"name": "pages/customerService/customerService",
"pathName": "pages/customerService/customerService",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/ownerCertification/ownerCertification",
"pathName": "pages/ownerCertification/ownerCertification",
"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