会员信息

This commit is contained in:
cun-nan 2023-12-01 17:57:07 +08:00
parent 204a6293e9
commit de13b4e996
2 changed files with 10 additions and 3 deletions

View File

@ -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>

View File

@ -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()
}