|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
|
|
|
- <!-- 顶部轮播图 -->
|
|
|
- <view>
|
|
|
- <Detiles></Detiles>
|
|
|
- </view>
|
|
|
+ <!-- 顶部轮播图 -->
|
|
|
+ <view>
|
|
|
+ <Detiles :volunteerPicture="listData.volunteerPicture"></Detiles>
|
|
|
+ </view>
|
|
|
|
|
|
<!-- 页面背景整体定位 -->
|
|
|
<view class="service-description-position">
|
|
@@ -41,7 +41,7 @@
|
|
|
<!-- 主体内容 -->
|
|
|
<view class="volunteer-main-content">
|
|
|
<!-- 头像 -->
|
|
|
- <image class="volunteer-image" :src="listData.volunteerPicture" mode="aspectFill"></image>
|
|
|
+ <image class="volunteer-image" :src="firstVolunteerPicture" mode="aspectFill"></image>
|
|
|
<!-- 个人信息 -->
|
|
|
<view class="volunteer-info">
|
|
|
<view class="name-row">
|
|
@@ -135,12 +135,12 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <!-- 底部第一层弹框 -->
|
|
|
- <view>
|
|
|
- <up-popup :show="show" @close="close" @open="open"> </up-popup>
|
|
|
- <up-popup :show="show" @open="upPopupOpen" :custom-style="popupStyle">
|
|
|
- <scroll-view scroll-y class="popup-scroll-content">
|
|
|
- <!-- <view>
|
|
|
+ <!-- 底部第一层弹框 -->
|
|
|
+ <view>
|
|
|
+ <up-popup :show="show" @close="close" @open="open"> </up-popup>
|
|
|
+ <up-popup :show="show" @open="upPopupOpen" :custom-style="popupStyle">
|
|
|
+ <scroll-view scroll-y class="popup-scroll-content">
|
|
|
+ <!-- <view>
|
|
|
<view class="Wrapper">
|
|
|
<image src="/static/img/Location.png" class="Wrapper-img" />
|
|
|
<span class="Wrapper-content">李四</span>
|
|
@@ -235,17 +235,17 @@
|
|
|
</up-cell-group>
|
|
|
</view>
|
|
|
|
|
|
- <view class="Wrap-Payment">
|
|
|
- <!-- 支付金额 -->
|
|
|
- <view class="payment-header">
|
|
|
- <text class="payment-title">现在支付</text>
|
|
|
- <text class="payment-amount">¥{{ computeMoney }}</text>
|
|
|
- </view>
|
|
|
+ <view class="Wrap-Payment">
|
|
|
+ <!-- 支付金额 -->
|
|
|
+ <view class="payment-header">
|
|
|
+ <text class="payment-title">现在支付</text>
|
|
|
+ <text class="payment-amount">¥{{ computeMoney }}</text>
|
|
|
+ </view>
|
|
|
|
|
|
- <up-line></up-line>
|
|
|
+ <up-line></up-line>
|
|
|
|
|
|
- <!-- 钱包支付选项 -->
|
|
|
- <!-- <view class="payment-option">
|
|
|
+ <!-- 钱包支付选项 -->
|
|
|
+ <!-- <view class="payment-option">
|
|
|
<view class="option-left">
|
|
|
<image src="/static/钱包.png" class="payment-icon"></image>
|
|
|
<text class="option-text">钱包</text>
|
|
@@ -269,13 +269,13 @@
|
|
|
</up-radio-group>
|
|
|
</view>
|
|
|
|
|
|
- <up-line></up-line>
|
|
|
+ <up-line></up-line>
|
|
|
|
|
|
- <!-- 其他支付方式 -->
|
|
|
- <view class="other-payment">
|
|
|
- <text class="other-payment-text">其他方式支付</text>
|
|
|
- <up-icon name="arrow-right" size="14" color="#1890ff"></up-icon>
|
|
|
- </view>
|
|
|
+ <!-- 其他支付方式 -->
|
|
|
+ <view class="other-payment">
|
|
|
+ <text class="other-payment-text">其他方式支付</text>
|
|
|
+ <up-icon name="arrow-right" size="14" color="#1890ff"></up-icon>
|
|
|
+ </view>
|
|
|
|
|
|
<!-- 条款说明 -->
|
|
|
<view class="terms-of-service">
|
|
@@ -839,6 +839,12 @@ const changeMinQuantityMax = (val = 99999) => {
|
|
|
minQuantityMax.value = val
|
|
|
}
|
|
|
|
|
|
+// 计算属性:获取志愿者第一张图片
|
|
|
+const firstVolunteerPicture = computed(() => {
|
|
|
+ const pictures = listData.value.volunteerPicture.split(',');
|
|
|
+ return pictures[0];
|
|
|
+});
|
|
|
+
|
|
|
onMounted(async () => {
|
|
|
await getListTime()
|
|
|
})
|