1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <template>
- <view>
- <!-- 页面标题内容 -->
- <view class="flex_row" style="margin: 140rpx 40rpx 0 40rpx;">
- <view class="flex_cloumn">
- <view class="flex_baseline">
- <view class="content_title">{{childInfo.semester.split('学年')[0]}}</view>
- <view class="content_title" style="margin-left: 20rpx;font-size: 40rpx;">学年</view>
- <view class="content_title" style="margin-left: 20rpx;">
- {{childInfo.semester.split('学年')[1].split('学期')[0]}}
- </view>
- <view class="content_title" style="margin-left: 20rpx;font-size: 40rpx;">学期</view>
- </view>
- <view class="flex_baseline">
- <view class="tag" style="margin-left: 0;">
- <view class="tag-text">{{childInfo.school}}</view>
- </view>
- <view class="tag">
- <view class="tag-text">{{childInfo.class}}</view>
- </view>
- <view class="tag">
- <view class="tag-text">{{childInfo.name}}同学</view>
- </view>
- </view>
- </view>
- <!-- <image class="avatar" :src="childInfo.avatar"></image> -->
- </view>
- </view>
- </template>
- <script>
- import {
- mapState,
- mapMutations
- } from 'vuex'
- export default {
- name: "top-semester",
- computed: {
- ...mapState('m_children', ['childInfo']),
- },
- data() {
- return {
- };
- },
- onLoad() {},
- methods: {
- }
- }
- </script>
- <style lang="scss">
- .flex_cloumn {
- height: 170rpx;
- justify-content: space-around;
- .content_title {
- font-size: 70rpx;
- font-family: YSfont;
- color: #FFF;
- z-index: 2;
- text-shadow: 1px -1px 0px #c0c0c0, 2px -2px 0px #b0b0b0, 1px -1px 0px #a0a0a0, 2px -2px 0px #909090;
- }
- }
- .tag {
- margin-left: 20rpx;
- border-radius: 6rpx;
- border: 2px solid #FFF;
- padding: 0 6rpx;
- z-index: 9;
- .tag-text {
- font-size: 32rpx;
- font-family: YSfont;
- color: #FFF;
- z-index: 9;
- }
- }
- </style>
|