123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <template>
- <CustomPopup ref="customPopup">
- <view class="customerService">
- <image src="../../static/me/qingshaonianmoshi.png"></image>
- <view class="text-title">青少年模式</view>
- <view class="text-content">为呵护未成年人健康成长,萌创星球推出青少年模式,该模式下部分功能将无法正常使用。请监护人主动选择,并设置监护密码。</view>
- <view class="text-link" @click="goPage()">关闭青少年模式 ></view>
- <view class="btn-box" @click="close()">知道了</view>
- </view>
- </CustomPopup>
- </template>
- <script>
- import CustomPopup from '@/components/CustomPopup/CustomPopup.vue'
- export default {
- components: { CustomPopup },
- methods: {
- open() {
- this.$refs.customPopup.open();
- },
- close() {
- this.$refs.customPopup.close();
- },
- goPage(){
- this.$refs.customPopup.close();
- uni.$emit('check_login', () => {
- uni.navigateTo({
- url: '/pages/my/adolescent'
- })
- })
- }
- }
- }
- </script>
- <style scoped lang="scss">
- .customerService {
- width: 600rpx;
- height: 750rpx;
- background: #ffffff;
- border-radius: 14rpx;
- padding: 30rpx 70rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- image {
- width: 236rpx;
- height: 236rpx;
- }
- .text-title {
- padding-top: 28rpx;
- font-family: 'PingFang SC-Bold';
- font-weight: 400;
- font-size: 36rpx;
- color: #1F1F1F;
- }
- .text-content {
- padding: 20rpx 0;
- font-weight: 400;
- font-size: 28rpx;
- color: #999999;
- font-family: 'PingFang SC-Medium';
- }
- .text-link{
- font-weight: 400;
- font-size: 32rpx;
- color: #0084FF;
- }
- .btn-box {
- background: #1F1F1F;
- color: #fff;
- margin: 0 auto;
- width: 244rpx;
- height: 72rpx;
- font-size: 32rpx;
- font-family: 'PingFang SC-Bold';
- background: #1F1F1F;
- border-radius: 12rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-top: 20rpx;
- }
- }
- </style>
|