Files
jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/pages/dianpuzhuye/dianpuzhuye.axml

125 lines
4.4 KiB
Plaintext
Raw Normal View History

2025-08-18 09:11:51 +08:00
<!-- 店铺名框 -->
<view class="Box2" >
<image class="shangimage" mode="scaleToFill" src="{{businessAvatar}}" />
<view class="box8">
<text class="z2">{{businessName}}</text>
<view style="margin-top:10rpx">
<ant-rate
defaultValue="{{level}}"
readonly
></ant-rate>
<text class="z3">{{level}}.0</text>
<text class="z4">500条</text>
</view>
<view onTap="soucang">
<image class="soucangimage" mode="scaleToFill" src="../image/shoucang.png" />
</view>
<view onTap="kefu">
<image class="zixunimage" mode="scaleToFill" src="../image/zixun.png" />
</view>
</view>
</view>
<!-- 营业时间 -->
<view style="margin-bottom:20rpx">
<view class="time">
<text class="z6" a:if="{{storeStatus == 0}}">已休息</text>
<text class="z6" a:if="{{storeStatus == 1}}">营业中</text>
<view class="z7">
<text>营业时间:{{startBusiness}}-{{endBusiness}}</text>
</view>
</view>
<view class="box3"></view>
<!-- 地址 -->
<view>
<image class="image3" mode="scaleToFill" src="../image/didian.png" />
<text class="z8">{{address}}</text>
</view>
<view class="box4"></view>
</view>
<view class="tiaobox">
<view class="tiao" a:for="{{ names }}" onTap="chaxunzhuangtai" data-id={{item.id}}>
<text>{{item.hengname}}</text>
<view class="xian" a:if="{{item.line}}" ></view>
</view>
</view>
<!-- 购物车 -->
<view class="pages" a:if="{{ showShoppingCart }}">
<!-- 侧边栏 -->
<view class="cebian">
<view class="text"
a:for="{{ lie }}"
onTap="selectItem"
data-id="{{item.id}}">
<text class="color">{{item.name}}</text>
<view>
<!-- 动态绑定 xian 是否显示 -->
<view class="xian" a:if="{{item.showLine}}"></view>
</view>
</view>
</view>
<view class="xinxi">
<view class="shop" a:for="{{ filteredShopping }}">
<view class="imagebox">
<image class="image" mode="aspectFill" src="{{item.commoditiesImage}}" />
</view>
<view class="boxmessage" >
<view class="dingweia">
<view>
<text>{{item.commoditiesName}}</text>
</view>
<view onTap="jiaru" data-num="{{item}}">
<image class="gouimage" mode="scaleToFill" src="../image/tijiagouwuche.png" />
</view>
</view>
<view class="dingwei">
<text style="font-size:12px;color:#9c9a9a">款式随便做,饰品不限量,含甲片,含卸甲</text>
</view>
<view class="yuyuekuang" >
<text>¥{{item.commoditiesPrice}}</text>
<view class="yuyue" data-num="{{item}}" onTap="shangpinjiemian">
<text>预约</text>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 评价 -->
<view class="pingjia" a:if="{{ showComments }}">
<view class="pingjiakuang" a:for="{{ pingjia }}">
<view class="touxiang">
<image class="pingjiaimage" mode="scaleToFill" src="{{item.user.avatarUrl}}" />
<text style="margin-left:10rpx">{{item.user.username}}</text>
</view>
<view style="width:100%">
<text style="color:#8a8f93;font-size:13px">颜色冰透系列裸色01色+烤灯-简约</text>
<view style="width:100%;word-wrap: break-word;">
<text>{{item.userRating.review}}</text>
</view>
</view>
<view class="tupianbox" a:if="{{ item.userRating.picture }}">
<image class="kuangimage" mode="scaleToFill" src="{{item.userRating.picture}}" />
</view>
</view>
</view>
<!-- 商家 -->
<view style="width:100%;margin-top:20rpx" a:if="{{ showBusinessInfo }}">
<view style="margin-top:10rpx">
<view class="box3" style="margin-top:10rpx;"></view>
<text >店铺名称:{{businessName}}</text>
</view>
<view style="margin-top: 10rpx;">
<view class="box3" style="margin-top:10rpx"></view>
<text onTap="callPhone">联系电话:{{businessPhone}}</text>
</view>
<view style="margin-top: 10rpx;">
<view class="box3" style="margin-top:10rpx"></view>
<text>营业时间:{{startBusiness}}-{{endBusiness}}</text>
</view>
<view style="margin-top: 10rpx;">
<view class="box3" style="margin-top:10rpx"></view>
<text>店铺地址:{{address}}</text>
</view>
<view class="box3" style="margin-top:10rpx"></view>
</view>