Commit edeacfa5 by weijiguang
parents 8b4559e6 75ea2e2b
......@@ -21,7 +21,7 @@
<view class="good-spec-name">{{ specItem.specName }}</view>
<view class="good-spec-rule">
<div v-for="specItemRule in specItem.rules" class="div_item" :key="specItemRule.ruleId">
<div v-if="setDefaultStyle(specItemRule.ruleId)" class="default"></div>
<div v-if="setDefaultStyle(specItemRule.ruleId)" class="default">推荐</div>
<button class="good-spec-rule-item" :disabled="UseIt(specItemRule.ruleId)"
@click="selectRoles(specItemRule, specItem)"
:class="{ active: isActvie(specItemRule) }">
......@@ -334,14 +334,18 @@ export default {
.default {
width: 15rpx;
height: 15rpx;
background-color: red;
border-radius: 50%;
width: 42rpx;
height: 25rpx;
background-color: #ed79c5;
border-radius: 5rpx;
position: absolute;
left: -5rpx;
top: -5rpx;
z-index: 9
right: -17rpx;
top: -15rpx;
z-index: 9;
font-size: 13rpx;
line-height: 25rpx;
text-align: center;
color: white;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment