xuxueyang
2024-08-15 891b5db055a1d27c6bda2e9700aa57f8bacd7cd2
add 部分ui
已修改10个文件
133 ■■■■■ 文件已修改
pages.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/components/home-top-flow.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/home.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/order-detail.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/user/supplier-user.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/shop/shop.vue 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/shopping/shopping.vue 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/trade/detail.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/trade/list.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/trade/trade.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -381,7 +381,8 @@
                {
                    "path": "shop/shop",
                    "style": {
                        "navigationBarTitleText": "商家主页"
                        "navigationBarTitleText": "商家主页",
                        "enablePullDownRefresh": true
                    }
                },
                {
pages/home/components/home-top-flow.vue
@@ -125,13 +125,13 @@
                    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;
@@ -140,7 +140,7 @@
                    .tag.green {
                        color: rgba(110, 159, 102, 1);
                        background: rgba(202, 229, 214, 1);
                        border-radius: 21rpx;
                        border-radius: 10rpx;
                        // opacity: 0.57;
                    }
                }
pages/home/home.vue
@@ -71,7 +71,7 @@
        <!-- 置顶的花列表 -->
        <home-top-flow></home-top-flow>
        <view style="min-height:180rpx">
        <view style="min-height:140rpx">
        </view>
        <common-footer flg="0"></common-footer>
pages/order/order-detail.vue
@@ -339,7 +339,9 @@
                    this.$message.showToast('提交成功')
                    this.showSales = false
                    this.$forceUpdate()
                    setTimeout(() => {
                    uni.navigateBack()
                    }, 1200)
                }
            },
        },
pages/user/supplier-user.vue
@@ -287,7 +287,7 @@
        <!-- #ifdef PUB_CUSTOMER -->
        <view style="padding-bottom:200rpx">
        <view style="padding-bottom:140rpx">
        </view>
        <common-footer flg="3"></common-footer>
sub_pages/customer/shop/shop.vue
@@ -84,14 +84,16 @@
                <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>
@@ -287,6 +289,14 @@
        onShow() {
            //避免商品数目不一样
            this.refreshList('post')
        },
        async onPullDownRefresh() {
            if (this.id) {
                await this.getDetail()
            }
            await this.refreshList('post')
            uni.stopPullDownRefresh()
        },
        onLoad(options) {
            this.id = options.id || ''
@@ -563,13 +573,13 @@
            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;
@@ -578,7 +588,7 @@
            .tag.green {
                color: rgba(110, 159, 102, 1);
                background: rgba(202, 229, 214, 1);
                border-radius: 21rpx;
                border-radius: 10rpx;
                // opacity: 0.57;
            }
        }
@@ -592,7 +602,8 @@
            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 {
@@ -621,22 +632,25 @@
                    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;
                    }
sub_pages/customer/shopping/shopping.vue
@@ -63,7 +63,7 @@
            </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">
@@ -77,7 +77,7 @@
                提交订单
            </view>
        </view>
        <view style="min-height:200rpx">
        <view style="min-height:140rpx">
        </view>
        <common-footer flg="2"></common-footer>
    </view>
@@ -269,6 +269,20 @@
                                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)
@@ -305,6 +319,18 @@
                        } 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
@@ -426,7 +452,7 @@
            padding: 20rpx;
            right: 0rpx;
            // bottom: 160rpx;
            bottom: 130rpx;
            bottom: 120rpx;
            z-index: 11;
        }
sub_pages/customer/trade/detail.vue
@@ -591,13 +591,13 @@
                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;
@@ -606,7 +606,7 @@
                .tag.green {
                    color: rgba(110, 159, 102, 1);
                    background: rgba(202, 229, 214, 1);
                    border-radius: 21rpx;
                    border-radius: 10rpx;
                    // opacity: 0.57;
                }
            }
sub_pages/customer/trade/list.vue
@@ -526,13 +526,13 @@
            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;
@@ -541,7 +541,7 @@
            .tag.green {
                color: rgba(110, 159, 102, 1);
                background: rgba(202, 229, 214, 1);
                border-radius: 21rpx;
                border-radius: 10rpx;
                // opacity: 0.57;
            }
        }
sub_pages/customer/trade/trade.vue
@@ -19,7 +19,7 @@
                </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;">
                &nbsp;
            </view>
@@ -60,7 +60,7 @@
                            </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>
@@ -72,7 +72,7 @@
        <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>
@@ -358,8 +358,8 @@
            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;
@@ -455,7 +455,7 @@
            .canteen-item-container {
                width: 100%;
                min-height: 300rpx;
                max-height: calc(100vh - 200rpx);
                max-height: calc(100vh - 270rpx);
                overflow-y: scroll;
            }