编写会员列表详情
This commit is contained in:
@@ -22,11 +22,25 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="listStyle">
|
||||
<image :src="request('./1.png')" style="width: 76rpx;height: 76rpx;float: left;" mode=""></image>
|
||||
<view style="float: left;">
|
||||
<text>阿什顿</text>
|
||||
<text>阿什顿</text>
|
||||
<text>阿什顿</text>
|
||||
<image :src="require('./1.png')" style="width: 76rpx;height: 76rpx;float: left;" mode=""></image>
|
||||
<view class="listrigth">
|
||||
<view>尚美养储值卡</view>
|
||||
<view>2023-04-21 10:32:44</view>
|
||||
</view>
|
||||
<view class="listrigth2">
|
||||
<view>尚美养储值卡2</view>
|
||||
<view>2023-04-21 10:32:44</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listStyle">
|
||||
<image :src="require('./1.png')" style="width: 76rpx;height: 76rpx;float: left;" mode=""></image>
|
||||
<view class="listrigth">
|
||||
<view>尚美养储值卡</view>
|
||||
<view>2023-04-21 10:32:44</view>
|
||||
</view>
|
||||
<view class="listrigth2">
|
||||
<view>尚美养储值卡</view>
|
||||
<view>2023-04-21 10:32:44</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -36,10 +50,17 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
active: 1
|
||||
active: 1,
|
||||
list: []
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.getlist()
|
||||
},
|
||||
methods: {
|
||||
getlist() {
|
||||
|
||||
},
|
||||
clickEvent(i) {
|
||||
this.active = i
|
||||
}
|
||||
@@ -96,5 +117,34 @@
|
||||
|
||||
}
|
||||
|
||||
.listStyle {}
|
||||
.listStyle {
|
||||
padding: 28rpx;
|
||||
width: 100%;
|
||||
|
||||
.listrigth,
|
||||
.listrigth2 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding-left: 32rpx;
|
||||
}
|
||||
|
||||
.listrigth {
|
||||
>view {
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
|
||||
.listrigth2 {
|
||||
margin-top: 6rpx;
|
||||
|
||||
>view {
|
||||
font-weight: 500;
|
||||
font-size: 24rpx;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -91,7 +91,7 @@
|
||||
const hour = date.getHours(); // 获取小时
|
||||
const minute = date.getMinutes(); // 获取分钟
|
||||
const second = date.getSeconds(); // 获取秒数
|
||||
const formattedDate = `${year}-${month}-${day} ${hour.length==1? '0'+hour:hour}:${minute.length==1? '0'+minute:minute}:${second.length==1? '0'+second:second}`; // 拼接成格式化后的日期字符串
|
||||
const formattedDate = `${year}-${month}-${day} ${hour<10? '0'+hour:hour}:${minute<10? '0'+minute:minute}:${second<10? '0'+second:second}`; // 拼接成格式化后的日期字符串
|
||||
return formattedDate
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user