Commit edeacfa5 by weijiguang
parents 8b4559e6 75ea2e2b
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<view class="good-spec-name">{{ specItem.specName }}</view> <view class="good-spec-name">{{ specItem.specName }}</view>
<view class="good-spec-rule"> <view class="good-spec-rule">
<div v-for="specItemRule in specItem.rules" class="div_item" :key="specItemRule.ruleId"> <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)" <button class="good-spec-rule-item" :disabled="UseIt(specItemRule.ruleId)"
@click="selectRoles(specItemRule, specItem)" @click="selectRoles(specItemRule, specItem)"
:class="{ active: isActvie(specItemRule) }"> :class="{ active: isActvie(specItemRule) }">
...@@ -334,14 +334,18 @@ export default { ...@@ -334,14 +334,18 @@ export default {
.default { .default {
width: 15rpx; width: 42rpx;
height: 15rpx; height: 25rpx;
background-color: red; background-color: #ed79c5;
border-radius: 50%; border-radius: 5rpx;
position: absolute; position: absolute;
left: -5rpx; right: -17rpx;
top: -5rpx; top: -15rpx;
z-index: 9 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