Commit 98fc5634 by zhangxw

预约领券页面样式修改

1 parent b6f15814
......@@ -7,7 +7,6 @@ page {
}
.main {
padding: 0 var(--fontSize20);
height: calc(100vh - env(safe-area-inset-bottom));
}
......@@ -22,17 +21,25 @@ page {
}
.switch-v {
padding: var(--fontSize20);
padding: var(--fontSize20) var(--fontSize56) var(--fontSize20) var(--fontSize20);
background: #FFFFFF;
// box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 #0000001a;
border-radius: var(--fontSize16);
width: calc(100% - var(--fontSize40));
width: calc(100% - var(--fontSize76));
height: var(--fontSize88);
background-color: #F7F8FA;
display: flex;
align-items: center;
justify-content: space-between;
// padding: 0 var(--fontSize40);
&.bg-white{
border-top: var(--fontSize2) solid #F5F5F5;
height: var(--fontSize128);
box-sizing: border-box;
width: 100%;
background-color: #FFFFFF;
padding: var(--fontSize24) var(--fontSize52) var(--fontSize24) var(--fontSize32);
}
}
.switch-v .label {
......@@ -41,8 +48,16 @@ page {
font-size: var(--fontSize28);
color: #292D33;
letter-spacing: 0;
.label-title{
display: inline-block;
width: var(--fontSize140);
text-align: left;
font-weight: 500;
}
.tips-text{
color: #999EA8;
margin-left: var(--fontSize140);
font-size: var(--fontSize24);
color: #8F959E;
}
}
......@@ -88,11 +103,11 @@ page {
// border-radius: var(--fontSize16);
// padding: var(--fontSize32) 0 0 var(--fontSize12);
box-sizing: border-box;
width: calc(670 / 750 * 100%);
width: calc(100% - var(--fontSize40));
height: var(--fontSize124);
background: #F7F8FA;
border-radius: var(--fontSize16);
margin: var(--fontSize32) auto var(--fontSize20);
margin: var(--fontSize20);
}
.techicianInfoEdit {
......
<!--tabMine/pages/collectCoupons/collectCoupons.wxml-->
<view class="main {{isFullSucreen?'isFullSucreen':''}}">
<scroll-view class="content" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}">
<view class="switch-v">
<view class="switch-v bg-white">
<view class="label">
<view>领券必填项:车架号是否必填</view>
<view class="tips-text">(车主需输入车架号后六位)</view>
<view>
<text class="label-title">领券必填</text>
<text class="label-text">车架号是否必填</text>
</view>
<view class="tips-text">车主需要输入车架号后六位</view>
</view>
<switch color="#347BFF" class=" {{userInfo.userType == 2 ?'disabled':''}}" disabled="{{!isYqdSuper}}" checked="{{info.vinFlag}}" bindchange="changeCouponSwitch" data-target="info.vinFlag" />
</view>
<view class="switch-v">
<view>
<view class="switch-v">
<view class="label">设置园区店集中接待电话</view>
<switch color="#347BFF" class=" {{userInfo.userType == 2 ?'disabled':''}}" disabled="{{!isYqdSuper}}" checked="{{info.yqMerchantEnableFlag}}" bindchange="changeYQSwitch" data-target="info.yqMerchantEnableFlag" />
</view>
......@@ -31,27 +35,28 @@
</view>
<view class="switch-v">
<view class="label">设置单店驻店接待电话</view>
<switch color="#347BFF" class=" {{userInfo.userType == 2 ?'disabled':''}}" disabled="{{!isYqdSuper}}" checked="{{info.shopMerchantEnableFlag}}" bindchange="change4sSwitch" data-target="info.shopMerchantEnableFlag" />
</view>
<block wx:for="{{info.shopMerchantConfigList}}" wx:key="index">
<view class="setItem {{info.shopMerchantEnableFlag?'':'itemOP'}}">
<view class="item-label">{{item.shopMerchantName}}</view>
<view class="input-item techicianInfoEdit" wx:if="{{item.isEdit}}">
<input placeholder="接待联系人" class="input name" placeholder-class="placeholder-class" maxlength="16" data-index="{{index}}" value="{{ item.contactName }}" bindinput="shopInput" data-name="contactName" always-embed></input>
<input placeholder="联系人手机号" class="input phone" type="number" maxlength="11" placeholder-class="placeholder-class" data-index="{{index}}" value="{{ item.contactPhoneNumber }}" bindinput="shopInput" data-name="contactPhoneNumber" always-embed></input>
<view class="btn" bind:tap="submitShopInfo" data-index="{{index}}">确认</view>
</view>
<view class="input-item techicianInfo" wx:else>
<view class="left">
<view class="label">
<view class="name">{{item.contactName}}</view>
<switch color="#347BFF" class=" {{userInfo.userType == 2 ?'disabled':''}}" disabled="{{!isYqdSuper}}" checked="{{info.shopMerchantEnableFlag}}" bindchange="change4sSwitch" data-target="info.shopMerchantEnableFlag" />
</view>
<block wx:for="{{info.shopMerchantConfigList}}" wx:key="index">
<view class="setItem {{info.shopMerchantEnableFlag?'':'itemOP'}}">
<view class="item-label">{{item.shopMerchantName}}</view>
<view class="input-item techicianInfoEdit" wx:if="{{item.isEdit}}">
<input placeholder="接待联系人" class="input name" placeholder-class="placeholder-class" maxlength="16" data-index="{{index}}" value="{{ item.contactName }}" bindinput="shopInput" data-name="contactName" always-embed></input>
<input placeholder="联系人手机号" class="input phone" type="number" maxlength="11" placeholder-class="placeholder-class" data-index="{{index}}" value="{{ item.contactPhoneNumber }}" bindinput="shopInput" data-name="contactPhoneNumber" always-embed></input>
<view class="btn" bind:tap="submitShopInfo" data-index="{{index}}">确认</view>
</view>
<view class="input-item techicianInfo" wx:else>
<view class="left">
<view class="label">
<view class="name">{{item.contactName}}</view>
</view>
<view class="phone">手机号 {{item.contactPhoneNumber}}</view>
</view>
<view class="phone">手机号 {{item.contactPhoneNumber}}</view>
<image class="icon-edit" bind:tap="editShopInfo" data-index="{{index}}" src="{{IMG_URL}}/miniProgram/grayEditIcon.png" />
</view>
<image class="icon-edit" bind:tap="editShopInfo" data-index="{{index}}" src="{{IMG_URL}}/miniProgram/grayEditIcon.png" />
</view>
</view>
</block>
</block>
</view>
</scroll-view>
</view>
<view class="btns {{isFullSucreen?'isFullSucreen-btn':''}}">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!