Commit 4034dfe5 by wjw

Merge branch 'master' of http://120.77.182.185/yanl/mini-shimao.git into master

parents 742d5476 da21f560
...@@ -241,6 +241,7 @@ App({ ...@@ -241,6 +241,7 @@ App({
break break
} }
funcUserInfo.userType = 0
wx.setStorageSync('userInfo', funcUserInfo) wx.setStorageSync('userInfo', funcUserInfo)
// 如果用户身份有更新,则自动跳转到首页 // 如果用户身份有更新,则自动跳转到首页
......
...@@ -217,27 +217,27 @@ Page({ ...@@ -217,27 +217,27 @@ Page({
let funcResponse = response.data let funcResponse = response.data
for (let i = 0, l = funcResponse.length; i < l; i++) { for (let i = 0, l = funcResponse.length; i < l; i++) {
let funcItem = { let funcItem = {
'id': funcResponse[i].id, // 商品标识 'id': funcResponse[i].id, // 商品标识
'typeId': funcResponse[i].genre, // 商品分类标识 'typeId': funcResponse[i].genre, // 商品分类标识
'inventoriesId': funcResponse[i].inventoriesId, // 仓库标识 'inventoriesId': funcResponse[i].inventoriesId, // 仓库标识
'sideBarId': funcResponse[i].classifyId, // 商品标签 'sideBarId': funcResponse[i].classifyId, // 商品标签
'name': funcResponse[i].name, 'name': funcResponse[i].name,
'cover': funcResponse[i].coverImg, // 商品封面 'cover': funcResponse[i].coverImg ? funcResponse[i].coverImg : this.data.resourcesBase + 'commodity/menu/commodity-item.png',
'price': funcResponse[i].sightseerPrice, // 普通价 'price':  funcResponse[i].sightseerPrice, // 普通价
'priceText': App.modular.utils.formatAmount(funcResponse[i].sightseerPrice), // 普通价文本格式 'priceText':  App.modular.utils.formatAmount(funcResponse[i].sightseerPrice),
'priceSpecial': funcResponse[i].ownerPrice, // 业主价 'priceSpecial':  funcResponse[i].ownerPrice, // 业主价
'priceSpecialText': App.modular.utils.formatAmount(funcResponse[i].ownerPrice), // 业主价文本格式 'priceSpecialText':  App.modular.utils.formatAmount(funcResponse[i].ownerPrice),
'priceDiscount': 100, // 活动价 'priceDiscount':  funcResponse[i].price, // 活动价
'priceDiscountText': '100.00', // 活动价文本格式 'priceDiscountText':  App.modular.utils.formatAmount(funcResponse[i].price),
'priceType': 1, 'priceType':  1,
'describe': funcResponse[i].synopsis, 'describe': funcResponse[i].synopsis,
'describeDetail': '', // 商品描述详情,在点击详情时获得数据 'describeDetail': '', // 商品描述详情,在点击详情时获得数据
'tags': funcResponse[i].tags, 'tags': funcResponse[i].tags,
'tagsText': '', 'tagsText': '',
'notificationId': funcResponse[i].notificationId, // 下单须知 'notificationId': funcResponse[i].notificationId, // 下单须知
'quantityMin': 1, 'quantityMin': 1,
'quantityMax': funcResponse[i].number < 20 ? funcResponse[i].number : 20, // 最大上限 20 件 'quantityMax': funcResponse[i].number < 20 ? funcResponse[i].number : 20, // 最大上限 20 件
'isActive': true, 'isActive': true,
} }
...@@ -338,8 +338,6 @@ Page({ ...@@ -338,8 +338,6 @@ Page({
* @returns * @returns
*/ */
setCommodityDetail: function () { setCommodityDetail: function () {
console.log(this.data.commodityList)
// 判断是否从推荐菜单进入,主动查询商品详情 // 判断是否从推荐菜单进入,主动查询商品详情
if (this.data.option.commodityId) { if (this.data.option.commodityId) {
let funcCommodityList = this.data.commodityList let funcCommodityList = this.data.commodityList
...@@ -466,8 +464,8 @@ Page({ ...@@ -466,8 +464,8 @@ Page({
*/ */
onCommodityAdd: function (event) { onCommodityAdd: function (event) {
// 获取点击高度 // 获取点击高度
let funcAnimationPointHeight = event.detail.y // let funcAnimationPointHeight = event.detail.y
this.setCartAnimationExport(funcAnimationPointHeight) // this.setCartAnimationExport(funcAnimationPointHeight)
let funcShoppingCart = this.data.shoppingCart let funcShoppingCart = this.data.shoppingCart
......
...@@ -38,7 +38,9 @@ ...@@ -38,7 +38,9 @@
<block wx:for="{{item.commodity}}" wx:for-index="indexCommodity" wx:for-item="itemCommodity" wx:key="indexCommodity"> <block wx:for="{{item.commodity}}" wx:for-index="indexCommodity" wx:for-item="itemCommodity" wx:key="indexCommodity">
<view class="commodity-item row" data-item="{{itemCommodity}}" bind:tap="onCommodityDetail"> <view class="commodity-item row" data-item="{{itemCommodity}}" bind:tap="onCommodityDetail">
<view class="item-img"> <view class="item-img">
<image src="{{itemCommodity.cover}}" mode="aspectFill"></image> <!-- 暂时屏蔽图片下载 -->
<!-- <image src="{{itemCommodity.cover}}" mode="aspectFill"></image> -->
<image src="" mode="aspectFill"></image>
</view> </view>
<view class="item-info"> <view class="item-info">
<view class="item-info-title">{{itemCommodity.name}}</view> <view class="item-info-title">{{itemCommodity.name}}</view>
...@@ -84,7 +86,7 @@ ...@@ -84,7 +86,7 @@
</view> </view>
<view class="item-operation-add row con-c align-c"> <view class="item-operation-add row con-c align-c">
<image mode="aspectFill" src="{{imageBase + 'icon/cart-3.png'}}" catchtap="onCommodityAdd"></image> <image mode="aspectFill" src="{{imageBase + 'icon/cart-3.png'}}" data-item="{{itemCommodity}}" catchtap="onCommodityAdd"></image>
</view> </view>
</view> </view>
</view> </view>
...@@ -115,6 +117,12 @@ ...@@ -115,6 +117,12 @@
<image class="banner-swiper-image" src="{{item}}"></image> <image class="banner-swiper-image" src="{{item}}"></image>
</swiper-item> </swiper-item>
</block> </block>
<block wx:if="{{commodityDetail.banner.length === 0}}">
<swiper-item class="banner-swiper-item">
<image class="banner-swiper-image" src="{{resourcesBase + 'commodity/menu/commodity-detail.png'}}"></image>
</swiper-item>
</block>
</swiper> </swiper>
<view class="banner-wave"> <view class="banner-wave">
......
...@@ -108,7 +108,7 @@ Page({ ...@@ -108,7 +108,7 @@ Page({
'dateValid': App.modular.miment().format('YYYY.MM.DD'), // 有效时间 'dateValid': App.modular.miment().format('YYYY.MM.DD'), // 有效时间
'dateInvalid': funcResponse[i].inventorie[0].cardNam, // 失效时间 'dateInvalid': funcResponse[i].inventorie[0].cardNam, // 失效时间
'name': funcResponse[i].name, 'name': funcResponse[i].name,
'cover': funcResponse[i].ticketsImg, // 商品封面 'cover': funcResponse[i].ticketsImg ? funcResponse[i].ticketsImg : this.data.resourcesBase + 'service/service.png',
'price': funcResponse[i].inventorie[0].sightseerPrice, // 普通价 'price': funcResponse[i].inventorie[0].sightseerPrice, // 普通价
'priceText': App.modular.utils.formatAmount(funcResponse[i].inventorie[0].sightseerPrice), // 普通价文本格式 'priceText': App.modular.utils.formatAmount(funcResponse[i].inventorie[0].sightseerPrice), // 普通价文本格式
'priceSpecial': funcResponse[i].inventorie[0].ownerPrice, // 业主价 'priceSpecial': funcResponse[i].inventorie[0].ownerPrice, // 业主价
...@@ -152,7 +152,7 @@ Page({ ...@@ -152,7 +152,7 @@ Page({
'dateValid': App.modular.miment().format('YYYY.MM.DD'), // 有效时间 'dateValid': App.modular.miment().format('YYYY.MM.DD'), // 有效时间
'dateInvalid': App.modular.miment().format('YYYY.MM.DD'), // 失效时间 'dateInvalid': App.modular.miment().format('YYYY.MM.DD'), // 失效时间
'name': funcResponse[i].name, 'name': funcResponse[i].name,
'cover': funcResponse[i].ticketsImg, // 商品封面 'cover': funcResponse[i].ticketsImg ? funcResponse[i].ticketsImg : this.data.resourcesBase + 'service/service.png',
'price': funcResponse[i].sightseerPrice, // 普通价 'price': funcResponse[i].sightseerPrice, // 普通价
'priceText': App.modular.utils.formatAmount(funcResponse[i].sightseerPrice), // 普通价文本格式 'priceText': App.modular.utils.formatAmount(funcResponse[i].sightseerPrice), // 普通价文本格式
'priceSpecial': funcResponse[i].ownerPrice, // 业主价 'priceSpecial': funcResponse[i].ownerPrice, // 业主价
...@@ -219,7 +219,7 @@ Page({ ...@@ -219,7 +219,7 @@ Page({
'dateValid': App.modular.miment().format('YYYY.MM.DD'), // 有效时间 'dateValid': App.modular.miment().format('YYYY.MM.DD'), // 有效时间
'dateInvalid': funcResponse[i].inventorie[0].cardNam, // 失效时间 'dateInvalid': funcResponse[i].inventorie[0].cardNam, // 失效时间
'name': funcResponse[i].name, 'name': funcResponse[i].name,
'cover': funcResponse[i].ticketsImg, // 商品封面 'cover': funcResponse[i].ticketsImg ? funcResponse[i].ticketsImg : this.data.resourcesBase + 'service/service.png',
'price': funcResponse[i].inventorie[0].sightseerPrice, // 普通价 'price': funcResponse[i].inventorie[0].sightseerPrice, // 普通价
'priceText': App.modular.utils.formatAmount(funcResponse[i].inventorie[0].sightseerPrice), // 普通价文本格式 'priceText': App.modular.utils.formatAmount(funcResponse[i].inventorie[0].sightseerPrice), // 普通价文本格式
'priceSpecial': funcResponse[i].inventorie[0].ownerPrice, // 业主价 'priceSpecial': funcResponse[i].inventorie[0].ownerPrice, // 业主价
...@@ -263,7 +263,7 @@ Page({ ...@@ -263,7 +263,7 @@ Page({
'dateValid': App.modular.miment().format('YYYY.MM.DD'), // 有效时间 'dateValid': App.modular.miment().format('YYYY.MM.DD'), // 有效时间
'dateInvalid': App.modular.miment().format('YYYY.MM.DD'), // 失效时间 'dateInvalid': App.modular.miment().format('YYYY.MM.DD'), // 失效时间
'name': funcResponse[i].name, 'name': funcResponse[i].name,
'cover': funcResponse[i].ticketsImg, // 商品封面 'cover': funcResponse[i].ticketsImg ? funcResponse[i].ticketsImg : this.data.resourcesBase + 'service/service.png', // 商品封面
'price': funcResponse[i].sightseerPrice, // 普通价 'price': funcResponse[i].sightseerPrice, // 普通价
'priceText': App.modular.utils.formatAmount(funcResponse[i].sightseerPrice), // 普通价文本格式 'priceText': App.modular.utils.formatAmount(funcResponse[i].sightseerPrice), // 普通价文本格式
'priceSpecial': funcResponse[i].ownerPrice, // 业主价 'priceSpecial': funcResponse[i].ownerPrice, // 业主价
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
.shop-name { .shop-name {
width: 606rpx; width: 606rpx;
height: 70rpx; height: 80rpx;
} }
.shop-name image { .shop-name image {
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
.commodity-item { .commodity-item {
padding-bottom: 50rpx; padding-bottom: 50rpx;
margin-top: 50rpx; margin-top: 50rpx;
border-bottom: 1rpx #E2E7EF solid; border-bottom: 0.5px #E2E7EF solid;
} }
.commodity-item:last-child { .commodity-item:last-child {
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
width: 120rpx; width: 120rpx;
height: 56rpx; height: 56rpx;
margin-top: 24rpx; margin-top: 24rpx;
border-radius: 4rpx; border-radius: 2px;
background: #86C5E1; background: #86C5E1;
font-size: 22rpx; font-size: 22rpx;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<image hidden="{{item.isActive}}" class="list-item-selection-icon" src="/image/icon/selection-inactive.png" slot="icon"></image> <image hidden="{{item.isActive}}" class="list-item-selection-icon" src="/image/icon/selection-inactive.png" slot="icon"></image>
</l-checkbox> </l-checkbox>
</l-checkbox-group> </l-checkbox-group>
<image src="{{item.cover}}" mode="widthFix"></image> <image src="{{item.cover}}" mode="aspectFill"></image>
</view> </view>
<view class="list-item-info col"> <view class="list-item-info col">
<view class="list-item-name"> <view class="list-item-name">
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<view class="list-item-other row con-b"> <view class="list-item-other row con-b">
<!-- 活动价样式 --> <!-- 活动价样式 -->
<view class="list-item-price" wx:if="{{item.priceType === 1}}"> <view class="list-item-price" wx:if="{{item.priceType === 1}}">
<view class="list-item-price-main row align-c"> <view class="list-item-price-main row align-e">
<text>¥</text> <text>¥</text>
<text>{{item.priceDiscountText}}</text> <text>{{item.priceDiscountText}}</text>
<text class="price-discount">活动价</text> <text class="price-discount">活动价</text>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<!-- 业主价样式 --> <!-- 业主价样式 -->
<view class="list-item-price" wx:if="{{item.priceType === 2}}"> <view class="list-item-price" wx:if="{{item.priceType === 2}}">
<view class="list-item-price-main row align-c"> <view class="list-item-price-main row align-e">
<text>¥</text> <text>¥</text>
<text>{{item.priceSpecialText}}</text> <text>{{item.priceSpecialText}}</text>
<text class="price-special">业主价</text> <text class="price-special">业主价</text>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<!-- 普通价样式 --> <!-- 普通价样式 -->
<view class="list-item-price" wx:if="{{item.priceType === 3}}"> <view class="list-item-price" wx:if="{{item.priceType === 3}}">
<view class="list-item-price-main row align-c"> <view class="list-item-price-main row align-e">
<text>¥</text> <text>¥</text>
<text>{{item.priceText}}</text> <text>{{item.priceText}}</text>
<text></text> <text></text>
...@@ -67,9 +67,10 @@ ...@@ -67,9 +67,10 @@
<view class="list-item-quantity col con-e align-e"> <view class="list-item-quantity col con-e align-e">
<view class="list-item-quantity-operation row con-b align-c"> <view class="list-item-quantity-operation row con-b align-c">
<text class="{{item.quantity === item.quantityMin ? '' : ''}}" data-index="{{index}}" bindtap="onQuantityReduce">-</text> <image src="{{imageBase + 'icon/cut-1.png'}}" data-index="{{index}}" bindtap="onQuantityReduce"></image>
<text>{{item.quantity}}</text> <text>{{item.quantity}}</text>
<text class="{{item.quantityMax <= item.quantity ? 'list-item-quantity-disable' : ''}}" data-index="{{index}}" bindtap="onQuantityAdd">+</text> <image hidden="{{item.quantityMax <= item.quantity}}" src="{{imageBase + 'icon/add-1.png'}}" data-index="{{index}}" bindtap="onQuantityAdd"></image>
<image hidden="{{item.quantityMax > item.quantity}}" src="{{imageBase + 'icon/add-2.png'}}" data-index="{{index}}" bindtap="onQuantityAdd"></image>
</view> </view>
<view class="list-item-quantity-warning"> <view class="list-item-quantity-warning">
<text>{{item.quantityMax < 5 ? '仅剩' + item.quantityMax + '件' : ''}}</text> <text>{{item.quantityMax < 5 ? '仅剩' + item.quantityMax + '件' : ''}}</text>
...@@ -82,7 +83,7 @@ ...@@ -82,7 +83,7 @@
</view> </view>
<!-- 只有在食品购物车才出现 --> <!-- 只有在食品购物车才出现 -->
<view class="pay-tip row align-c" wx:if="{{isFoodCart && cart.length > 0}}"> <view class="pay-tip row align-c" wx:if="{{shopInfo.shopType === 5}}">
<image src="{{imageBase + 'icon/warning-4.png'}}"></image> <image src="{{imageBase + 'icon/warning-4.png'}}"></image>
<text>请在下单3天内取餐,逾期无效</text> <text>请在下单3天内取餐,逾期无效</text>
</view> </view>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
} }
.container { .container {
margin-top: 150rpx; margin-top: 130rpx;
} }
.shop-info { .shop-info {
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
/* 购物车列表 */ /* 购物车列表 */
.shopping-cart-list { .shopping-cart-list {
width: 750rpx; width: 750rpx;
margin-top: 50rpx; margin-top: 38rpx;
padding-bottom: 240rpx; padding-bottom: 240rpx;
} }
...@@ -75,20 +75,22 @@ ...@@ -75,20 +75,22 @@
color: #15191F; color: #15191F;
} }
.list-item-price {
margin-top: 8rpx;
}
.list-item-price-main text:nth-child(1) { .list-item-price-main text:nth-child(1) {
height: 42rpx;
font-size: 22rpx; font-size: 22rpx;
font-weight: 500; font-weight: 800;
line-height: 42rpx; line-height: 24rpx;
color: #15191F; color: #15191F;
} }
.list-item-price-main text:nth-child(2) { .list-item-price-main text:nth-child(2) {
height: 42rpx;
margin-right: 8rpx; margin-right: 8rpx;
font-size: 30rpx; font-size: 30rpx;
font-weight: 500; font-weight: 800;
line-height: 42rpx; line-height: 30rpx;
color: #15191F; color: #15191F;
} }
...@@ -118,6 +120,10 @@ ...@@ -118,6 +120,10 @@
color: #E8D0AF; color: #E8D0AF;
} }
.list-item-price-minor {
margin-top: 6rpx;
}
.list-item-price-minor text { .list-item-price-minor text {
height: 32rpx; height: 32rpx;
font-size: 22rpx; font-size: 22rpx;
...@@ -135,33 +141,27 @@ ...@@ -135,33 +141,27 @@
.list-item-quantity-operation { .list-item-quantity-operation {
width: 168rpx; width: 168rpx;
height: 48rpx; height: 48rpx;
padding: 0 16rpx; padding: 0 14rpx;
border: 1px solid #DBDFE5; border: 1px solid #DBDFE5;
border-radius: 4rpx; border-radius: 4rpx;
} }
.list-item-quantity-operation text:nth-child(1) { .list-item-quantity-operation image {
width: 24rpx; width: 24rpx;
height: 24rpx; height: 24rpx;
line-height: 24rpx;
} }
.list-item-quantity-operation text:nth-child(2) { .list-item-quantity-operation text {
height: 36rpx; width: 54rpx;
font-size: 26rpx;
font-weight: 500;
line-height: 36rpx;
color: #15191F;
}
.list-item-quantity-operation text:nth-child(3) {
width: 24rpx;
height: 24rpx; height: 24rpx;
line-height: 24rpx; border: 1px #DBDFE5 solid;
} border-style: none solid none solid;
.list-item-quantity-disable { text-align: center;
color: #CDD1D7; font-size: 24rpx;
font-weight: 500;
line-height: 24rpx;
color: #15191F;
} }
.list-item-quantity-warning { .list-item-quantity-warning {
...@@ -259,11 +259,12 @@ ...@@ -259,11 +259,12 @@
.order-pay-wrap { .order-pay-wrap {
width: 188rpx; width: 188rpx;
height: 96rpx; height: 96rpx;
border-radius: 2px;
background: #86c5e1;
font-size: 30rpx; font-size: 30rpx;
color: #fff;
font-weight: 600; font-weight: 600;
background-color: #86c5e1; color: #fff;
border-radius: 4rpx;
} }
.popup-wrap { .popup-wrap {
......
...@@ -347,9 +347,6 @@ Page({ ...@@ -347,9 +347,6 @@ Page({
describe: funcDetail[funcIndex].describe, describe: funcDetail[funcIndex].describe,
contact: funcDetail[funcIndex].contact, contact: funcDetail[funcIndex].contact,
}, },
// detailActivity: funcDetail[funcIndex].activity,
// detailCommodity: funcDetail[funcIndex].commodity,
// detailEvaluate: funcDetail[funcIndex].evaluate,
}) })
} }
}) })
...@@ -403,7 +400,7 @@ Page({ ...@@ -403,7 +400,7 @@ Page({
let funcList = [] let funcList = []
for (let i = 0, l = funcResponse.length; i < l; i++) { for (let i = 0, l = funcResponse.length; i < l; i++) {
let funcItem = { let funcItem = {
'cover': funcResponse[i].cover, 'cover': funcResponse[i].cover ? funcResponse[i].cover : this.data.resourcesBase + 'play/shop/commodity-card.png',
'id': funcResponse[i].id, 'id': funcResponse[i].id,
'title': funcResponse[i].name, 'title': funcResponse[i].name,
'officeId': funcResponse[i].officeId, 'officeId': funcResponse[i].officeId,
...@@ -465,8 +462,7 @@ Page({ ...@@ -465,8 +462,7 @@ Page({
'typeId': funcResponse[i].genre, // 商品类别标识 'typeId': funcResponse[i].genre, // 商品类别标识
'sidebarId': funcResponse[i].classifyId, // 商品分类标识 'sidebarId': funcResponse[i].classifyId, // 商品分类标识
'name': funcResponse[i].name, 'name': funcResponse[i].name,
'cover': funcResponse[i].coverImg, // 商品封面 'cover': funcResponse[i].coverImg ? funcResponse[i].coverImg : this.data.resourcesBase + 'play/shop/commodity-card.png',
'img': funcResponse[i].img.split('|'), // 商品详情图
'price': funcResponse[i].sightseerPrice, // 普通价 'price': funcResponse[i].sightseerPrice, // 普通价
'priceText': App.modular.utils.formatAmount(funcResponse[i].sightseerPrice), // 普通价文本格式 'priceText': App.modular.utils.formatAmount(funcResponse[i].sightseerPrice), // 普通价文本格式
'priceSpecial': funcResponse[i].ownerPrice, // 业主价 'priceSpecial': funcResponse[i].ownerPrice, // 业主价
...@@ -524,7 +520,7 @@ Page({ ...@@ -524,7 +520,7 @@ Page({
'name': funcResponse[i].activityId, 'name': funcResponse[i].activityId,
'dateBegin': funcResponse[i].beginDate, 'dateBegin': funcResponse[i].beginDate,
'dateEnd': funcResponse[i].endDate, 'dateEnd': funcResponse[i].endDate,
'cover': funcResponse[i].cover, 'cover': funcResponse[i].cover ? funcResponse[i].cover : this.data.resourcesBase + 'play/shop/commodity-card.png',
'movieDirector': funcResponse[i].filmDirector, 'movieDirector': funcResponse[i].filmDirector,
'movieLeader': funcResponse[i].filmLead, 'movieLeader': funcResponse[i].filmLead,
'movieName': funcResponse[i].filmName, 'movieName': funcResponse[i].filmName,
...@@ -859,7 +855,6 @@ Page({ ...@@ -859,7 +855,6 @@ Page({
* @returns * @returns
*/ */
onCommodityAll: function () { onCommodityAll: function () {
console.log(this.data.option)
switch (Number(this.data.option.id)) { switch (Number(this.data.option.id)) {
case 7: case 7:
wx.navigateTo({ wx.navigateTo({
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
<block wx:for="{{detailCommodity}}" wx:for-index="index" wx:for-item="item" wx:key="index"> <block wx:for="{{detailCommodity}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="commodity-card-item col"> <view class="commodity-card-item col">
<view class="commodity-card-item-cover row con-c align-c"> <view class="commodity-card-item-cover row con-c align-c">
<image mode="aspectFit" src="{{item.img[0] ? item.img[0] : emptyImg}}"></image> <image mode="aspectFill" src="{{item.cover}}"></image>
</view> </view>
<view class="commodity-card-item-title row con-b align-c"> <view class="commodity-card-item-title row con-b align-c">
<text>{{item.name}}</text> <text>{{item.name}}</text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment