Browse Source

样式修复

master
jiazhipeng 10 months ago
parent
commit
b264304ef8
  1. 2
      static/css/base.css
  2. 2
      static/js/request.js
  3. 2
      subPackages/search/searchList.vue
  4. 13
      subPackages/user/profile.vue

2
static/css/base.css

@ -48,7 +48,7 @@ view {
/*单行隐藏*/ /*单行隐藏*/
.text-overflow { .text-overflow {
overflow-x: hidden; overflow-x: hidden;
overflow-y: inherit; overflow-y: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }

2
static/js/request.js

@ -10,7 +10,7 @@ Vue.prototype.NEWAPIURL = NEWAPIURL
Vue.prototype.Post = (params, apiurl) => { Vue.prototype.Post = (params, apiurl) => {
if (uni.getStorageSync('userInfo') && JSON.parse(uni.getStorageSync('userInfo')).token) params.token = JSON.parse(uni.getStorageSync('userInfo')).token if (uni.getStorageSync('userInfo') && JSON.parse(uni.getStorageSync('userInfo')).token) params.token = JSON.parse(uni.getStorageSync('userInfo')).token
else if (store.state.user.userInfo.token) params.token = store.state.user.userInfo.token else if (store.state.user.userInfo.token) params.token = store.state.user.userInfo.token
params.token = '84bf42c7-e4b9-48b7-976e-2dddcc596d39' // params.token = '84bf42c7-e4b9-48b7-976e-2dddcc596d39'
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
uni.showLoading({ uni.showLoading({
title: '加载中' title: '加载中'

2
subPackages/search/searchList.vue

@ -23,7 +23,7 @@
<view class="group_data_name" v-if="item.guide_data">{{item.guide_data.group_data.name}}</view> <view class="group_data_name" v-if="item.guide_data">{{item.guide_data.group_data.name}}</view>
</view> </view>
<view class="item-tags text-overflow" v-if="item.guide_data"> <view class="item-tags text-overflow" v-if="item.guide_data">
{{item.guide_data.duration}} | 从业{{item.guide_data.duration}} |
{{item.guide_data.lingo_data.name}} {{item.guide_data.lingo_data.name}}
</view> </view>
<view class="item-tags text-overflow" v-else> <view class="item-tags text-overflow" v-else>

13
subPackages/user/profile.vue

@ -1,6 +1,6 @@
<template> <template>
<view v-if="info" class="bg"> <view v-if="info" class="bg flex-column">
<view class="user-other-info"> <view class="user-other-info flex-1">
<div class="info-avatar-top"> <div class="info-avatar-top">
<span>头像</span> <span>头像</span>
<view @click="uploadImg()" class="edit"> <view @click="uploadImg()" class="edit">
@ -43,9 +43,14 @@
<i>注销后账号无法恢复请谨慎操作</i> <i>注销后账号无法恢复请谨慎操作</i>
</view> </view>
</navigator> </navigator>
</view>
<view class="flex-shrink-0" style="height: 200rpx;">
<view class="btn-tao" @click="submit">保存</view> <view class="btn-tao" @click="submit">保存</view>
</view> </view>
<!-- 性别弹框 --> <!-- 性别弹框 -->
<uni-popup ref="popup" type="bottom"> <uni-popup ref="popup" type="bottom">
<view class="popup-box"> <view class="popup-box">
@ -394,9 +399,7 @@
border-radius: 40rpx; border-radius: 40rpx;
line-height: 80rpx; line-height: 80rpx;
color: #FFFFFF; color: #FFFFFF;
position: fixed; margin: 0 auto;
left: 26rpx;
bottom: 100rpx;
} }
.popup-box { .popup-box {

Loading…
Cancel
Save