当前位置:网站首页>Wechat applet, automatic line feed for purchasing commodity attributes, fixed number of divs, automatic line feed for excess parts
Wechat applet, automatic line feed for purchasing commodity attributes, fixed number of divs, automatic line feed for excess parts
2022-06-11 05:19:00 【A programmer who doesn't like to stay up late but often stays u】
Wechat applet , Purchase product attribute auto wrap , Fix div Number , Auto wrap the line beyond the limit
Reference resources ** Specify each line div Number ( Three examples )**
<view class="spec">
<view class="spec_title"> Color </view>
<view class="spec_content">
<view class="spec_back">
<text class="spec_text"> white </text>
</view>
<view class="spec_back">
<text class="spec_text"> Red </text>
</view>
<view class="spec_back">
<text class="spec_text"> Blue </text>
</view>
<view class="spec_back">
<text class="spec_text"> green </text>
</view>
<view class="spec_back">
<text class="spec_text"> golden </text>
</view>
<view class="spec_back">
<text class="spec_text"> yellow </text>
</view>
</view>
</view>
.spec {
padding: 10rpx;
}
.spec .spec_title {
margin: 10rpx;
font-size: 30rpx;
}
.spec .spec_content {
display: flex;
/* justify-content: flex-start; */
flex-flow: row wrap;
align-content: flex-start;
}
.spec .spec_content .spec_back {
margin: 10rpx;
width: 150rpx;
height: 80rpx;
background-color: #f0f0f0;
display: -webkit-box;
-webkit-box-orient: horizontal;
-webkit-box-pack: center;
-webkit-box-align: center;
border-radius: 10rpx;
}

边栏推荐
- 华为设备配置通过GRE隧道接入虚拟专用网
- Let me tell you how to choose a 10 Gigabit network card
- Section II: structural composition characteristics of asphalt pavement (1) structural composition
- Analyzing while experimenting - memory leakage caused by non static inner classes
- Reverse thinking: making cartoon photos real
- Huawei equipment configures local virtual private network mutual access
- Support vector machine -svm+ source code
- JS promise, async, await simple notes
- Emnlp2021 𞓜 a small number of data relation extraction papers of deepblueai team were hired
- Combien de courant le câblage des PCB peut - il supporter?
猜你喜欢

Paper recommendation: relicv2, can the new self supervised learning surpass supervised learning on RESNET?

C (I) C basic grammar all in one

Share | defend against physically realizable image classification attacks

选择数字资产托管人时,要问的 6 个问题

Network security construction in 5g Era

Huawei equipment configures local virtual private network mutual access

Huawei equipment is configured to access the virtual private network through GRE tunnel

QT Road (2) -- HelloWorld

Take stock of the AI black technologies in the Beijing Winter Olympic Games, and Shenzhen Yancheng Technology

MySQL regularly deletes expired data.
随机推荐
Section V: Recycling Application of asphalt pavement materials
Yolov5 training personal data set summary
New library goes online | cnopendata immovable cultural relic data
自定义View基础之Layout
New product pre-sale: 25g optical network card based on Intel 800 series is coming
go MPG
[project - what are the supporting materials in the annexes? (18 kinds of 2000 word summary)] project plan of innovation and entrepreneurship competition and supporting materials of Challenge Cup entr
Topological sorting
PCB走线到底能承载多大电流
Paper recommendation: relicv2, can the new self supervised learning surpass supervised learning on RESNET?
The solution "no hardware is configured for this address and cannot be modified" appears during botu simulation
JVM tuning V: JVM tuning tools and tuning practice
KD-Tree and LSH
Section I: classification and classification of urban roads
Section II: structural composition characteristics of asphalt pavement (2) structural layer and performance requirements
Analysis while experiment - a little optimization of memory leakage in kotlin
力扣(LeetCode)161. 相隔为 1 的编辑距离(2022.06.10)
Sealem finance builds Web3 decentralized financial platform infrastructure
截取文件扩展名
Introduction to coordinate system in navigation system