You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
3.3 KiB
114 lines
3.3 KiB
<template>
|
|
<view class="main">
|
|
<!-- nav -->
|
|
<navigation>{{ i18n.Notification }}</navigation>
|
|
<view class="body">
|
|
<view class="userItem" v-for="(item, index) in 4" :key="index" @click="gotoDetails(index)">
|
|
<u-icon class="icon" :name="'../../static/home/ic_proclamation.png'" size="60rpx" width="60rpx">
|
|
</u-icon>
|
|
<view class="content">
|
|
<view class="title">Please contact customer service on the top-left corner for identity verification
|
|
on your firstPlease contactservice on firstPlease contact customer service on the top-left
|
|
corner for identity Please contact customer service on the top-left corner for identity
|
|
verification on your firstPlease contactservice on firstPlease contact customer service on the
|
|
top-left corner for identity Please contact customer service on the top-left corner for identity
|
|
verification on your firstPlease contactservice on firstPlease contact customer ser</view>
|
|
<view class="date">{{ i18n.Release }}: 2022/08/06 14:51:34</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "notification",
|
|
data() {
|
|
return {
|
|
};
|
|
},
|
|
computed: {
|
|
i18n() {
|
|
return this.$t("me");
|
|
},
|
|
},
|
|
onLoad() {
|
|
},
|
|
onShow() { },
|
|
methods: {
|
|
gotoDetails(index) {
|
|
console.log(index);
|
|
uni.navigateTo({
|
|
url: `/pages/me/notificationDetails?id=${index}`
|
|
});
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.main {
|
|
|
|
.body {
|
|
overflow: hidden;
|
|
margin-top: 200rpx;
|
|
padding: 0 24rpx;
|
|
|
|
.userItem {
|
|
position: relative;
|
|
background: #211F32;
|
|
border-radius: 32rpx;
|
|
display: flex;
|
|
margin-top: 32rpx;
|
|
height: 218rpx;
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
|
|
.icon {
|
|
height: 60rpx;
|
|
margin-left: 20rpx;
|
|
margin-right: 12rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.content {
|
|
overflow: hidden;
|
|
margin-top: 20rpx;
|
|
height: 218rpx;
|
|
|
|
.title {
|
|
width: 574rpx;
|
|
height: 116rpx;
|
|
font-size: 28rpx;
|
|
padding-right: 36rpx;
|
|
// 超出字符省略成...
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
word-wrap: break-word;
|
|
display: -webkit-box; //兼容
|
|
white-space: normal !important;
|
|
-webkit-line-clamp: 3; //显示行数
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.date {
|
|
width: 610rpx;
|
|
height: 64rpx;
|
|
line-height: 64rpx;
|
|
font-size: 28rpx;
|
|
color: #A1A0A8;
|
|
border-top: 1px solid #323045;
|
|
margin-top: 16rpx;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
</style>
|
|
|