| | |
| | | <image :src="item1.image[0].file_path"></image> |
| | | </view> |
| | | <view class="shop_list_body_item_product_item_price"> |
| | | <view class="f22 red">¥ |
| | | <view class="f22 red" v-if="item1.is_price_negotiable">价格面议</view> |
| | | <view class="f22 red" v-else>¥ |
| | | <text class="f32"> |
| | | {{item1.product_price}} |
| | | </text> |
| | |
| | | mounted() { |
| | | this.init(); |
| | | this._freshing = false; |
| | | |
| | | this.restoreData(); |
| | | // 获取分类 by lyzflash |
| | | this.getCategory(); |
| | | /*获取订单列表*/ |
| | | this.getData(); |
| | | }, |
| | | onLoad(option) { |
| | | let self = this; |
| | | if( option.category_id){ |
| | | self.category.forEach(function(index,item){ |
| | | if(item.category_id==option.category_id){ |
| | | self.tabChange(index) |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | methods: { |
| | | /*初始化*/ |
| | | init() { |