From 00bf17838b496e6fcfed2e521f9c27f8f0e3e3c7 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 05 八月 2024 18:38:20 +0800
Subject: [PATCH] ‘’
---
wechat_jiaxuan/pages/store/info.wxml | 30 +++++++++++++++++++-----------
1 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/wechat_jiaxuan/pages/store/info.wxml b/wechat_jiaxuan/pages/store/info.wxml
index d985f2e..6c7863f 100644
--- a/wechat_jiaxuan/pages/store/info.wxml
+++ b/wechat_jiaxuan/pages/store/info.wxml
@@ -1,4 +1,4 @@
-<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;">
@@ -7,25 +7,33 @@
<view class="container">
<view class="header">
<view class="name">{{ info.name }}</view>
- <!-- <view class="desc">鍏ㄥ眿瀹氬埗銆佹暣浣撳帹鎴裤�佹湪闂ㄥ鏉裤�佸崼闃冲畾鍒�</view> -->
- <view class="addr">2.4锝渰{ info.address || '--' }}</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" data-id="{{ item.iamId }}" bindtap="handleDetail" wx:for="{{ info.usersList }}">
- <image src="{{ item.imgurlFull ? item.imgurlFull : '../../static/images/default_avatar.png' }}" class="avatar"></image>
- <view class="content">
+ <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">瀵艰喘锝渰{ info.jobDate || '-'}}骞寸粡楠�</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>
+ <view wx:if="{{ info.usersList.length == 0 }}" class="empty_wrap">
+ <image class="default_empty" src="../../static/images/default_empty.png"></image>
+ </view>
+ </scroll-view>
</view>
</view>
<!-- footer -->
- <view class="footer" style="bottom: {{bottomLift}}px;">
+ <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>
--
Gitblit v1.9.3