Files
2025-04-30 14:04:34 +08:00

161 lines
3.6 KiB
Vue

<template>
<view class="page" :style="themeColor" v-if="info.aid">
<view class="flex benben-position-layout flex flex-wrap align-center merchantQualification_flex_0"
:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
<view class='flex flex-wrap align-center justify-between flex-sub merchantQualification_fd0_0'>
<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
<text class='fu-iconfont2 merchantQualification_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back"
data-url="1">&#xE794;</text>
</view>
<view class='flex flex-wrap align-stretch justify-center flex-sub'>
<text class='merchantQualification_fd0_0_c1_c0'>商家资质</text>
</view>
<view class='flex flex-wrap align-center merchantQualification_fd0_0_c2'>
</view>
</view>
</view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
<!---flex布局flex布局开始-->
<view class="flex flex-wrap align-center justify-between benben-flex-layout merchantQualification_flex_1">
<image class='merchantQualification_fd1_0' v-for="(item, index) in info.license_image" :key="index" mode="aspectFill" :src='item'></image>
</view>
<!---flex布局flex布局结束-->
</view>
</template>
<script>
export default {
components: {},
data() {
return {
id: '',
info: {}
};
},
computed: {
themeColor() {
return this.$store.getters.themeColor
},
},
watch: {},
onLoad(options) {
let {
id
} = options
if (id !== undefined) this.id = id
this.getShopDetail();
},
onUnload() {
},
onReady() {
},
onShow() {
},
onHide() {
},
onResize() {
},
onPullDownRefresh() {
},
onReachBottom(e) {
},
onPageScroll(e) {
},
methods: {
/**
* 获取店铺详情
*/
getShopDetail() {
console.log(123)
this.$api.post(global.apiUrls.getShopDetail, {
aid: this.id
}).then(res => {
if (res.data.code == 1) {
this.info = res.data.data;
} else {
this.$message.info(res.data.msg)
}
})
.catch(err => {
console.log(err);
});
},
}
};
</script>
<style lang="scss" scoped>
.page {
width: 100vw;
overflow-x: hidden;
min-height: calc(100vh - var(--window-bottom));
background: rgba(255, 255, 255, 1);
background-size: 100% auto !important;
}
.merchantQualification_flex_0 {
background: #fff;
width: 750rpx;
height: 88rpx;
overflow: hidden;
z-index: 10;
top: 0rpx;
background-size: 100% auto !important;
}
.merchantQualification_fd0_0_c2 {
width: 32rpx;
height: 32rpx;
}
.merchantQualification_fd0_0_c1_c0 {
font-size: 36rpx;
font-weight: 500;
color: #333;
line-height: 88rpx;
}
.merchantQualification_fd0_0_c0_c0 {
font-size: 32rpx;
font-weight: 500;
color: #333;
line-height: 88rpx;
}
.merchantQualification_fd0_0 {
margin: 0rpx 32rpx 0rpx 32rpx;
}
.merchantQualification_flex_1 {
padding: 32rpx 32rpx 0rpx 32rpx;
}
.merchantQualification_fd1_1 {
width: 330rpx;
height: 240rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
margin: 0rpx 0rpx 24rpx 0rpx;
}
.merchantQualification_fd1_0 {
width: 330rpx;
height: 240rpx;
border-radius: 6rpx;
margin: 0rpx 0rpx 24rpx 0rpx;
}
</style>