diff --git a/components/diy_title/diy_title.wxml b/components/diy_title/diy_title.wxml index e36c911..92f7796 100644 --- a/components/diy_title/diy_title.wxml +++ b/components/diy_title/diy_title.wxml @@ -19,7 +19,7 @@ {{object.title_right}} - > + diff --git a/components/diy_title/diy_title.wxss b/components/diy_title/diy_title.wxss index bfec612..e84db04 100644 --- a/components/diy_title/diy_title.wxss +++ b/components/diy_title/diy_title.wxss @@ -5,6 +5,7 @@ height: auto; display: flex; padding: 10rpx 0; + align-items: center; } /* 图片边框 */ @@ -43,7 +44,8 @@ .right_rim { min-width: 200rpx; width: auto; - display: inline-block; + display: flex; + align-items: center; } /* 右侧文字边框 */ @@ -75,3 +77,12 @@ vertical-align: top; margin-top: 12rpx } +.aa::after{ + content: ''; + display: inline-block; + width: 25rpx; + height: 25rpx; + border-top:1rpx solid #aaa; + border-right: 1rpx solid #aaa; + transform: rotate(45deg); +}