当前位置:网站首页>小程序 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>边栏推荐
- 啃瓜记录又一天
- 通过PS 2021 将网页图标抠下来
- 2022年比若依更香的开源项目
- AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/yolov5-5.0/models/commo
- HCIP-第十天-BGP综合实验
- How to check whether a table is locked in mysql
- PCL—点云数据分割
- 错误:with open(txt_path,‘r‘) as f: FileNotFoundError: [Errno 2] No such file or directory:
- ssm various configuration templates
- DSPE-PEG-PDP, DSPE-PEG-OPSS, phospholipid-polyethylene glycol-mercaptopyridine supply, MW: 5000
猜你喜欢

MySQL分库分表

ModuleNotFoundError No module named 'xxx' possible solutions

新工程加载YOLOV6的预训练权重问题

Mysql8.0安装教程

DSPE-PEG-Silane, DSPE-PEG-SIL, phospholipid-polyethylene glycol-silane modified active group

redis进行持久化时,有新的写操作将如何解决——写时复制

RHCSA第三天

Deveco studio 鸿蒙app访问网络详细过程(js)

ModuleNotFoundError No module named ‘xxx‘可能的解决方案大全

Phospholipid-polyethylene glycol-targeted neovascularization targeting peptide APRPG, DSPE-PEG-APRPG
随机推荐
磷脂-聚乙二醇-巯基,DSPE-PEG-Thiol,DSPE-PEG-SH,MW:5000
Debian 10 NTP 服务配置
UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the index ing argu
MySQL占用CPU过高,排查原因及解决的多种方式法
mysql创建表
Scientific research reagent DMPE-PEG-Mal dimyristoylphosphatidylethanolamine-polyethylene glycol-maleimide
oracle内连接和外连接
删库后!除了跑路还能干什么?
parser = argparse.ArgumentParser()解析
MySql创建数据表
MySQL8.0安装教程,在Linux环境安装MySQL8.0教程,最新教程 超详细
DSPE-PEG-Silane,DSPE-PEG-SIL,磷脂-聚乙二醇-硅烷修饰活性基团
手把手带你 Unity 入门之从零创建一个时钟(GameObjects 与 Scripts)
cross-domain problem solving
UserWarning:火炬。meshgrid:在以后的版本中,它将被要求通过索引ing argu
Phospholipid-polyethylene glycol-azide, DSPE-PEG-Azide, DSPE-PEG-N3, MW: 5000
mysql卸载详细教程
About cross-domain issues
远程调试、无cuDnn、自定义模块无法导入问题记录
JJWT工具类