当前位置:网站首页>Solutions to the failure of last child and first child styles of wechat applet
Solutions to the failure of last child and first child styles of wechat applet
2022-06-26 13:33:00 【woowen!】
Use last-child perhaps first-child The subset needs to be wrapped in a parent element to take effect
.tab-content text:last-child {
margin-right: 0;
}
<view class="tab-content">
<text bindtap="tapActive" data-active="1" class="{
{active === '1'?'active':''}}"> Trade purchasing agency </text>
<text bindtap="tapActive" data-active="2" class="{
{active === '2'?'active':''}}"> Accounts receivable </text>
<text bindtap="tapActive" data-active="3" class="{
{active === '3'?'active':''}}"> Inventory pledge </text>
<text bindtap="tapActive" data-active="4" class="{
{active === '4'?'active':''}}"> Advance payment </text>
<text bindtap="tapActive" data-active="5" class="{
{active === '5'?'active':''}}"> Inclusive finance </text>
</view>边栏推荐
- I met the problem of concurrent programming in an interview: how to safely interrupt a running thread
- May product upgrade observation station
- Arcpy -- use of insertlayer() function: adding layers to map documents
- Reflect the technical depth (unable to speed up)
- I - Dollar Dayz
- 输入文本自动生成图像,太好玩了!
- 【MySQL从入门到精通】【高级篇】(二)MySQL目录结构与表在文件系统中的表示
- KITTI Tracking dataset whose format is letf_ top_ right_ bottom to JDE normalied xc_ yc_ w_ h
- F - Charm Bracelet
- ES6 module
猜你喜欢

What features are added to Photoshop 2022 23.4.1? Do you know anything

HW蓝队溯源流程详细整理

Beifu cx5130 card replacement and transfer of existing authorization files

Beifu realizes the control of time slice size and quantity through CTU and ton

创建一个自己的跨域代理服务器

LAMP编译安装

Teacher Li Hang's new book "machine learning methods" is on the market! Purchase link attached

Here Document免交互及Expect自动化交互
![[how to connect the network] Chapter 2 (next): receiving a network packet](/img/f5/33e1fd8636fcc80430b3860d069866.png)
[how to connect the network] Chapter 2 (next): receiving a network packet

Arcpy——InsertLayer()函數的使用:摻入圖層到地圖文檔裏
随机推荐
Es snapshot based data backup and restore
There are many contents in the widget, so it is a good scheme to support scrolling
Decorator
ES6 module
Here Document免交互及Expect自动化交互
MariaDB study notes
Electron official docs series: Development
输入文本自动生成图像,太好玩了!
Log in to the server using SSH key pair
2. Introduction to parallel interface, protocol and related chips (8080, 8060)
Typescript
Basic configuration and test of Beifu twincat3 NCI in NC axis interface
7-3 minimum toll
ES6:Map
Zoomeeper sets ACL permission control (only specific IP access is allowed to enhance security)
组合模式(Composite )
C - Common Subsequence
Lamp compilation and installation
Input text to automatically generate images. It's fun!
Arcpy - - utilisation de la fonction insertlayer (): ajout de calques dans un document de carte