|
@@ -25,6 +25,10 @@
|
|
|
<text>参团人数</text>
|
|
|
<text>{{item.persons.length||0}}人</text>
|
|
|
</view>
|
|
|
+ <view class="some">
|
|
|
+ <text>开团时间</text>
|
|
|
+ <text>{{item.time||'暂无'}}</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="other">
|
|
|
<view v-if="item.status=='0'" class="btn" @click="onSubmit(item)">
|
|
@@ -46,6 +50,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import moment from 'moment'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -106,6 +111,7 @@
|
|
|
for (let val of list) {
|
|
|
let status = that.statusList.find(i => i.value == val.status)
|
|
|
if (status) val.zhStatus = status.label;
|
|
|
+ val.time = moment(val.meta.createdAt).format('YYYY-MM-DD HH:mm:ss')
|
|
|
}
|
|
|
that.$set(that, `list`, list);
|
|
|
that.$set(that, `total`, res.total)
|
|
@@ -200,6 +206,7 @@
|
|
|
flex-direction: column;
|
|
|
flex-grow: 1;
|
|
|
padding: 2vw 0;
|
|
|
+ width: 35vw;
|
|
|
|
|
|
.name {
|
|
|
font-size: var(--font16Size);
|
|
@@ -237,7 +244,7 @@
|
|
|
.button{
|
|
|
margin: 0 2vw;
|
|
|
padding: 2vw 3vw;
|
|
|
- background-color: var(--f85Color);
|
|
|
+ background-color: var(--fcColor);
|
|
|
color: var(--f00Color);
|
|
|
border-radius: 2vw;
|
|
|
font-size: var(--font14Size);
|