123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- <template>
- <view class="container">
- <!--内容部分-->
- <tui-list-view style="background-color: #fff;">
- <tui-list-cell last="true">
- <view class="tui-item-box">
- <text class="tui-list-cell_name">族长</text>
- <view class="tui-right" style="margin-right: 10rpx;"><image src="/static/images/my/thorui.png" class="tui-logo" mode="widthFix"></image></view>
- <view>余兴</view>
- </view>
- </tui-list-cell>
- <tui-list-cell>
- <view class="tui-item-box">
- <view class="tui-list-cell_name">管理员</view>
- </view>
- </tui-list-cell>
- <view style="padding: 0 30rpx;">
- <tui-list-cell>
- <view class="tui-item-box">
- <view class="tui-list-cell_name"><image src="/static/images/my/thorui.png" class="tui-logo" mode="widthFix"></image></view>
- <view class="tui-list-cell_name">余术</view>
- <view class="tui-right" style="color: #C74547;">移除</view>
- </view>
- </tui-list-cell>
- <tui-list-cell :arrow="true">
- <view class="tui-item-box">
- <view class="tui-list-cell_name"><image src="/static/img/tabbar/family.png" class="tui-logo" mode="widthFix"></image></view>
- <view class="tui-list-cell_name" style="color: #999;">添加管理员</view>
- </view>
- </tui-list-cell>
- </view>
- </tui-list-view>
- <view style="margin: 30rpx;">
- <tui-button>保存</tui-button>
- </view>
- <!--内容部分-->
- </view>
- </template>
- <script>
- import tuiButton from "@/components/thorui/tui-button/tui-button"
- import tuiListView from '@/components/thorui/tui-list-view/tui-list-view';
- import tuiListCell from '@/components/thorui/tui-list-cell/tui-list-cell';
- import tuiIcon from '@/components/thorui/tui-icon/tui-icon';
- import tuiTag from '@/components/thorui/tui-tag/tui-tag';
- import tuiBadge from '@/components/thorui/tui-badge/tui-badge';
-
- export default {
- components: {
- tuiListView,
- tuiListCell,
- tuiIcon,
- tuiTag,
- tuiButton,
- tuiBadge
- },
- data() {
- return {
- }
- },
- methods: {
- card: function() {
- uni.navigateTo({
- url: './card/card'
- });
- },
- portrait: function() {
- uni.navigateTo({
- url: './portrait/portrait'
- });
- },
- name: function() {
- uni.navigateTo({
- url: './name/name'
- });
- },
- sex: function() {
- uni.navigateTo({
- url: './sex/sex'
- });
- },
- phone: function() {
- uni.navigateTo({
- url: './phone/phone'
- });
- },
- }
- }
- </script>
- <style>
- .container {
- padding-bottom: env(safe-area-inset-bottom);
- width: 100%;
- }
- .tui-item-box {
- width: 100%;
- display: flex;
- align-items: center;
- }
- .tui-list-cell_name {
- padding-left: 20rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .tui-ml-auto {
- margin-left: auto;
- }
- .tui-right {
- margin-left: auto;
- margin-right: 34rpx;
- font-size: 26rpx;
- color: #999;
- }
- .tui-logo {
- height: 52rpx;
- width: 52rpx;
- flex-shrink: 0;
- }
- .tui-flex {
- display: flex;
- align-items: center;
- }
- .tui-msg-box {
- display: flex;
- align-items: center;
- }
- .tui-msg-pic {
- width: 100rpx;
- height: 100rpx;
- border-radius: 50%;
- display: block;
- margin-right: 24rpx;
- flex-shrink: 0;
- }
- .tui-msg-item {
- max-width: 500rpx;
- min-height: 80rpx;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
- .tui-msg-name {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- font-size: 34rpx;
- line-height: 1;
- color: #262b3a;
- }
- .tui-msg-content {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- font-size: 26rpx;
- line-height: 1;
- color: #9397a4;
- }
- .tui-msg-right {
- max-width: 120rpx;
- height: 88rpx;
- margin-left: auto;
- text-align: right;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: flex-end;
- }
- .tui-right-dot {
- height: 76rpx !important;
- padding-bottom: 10rpx !important;
- }
- .tui-msg-time {
- width: 100%;
- font-size: 24rpx;
- line-height: 24rpx;
- color: #9397a4;
- }
- </style>
|