You need to sign in or sign up before continuing.
Commit d11af7e5 by 张立顺

feat 样式修改

1 parent bdde3a2f
<!-- packageEquity/pages/carEquity/components/GLForm/GLForm.wxml --> <!-- packageEquity/pages/carEquity/components/GLForm/GLForm.wxml -->
<view wx:for="{{formDataList}}" wx:key="index"> <view wx:for="{{formDataList}}" wx:key="index">
<gl-cell <gl-cell border="{{!item.noBorder}}" class="{{item.name}}" haveArrow="{{item.haveArrow || false}}" valueAlign="right" label="{{item.label}}" labelWidth="{{item.labelWidth || labelWidth}}" placeholder="{{item.placeholder || ''}}" bindclick="handleCellClick" data-target="{{item}}" data-idx="{{index}}" cellHeight="{{!item.noCellHeight}}">
border="{{!item.noBorder}}"
class="{{item.name}}"
haveArrow="{{item.haveArrow || false}}"
valueAlign="right"
label="{{item.label}}"
labelWidth="{{item.labelWidth || labelWidth}}"
placeholder="{{item.placeholder || ''}}"
bindclick="handleCellClick"
data-target="{{item}}"
data-idx="{{index}}"
cellHeight="{{!item.noCellHeight}}">
<!-- slot --> <!-- slot -->
<slot wx:if="{{item.type == 'slot'}}" name="{{item.name}}" /> <slot wx:if="{{item.type == 'slot'}}" name="{{item.name}}" />
<!-- input / textarea --> <!-- input / textarea -->
<view wx:if="{{item.type == 'input'}}" class="input-box"> <view wx:if="{{item.type == 'input'}}" class="input-box">
<!-- rows="1" --> <!-- rows="1" -->
<van-field <van-field class="textarea" custom-style="padding: var(--fontSize20) 0;font-size: var(--fontSize28);" border="{{ false}}" value="{{formData[item.name]}}" input-align="{{itme.inputAlign || 'right'}}" autosize hold-keyboard type="{{item.fieldType || 'textarea'}}" placeholder="{{item.placeholder || '请输入'}}" maxlength="{{item.maxlength || 140}}" disabled="{{item.disabled||disable}}" readonly="{{item.readonly}}" data-attr="{{item.name}}" bindinput="handleInput" />
class="textarea"
custom-style="padding: var(--fontSize20) 0;font-size: var(--fontSize28);"
border="{{ false}}"
value="{{formData[item.name]}}"
input-align="{{itme.inputAlign || 'right'}}"
autosize
hold-keyboard
type="{{item.fieldType || 'text'}}"
placeholder="{{item.placeholder || '请输入'}}"
maxlength="{{item.maxlength || 140}}"
disabled="{{item.disabled||disable}}"
readonly="{{item.readonly}}"
data-attr="{{item.name}}"
bindinput="handleInput" />
<text wx:if="{{item.suffix}}" class="input-suffix">{{item.suffix}}</text> <text wx:if="{{item.suffix}}" class="input-suffix">{{item.suffix}}</text>
</view> </view>
<!-- 流水号 --> <!-- 流水号 -->
...@@ -58,4 +33,3 @@ ...@@ -58,4 +33,3 @@
</view> </view>
</gl-cell> </gl-cell>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
border-radius: var(--fontSize48) var(--fontSize48) 0 0; border-radius: var(--fontSize48) var(--fontSize48) 0 0;
overflow: hidden; overflow: hidden;
/* height: calc(100% - var(--fontSize192)); */ /* height: calc(100% - var(--fontSize192)); */
height: 100% ; height: 100%;
} }
.to-box { .to-box {
...@@ -132,11 +132,13 @@ ...@@ -132,11 +132,13 @@
height: var(--fontSize28); height: var(--fontSize28);
margin: 0 var(--fontSize10) 0 var(--fontSize26); margin: 0 var(--fontSize10) 0 var(--fontSize26);
} }
.search-box .search-input .clearBtn{
.search-box .search-input .clearBtn {
width: var(--fontSize100); width: var(--fontSize100);
height: var(--fontSize100); height: var(--fontSize100);
position: relative; position: relative;
} }
.search-box .search-input .search-clear { .search-box .search-input .search-clear {
/* width: var(--fontSize36); /* width: var(--fontSize36);
height: var(--fontSize36); height: var(--fontSize36);
...@@ -412,6 +414,7 @@ ...@@ -412,6 +414,7 @@
background: #347BFF; background: #347BFF;
border-radius: var(--fontSize32); border-radius: var(--fontSize32);
padding: 0 var(--fontSize40); padding: 0 var(--fontSize40);
margin-left: auto;
} }
.order-btn.default-btn { .order-btn.default-btn {
...@@ -419,6 +422,7 @@ ...@@ -419,6 +422,7 @@
border: var(--fontSize2) solid #347BFF; border: var(--fontSize2) solid #347BFF;
border-radius: var(--fontSize32); border-radius: var(--fontSize32);
color: #347BFF; color: #347BFF;
margin-left: var(--fontSize30);
} }
.list .item .order { .list .item .order {
......
...@@ -7,16 +7,19 @@ ...@@ -7,16 +7,19 @@
justify-content: center; justify-content: center;
margin: 0 var(--fontSize32); margin: 0 var(--fontSize32);
font-size: var(--fontSize28); font-size: var(--fontSize28);
width: 100%;
} }
.search-box .search-input { .search-box .search-input {
width: var(--fontSize686); /* width: var(--fontSize686); */
width: 100%;
height: var(--fontSize72); height: var(--fontSize72);
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize38); border-radius: var(--fontSize38);
color: #333; color: #333;
} }
.search-input .input{
.search-input .input {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
...@@ -24,16 +27,18 @@ ...@@ -24,16 +27,18 @@
width: 100%; width: 100%;
text-align: center; text-align: center;
} }
.search-input .icon{
.search-input .icon {
width: var(--fontSize28); width: var(--fontSize28);
height: var(--fontSize28); height: var(--fontSize28);
margin-right: var(--fontSize10); margin-right: var(--fontSize10);
} }
.search-input .placeholder{
.search-input .placeholder {
color: #C8C9CC; color: #C8C9CC;
} }
.date-container{ .date-container {
height: 100%; height: 100%;
} }
...@@ -41,23 +46,27 @@ ...@@ -41,23 +46,27 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding:0 var(--fontSize20); padding: 0 var(--fontSize20);
font-size:var(--fontSize34); font-size: var(--fontSize34);
line-height: var(--fontSize70); line-height: var(--fontSize70);
} }
.picker-box{
.picker-box {
/* height: var(--fontSize450); */ /* height: var(--fontSize450); */
height: calc(100% - var(--fontSize200)); height: calc(100% - var(--fontSize200));
display: flex; display: flex;
} }
.picker-box .picker{
.picker-box .picker {
width: 100%; width: 100%;
} }
.tbn_class{
.tbn_class {
font-size: var(--fontSize26); font-size: var(--fontSize26);
color: #333; color: #333;
} }
.pickViewColumn{
.pickViewColumn {
text-align: center; text-align: center;
line-height: 34px; line-height: 34px;
font-size: var(--fontSize32); font-size: var(--fontSize32);
......
{ {
"appid": "wx570d9331f9ace0bd", "appid": "wx24ebae5768e74138",
"projectname": "%E7%B2%BE%E5%93%81%E5%8D%87%E7%BA%A7", "projectname": "%E7%B2%BE%E5%93%81%E5%8D%87%E7%BA%A7",
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.29.2", "libVersion": "2.29.2",
......
...@@ -185,6 +185,7 @@ page { ...@@ -185,6 +185,7 @@ page {
} }
.btns-con { .btns-con {
width: 100%;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
padding: var(--fontSize10) 0; padding: var(--fontSize10) 0;
...@@ -219,7 +220,8 @@ page { ...@@ -219,7 +220,8 @@ page {
} }
.btns .confirm { .btns .confirm {
width: var(--fontSize480); // width: var(--fontSize480);
width: 100%;
color: #fff; color: #fff;
background-color: #347BFF; background-color: #347BFF;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!