会员信息
This commit is contained in:
parent
204a6293e9
commit
de13b4e996
@ -90,7 +90,7 @@
|
||||
</view> -->
|
||||
<view class="box-oil2" :class=" {'xz' :sindex == index }"
|
||||
v-for="(item,index) in staffList" :key="index"
|
||||
@click="getSIndex(index)">
|
||||
@click="getSIndex(index,item.id)">
|
||||
<text>{{item.realName}}员工</text>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -37,7 +37,7 @@
|
||||
</view>
|
||||
|
||||
<scroll-view scroll-x="true" class="fa-scroll">
|
||||
<view class="scrollbox" v-for="(item1,index) in item.store.oilList" :key="index">
|
||||
<view class="scrollbox" v-for="(item1,index) in item.store.oilList" :key="index" @click="toRefuel(item.store.id)">
|
||||
<view style="font-size: 16px;">{{item1.oilNames}}</view>
|
||||
<view style="font-size: 18px;">¥{{item1.gbPrice}}/{{item1.unit}}</view>
|
||||
</view>
|
||||
@ -61,7 +61,7 @@
|
||||
<view class="bottom-icon">
|
||||
<image src="../../static/icon/jiayou.png" mode=""></image>
|
||||
</view>
|
||||
<view class="">去加油</view>
|
||||
<view class="" @click="toRefuel(item.store.id)">去加油</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -132,6 +132,13 @@
|
||||
_this.list = _this.storeList
|
||||
})
|
||||
},
|
||||
// 跳转一键加油页面
|
||||
toRefuel(id){
|
||||
uni.setStorageSync("storeId",id)
|
||||
uni.navigateTo({
|
||||
url: '/pages/refuel/refuel'
|
||||
})
|
||||
},
|
||||
goBack() {
|
||||
uni.navigateBack()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user