Files
coupon/pages/institutions/institutions.wxml
2023-02-22 23:52:12 +08:00

65 lines
3.0 KiB
Plaintext

<view style=" background: #fff;">
<image src="{{infor.wechat_cover_img}}" style="width:100%;height:375rpx">
</image>
<view class="detail_box">
<view>
<view class="title_map">{{infor.mechanism_name}}</view>
<view style="line-height:28rpx;margin-bottom:11rpx;">认证医院:认证医院机构;正品保证机构</view>
<view style="margin-bottom:11rpx;">
<image src="/pages/image/Star.png" style="width:23rpx;height:23rpx; margin-right:5rpx" wx:for="xxxxxx" wx:key="index" ></image>{{infor.score}}
</view>
</view>
<image
src="{{infor.wechat_logo}}"
class="header_img"></image>
</view>
<view
style="padding: 0 24rpx;display: flex;font-size: 20rpx;font-family: PingFang SC;font-weight: 400;color: #6A6A6A;align-items: center;position: relative;padding-bottom: 44rpx;">
<image src="/pages/image/site.png" style="width:17rpx;height:21rpx;margin-right:13rpx;"></image>
<view>
{{infor.address}}
</view>
<view
style="width:46rpx;height:26rpx;padding-left:20rpx;border-left: 1rpx solid #C7C7C7;right:43rpx;position: absolute;">
<image src="/pages/image/phone.png" style="width:26rpx;height:26rpx;"></image>
</view>
</view>
</view>
<!-- 滚动 -->
<view wx:if="{{activity.length>0}}" class="scroll_box">
<view style="font-size: 28rpx;color: #222222;line-height: 41rpx;">活动专区</view>
<scroll-view scroll-x scroll-with-animation style="height:322rpx;width:100%;margin-top: 12rpx;">
<view style="display:flex;">
<view wx:for="{{activity}}" style="position:relative;margin-right: 8rpx;border: 1rpx solid #E5E5E5;"wx:for-item="item" data-id="{{item.id}}" bindtap="itemgodetail">
<image src="{{item.index_img}}" style="height:200rpx;width:200rpx;"></image>
<view class="title">{{item.goods_name}}</view>
<view class="money">¥{{item.price}}</view>
<view class="conter">剩余{{item.stock}}件</view>
<view class="qiang"> 抢</view>
</view>
</view>
</scroll-view>
</view>
<!-- 推荐 -->
<view wx:if="{{goods.length>0}}" class="recommended_box">
<view class="fuwu">
<text>服务</text>
<!-- <text>全部 ></text> -->
</view>
<view style=" display:flex; flex-wrap: wrap;">
<view wx:for="{{goods}}" style="width:340rpx;height:488rpx;background:#fff;margin-bottom:16rpx;margin-left: 0rpx; margin-right: 10rpx;" wx:for-item="item" data-id="{{item.id}}" bindtap="itemgodetail">
<image src="{{item.index_img}}" style="width:340rpx;height:340rpx;border-radius: 10rpx 10rpx 0px 0px;"></image>
<view class="title1">{{item.goods_name}}</view>
<view style="display:flex;margin:8rpx 0;">
<image src="/pages/image/address.png" style="width:17rpx;height:17rpx"></image>
<view class="dianpu">{{item.mechanism_name}}</view>
</view>
<view class="price">
<view>¥{{item.price}}</view>
<!-- <view>5.0折</view> -->
<view>已售{{item.sold}}</view>
</view>
</view>
</view>
</view>