Skip to content

Commit fcfbac3

Browse files
committed
update: 更新ad组件提示样式及点击区域
1 parent f2d0870 commit fcfbac3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

pages/component/ad/ad.vue

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
</view>
1515
<!-- #endif -->
1616
</view>
17-
<view class="tips" @click="gotoapi">
18-
<text>本示例页面仅演示ad组件,可点此体验激励视频API</text>
17+
<view class="tips">
18+
<text class="tips-text">本示例页面仅演示ad组件。另点此可体验</text><text class="tips-hl" @click="gotoapi">激励视频API</text><text class="tips-text">。</text>
1919
</view>
2020
</view>
2121
</template>
@@ -72,7 +72,16 @@
7272
7373
.tips {
7474
margin-top: 30px;
75-
color: #007AFF;
7675
text-align: center;
76+
line-height: 42px;
77+
}
78+
79+
.tips-text {
80+
color: #444;
81+
}
82+
83+
.tips-hl {
84+
color: #007AFF;
85+
margin-left: 1px;
7786
}
7887
</style>

0 commit comments

Comments
 (0)