初始化商家端
This commit is contained in:
155
pages/md/storeEnvironment/storeEnvironment.vue
Normal file
155
pages/md/storeEnvironment/storeEnvironment.vue
Normal file
@ -0,0 +1,155 @@
|
||||
<template>
|
||||
<view class="page" :style="themeColor">
|
||||
<view class="flex benben-position-layout flex flex-wrap align-center storeEnvironment_flex_0" :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
|
||||
<view class='flex flex-wrap align-center justify-between flex-sub storeEnvironment_fd0_0' >
|
||||
<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1" >
|
||||
<text class='fu-iconfont2 storeEnvironment_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back" data-url="1" ></text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-stretch justify-center flex-sub' >
|
||||
<text class='storeEnvironment_fd0_0_c1_c0' >店铺环境</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center storeEnvironment_fd0_0_c2' >
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view :style="{height: (88+StatusBarRpx)+'rpx'}" ></view>
|
||||
<!---flex布局flex布局开始-->
|
||||
<view class="flex benben-flex-layout flex-wrap align-center storeEnvironment_flex_1" >
|
||||
<benben-images-upload ref="benbenImagesUploadfd1_0" :img-list.sync="images" :img-ids.sync="image_id" >
|
||||
<template #content="{ num, maxlength, isShow, imgList }">
|
||||
<view class="flex flex-wrap align-start flex">
|
||||
|
||||
<view v-for="(image, index) in imgList" :key="index" class='flex position-relative' >
|
||||
<text class='fu-iconfont2 position-absolute storeEnvironment_fd1_000' @tap.stop="$refs.benbenImagesUploadfd1_0.delImage(index)"></text><image class='storeEnvironment_fd1_001' @tap.stop="$refs.benbenImagesUploadfd1_0.previewImage(index)" mode="aspectFit" :src='image'></image>
|
||||
</view>
|
||||
|
||||
<image class='storeEnvironment_fd1_01' @tap.stop="$refs.benbenImagesUploadfd1_0.manyChooseImage()" v-if="isShow" mode="aspectFit" :src='STATIC_URL+"32.png"'></image>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
</benben-images-upload>
|
||||
</view>
|
||||
|
||||
<!---flex布局flex布局结束-->
|
||||
<benben-popup v-model="popupShow1684144199835" :mask="true" mode='center'>
|
||||
<!---删除照片flex布局开始-->
|
||||
<view class="flex benben-flex-layout flex-wrap align-center" >
|
||||
<view class='flex flex-direction flex-wrap align-center storeEnvironment_fd2_0' >
|
||||
<text class='storeEnvironment_fd2_0_c0' >提示</text>
|
||||
<text class='storeEnvironment_fd2_0_c1' >确定要删除该照片吗?</text>
|
||||
<view class='flex flex-wrap align-center storeEnvironment_fd2_0_c2' >
|
||||
<button class='storeEnvironment_fd2_0_c2_c0' >取消</button>
|
||||
<button class='storeEnvironment_fd2_0_c2_c1' >确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!---删除照片flex布局结束-->
|
||||
|
||||
</benben-popup>
|
||||
|
||||
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
export default {
|
||||
components:{},
|
||||
|
||||
|
||||
data(){
|
||||
return {"popupShow1684144199835":false,"images":[],"image_id":""};
|
||||
},
|
||||
computed:{
|
||||
themeColor() {
|
||||
return this.$store.getters.themeColor
|
||||
},
|
||||
|
||||
},
|
||||
watch:{},
|
||||
onLoad(options){
|
||||
|
||||
},
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
onReady(){
|
||||
|
||||
},
|
||||
onShow(){
|
||||
|
||||
},
|
||||
onHide(){
|
||||
|
||||
},
|
||||
onResize(){
|
||||
|
||||
},
|
||||
onPullDownRefresh(){
|
||||
|
||||
},
|
||||
onReachBottom(e){
|
||||
|
||||
},
|
||||
onPageScroll(e){
|
||||
|
||||
},
|
||||
methods:{
|
||||
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.page{
|
||||
width: 100vw;
|
||||
overflow-x: hidden;
|
||||
min-height: calc(100vh - var(--window-bottom));
|
||||
background:rgba(248, 248, 248, 1);background-size: 100% auto !important;
|
||||
}
|
||||
.storeEnvironment_flex_0{
|
||||
background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
|
||||
}
|
||||
.storeEnvironment_fd0_0_c2{
|
||||
width:32rpx;height:32rpx;
|
||||
}
|
||||
.storeEnvironment_fd0_0_c1_c0{
|
||||
font-size:36rpx;font-weight:600;color:#373737;line-height:36rpx;
|
||||
}
|
||||
.storeEnvironment_fd0_0_c0_c0{
|
||||
font-size:32rpx;font-weight:500;color:#333;line-height:88rpx;
|
||||
}
|
||||
.storeEnvironment_fd0_0{
|
||||
margin:0rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
.storeEnvironment_flex_1{
|
||||
padding:12rpx 12rpx 0rpx 12rpx;
|
||||
}
|
||||
.storeEnvironment_fd1_01{
|
||||
width:339rpx;height:240rpx;margin:12rpx 12rpx 12rpx 12rpx;
|
||||
}
|
||||
.storeEnvironment_fd1_001{
|
||||
width:339rpx;height:240rpx;margin:12rpx 12rpx 12rpx 12rpx;
|
||||
}
|
||||
.storeEnvironment_fd1_000{
|
||||
top:0rpx;right:0rpx;z-index:10;color:#ff5536;
|
||||
}
|
||||
.storeEnvironment_fd2_0_c2_c1{
|
||||
background:#fff;font-size:32rpx;color:rgba(255, 147, 0, 1);width:270rpx;height:101rpx;line-height:101rpx;font-weight:500;
|
||||
}
|
||||
.storeEnvironment_fd2_0_c2_c0{
|
||||
border-right:1px solid #eee;background:#fff;font-size:32rpx;color:rgba(153, 153, 153, 1);width:270rpx;height:101rpx;line-height:101rpx;font-weight:400;
|
||||
}
|
||||
.storeEnvironment_fd2_0_c2{
|
||||
border-top:1px solid #eee;margin:51rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
.storeEnvironment_fd2_0_c1{
|
||||
line-height:44rpx;font-size:28rpx;font-weight:500;color:#333333;text-align:center;margin:32rpx 40rpx 0rpx 40rpx;
|
||||
}
|
||||
.storeEnvironment_fd2_0_c0{
|
||||
line-height:44rpx;font-size:36rpx;font-weight:700;color:#333333;margin:40rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
.storeEnvironment_fd2_0{
|
||||
background:#fff;width:540rpx;background-size:100% auto !important;border-radius:16rpx 16rpx 16rpx 16rpx;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user