You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xuan-pay-cweb/pages/index/merchant-details/merchant-details.vue

117 lines
3.6 KiB

3 years ago
<template>
<view>
<!-- tabs栏 -->
<view class="backcorfff width100">
<QSTabs ref="tabs" :tabs="tabs" animationMode="line2" :current="current" @change="change"
activeColor="#089bf5" lineColor="#089bf5" minWidth="374">
</QSTabs>
</view>
<!-- 商户信息 -->
<view class="mart15 width100 backcorfff" v-if="current == 0">
<view class="notes">
<view class="fcor666 width25">账号</view>
3 years ago
<view class="font14 fcor333 text2 width75 fotrt">15583658692</view>
</view>
<view class="notes">
<view class="fcor666 width25">商户ID</view>
3 years ago
<view class="font14 fcor333 text2 width75 fotrt">3132131</view>
</view>
<view class="notes">
<view class="fcor666 width25">联系人</view>
3 years ago
<view class="font14 fcor333 text2 width75 fotrt">-</view>
</view>
<view class="notes">
<view class="fcor666 width25">手机号</view>
3 years ago
<view class="font14 fcor333 text2 width75 fotrt">423423424242</view>
</view>
<view class="notes">
<view class="fcor666 width25">身份证号</view>
3 years ago
<view class="font14 fcor333 text2 width75 fotrt">423423434343424242</view>
</view>
<view class="notes">
<view class="fcor666 width25">银行卡号</view>
3 years ago
<view class="font14 fcor333 text2 width75 fotrt">4324342423423424242</view>
</view>
<view class="notes">
<view class="fcor666 width25">所属银行</view>
3 years ago
<view class="font14 fcor333 text2 width75 fotrt">什么什么支行</view>
</view>
</view>
<!-- 门店信息 -->
<view class="mart15 width100" v-else>
<view class="width94 backcorfff border-r mart15" v-for="(item,index) in storeList" :key="index" @click="jumpstoredes">
3 years ago
<view class="notes" style="border-bottom: 0px;">
<image src="../../../static/img/store/store7.png" mode="widthFix" class="iconw40"></image>
<view class="width65 margle">
<view class="font14 fcor333">155832658692</view>
<view class="font12 fcor999">2021-12-15 09:30:21</view>
</view>
</view>
<view class="conts" style="border-bottom: 0px;">
<image src="../../../static/img/store/store8.png" mode="widthFix" class="iconw"></image>
<view class="margle10 font14 fcor999">155242424242</view>
</view>
<view class="conts" style="border-bottom: 0px;">
<image src="../../../static/img/store/store9.png" mode="widthFix" class="iconw"></image>
<view class="margle10 font14 fcor999">155242424242</view>
</view>
<view class="conts" style="border-bottom: 0px;">
<image src="../../../static/img/store/store10.png" mode="widthFix" class="iconw"></image>
<view class="margle10 font14 fcor999 width90p">方式方式的方式的房东说发地方身份史蒂夫是房东说身份是发</view>
3 years ago
</view>
</view>
</view>
</view>
</template>
<script>
import QSTabs from '../../../components/QS-tabs/QS-tabs.vue';
export default {
components: {
QSTabs
},
data() {
return {
tabs: ["商户信息", "门店信息"],
current: 0, // tabs默认值
storeList: [1, 2, 3]
}
},
methods: {
//筛选
change(index) {
this.$refs.tabs.setFinishCurrent(index);
this.current = index;
},
//跳转门店详情
jumpstoredes(){
uni.navigateTo({
url:'../store-details/store-details'
})
}
}
}
</script>
<style lang="scss">
page {
background-color: #f6f6f6;
}
.notes {
width: calc(100% - 40rpx);
display: flex;
align-items: center;
padding: 30rpx 0 30rpx 20rpx;
border-bottom: 1px solid #f6f6f6;
}
.conts{
width: calc(100% - 60rpx);
display: flex;
align-items: center;
padding: 0 30rpx 10rpx 30rpx;
}
</style>