Commit 98d6c7a7 authored by 秦威威's avatar 秦威威

优化

parent b4509306
......@@ -66,21 +66,23 @@
tabIndex: 0,
pageNum: 1,
pageSize: 10,
tabsVal: '保养',
tabsVal: '',
list: [],
}
},
onShow() {
this.getListData()
this.getStoreTypeListData()
},
methods: {
getStoreTypeListData() {
this.$http.get('/api/client/index/storeTypeList', {
storeTypeId: 1,
}).then(res => {
this.tabsList = res.data.data
if (res.data.data != null) {
this.tabsVal = res.data.data[0].id
this.getListData()
}
})
},
getListData() {
......@@ -94,7 +96,7 @@
},
ONtab(data, index) {
this.tabIndex = index
this.tabsVal = data.name
this.tabsVal = data.id
this.getListData()
}
}
......@@ -107,13 +109,15 @@
box-sizing: border-box;
background-color: #fafbff;
min-height: 100vh;
.uempty{
image{
.uempty {
image {
width: 376rpx;
display: block;
margin: 0 auto;
}
text{
text {
display: block;
text-align: center;
color: #ccc;
......
......@@ -189,7 +189,7 @@
@click="goPrductDetail(item)">
<view class="product-card u-f u-f-fdc">
<image style="width: 100%;height: 288rpx;border-radius: 18rpx 18rpx 0rpx 0rpx;"
:mode="'scaleToFill'" :src="item.goodsImage"></image>
:mode="'aspectFill'" :src="item.goodsImage"></image>
<view class="pc-desc fw400 fs28 mg-top-10 one-line-ellipsis">
{{item.goodsName}}
</view>
......
......@@ -50,7 +50,7 @@
<!-- 投入资金 -->
<view class="menuItem">
<view class="menulabel">
投入资金
投入资金(元)
</view>
<input type="text" v-model="investcapital" placeholder="请输入计划投入资金" />
</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment