From 7dc29ed74ebaa8a0e66f68264d9a13f95dc3af21 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 02 八月 2024 11:09:06 +0800
Subject: [PATCH] aa
---
wechat_jiaxuan/pages/store/info.wxml | 59 +++++++++++++++++++++++++++--------------------------------
1 files changed, 27 insertions(+), 32 deletions(-)
diff --git a/wechat_jiaxuan/pages/store/info.wxml b/wechat_jiaxuan/pages/store/info.wxml
index 4e7f6cf..6c7863f 100644
--- a/wechat_jiaxuan/pages/store/info.wxml
+++ b/wechat_jiaxuan/pages/store/info.wxml
@@ -1,49 +1,44 @@
-<view>
- <navBar title=""></navBar>
- <view class="bg_wrap"></view>
+<view class="app">
+ <!-- <view class="bg_wrap"></view> -->
+ <image class="bg_wrap" src="../../static/images/mendian_bg.png" mode="widthFix"></image>
+ <view class="navback" style="padding-top: {{ clientTop }}px;height: {{clientHeight + clientTop}}px;">
+ <van-icon bindtap="navback" name="arrow-left" />
+ </view>
<view class="container">
<view class="header">
- <view class="name">鍚堣偉鏂规灄搴�</view>
- <view class="desc">鍏ㄥ眿瀹氬埗銆佹暣浣撳帹鎴裤�佹湪闂ㄥ鏉裤�佸崼闃冲畾鍒�</view>
- <view class="addr">2.4km锝滃悎鑲ュ競閲戝璺惀鐝�浜旂幆鍥介檯A搴�</view>
+ <view class="name">{{ info.name }}</view>
+ <view wx:if="{{ info.seqNameList && info.seqNameList.length > 0 }}" class="desc">
+ <block wx:for="{{info.seqNameList}}">
+ <text>{{ item }}</text>
+ <text wx:if="{{ index != info.seqNameList.length - 1 }}">銆�</text>
+ </block>
+ </view>
+ <view class="addr">{{ info.distanceStr || '--' }}锝渰{ info.address || '--' }}</view>
</view>
<view class="main_content">
<view class="title">闂ㄥ簵瀵艰喘</view>
- <view class="list">
- <view class="item">
- <view class="avatar"></view>
- <view class="content">
- <view class="name">涓佹鏋�</view>
- <view class="desc">瀵艰喘锝�5骞寸粡楠�</view>
+ <scroll-view scroll-y class="list">
+ <view class="item" wx:for="{{ info.usersList }}">
+ <image data-id="{{ item.iamId }}" bindtap="handleDetail" src="{{ item.imgurlFull ? item.imgurlFull : '../../static/images/default_avatar.png' }}" class="avatar"></image>
+ <view data-id="{{ item.iamId }}" bindtap="handleDetail" class="content">
+ <view class="name">{{ item.name }}</view>
+ <view class="desc">瀵艰喘锝渰{ item.jobDate || 5}}骞寸粡楠�</view>
</view>
- <view class="btn">鑱旂郴TA</view>
+ <view data-phone="{{ item.phone }}" bindtap="callPhone" class="btn">鑱旂郴TA</view>
</view>
- <view class="item">
- <view class="avatar"></view>
- <view class="content">
- <view class="name">涓佹鏋�</view>
- <view class="desc">瀵艰喘锝�5骞寸粡楠�</view>
- </view>
- <view class="btn">鑱旂郴TA</view>
+ <view wx:if="{{ info.usersList.length == 0 }}" class="empty_wrap">
+ <image class="default_empty" src="../../static/images/default_empty.png"></image>
</view>
- <view class="item">
- <view class="avatar"></view>
- <view class="content">
- <view class="name">涓佹鏋�</view>
- <view class="desc">瀵艰喘锝�5骞寸粡楠�</view>
- </view>
- <view class="btn">鑱旂郴TA</view>
- </view>
- </view>
+ </scroll-view>
</view>
</view>
<!-- footer -->
- <view class="footer" style="bottom: {{bottomLift}}px;">
- <view class="btn">
+ <view class="footer" style="padding-bottom: {{bottomLift + 6}}px;">
+ <view bindtap="handleNavigation" class="btn">
<image src="../../static/icon/mendian_ic_daohang@2x.png" mode="widthFix"></image>
<view>瀵艰埅</view>
</view>
- <view class="btn phone">
+ <view bindtap="makePhone" class="btn phone">
<image src="../../static/icon/call.png" mode="widthFix"></image>
<view>闂ㄥ簵鐢佃瘽</view>
</view>
--
Gitblit v1.9.3