Commit d6ac1eaf by 胡悦

fix(MessagePop): Adjust message title truncation length from 10 to 8 characters for better display

1 parent 64b28bad
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<view class="text text-first study-title">系统消息</view> <view class="text text-first study-title">系统消息</view>
<view class="text study-text"> <view class="text study-text">
您有新的消息【 您有新的消息【
{{ messageData.title && messageData.title.length > 10 ? messageData.title.slice(0, 10) + '...' : messageData.title }} {{ messageData.title && messageData.title.length > 8 ? messageData.title.slice(0, 8) + '...' : messageData.title }}
】,请点击查看 】,请点击查看
</view> </view>
<view class="text study-text"></view> <view class="text study-text"></view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!