将以上代码中的style部分提取出来,单独成为一个css文件,例如命名为“filemanagement.css”:

.total { font-size: 28rpx; color: rgba(54, 60, 90, 0.8); margin: 16rpx 0; }

.item { background-color: #fff; padding: 30rpx; margin-bottom: 20rpx; position: relative; box-shadow: 0 4rpx 8rpx 0 rgba(0, 0, 0, 0.1); border-radius: 10rpx; }

.item_title { font-size: 32rpx; color: rgba(54, 60, 90, 0.8); margin-bottom: 10rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.item_number { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20rpx; }

.item_number view { display: flex; align-items: center; }

.item_number view image { width: 26rpx; height: 26rpx; margin-right: 10rpx; }

.item_number view view { font-size: 28rpx; color: rgba(54, 60, 90, 0.8); }

.line { width: 1rpx; height: 30rpx; margin: 0 20rpx; background-color: rgba(54, 60, 90, 0.8); }

.item_mes { font-size: 28rpx; color: rgba(54, 60, 90, 0.8); margin-bottom: 20rpx; }

.item_mes view { display: flex; align-items: center; margin-bottom: 10rpx; }

.item_mes view image { width: 26rpx; height: 26rpx; margin-right: 10rpx; }

.item_mes view view { font-size: 28rpx; color: rgba(54, 60, 90, 0.8); }

.signNum { font-size: 28rpx; color: rgba(96, 155, 255, 1); margin-left: 10rpx; }

.tag { position: absolute; top: 0; right: 0; width: 88rpx; height: 88rpx; }

.tag image { width: 100%; height: 100%; }

把style单独成css !-- 给数组每个元素加上逗号间隔 --wxs module=util function intervalarr var re= str statefalse if!arr return re for var i = 0; i arrlength; i++ if i == arrlen

原文地址: https://www.cveoy.top/t/topic/btLj 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录