| | |
| | | }} |
| | | </view> |
| | | </view> |
| | | <view class="desc m-t-12"> |
| | | <view class="desc m-t-12 flex"> |
| | | <view class="flex1"> |
| | | <view class="m-r-15">已售:{{ ((dto.sales||0) +(dto.realSales||0)) || 0 }}</view> |
| | | <view class="m-r-15">剩余:{{ dto.stock || 0 }}</view> |
| | | <view class=" ">{{ dto.unit || '-' }}</view> |
| | | </view> |
| | | <view class="m-l-a m-r-15"> |
| | | <button open-type="contact" class="component-button-contact"> |
| | | <image src="../../../static/common/icon-kf.png" class="icon-kf m-l-15 img100"></image> |
| | | |
| | | </button> |
| | | |
| | | </view> |
| | | |
| | | </view> |
| | | <view class="flex m-t-12"> |
| | | <view> |
| | |
| | | |
| | | |
| | | |
| | | <view class="m-l-a m-r-15"> |
| | | <button open-type="contact" class="component-button-contact"> |
| | | <image src="../../../static/common/icon-kf.png" class="icon-kf m-l-15 img100"></image> |
| | | |
| | | </button> |
| | | |
| | | </view> |
| | | <view class="m-l-a"> |
| | | <view class="m-r-0 gwc" @click="submitShopping(dto)" v-if="!dto.shopnum"> |
| | | + 购物车 |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="m-r-0 button-icons flex" v-if="dto.shopnum"> |
| | | <uni-icons v-if="dto.shopnum&&dto.shopnum>=1" type="minus" size="32" |
| | | @click.stop="addnum(dto,-1)"></uni-icons> |
| | |
| | | // setTimeout(() => { |
| | | //并且当前用户没有绑定 |
| | | if (tmp.currentInfo.id && tmp.currentInfo.customerDTO.partnerId) { |
| | | |
| | | //如果已经绑定了,显示自己的合伙人价格 |
| | | tmp.sharePartnerUserId = tmp.currentInfo.customerDTO.partnerId |
| | | } else { |
| | | if (tmp.currentInfo.id) { |
| | | await tmp.bindPartnerUser(options.partnerUserId, '') |
| | |
| | | var url = |
| | | `/sub_pages/customer/trade/detail?partnerUserId=${partnerUserId}&id=${this.id}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 |
| | | return { |
| | | // |
| | | title: this.dto.id ? (this.dto.name + " " + (this.dto.price || '-') + '元/扎 ' + (this.dto.unit || '')) : |
| | | // + (this.dto.price || '-') + '元/扎 ' |
| | | title: this.dto.id ? (this.dto.name + " " + (this.dto.unit || '')) : |
| | | "花满芫", |
| | | path: url, |
| | | } |
| | |
| | | var url = |
| | | `/sub_pages/customer/trade/detail?partnerUserId=${partnerUserId}&id=${this.id}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 |
| | | return { |
| | | // |
| | | title: this.dto.id ? (this.dto.name + " " + (this.dto.price || '-') + '元/扎 ' + (this.dto.unit || '')) : |
| | | // + (this.dto.price || '-') + '元/扎 ' |
| | | title: this.dto.id ? (this.dto.name + " " + (this.dto.unit || '')) : |
| | | "花满芫", |
| | | path: url, |
| | | } |
| | |
| | | .icon-kf { |
| | | width: 44rpx; |
| | | height: 44rpx; |
| | | width: 90rpx; |
| | | height: 90rpx; |
| | | } |
| | | |
| | | .gwc { |