当前位置:网站首页>小程序 van-cell 换行能左对齐问题
小程序 van-cell 换行能左对齐问题
2022-08-02 03:22:00 【suzhiwei_boke】

van-cell 的value 属性 默认是右对齐,这时候我们只想显示信息的时候就可以运用父元素用右对齐,子元素用行内块元素,然后左对齐
/* 解决多行能出现向左对齐的情况 */
.van-cell__value>text{
display: inline-block;
text-align: left;
word-break: break-all; //换行能显示全部字符
} <van-cell title="活动标题" title-width="7em">
<text>{
{mainData.title}}</text>
</van-cell>边栏推荐
- Week 7 Review
- Monaco Editor 的基本用法
- subprocess.CalledProcessError: Command ‘pip install ‘thop‘‘ returned non-zero exit status 1.
- [Learning Records of Boxue Valley] Super summary, share with heart | Software Testing Interface Testing Basics
- C语言 内联函数
- np.isnan()
- getattr()函数解析
- APK的安装过程分析 PMS包管理器
- 磷脂-聚乙二醇-靶向新生血管靶向肽APRPG,DSPE-PEG-APRPG
- PCL—点云数据分割
猜你喜欢

Mysql8.0安装教程

Cloud server installation and deployment of Nacos 2.0.4 version

@Autowired与@Resource区别

PCL—point cloud data segmentation

MySQL中字符串比较大小(日期字符串比较问题)

Redis安装,基本命令,持久化方式,集群

Phospholipid-polyethylene glycol-azide, DSPE-PEG-Azide, DSPE-PEG-N3, MW: 5000

知识工程作业2:知识工程相关领域介绍

parser = argparse.ArgumentParser()解析

ThunderBirde无法登录问题、pycharm调试一直收集数据、RuntimeError: CUDA error: device-side assert triggered等疑难杂症解决
随机推荐
Cloud server installation and deployment of Nacos 2.0.4 version
ssm各类配置模板
yolov5调用ip摄像头时出现的问题
一个结构体 = 另一个结构体(同类型结构体之间可直接赋值操作)
DSPE-PEG-DBCO 磷脂-聚乙二醇-二苯并环辛炔 一种线性杂双官能聚乙二醇化试剂
MySQL分组后排序
源码构建LAMP环境-1
np.isnan ()
C语言 结构体定义方法
知识工程作业2:知识工程相关领域介绍
亚马逊卖家怎么提升转化率
UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the index ing argu
每天填坑,精卫填坑第二集,TX1 配置从固态启动,安装Pytorch
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
ThunderBirde无法登录问题、pycharm调试一直收集数据、RuntimeError: CUDA error: device-side assert triggered等疑难杂症解决
利用 nucleo stm32 f767zi 进行USART+DMA+PWM输入模式 CUBE配置
DSPE-PEG-DBCO Phospholipid-Polyethylene Glycol-Dibenzocyclooctyne A Linear Heterobifunctional Pegylation Reagent
分布式领域最重要的一篇论文,到底讲了什么?
Dynamic proxy tool class
Deveco studio Hongmeng app access network detailed process (js)