ui
叶富雄
2026-03-14 b23c41dd8f3096eec2f94931d88f5be297cc9de1
ui
6 files modified
2 files deleted
159 ■■■■ changed files
App.vue 20 ●●●● patch | view | raw | blame | history
components/picker/aliCredit.vue 33 ●●●●● patch | view | raw | blame | history
components/picker/areas.vue 68 ●●●●● patch | view | raw | blame | history
pages/bank/bank.vue 8 ●●●● patch | view | raw | blame | history
pages/carts/carts.vue 10 ●●●● patch | view | raw | blame | history
pages/cates/cates.vue 10 ●●●● patch | view | raw | blame | history
pages/catesList/catesList.vue 4 ●●●● patch | view | raw | blame | history
pages/collect/collect.vue 6 ●●●● patch | view | raw | blame | history
App.vue
@@ -89,13 +89,13 @@
    }
    .noData{
        width: 100%;
        font-size: 28rpx;
        font-size: 28upx;
    }
    .noData image{
        width: 120rpx;
        height: 100rpx;
        width: 120upx;
        height: 100upx;
        display: block;
        margin: 100rpx auto 30rpx;
        margin: 100upx auto 30upx;
    }
    .noData view{
        width: 100%;
@@ -103,13 +103,13 @@
        color: #666666;
    }
    .noDataBtn{
        width: 240rpx !important;
        margin: 50rpx auto;
        width: 240upx !important;
        margin: 50upx auto;
        background-color: #ff7945;
        color: #ffffff !important;
        letter-spacing: 10rpx;
        height: 70rpx;
        line-height: 70rpx;
        border-radius: 50rpx;
        letter-spacing: 10upx;
        height: 70upx;
        line-height: 70upx;
        border-radius: 50upx;
    }
</style>
components/picker/aliCredit.vue
File was deleted
components/picker/areas.vue
File was deleted
pages/bank/bank.vue
@@ -7,7 +7,7 @@
                    <text>{{item.phone}}</text>
                </view>
                <view class="bank-v">{{item.bankname}}({{item.bankno}})</view>
                <image class="rgt" src="/static/imgs/right.png" ></image>
                <image class="rgt" src="/static/imgs/right.png" mode=""></image>
                <view class="bank-c">
                    <view class="bank-df">
                        默认:
@@ -16,11 +16,11 @@
                    </view>
                    <view class="bank-c-main">
                        <view class="bank-c-c" @tap="$util.goPages('/pages/addBank/addBank?id=' + item.id)">
                            <image src="/static/imgs/edit.png" ></image>
                            <image src="/static/imgs/edit.png" mode=""></image>
                            <text>编辑</text>
                        </view>
                        <view class="bank-c-c" @tap="delConfirm(item.id, index)">
                            <image src="/static/imgs/del.png" ></image>
                            <image src="/static/imgs/del.png" mode=""></image>
                            <text>删除</text>
                        </view>
                    </view>
@@ -28,7 +28,7 @@
            </view>
        </view>
        <view class="noData" v-else>
            <image src="/static/imgs/noData.png" ></image>
            <image src="/static/imgs/noData.png" mode=""></image>
            <view class="">没有银行卡信息</view>
        </view>
        <view class="bankBtn" @tap="goAdd">添加银行卡</view>
pages/carts/carts.vue
@@ -10,7 +10,7 @@
            <view class="" v-if="cartsData.length > 0">
                <view class="cartsItem" v-for="(item, index) in cartsData">
                    <view class="cartTitle" @tap="cartsClick(item, index)">
                        <image class="cIcon" :src="item.check == 0 ? '/static/imgs/check.png' : '/static/imgs/checked.png'" ></image>
                        <image class="cIcon" :src="item.check == 0 ? '/static/imgs/check.png' : '/static/imgs/checked.png'" mode=""></image>
                        <text>{{item.addtime}}</text>
                    </view>
                    <view class="cartsGoods" @tap="$util.goPages('/pages/ginfo/ginfo?id=' + item.goodsid)">
