|
|
@@ -16,6 +16,9 @@
|
|
|
<block v-if="!$util.isEmpty(list.data)">
|
|
|
<block v-for="(productItem, productIndex) in list.data" :key="productIndex">
|
|
|
<t-tr>
|
|
|
+ <t-td>
|
|
|
+ <image :src="productItem.smallCover" style="width:90upx;height:90upx;"></image>
|
|
|
+ </t-td>
|
|
|
<t-td>
|
|
|
<view style="width:230upx;text-align:left;color:black;font-size:28upx;
|
|
|
overflow: hidden; white-space: nowrap; text-overflow: ellipsis;font-weight:bold;"
|
|
|
@@ -25,7 +28,7 @@
|
|
|
</view>
|
|
|
</t-td>
|
|
|
<t-td>
|
|
|
- <input type="number" v-model="productItem.bigCount" class="inp-input" style="border:1upx solid #CCCCCC;font-size:29upx;color:black;" />
|
|
|
+ <input type="number" v-model="productItem.bigCount" class="inp-input" style="border:1upx solid #CCCCCC;font-size:29upx;color:black;width:100upx;" />
|
|
|
</t-td>
|
|
|
<t-td>
|
|
|
<button @click="tjItem(productItem)" class="admin-button-com blue middle">添加</button>
|
|
|
@@ -140,7 +143,7 @@ export default {
|
|
|
},
|
|
|
getSimpleData(){
|
|
|
let that = this
|
|
|
- getSimleList({name:this.py,page: this.list.page}).then(res=>{
|
|
|
+ return getSimleList({name:this.py,page: this.list.page}).then(res=>{
|
|
|
this.completes(res)
|
|
|
if (this.$util.isEmpty(res.data)){
|
|
|
return false
|