| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <template>
- <view>
- <view class="image-container">
- <view class="cuIcon-roundaddfill theme-color" style="font-size: 80upx;padding: 100upx 0 30upx 0;"></view>
- <view class="text-black text-bold text-sm">添加图片或视频</view>
- </view>
- <view class="basic-container">
- <view class="padding-sm">
- <text class="cuIcon-titles theme-color" style="font-size: 36upx;"></text>
- <text class="text-black text-bold text-lg">基本信息</text>
- </view>
- <view class="padding-sm flex justify-around align-center">
- <view class="tags" :class="current == 0 ? 'theme-bg-color text-white' : ''" @click="current = 0">男歌手</view>
- <view class="tags" :class="current == 1 ? 'theme-bg-color text-white' : ''" @click="current = 1">女歌手</view>
- <view class="tags" :class="current == 2 ? 'theme-bg-color text-white' : ''" @click="current = 2">组合</view>
- </view>
- <view class="padding-sm">
- <text class="text-black text-bold text-lg padding-left-sm">歌手名字</text>
- <view style="padding: 30upx 20upx;">
- <u-input v-model="name" placeholder="请输入歌手名字" />
- </view>
- <view style="padding: 0 20upx 40upx 20upx;">
- <u-line color="#e3e3e3" />
- </view>
- <text class="text-black text-bold text-lg padding-left-sm">歌曲名称</text>
- <view style="padding: 30upx 20upx;">
- <u-input v-model="music" placeholder="请输入歌曲名称" />
- </view>
- <view style="padding: 0 20upx 40upx 20upx;">
- <u-line color="#e3e3e3" />
- </view>
- <text class="text-black text-bold text-lg padding-left-sm">个人简介</text>
- <view style="padding: 30upx 20upx 0 20upx;">
- <u-input v-model="introduction" type="textarea" :clearable="false" height="140" :autoHeight="false" maxlength="60" placeholder="请输入个人简介" />
- </view>
- <view class="flex justify-end padding-right-sm padding-bottom-sm text-gray">{{introduction.length}} / 60</view>
- <view style="padding: 0 20upx 40upx 20upx;">
- <u-line color="#e3e3e3" />
- </view>
- <view style="margin: 30upx 0 40upx 0;">
- <u-button class="custom-style" shape="circle" @click="navWithParam">确定提交</u-button>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- current: 0,
- name: '',
- introduction: '',
- music: '',
- }
- },
- methods: {
- navWithParam() {
- uni.navigateTo({
- url: '/pages/mine/introduction'
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .image-container {
- text-align: center;
- background-color: #FFFFFF;
- height: 400upx;
- margin: 30upx;
- border-radius: 30upx;
- }
- .basic-container {
- background-color: #FFFFFF;
- margin: 20upx;
- border-radius: 30upx;
- }
- .tags {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 30%;
- height: 70upx;
- border: #4f4f4f 1px solid;
- border-radius: 28upx;
- }
- .custom-style {
- background-color: #5a3ee8;
- color: #FFFFFF;
- width: 400rpx;
- }
- </style>
|