Browse Source

更改落地页参数

master
邓平艺 5 years ago
parent
commit
7418def7db
  1. 6
      pages/canteen/index/index.vue
  2. 7
      pages/supply/index/index.vue

6
pages/canteen/index/index.vue

@ -1,9 +1,9 @@
<template>
<view>
<view class="lf-row-center lf-flex-column head">
<image :src="canteen.logo"></image>
<view class="lf-m-t-20 lf-font-32 lf-font-bold lf-color-black">{{ canteen.ctl_man }}</view>
<view class="lf-font-28 lf-color-555 lf-m-t-10">{{ canteen.purchase_man }}</view>
<image :src="canteen.avatar"></image>
<view class="lf-m-t-20 lf-font-32 lf-font-bold lf-color-black">{{ canteen.name }}</view>
<view class="lf-font-28 lf-color-555 lf-m-t-10">{{ canteen.user.canteen.remark }}</view>
</view>
<view class="list">
<view class="lf-row-between list-item" hover-class="lf-opacity"

7
pages/supply/index/index.vue

@ -1,8 +1,8 @@
<template>
<view>
<view class="lf-row-center lf-flex-column head">
<image :src="supplier.logo"></image>
<view class="lf-m-t-20 lf-font-32 lf-font-bold lf-color-black">{{ supplier.subject_name }}</view>
<image :src="supplier.avatar"></image>
<view class="lf-m-t-20 lf-font-32 lf-font-bold lf-color-black">{{ supplier.name }}</view>
</view>
<view class="list">
<view class="lf-row-between list-item" hover-class="lf-opacity"
@ -61,7 +61,8 @@
this.$http(this.API.API_SUPPLIER_INDEX).then(res => {
this.supplier = res.data.supplier;
this.block_list = res.data.block;
getApp().globalData.supplier_id = res.data.supplier.id;
// supplier_id
// getApp().globalData.supplier_id = res.data.supplier.id;
});
}
}

Loading…
Cancel
Save