@@ -33,26 +33,26 @@
                    </view>
                    <view class="carts-nums">
                        <view class="" @tap="setCartsNums(item, 1)">
                            <image src="/static/imgs/minus.png" ></image>
                            <image src="/static/imgs/minus.png" mode=""></image>
                        </view>
                        <view class="">
                            <text>{{item.nums}}</text>
                        </view>
                        <view class="" @tap="setCartsNums(item, 2)">
                            <image src="/static/imgs/add.png" ></image>
                            <image src="/static/imgs/add.png" mode=""></image>
                        </view>
                    </view>
                </view>
            </view>
            <view class="noData" v-else>
                <image src="/static/imgs/noData.png"  style="margin-top: 200rpx;"></image>
                <image src="/static/imgs/noData.png" mode="" style="margin-top: 200upx;"></image>
                <view class="">没有购物车信息</view>
                <view class="noDataBtn" @tap="$util.goSwitch('/pages/cates/cates')">去看看</view>
            </view>
        </view>
        <view class="cartsControll" v-if="cartsData.length > 0">
            <view class="cartsControll-left" @tap="checkTapAll">
                <image class="chooseIcon" :src="checkIds.length == cartsTotal ? '/static/imgs/checked.png' : '/static/imgs/check.png'" ></image>
                <image class="chooseIcon" :src="checkIds.length == cartsTotal ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode=""></image>
                <text>全选</text>
            </view>
            <view class="cartsControll-right">
pages/cates/cates.vue
@@ -2,7 +2,7 @@
    <view>
        <view class="search">
            <view class="searchView">
                <image src="/static/imgs/search.png" ></image>
                <image src="/static/imgs/search.png" mode=""></image>
                <input type="text" v-model="keyword" placeholder="搜索您想要的商品" @confirm="searchGoods" />
                <view class="searchBtn" @tap="searchGoods">搜索</view>
            </view>
@@ -14,11 +14,11 @@
                    <view v-for="(item, index) in catesData" @click="catesClick(item)" :class="catesId == item.id ? 'active' : ''">{{item.title}}</view>
                </scroll-view>
            </view>
            <view class="cates-right" :style="'width:' + goodsWidth + 'px;height:' + (scrollHeight - 10) + 'px;margin-top: 20rpx'" v-if="goodsData.length > 0">
            <view class="cates-right" :style="'width:' + goodsWidth + 'px;height:' + (scrollHeight - 10) + 'px;margin-top: 20upx'" v-if="goodsData.length > 0">
                <scroll-view scroll-y="true" class="scroll-Y">
                    <view class="goods-list">
                        <view class="goods-item" v-for="(item, index) in goodsData" :style="'width:' + goodsItemWidth + 'px;'" @click="$util.goPages('/pages/ginfo/ginfo?id=' + item.id)">
                            <image class="goods-icon" :src="item.icon" ></image>
                            <image class="goods-icon" :src="item.icon" mode=""></image>
                            <view class="goods-title">{{item.title}}</view>
                            <view class="goods-price">
                                <view>¥</view>
@@ -29,8 +29,8 @@
                </scroll-view>
            </view>
            <view class="noData" v-else>
                <image src="/static/imgs/noData.png" style="margin-left: 50%;" ></image>
                <view class="" style="margin-left: 120rpx; width: auto;">没有商品信息</view>
                <image src="/static/imgs/noData.png" style="margin-left: 50%;" mode=""></image>
                <view class="" style="margin-left: 120upx; width: auto;">没有商品信息</view>
            </view>
            
        </view>
pages/catesList/catesList.vue
@@ -1,6 +1,6 @@
<template>
    <view>
        <view class="goodsData" style="margin-top: 30rpx;">
        <view class="goodsData" style="margin-top: 30upx;">
            <view class="goods-list" v-if="goodsData.length > 0">
                <view class="goods-item" v-for="(itm, idx) in goodsData" @click="$util.goPages('/pages/ginfo/ginfo?id=' + itm.id)">
                    <image lazy-load class="goods-icon" :src="itm.icon" mode="widthFix"></image>
@@ -12,7 +12,7 @@
                </view>
            </view>
            <view class="noData" v-else>
                <image src="/static/imgs/noData.png"  style="margin-top: 200rpx;"></image>
                <image src="/static/imgs/noData.png" mode="" style="margin-top: 200upx;"></image>
                <view class="">没有商品信息</view>
            </view>
        </view>
pages/collect/collect.vue
@@ -11,7 +11,7 @@
        <view class="goods-list" v-if="collectData.length > 0">
            <view class="goods-item" v-for="(item, index) in collectData">
                <view class="" @tap="collectClick(item, index)" v-if="delFlag">
                    <image class="checkImg" :src="item.check == 1 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" ></image>
                    <image class="checkImg" :src="item.check == 1 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode=""></image>
                    <view class="msk"></view>
                </view>
                <view class="" @click="$util.goPages('/pages/ginfo/ginfo?id=' + item.goodsid)">
@@ -24,8 +24,8 @@
                </view>
            </view>
        </view>
        <view class="noData" style="margin-top: 250rpx;" v-else>
            <image src="/static/imgs/noData.png" ></image>
        <view class="noData" style="margin-top: 250upx;" v-else>
            <image src="/static/imgs/noData.png" mode=""></image>
            <view class="">没有收藏信息</view>
        </view>
    </view>