|
|
@@ -9,7 +9,7 @@
|
|
|
<view class="price red">¥{{ info.price }}</view>
|
|
|
<view style="text-align: right" >
|
|
|
<view class="open-bx" >
|
|
|
- <input class="change-input" @blur="savePrice" @focus="modifyPrice = ''" v-model="modifyPrice" type="digit" placeholder="自动调价" />
|
|
|
+ <input class="change-input" @blur="savePrice" @focus="modifyPrice = ''" v-model="modifyPrice" type="digit" placeholder="填写价格" />
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -48,11 +48,7 @@ export default {
|
|
|
modifyPrice:''
|
|
|
};
|
|
|
},
|
|
|
- mounted(){
|
|
|
- if(this.info.priceLabel == 2){
|
|
|
- this.modifyPrice = this.info.price
|
|
|
- }
|
|
|
- },
|
|
|
+ mounted(){},
|
|
|
methods: {
|
|
|
savePrice() {
|
|
|
this.$emit("savePrice",this.modifyPrice,this.info.id);
|