wong1988 1 year ago
parent
commit
7379287897
  1. 19
      pages/home/cloudCard2.vue

19
pages/home/cloudCard2.vue

@ -52,13 +52,13 @@
<view style="width: 100%; display: flex;flex-direction: column;overflow-y: auto;">
<view v-for="(item,index) in goods" @click="itemClick(item.goodsSid)"
<view v-for="(item,index) in goods"
style="display: flex;flex-direction: column;justify-content: center;width: 95%; margin-top: 15px; margin-left: 3%;">
<view style="display: flex;flex-direction: row;align-items: center;width: 100%; ">
<image :src="item.iconUrl" style="width: 90px;height: 90px; border-radius: 10px; "
mode="aspectFill"></image>
mode="aspectFill" @click="itemClick(item.goodsSid)"></image>
<view
style="display: flex;flex-direction: column;flex: 1; padding-bottom: 15px; margin-left: 10px;"
@ -125,8 +125,7 @@
</view>
<view id="bomView"
style="display: flex;flex-direction: row;align-items: center; margin-left: 15px;">
<view id="bomView" style="display: flex;flex-direction: row;align-items: center;">
<view style="color: #888;font-size: 10px;height: 10px;line-height: 10px;margin-top: 5px;">
温馨提示已订</view>
<view
@ -315,7 +314,7 @@
var params = {
customerSid: getApp().globalData.sid,
affiliation: this.data.brandVos[this.selectIndex2].id,
brandId: this.data.brandVos[this.selectIndex2].id,
}
_this.$api.getGoodsWeight(params).then((resp) => {
@ -609,7 +608,7 @@
},
gotoCart() {
uni.navigateTo({
url: '/pages/good/shoppCart?affiliation=' + this.brandType
url: '/pages/good/shoppCart?affiliation=' + this.data.brandVos[this.selectIndex2].id
})
},
onShareAppMessage: function(res) {
@ -707,8 +706,8 @@
margin-top: 10px;
margin-bottom: 10px;
text-align: center;
padding-top: 5px;
padding-bottom: 5px;
padding-top: 7px;
padding-bottom: 7px;
margin-left: 5px;
}
@ -719,8 +718,8 @@
font-size: 12px;
margin-top: 10px;
margin-bottom: 10px;
padding-top: 5px;
padding-bottom: 5px;
padding-top: 7px;
padding-bottom: 7px;
text-align: center;
font-weight: bold;
border-radius: 20px;

Loading…
Cancel
Save