Bläddra i källkod

个人中心,添加公共无数据样式

master
@weixixuan 2 dagar sedan
förälder
incheckning
1042a1d0bb

+ 22
- 0
static/css/common.scss Visa fil

} }
.common-word{ .common-word{
color: #CCB375 ; color: #CCB375 ;
}

.fixed-bottom-box{
position: fixed;
left: 0;
bottom: 0;
background-color: #fff;
border-radius: 30rpx 30rpx 0 0;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: 20rpx;
padding: 24rpx 0 calc(24rpx + env(safe-area-inset-bottom));
.default{
border: 1rpx solid #01243A;
font-size: 28rpx;
border-radius: 10rpx;
padding: 2rpx 6rpx;
margin-left: 10rpx;
}
} }

+ 4
- 24
subpackage/orders/invoiceApply/invoice-header-list.vue Visa fil



</view> </view>
<!-- <view style="text-align: center;margin: 20rpx;font-size: 30rpx;" v-if="state.flags">我是有底线的~</view> --> <!-- <view style="text-align: center;margin: 20rpx;font-size: 30rpx;" v-if="state.flags">我是有底线的~</view> -->
<view class="no" v-if="form.data.length==0">暂无发票抬头</view>
<NoDataView v-if="form.data.length == 0" text="暂无发票抬头" />
</view> </view>
<view class="action">
<view class="fixed-bottom-box">
<button type="default" class="ui-btn" @click="add()"> <button type="default" class="ui-btn" @click="add()">
添加新抬头 添加新抬头
</button> </button>
import { import {
getItem getItem
} from "@/utils/storage"; } from "@/utils/storage";
import NoDataView from "@/components/no-data-view/no-data-view.vue";
// 表单数据 // 表单数据
const form = reactive({ const form = reactive({
userMobile: "", userMobile: "",
} }
} }
} }

.action {
position: fixed;
left: 0;
bottom: 0;
height: 188rpx;
background-color: #fff;
border-radius: 30rpx 30rpx 0 0;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: 20rpx;
}
.default{
border: 1rpx solid #01243A;
font-size: 28rpx;
border-radius: 10rpx;
padding: 2rpx 6rpx;
margin-left: 10rpx;
}
</style> </style>

+ 2
- 13
subpackage/personal-center/setting/addressManager.vue Visa fil

</view> </view>
</view> </view>
<NoDataView v-if="state.addressArray.length == 0" :text="'暂无收货地址'"></NoDataView> <NoDataView v-if="state.addressArray.length == 0" :text="'暂无收货地址'"></NoDataView>
<view style="margin-top: 60rpx" class="action-bottom">
<view class="fixed-bottom-box">
<button type="default" class="ui-btn" @click="goToAddAddress()"> <button type="default" class="ui-btn" @click="goToAddAddress()">
添加收货地址 添加收货地址
</button> </button>
} }
} }
} }

.action-bottom {
padding-bottom: 30rpx;
}

.default {
border: 1rpx solid #004576;
border-radius: 5rpx;
padding: 2rpx 4rpx;
color: #004576;
margin-left: 4rpx;
}
</style> </style>

+ 2
- 6
subpackage/service/equityList/equityList.vue Visa fil

<image class="icon-back" src="/static/image/icon-back.png" mode=""></image> <image class="icon-back" src="/static/image/icon-back.png" mode=""></image>
</view> </view>
</view> </view>
<view v-if="listData.length==0" class="no">暂无数据</view>
<NoDataView v-if="listData.length==0" text="暂无数据" />
</template> </template>
<script setup lang='ts'> <script setup lang='ts'>
import { reactive } from "vue"; import { reactive } from "vue";
import { import {
stringToJson stringToJson
} from "@/utils/network/encryption"; } from "@/utils/network/encryption";
import NoDataView from "@/components/no-data-view/no-data-view.vue";
import { msg } from "@/utils/utils"; import { msg } from "@/utils/utils";
import {onShow} from "@dcloudio/uni-app"; import {onShow} from "@dcloudio/uni-app";
let listData = ref([]) let listData = ref([])
} }
</style> </style>
<style lang='scss' scoped> <style lang='scss' scoped>
.no{
text-align: center;
margin: 40rpx auto;
font-size: 28rpx;
}
.list { .list {
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;

Laddar…
Avbryt
Spara