Commit a6770ee2 by cen

fix: 样式修改

1 parent 7032c687

2.83 MB | W: | H:

2.84 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -75,14 +75,24 @@
</view>
</view>
</view>
<scroll-view class="activity-tab-box" :scroll-x="true">
<scroll-view class="activity-tab-box" scroll-x="true">
<view v-for="(i, index) in detailsTabList" :key="index" class="tab-item" :class="{ active: activeIndex === index }" @click="changeDetailsTab(index)">
{{ i.name }}
</view>
</scroll-view>
<scroll-view class="activity-detailslist-box" :scroll-y="true">
<view v-for="(i, index) in detailsList" :key="index" class="tab-item" :class="{ active: activeIndex === index }" @click="changeDetailsTab(index)">
{{ i.name }}
<scroll-view class="activity-detailslist-box" scroll-y="true">
<view v-for="(i, index) in detailsList" :key="index" class="tab-detailslist flex" :class="{ active: activeIndex === index }" @click="changeDetailsTab(index)">
<view class="sprite-icon icon-medalNew"></view>
<view class="flex-1">
<view class="flex align-center justify-between">
<text>约为</text>
<text>¥1000奖金</text>
</view>
<view class="flex align-center justify-between">
<text>深圳低价</text>
<text>一等奖</text>
</view>
</view>
</view>
</scroll-view>
</view>
......@@ -552,6 +562,16 @@ export default {
}
}
.activity-detailslist-box {
padding: 0 toRpx(32);
.tab-detailslist {
width: 100%;
height: toRpx(120);
background: linear-gradient(270deg, rgba(251, 230, 194, 0.2), rgba(251, 217, 180, 0.2) 100%);
margin-bottom: toRpx(16);
&:last-child {
border-bottom: none;
}
}
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!