zs пре 2 година
родитељ
комит
b7a58f6494
3 измењених фајлова са 17 додато и 4 уклоњено
  1. 8 1
      pagesMy/dough/index.vue
  2. 4 1
      pagesMy/order/noService.vue
  3. 5 2
      pagesMy/order/service.vue

+ 8 - 1
pagesMy/dough/index.vue

@@ -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);

+ 4 - 1
pagesMy/order/noService.vue

@@ -18,9 +18,12 @@
 							</view>
 						</view>
 						<view class="r">
-							<view class="price">
+							<view v-if="item.type=='0'" class="price">
 								¥{{item.sell_money}}
 							</view>
+							<view v-else class="price">
+								¥{{item.group_config.money}}
+							</view>
 							<view class="num">
 								×{{item.buy_num}}
 							</view>

+ 5 - 2
pagesMy/order/service.vue

@@ -18,8 +18,11 @@
 							</view>
 						</view>
 						<view class="r">
-							<view class="price">
-								¥{{info.sell_money}}
+							<view v-if="item.type=='0'" class="price">
+								¥{{item.sell_money}}
+							</view>
+							<view v-else class="price">
+								¥{{item.group_config.money}}
 							</view>
 							<view class="num">
 								×{{info.buy_num}}