Browse Source

样式修改 评价按钮显示判断

epass
wangyx 1 month ago
parent
commit
0ee490d275
  1. 6
      jsconfig.json
  2. 32
      project.private.config.json
  3. 10
      subpages/bsPage/bsPage/bsPage.wxss
  4. 7
      subpages/eventAdd/add/add.wxml
  5. 32
      subpages/eventAdd/add/add.wxss
  6. 2
      subpages/mine/checkInRecord/checkInRecord.wxml

6
jsconfig.json

@ -0,0 +1,6 @@
{
"compilerOptions": {
"target": "es2015",
"module": "commonjs"
}
}

32
project.private.config.json

@ -14,12 +14,40 @@
"condition": {
"miniprogram": {
"list": [
{
"name": "subpages/bsPage/bsPage/bsPage",
"pathName": "subpages/bsPage/bsPage/bsPage",
"query": "",
"scene": null,
"launchMode": "default"
},
{
"name": "subpages/mine/checkInRecord/checkInRecord",
"pathName": "subpages/mine/checkInRecord/checkInRecord",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "subpages/mine/checkInEvaluate/checkInEvaluate",
"pathName": "subpages/mine/checkInEvaluate/checkInEvaluate",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "subpages/eventAdd/add/add",
"pathName": "subpages/eventAdd/add/add",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "pages/webView/webView",
"pathName": "pages/webView/webView",
"query": "url=https://hxm5112004501.h5.esign.cn/mesign/guide?context=8zdldaHWrs&flowId=4f4fc975bf18493497664d856ef9b0c7&organ=false&appId=5112004501&linkSource=1&bizType=1&tsign_source_type=SIGN_LINK_XUANYUAN&tsign_source_detail=1vGqUyZBm8k4aIosrZzTBwZ3FQaB3qkz0HWgnm8GlHwiYjmkTXVpH1zx4ycTZromz5No%2B3J7VKbMMpM5%2F65Rol8hKJFv%2FUYaxvyqjAMSRSZ%2BTfSHFEqyivsay6qKQ9Vb2hdIX1n2taZnnPCaXZqRkUK42MY%2F9fsVHK%2FeDZxkZmD%2FU7TvM93XMH0FbGSDOIMJ1IyDrymcoq6eY8VMEywOyDz9YWygu5gDDys8QRxb7JvqumAUE9ornw7Lxxe%2FmxRab",
"scene": null,
"launchMode": "default"
"launchMode": "default",
"scene": null
},
{
"name": "subpages/signingCompleted/signingCompleted/signingCompleted",

10
subpages/bsPage/bsPage/bsPage.wxss

@ -1,7 +1,7 @@
/* subpages/bsPage/bsPage/bsPage.wxss */
.bsPageCont {
width: 100%;
height: 100vh;
height: 103vh;
position: relative;
background-color: rgba(248, 248, 248, 1);
}
@ -103,17 +103,17 @@ van-uploader__upload {
.bsBtn {
position: absolute;
width: 300rpx;
height: 60rpx;
line-height: 60rpx;
width: 55%;
height: 70rpx;
line-height: 70rpx;
border-radius: 600rpx;
background: linear-gradient(86.25deg, rgba(13, 198, 198, 1) 3.03%, rgba(19, 194, 194, 1) 3.03%, rgba(70, 219, 213, 1) 96.43%);
color: rgba(255, 255, 255, 1);
font-size: 34rpx;
text-align: center;
top: calc(7% + 1308rpx);
left: 50%;
transform: translateX(-50%);
bottom: -105rpx;
}
.required{
color: #f10a24;

7
subpages/eventAdd/add/add.wxml

@ -9,12 +9,12 @@
<view class="bsCon2">
<view class="bxName">
<view class="bsSpan1"><text class="required">*</text> 报修物品</view>
<van-cell-group class="bxinput" >
<van-cell-group class="bxinput" border="{{false}}" >
<van-field model:value="{{ repairItem }}" placeholder="请输入" border="{{ false }}" bind:change="onChange" />
</van-cell-group>
</view>
<view class="bsSpan "><text class="required">*</text> 故障说明</view>
<textarea class="question-input" placeholder="请输入内容" bindinput="onInput" value="{{faultDescribe}}" maxlength="" />
<textarea class="question-input" placeholder="请输入详细故障说明" bindinput="onInput" value="{{faultDescribe}}" maxlength="" />
<view class="bsSpan" style="margin-top: 15rpx;margin-left: 0rpx;">上传图片</view>
<van-uploader file-list="{{ fileList }}" bind:after-read="afterRead" bind:before-read="beforeRead" bind:delete="deleteData" max-count="3" />
</view>
@ -26,7 +26,8 @@
<van-radio name="{{1}}">公共区域</van-radio>
</van-radio-group>
</view>
<textarea wx:if="{{positionType === 1}}" bind:input="onInputP" value="{{position}}" style="min-height: 100rpx;background-color:#f6f6f6;width: 100%;margin-top:50rpx;padding: 10rpx 10rpx 30rpx 10rpx;" placeholder="请输入位置信息"/>
<textarea wx:if="{{positionType === 1}}" bind:input="onInputP" value="{{position}}" style="background-color:#f6f6f6;width: 96%;margin-top:24rpx;padding: 10rpx 10rpx 0rpx 10rpx;" placeholder="请输入位置信息"/>
</view>
<view style="height: 120rpx;"></view>
<view class="bsBtn" bindtap="repairSubmit">提交</view>
</view>

32
subpages/eventAdd/add/add.wxss

@ -1,7 +1,7 @@
/* subpages/eventAdd/add/add.wxss */
.bsPageCont {
width: 100%;
height: 100vh;
height: 120vh;
position: relative;
background-color: rgba(248, 248, 248, 1);
overflow-y: auto;
@ -33,6 +33,7 @@
width: 96%;
display: block;
margin-left: 2%;
height: 100%;
}
.bsCon ::v-deep .title-class {
@ -43,7 +44,7 @@
.bsCon2 {
border-radius: 10rpx;
height: 900rpx;
height: auto;
overflow-y: auto;
background-color: rgba(255, 255, 255, 1);
color: rgba(16, 16, 16, 1);
@ -59,23 +60,22 @@
color: rgba(104, 117, 139, 1);
font-size: 30rpx;
margin-left: 20rpx;
margin-bottom: 20rpx;
margin-top: 20rpx;
}
.bsCon3 {
border-radius: 10rpx;
height: 400rpx;
overflow-y: auto;
background-color: rgba(255, 255, 255, 1);
position: absolute;
width: 96%;
margin-left: 2%;
top: calc(7% + 1000rpx);
top: calc(12% + 1000rpx);
padding: 2%;
box-sizing: border-box;
display: flex;
flex-direction: column;
margin-bottom: 200rpx;
padding-bottom: 100rpx;
margin: 0 2% 2% 2%;
}
/* 输入框样式 */
@ -108,18 +108,21 @@ van-uploader__upload {
}
.bsBtn {
position: absolute;
width: 300rpx;
height: 60rpx;
line-height: 60rpx;
position: fixed;
width: 55%;
height: 70rpx;
line-height: 70rpx;
border-radius: 600rpx;
background: linear-gradient(86.25deg, rgba(13, 198, 198, 1) 3.03%, rgba(19, 194, 194, 1) 3.03%, rgba(70, 219, 213, 1) 96.43%);
color: rgba(255, 255, 255, 1);
font-size: 34rpx;
text-align: center;
top: calc(7% + 1308rpx);
left: 50%;
transform: translateX(-50%);
bottom: 50rpx;
z-index: 99;
/* 兼容安全区 */
padding-bottom: env(safe-area-inset-bottom);
}
.bxMessage {
@ -152,7 +155,10 @@ van-uploader__upload {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #f8f8f9;
}
.required{
.required {
color: #f10a24;
}

2
subpages/mine/checkInRecord/checkInRecord.wxml

@ -5,7 +5,7 @@
<view class="flex flex-col flex-1">
<view class="flex flex-sb">
<view class="name font-bold">{{item.apartmentName}}</view>
<view class="status text-28" style="color:{{item.status === '1'?'#ee952f':item.status === '4'?'#1cc9cd':item.status === '5'?'#181c18':''}}">{{item.status === '1'?'已入住':item.status === '3'?'已过期':item.status === '4'?'已取消':item.status === '5'?'已退房':item.status === '6'?'已撤销资格':item.status === '7'?'审核不通过':''}}</view>
<view class="status text-28" style="color:{{item.status === '1'?'#ee952f':item.status === '4'?'#1cc9cd':item.status === '5'?'#181c18':''}}">{{item.status === '3'?'已过期':item.status === '4'?'已取消':item.status === '5'?'已退房':item.status === '6'?'已撤销资格':item.status === '7'?'审核不通过':''}}</view>
</view>
<view style="margin-bottom: 22rpx;">{{item.buildingName}}-{{item.unitName || ''}}-{{item.houseName}}-{{item.roomType}}</view>
<view class="date">{{item.inDate}} 至 {{item.outDate}}</view>

Loading…
Cancel
Save