purchase/pages/index/index.vue

68 lines
1.3 KiB
Vue

<template>
<view class="content">
<!-- <image class="logo" src="/static/logo.png"></image> -->
<view class="text-area">
<text class="title">{{title}}</text>
</view>
<cirular-input></cirular-input>
<u-popup v-model="show" mode="bottom" border-radius="50" length="40%">
<view class="close">
<image class="fz_icon_gb" src="/static/img/fz_icon_gb/fz_icon_gb.png"></image>
</view>
<view>
<view style="display: flex; justify-content: space-between;">
<view>标题</view>
<view><image src="/static/img/fz_icon_xz/fz_icon_xz.png" style="width: 50px;height: 50px;"></image></view>
</view>
</view>
</u-popup>
</view>
</template>
<script>
import cirularInput from '../../components/input/circularInput.vue'
export default {
components: {
cirularInput
},
data() {
return {
show: true,
title: 'Hello'
}
},
onLoad() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.fz_icon_gb {
width: 50px;
height: 50px;
margin: 20px;
float: right;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: $uni-bg-color;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
</style>