| | |
| | | {
|
| | | "path": "shop/shop",
|
| | | "style": {
|
| | | "navigationBarTitleText": "商家主页"
|
| | | "navigationBarTitleText": "商家主页", |
| | | "enablePullDownRefresh": true
|
| | | }
|
| | | },
|
| | | {
|
| | |
| | | display: flex; |
| | | |
| | | .tag { |
| | | min-width: 80rpx; |
| | | padding-left: 20rpx; |
| | | padding-right: 20rpx; |
| | | line-height: 36rpx; |
| | | min-width: 60rpx; |
| | | padding-left: 10rpx; |
| | | padding-right: 10rpx; |
| | | line-height: 30rpx; |
| | | background: #FEE6E6; |
| | | border-radius: 21rpx; |
| | | font-size: 24rpx; |
| | | border-radius: 10rpx; |
| | | font-size: 22rpx; |
| | | color: #CD1212; |
| | | margin-right: 12rpx; |
| | | text-align: center; |
| | |
| | | .tag.green { |
| | | color: rgba(110, 159, 102, 1); |
| | | background: rgba(202, 229, 214, 1); |
| | | border-radius: 21rpx; |
| | | border-radius: 10rpx; |
| | | // opacity: 0.57; |
| | | } |
| | | } |
| | |
| | | <!-- 置顶的花列表 -->
|
| | | <home-top-flow></home-top-flow>
|
| | |
|
| | | <view style="min-height:180rpx">
|
| | | <view style="min-height:140rpx">
|
| | | </view>
|
| | | <common-footer flg="0"></common-footer>
|
| | |
|
| | |
| | | this.$message.showToast('提交成功') |
| | | this.showSales = false |
| | | this.$forceUpdate() |
| | | setTimeout(() => { |
| | | uni.navigateBack() |
| | | }, 1200) |
| | | } |
| | | }, |
| | | }, |
| | |
| | |
|
| | |
|
| | | <!-- #ifdef PUB_CUSTOMER -->
|
| | | <view style="padding-bottom:200rpx">
|
| | | <view style="padding-bottom:140rpx">
|
| | | </view>
|
| | | <common-footer flg="3"></common-footer>
|
| | |
|
| | |
| | | <view class="flex m-t-12 flex-wrap-normal">
|
| | | <view class="type-list" v-if="flg==='1'">
|
| | | <view v-for="(item,index) of catgoryTree" @click="changeType(item)"
|
| | | :class="[query.categoryRoot===item.id?'current':'']" :key="index" class="p10 flex type-item">
|
| | | :class="[query.categoryRoot===item.id?'current':'']" :key="index"
|
| | | class="p10 flex type-item">
|
| | | {{item.name || '-'}}
|
| | | </view>
|
| | | </view>
|
| | | <view class="flex1">
|
| | |
|
| | |
|
| | | <view class="component-shop-item flex" v-for="(item,index) of list" :key="index" :class="flg==='1'?'flg-category':''">
|
| | | <view class="component-shop-item flex" v-for="(item,index) of list" :key="index"
|
| | | :class="flg==='1'?'flg-category':''">
|
| | | <view class="img" @click.stop="toDetail(item)">
|
| | | <image class="img img100" :src="item.cover" lazy-load>
|
| | | </image>
|
| | |
| | | onShow() {
|
| | | //避免商品数目不一样
|
| | | this.refreshList('post')
|
| | | },
|
| | | async onPullDownRefresh() {
|
| | | if (this.id) {
|
| | | await this.getDetail()
|
| | | }
|
| | | await this.refreshList('post')
|
| | | uni.stopPullDownRefresh()
|
| | |
|
| | | },
|
| | | onLoad(options) {
|
| | | this.id = options.id || ''
|
| | |
| | | display: flex; |
| | | |
| | | .tag { |
| | | min-width: 80rpx; |
| | | padding-left: 20rpx; |
| | | padding-right: 20rpx; |
| | | line-height: 36rpx; |
| | | min-width: 60rpx;
|
| | | padding-left: 10rpx;
|
| | | padding-right: 10rpx;
|
| | | line-height: 30rpx;
|
| | | background: #FEE6E6; |
| | | border-radius: 21rpx; |
| | | font-size: 24rpx; |
| | | border-radius: 10rpx;
|
| | | font-size: 22rpx;
|
| | | color: #CD1212; |
| | | margin-right: 12rpx; |
| | | text-align: center; |
| | |
| | | .tag.green { |
| | | color: rgba(110, 159, 102, 1); |
| | | background: rgba(202, 229, 214, 1); |
| | | border-radius: 21rpx; |
| | | border-radius: 10rpx;
|
| | | // opacity: 0.57; |
| | | } |
| | | }
|
| | |
| | | overflow: hidden;
|
| | | overflow-y: scroll;
|
| | | padding: 40rpx 32rpx;
|
| | | height: calc(100vh - 450rpx);
|
| | | min-height: calc(100vh - 470rpx);
|
| | | max-height: calc(100vh - 470rpx);
|
| | | padding-top: 0rpx;
|
| | |
|
| | | .type-list {
|
| | |
| | | color: #04BA97;
|
| | | }
|
| | | }
|
| | |
|
| | | .flg-category.component-shop-item{
|
| | | .img{
|
| | | width: 140rpx;
|
| | | height: 140rpx;
|
| | | margin-top: 10rpx;
|
| | | }
|
| | |
|
| | | .info-container{
|
| | | .title {
|
| | | margin-top: 0rpx;
|
| | | }
|
| | | .shop-name{
|
| | |
|
| | | }
|
| | | .shop-name {}
|
| | |
|
| | | .other-info {
|
| | | margin-bottom: 60rpx;
|
| | | }
|
| | |
|
| | | .bottom-buttons{
|
| | | bottom: -50rpx;
|
| | | }
|
| | |
| | | </view> |
| | | |
| | | </view> |
| | | <view style="min-height:200rpx"> |
| | | <view style="min-height:140rpx;background-color: #fff;"> |
| | | </view> |
| | | <view class="bottom-price flex"> |
| | | <view class="m-t-12"> |
| | |
| | | 提交订单 |
| | | </view> |
| | | </view> |
| | | <view style="min-height:200rpx"> |
| | | <view style="min-height:140rpx"> |
| | | </view> |
| | | <common-footer flg="2"></common-footer> |
| | | </view> |
| | |
| | | this.ids.push(item.id) |
| | | } |
| | | }) |
| | | //如果所有的话都悬赏了,设置为return true; |
| | | var tmpSelectAll = true |
| | | for (var i = 0; i < this.list.length; i++) { |
| | | for (var j = 0; j < this.list[i].flowerList.length; j++) { |
| | | if (this.ids.indexOf(this.list[i].flowerList[j].id) < 0) { |
| | | tmpSelectAll = false |
| | | break |
| | | } |
| | | } |
| | | |
| | | } |
| | | this.checkall = tmpSelectAll |
| | | |
| | | |
| | | } else { |
| | | this.checkall = false |
| | | this.ids.splice(this.ids.indexOf('supplier@' + dto.supplierId), 1) |
| | |
| | | } else { |
| | | console.log('has', this.ids, dto) |
| | | } |
| | | //如果所有的话都悬赏了,设置为return true; |
| | | var tmpSelectAll = true |
| | | for (var i = 0; i < this.list.length; i++) { |
| | | for (var j = 0; j < this.list[i].flowerList.length; j++) { |
| | | if (this.ids.indexOf(this.list[i].flowerList[j].id) < 0) { |
| | | tmpSelectAll = false |
| | | break |
| | | } |
| | | } |
| | | |
| | | } |
| | | this.checkall = tmpSelectAll |
| | | |
| | | } else { |
| | | this.checkall = false |
| | |
| | | padding: 20rpx; |
| | | right: 0rpx; |
| | | // bottom: 160rpx; |
| | | bottom: 130rpx; |
| | | bottom: 120rpx; |
| | | z-index: 11; |
| | | } |
| | | |
| | |
| | | display: flex;
|
| | |
|
| | | .tag {
|
| | | min-width: 80rpx;
|
| | | padding-left: 20rpx;
|
| | | padding-right: 20rpx;
|
| | | line-height: 36rpx;
|
| | | min-width: 60rpx;
|
| | | padding-left: 10rpx; |
| | | padding-right: 10rpx; |
| | | line-height: 30rpx; |
| | | background: #FEE6E6;
|
| | | border-radius: 21rpx;
|
| | | font-size: 24rpx;
|
| | | border-radius: 10rpx; |
| | | font-size: 22rpx; |
| | | color: #CD1212;
|
| | | margin-right: 12rpx;
|
| | | text-align: center;
|
| | |
| | | .tag.green {
|
| | | color: rgba(110, 159, 102, 1);
|
| | | background: rgba(202, 229, 214, 1);
|
| | | border-radius: 21rpx;
|
| | | border-radius: 10rpx; |
| | | // opacity: 0.57;
|
| | | }
|
| | | }
|
| | |
| | | display: flex;
|
| | |
|
| | | .tag {
|
| | | min-width: 80rpx;
|
| | | padding-left: 20rpx;
|
| | | padding-right: 20rpx;
|
| | | line-height: 36rpx;
|
| | | min-width: 60rpx;
|
| | | padding-left: 10rpx; |
| | | padding-right: 10rpx; |
| | | line-height: 30rpx; |
| | | background: #FEE6E6;
|
| | | border-radius: 21rpx;
|
| | | font-size: 24rpx;
|
| | | border-radius: 10rpx; |
| | | font-size: 22rpx; |
| | | color: #CD1212;
|
| | | margin-right: 12rpx;
|
| | | text-align: center;
|
| | |
| | | .tag.green {
|
| | | color: rgba(110, 159, 102, 1);
|
| | | background: rgba(202, 229, 214, 1);
|
| | | border-radius: 21rpx;
|
| | | border-radius: 10rpx; |
| | | // opacity: 0.57;
|
| | | }
|
| | | }
|
| | |
| | | </u-input>
|
| | | </view>
|
| | | </view>
|
| | | <view class="canteen-items" :style="{'min-height':hidefooter?'':'calc(100vh - 160rpx)'}">
|
| | | <view class="canteen-items" :style="{'min-height':hidefooter?'':'calc(100vh - 340rpx)'}">
|
| | | <view v-if="(!list||list.length==0)&&true" style="width: 100%;min-height: 200rpx;">
|
| | |
|
| | | </view>
|
| | |
| | | </view>
|
| | |
|
| | | </view>
|
| | | <view style="padding-bottom:100rpx">
|
| | | <view style="padding-bottom:40rpx">
|
| | | </view>
|
| | | </view>
|
| | | <footer-msg v-if="!hidefooter" :more="page.total>0&&page.total>page.current*page.size"></footer-msg>
|
| | |
| | |
|
| | |
|
| | |
|
| | | <view style="min-height:200rpx" v-if="!hidefooter">
|
| | | <view style="min-height:100rpx" v-if="!hidefooter">
|
| | | </view>
|
| | | <common-footer flg="1" v-if="!hidefooter">></common-footer>
|
| | |
|
| | |
| | | min-width: 178rpx;
|
| | | background: #EEF7F5;
|
| | | border-radius: 8rpx;
|
| | | min-height: calc(100vh - 300rpx);
|
| | | max-height: calc(100vh - 300rpx);
|
| | | min-height: calc(100vh - 270rpx);
|
| | | max-height: calc(100vh - 270rpx);
|
| | | overflow-y: scroll;
|
| | | margin-right: 16rpx;
|
| | |
|
| | |
| | | .canteen-item-container {
|
| | | width: 100%;
|
| | | min-height: 300rpx;
|
| | | max-height: calc(100vh - 200rpx);
|
| | | max-height: calc(100vh - 270rpx);
|
| | | overflow-y: scroll;
|
| | | }
|
| | |
|