Commit 2424e337 by 李伟康

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

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