Commit 2424e337 by 李伟康

style(components): 优化接待中心页面样式

- 修改接待中心选择框样式
- 调整类型选择项样式
- 优化分页组件样式
- 调整选择组件样式
1 parent bda1ca94
......@@ -20,7 +20,7 @@
{{timeProgress }}%
</view>
</view>
<view class="select-box">
<view class="reception-select">
<select-component
:selectList="performanceTypeList"
@chooseType="changePerformance"
......@@ -241,7 +241,7 @@ export default {
bussinessType
}
if (hmzxFlag) params.hmzxFlag = hmzxFlag
if(this.isAito && !params.hmzxFlag) params.hmzxFlag = 1
if (this.isAito && !params.hmzxFlag) params.hmzxFlag = 1
this.pageData = await uni.$api.receptionApi.getMerchantPerformance(params) || {}
},
changePerformance ({ item }) {
......@@ -324,7 +324,7 @@ export default {
font-weight: 500;
}
}
.select-box {
.reception-select {
position: absolute;
top: toRpx(36);
right: toRpx(32);
......@@ -346,6 +346,9 @@ export default {
top: toRpx(64);
color: #292d33;
font-size: toRpx(28);
.type-item {
height: toRpx(56);
}
}
}
}
......
......@@ -111,10 +111,10 @@ export default {
position: relative;
.dot {
position: absolute;
top: 4rpx;
right: 28rpx;
width: 12rpx;
height: 12rpx;
top: toRpx(4);
right: toRpx(28);
width: toRpx(12);
height: toRpx(12);
border-radius: 100%;
background: #f24724;
}
......
......@@ -14,7 +14,7 @@
<view
v-for="(i,index) in selectList"
:key="index"
class="type-item"
class="type-item flex"
:class="index == selectIndex ? 'active' : ''"
@click="chooseType(index, i)"
>{{i[labelKey]}}</view>
......@@ -83,10 +83,10 @@ export default {
text-align: center;
animation: show-view-opacity 0.15s forwards;
.type-item {
padding: 0 toRpx(24);
padding: 0 toRpx(28);
margin-bottom: toRpx(8);
height: toRpx(48);
line-height: toRpx(48);
height: toRpx(84);
justify-content: center;
&:last-child {
margin-bottom: 0;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!