常规小优化
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
<image v-if="item.icon" :src="item.icon" mode="aspectFit"></image>
|
||||
</view>
|
||||
|
||||
<text class="itemTxt">{{ item.text }}</text>
|
||||
<text class="itemTxt" :class="(config.textAlign=='flex-start'&&!item.icon)?'txtIndent':''">{{ item.text }}</text>
|
||||
</view>
|
||||
|
||||
|
||||
@ -139,8 +139,8 @@
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.itemTxt{
|
||||
text-indent: 20rpx;
|
||||
.txtIndent{
|
||||
text-indent: 30rpx;
|
||||
}
|
||||
.message-popup {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user