Merge remote-tracking branch 'origin/master'
| | |
| | | margin: 0; |
| | | display: flex; |
| | | } |
| | | .df_ac{ |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | .main_app{ |
| | | padding: 0 30rpx; |
| | | font-size: 28rpx; |
| | | color: #222222; |
| | | } |
| | | .mr24{ |
| | | margin-right: 24rpx; |
| | |
| | | .mr12{ |
| | | margin-right: 12rpx; |
| | | } |
| | | .mr6{ |
| | | margin-right: 6rpx; |
| | | } |
| | | |
| | | </style> |
| | |
| | | import { http } from '@/utils/service.js' |
| | | export * from '@/utils/config.js' |
| | | |
| | | // æ¥è¯¢åå
¸å¼æ°æ® |
| | | export const getSystemDictData = (data) => { |
| | |
| | | Vue.component('Tabbar', Tabbar) |
| | | Vue.component('navigation', navigation) |
| | | Vue.prototype.$store = store |
| | | Vue.prototype.$jump = (url) => { |
| | | uni.navigateTo({ |
| | | url |
| | | }) |
| | | } |
| | | Vue.prototype.$onWait = new Promise((resolve) => { |
| | | Vue.prototype.$reslove = resolve |
| | | }) |
| | |
| | | }
|
| | |
|
| | | }
|
| | | ],
|
| | | ,{
|
| | | "path" : "pages/staff/snapshot",
|
| | | "style" : |
| | | { |
| | | "navigationBarTitleText": "鿣鿿", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | |
| | | }
|
| | | ,{
|
| | | "path" : "pages/staff/memberSel",
|
| | | "style" : |
| | | { |
| | | "navigationBarTitleText": "éæ©äººå", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | |
| | | }
|
| | | ,{
|
| | | "path" : "pages/staff/meetingSub",
|
| | | "style" : |
| | | { |
| | | "navigationBarTitleText": "é¢çº¦ä¼è®®å®¤", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | |
| | | }
|
| | | ,{
|
| | | "path" : "pages/staff/meetingSubOrder",
|
| | | "style" : |
| | | { |
| | | "navigationBarTitleText": "确认é¢çº¦", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | |
| | | }
|
| | | ],
|
| | | "subPackages": [{
|
| | | "root": "n_pages",
|
| | | "pages": [{
|
| | |
| | | <view class="title_wrap"><view class="name">ä¸å¡åç</view></view> |
| | | <view class="container1"> |
| | | <view class="left"> |
| | | <view class="img_wrap img1"> |
| | | <view class="img_wrap img1" @click="jump('/pages/staff/visitorReport')"> |
| | | <image src="@/static/staff/ic_fangkebaobei.png" class="img"></image> |
| | | <view class="h1">访客æ¥å¤</view> |
| | | <view class="h2">VISITOR REPORTING</view> |
| | | </view> |
| | | <view class="img_wrap img2"> |
| | | <view class="img_wrap img2" @click="jump('/pages/staff/meetingSub')"> |
| | | <image src="@/static/staff/ic_yuyuehuiyishi.png" class="img"></image> |
| | | <view class="h1">é¢çº¦ä¼è®®å®¤</view> |
| | | <view class="h2">BOOK A MEETING ROOM</view> |
| | | </view> |
| | | </view> |
| | | <view class="right"> |
| | | <view class="img_wrap img2"> |
| | | <view class="img_wrap img2" @click="jump('/pages/staff/snapshot')"> |
| | | <image src="@/static/staff/ic_yinhuansuipai.png" class="img"></image> |
| | | <view class="h1">鿣鿿</view> |
| | | <view class="h2">HIDDEN DANGER</view> |
| | | </view> |
| | | <view class="img_wrap img2"> |
| | | <view class="img_wrap img2" @click="jump('/pages/staff/snapshot')"> |
| | | <image src="@/static/staff/ic_yongcheshenqing.png" class="img"></image> |
| | | <view class="h1">ç¨è½¦ç³è¯·</view> |
| | | <view class="h2">VEHICLE APPLICATION</view> |
| | | </view> |
| | | <view class="img_wrap img2"> |
| | | <view class="img_wrap img2" @click="jump('/pages/staff/snapshot')"> |
| | | <image src="@/static/staff/ic_xiugaimima.png" class="img"></image> |
| | | <view class="h1">ä¿®æ¹å¯ç </view> |
| | | <view class="h2">CHANGE PASSWORD</view> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view class="main_app"> |
| | | <view class="heade_title"> |
| | | <image class="icon" src="../../static/staff/ar_left@2x.png" mode="widthFix"></image> |
| | | <text class="date">{{ activeDate }}</text> |
| | | <image class="icon" src="../../static/staff/ar_right@2x.png" mode="widthFix"></image> |
| | | </view> |
| | | <!-- --> |
| | | <view class="meeting_list"> |
| | | <view class="item" :class="{active: i === 0}" v-for="item,i in meetingList" :key="i"> |
| | | <view class="name">{{ item.name }}</view> |
| | | <view class="line"></view> |
| | | </view> |
| | | </view> |
| | | <!-- --> |
| | | <view class="time_list"> |
| | | <view class="item" v-for="item,i in timeList" :key="i">{{ item.time }}</view> |
| | | </view> |
| | | <!-- --> |
| | | <view class="main_footer"> |
| | | <view class="df_ac"> |
| | | <view>已鿩ï¼</view> |
| | | <view class="sel_time">xxxxxx</view> |
| | | </view> |
| | | <view class="btns"> |
| | | <view class="left"> |
| | | <view class="item" v-for="item in colorOptions" :key="item.name"> |
| | | <view class="box" :style="{ background: item.color }"></view> |
| | | <view class="">{{ item.name }}</view> |
| | | </view> |
| | | </view> |
| | | <view class="sub" @click="$jump('/pages/staff/meetingSubOrder')">确认é¢çº¦</view> |
| | | </view> |
| | | </view> |
| | | <!-- --> |
| | | <u-popup :show="isShowDetail" :round="12" mode="bottom" @close="isShowDetail = false"> |
| | | <view class="detail_modal"> |
| | | <view class="title">ä¼è®®å®¤é¢çº¦æ
åµ</view> |
| | | <view class="h1">讨论xxxxxéå</view> |
| | | <view class="line"> |
| | | <view class="label">ä¼è®®æ¶é´</view> |
| | | <view class="value">00000</view> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">ä¼è®®å®¤</view> |
| | | <view class="value">00000</view> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">é¢çº¦äºº</view> |
| | | <view class="value">00000</view> |
| | | </view> |
| | | <view class="btn" @click="isShowDetail = false">å
³é</view> |
| | | </view> |
| | | </u-popup> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | activeDate: '2022å¹´', |
| | | isShowDetail: true, |
| | | meetingList: [ |
| | | { name: '201ä¼è®®å®¤' }, |
| | | { name: '201ä¼è®®å®¤' }, |
| | | { name: '201ä¼è®®å®¤' }, |
| | | { name: '201ä¼è®®å®¤' }, |
| | | ], |
| | | timeList: [ |
| | | { time: '08:30-09:00' }, |
| | | { time: '08:30-09:00' }, |
| | | { time: '08:30-09:00' }, |
| | | { time: '08:30-09:00' }, |
| | | ], |
| | | |
| | | colorOptions: [ |
| | | { color: '#279BAA', name: '已鿩' }, |
| | | { color: '#F7F7F7', name: 'å¯é¢çº¦' }, |
| | | { color: '#cccccc', name: 'ä¸å¯é¢çº¦' }, |
| | | ] |
| | | |
| | | }; |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | .detail_modal{ |
| | | padding: 40rpx 30rpx; |
| | | .title{ |
| | | text-align: center; |
| | | font-weight: 500; |
| | | font-size: 32rpx; |
| | | margin-bottom: 40rpx; |
| | | } |
| | | .h1{ |
| | | font-weight: 500; |
| | | font-size: 32rpx; |
| | | margin-bottom: 30rpx; |
| | | } |
| | | .line{ |
| | | display: flex; |
| | | margin-bottom: 20rpx; |
| | | .label{ |
| | | width: 140rpx; |
| | | color: #888888; |
| | | } |
| | | .value{ |
| | | color: #333333; |
| | | } |
| | | } |
| | | .btn{ |
| | | margin-top: 230rpx; |
| | | width: 690rpx; |
| | | height: 88rpx; |
| | | line-height: 88rpx; |
| | | text-align: center; |
| | | background: #279BAA; |
| | | border-radius: 44rpx; |
| | | font-weight: 500; |
| | | font-size: 32rpx; |
| | | color: #FFFFFF; |
| | | } |
| | | } |
| | | .main_footer{ |
| | | position: absolute; |
| | | width: 100%; |
| | | left: 0; |
| | | bottom: 0; |
| | | padding: 20rpx 30rpx 84rpx; |
| | | box-shadow: 0rpx -3rpx 6rpx 0rpx #EEEEEE; |
| | | .sel_time{ |
| | | color: #279BAA; |
| | | } |
| | | .btns{ |
| | | margin-top: 10rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | .left{ |
| | | display: flex; |
| | | .item{ |
| | | display: flex; |
| | | align-items: center; |
| | | margin-right: 20rpx; |
| | | .box{ |
| | | margin-right: 10rpx; |
| | | width: 32rpx; |
| | | height: 32rpx; |
| | | } |
| | | } |
| | | } |
| | | .sub{ |
| | | width: 184rpx; |
| | | height: 72rpx; |
| | | line-height: 72rpx; |
| | | text-align: center; |
| | | background: #279BAA; |
| | | box-shadow: 0rpx -1rpx 0rpx 0rpx #EEEEEE; |
| | | border-radius: 36rpx; |
| | | font-size: 30rpx; |
| | | color: #FFFFFF; |
| | | } |
| | | } |
| | | } |
| | | .time_list{ |
| | | display: flex; |
| | | justify-content: space-between; |
| | | padding: 30rpx; |
| | | flex-wrap: wrap; |
| | | .item{ |
| | | width: 220rpx; |
| | | height: 80rpx; |
| | | line-height: 80rpx; |
| | | text-align: center; |
| | | background: #F7F7F7; |
| | | border-radius: 4rpx; |
| | | margin-bottom: 24rpx; |
| | | font-size: 30rpx; |
| | | } |
| | | .active{ |
| | | background-color: #279BAA; |
| | | color: #fff; |
| | | } |
| | | .disable{ |
| | | background-color: #cccccc; |
| | | color: #999999; |
| | | } |
| | | } |
| | | .meeting_list{ |
| | | display: flex; |
| | | padding-left: 30rpx; |
| | | width: 720rpx; |
| | | overflow-x: auto; |
| | | border-bottom: 1rpx solid #E5E5E5; |
| | | .item{ |
| | | flex-shrink: 0; |
| | | margin-right: 60rpx; |
| | | padding: 30rpx 0 0; |
| | | .line{ |
| | | width: 60rpx; |
| | | height: 4rpx; |
| | | background-color: #fff; |
| | | margin: 26rpx auto 0; |
| | | } |
| | | } |
| | | .active{ |
| | | color: #279BAA; |
| | | font-weight: 600; |
| | | font-size: 30rpx; |
| | | .line{ |
| | | width: 60rpx; |
| | | height: 4rpx; |
| | | background-color: #279BAA; |
| | | margin: 26rpx auto 0; |
| | | } |
| | | } |
| | | } |
| | | .main_app{ |
| | | padding: 0; |
| | | } |
| | | .heade_title{ |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | .date{ |
| | | margin: 0 24rpx; |
| | | font-weight: 600; |
| | | font-size: 32rpx; |
| | | } |
| | | .icon{ |
| | | width: 30rpx; |
| | | } |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | |
| | | }; |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view class="main_app"> |
| | | <view class="search_inp df_ac"> |
| | | <u-icon size="28" class="mr12" color="#B2B2B2" name="search" /> |
| | | <input type="text" placeholder="æç´¢" placeholder-style="color: #999999;" /> |
| | | </view> |
| | | <view class="member_list"> |
| | | <view class="line"> |
| | | <image src="../../static/logo@2x.png" class="avatar" mode=""></image> |
| | | <view class="content"> |
| | | <view class="info"> |
| | | <text class="name">name</text> |
| | | <text class="tag">tag</text> |
| | | </view> |
| | | <view class="depart">xxç§å®¤</view> |
| | | </view> |
| | | <checkbox class="checkbox" /> |
| | | <text></text> |
| | | </view> |
| | | <view class="empty"></view> |
| | | </view> |
| | | <!-- --> |
| | | <view class="sub_wrap"> |
| | | <view class="sel_mem"> |
| | | <text>已鿩ï¼</text> |
| | | <view class="members"> |
| | | <text v-for="(item, i) in 100" :key="i">{{ item }}</text> |
| | | </view> |
| | | <image @click="isShowSelMem = true" class="open_icon" src="../../static/staff/renyuan_ic_open.png" mode=""></image> |
| | | </view> |
| | | <view class="btn" @click="onSubmit">确认(00/20)</view> |
| | | </view> |
| | | <!-- --> |
| | | <u-popup :show="isShowSelMem" :round="12" mode="bottom" @close="isShowSelMem = false"> |
| | | <view class="modal"> |
| | | <view class="modal_header"> |
| | | <text class="status">已鿩ï¼xx人</text> |
| | | <text class="btn" @click="isShowSelMem = false">确认</text> |
| | | </view> |
| | | <view class="modal_mem_list"> |
| | | <view class="line"> |
| | | <image src="../../static/logo@2x.png" class="avatar" mode=""></image> |
| | | <view class="content"> |
| | | <view class="info"> |
| | | <text class="name">name</text> |
| | | </view> |
| | | <view class="depart">xxç§å®¤</view> |
| | | </view> |
| | | <view class="btn">ç§»é¤</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </u-popup> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | memberList: [], |
| | | selList: [], |
| | | |
| | | isShowSelMem: false |
| | | } |
| | | }, |
| | | methods: { |
| | | onSubmit() { |
| | | uni.navigateBack() |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | .modal { |
| | | padding: 40rpx 30rpx; |
| | | .modal_header { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | .status { |
| | | font-weight: 600; |
| | | } |
| | | .btn { |
| | | color: #279baa; |
| | | } |
| | | } |
| | | .modal_mem_list { |
| | | .line { |
| | | display: flex; |
| | | align-items: center; |
| | | border-bottom: 1rpx solid #e5e5e5; |
| | | padding: 30rpx 0; |
| | | .avatar { |
| | | width: 64rpx; |
| | | height: 64rpx; |
| | | border-radius: 50%; |
| | | overflow: hidden; |
| | | margin-right: 20rpx; |
| | | } |
| | | .content { |
| | | flex: 1; |
| | | .depart { |
| | | font-size: 24rpx; |
| | | color: #666666; |
| | | } |
| | | .info { |
| | | display: flex; |
| | | margin-bottom: 16rpx; |
| | | .name { |
| | | font-size: 30rpx; |
| | | } |
| | | } |
| | | } |
| | | .btn{ |
| | | width: 80rpx; |
| | | height: 48rpx; |
| | | line-height: 48rpx; |
| | | text-align: center; |
| | | font-size: 24rpx; |
| | | color: #333333; |
| | | border-radius: 4rpx; |
| | | border: 1rpx solid #999999; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .sub_wrap { |
| | | position: absolute; |
| | | bottom: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | box-shadow: 0rpx 0rpx 6rpx 0rpx #b2b2b2; |
| | | padding: 30rpx 30rpx 64rpx; |
| | | .sel_mem { |
| | | display: flex; |
| | | align-items: center; |
| | | .members { |
| | | width: 500rpx; |
| | | color: #4d98a7; |
| | | white-space: nowrap; |
| | | overflow: hidden; //ææ¬è¶
åºéè |
| | | text-overflow: ellipsis; |
| | | margin-right: 20rpx; |
| | | } |
| | | .open_icon { |
| | | width: 44rpx; |
| | | height: 44rpx; |
| | | } |
| | | } |
| | | .btn { |
| | | width: 690rpx; |
| | | height: 88rpx; |
| | | line-height: 88rpx; |
| | | background: #279baa; |
| | | border-radius: 44rpx; |
| | | color: #fff; |
| | | text-align: center; |
| | | margin-top: 22rpx; |
| | | } |
| | | } |
| | | .member_list { |
| | | .line { |
| | | display: flex; |
| | | align-items: center; |
| | | border-bottom: 1rpx solid #e5e5e5; |
| | | padding: 30rpx 0; |
| | | .avatar { |
| | | width: 64rpx; |
| | | height: 64rpx; |
| | | border-radius: 50%; |
| | | overflow: hidden; |
| | | margin-right: 20rpx; |
| | | } |
| | | .content { |
| | | flex: 1; |
| | | .depart { |
| | | font-size: 24rpx; |
| | | color: #666666; |
| | | } |
| | | .info { |
| | | display: flex; |
| | | margin-bottom: 16rpx; |
| | | .name { |
| | | font-size: 30rpx; |
| | | } |
| | | .tag { |
| | | font-size: 24rpx; |
| | | border-radius: 4rpx; |
| | | border: 1rpx solid #f62710; |
| | | color: #f62710; |
| | | padding: 0rpx 6rpx; |
| | | margin-left: 8rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .empty { |
| | | width: 100%; |
| | | height: 280rpx; |
| | | } |
| | | } |
| | | .search_inp { |
| | | height: 72rpx; |
| | | background: #f7f7f7; |
| | | border-radius: 4rpx; |
| | | padding-left: 16rpx; |
| | | input { |
| | | flex: 1; |
| | | font-size: 28rpx; |
| | | color: #333333; |
| | | } |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view class="main_app"> |
| | | <view class="main_wrap"> |
| | | <!-- --> |
| | | <view class="line"> |
| | | <view class="label"> |
| | | <text>*</text> |
| | | <text>鿣åºå</text> |
| | | </view> |
| | | <view class="value" @click="isShowArea = true"> |
| | | <text class="mr6" :style="{ color: param.area ? '#000000' : '#999999' }">{{ param.area ? param.area : 'è¯·éæ©' }}</text> |
| | | <u-icon name="arrow-right" color="#CCCCCC" size="20"></u-icon> |
| | | </view> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label"> |
| | | <text>*</text> |
| | | <text>æ¥å人</text> |
| | | </view> |
| | | <view class="value" @click="selMember"> |
| | | <text class="mr6" :style="{ color: param.area ? '#000000' : '#999999' }">{{ param.area ? param.area : 'è¯·éæ©' }}</text> |
| | | <u-icon name="arrow-right" color="#CCCCCC" size="20"></u-icon> |
| | | </view> |
| | | </view> |
| | | <view class="empty"></view> |
| | | <view class="line"> |
| | | <view class="label"> |
| | | <text>*</text> |
| | | <text>éæ£ç±»å</text> |
| | | </view> |
| | | <view class="value"> |
| | | <text class="mr6" :style="{ color: param.area ? '#000000' : '#999999' }">{{ param.area ? param.area : 'è¯·éæ©' }}</text> |
| | | <u-icon name="arrow-right" color="#CCCCCC" size="20"></u-icon> |
| | | </view> |
| | | </view> |
| | | <view class="upload_line"> |
| | | <view class="name">ç°åºæ
åµ</view> |
| | | <view class="adduser_list_item_ipt1_upload" @click="upload('imgurl')" v-if="!param.imgurlUrl"><u-icon name="plus" color="rgb(153, 153, 153)" size="28"></u-icon></view> |
| | | <view class="adduser_list_item_ipt1_upload" @click="upload('imgurl')" v-else><image :src="param.imgurlUrl" mode="widthFix"></image></view> |
| | | </view> |
| | | |
| | | <view class="line"> |
| | | <view class="label"> |
| | | <text></text> |
| | | <text>ææ¥äºº</text> |
| | | </view> |
| | | <view class="value"><input type="text" placeholder="请è¾å
¥ææ¥äºº" v-model="param.receptMemberName" @blur="getUser" placeholder-style="color: #999999;" /></view> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label"> |
| | | <text></text> |
| | | <text>èç³»çµè¯</text> |
| | | </view> |
| | | <view class="value"><input type="text" placeholder="请è¾å
¥èç³»çµè¯" v-model="param.receptMemberName" @blur="getUser" placeholder-style="color: #999999;" /></view> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label"> |
| | | <text></text> |
| | | <text>ææ¥æ¶é´</text> |
| | | </view> |
| | | <view class="value"> |
| | | <text class="mr6" :style="{ color: param.area ? '#000000' : '#999999' }">{{ param.area ? param.area : 'è¯·éæ©' }}</text> |
| | | <u-icon name="arrow-right" color="#CCCCCC" size="20"></u-icon> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- --> |
| | | <!-- åºå --> |
| | | <u-picker keyName="name" :show="isShowArea" :columns="areaOptions" @confirm="seletedArea" @cancel="isShowArea = false"></u-picker> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { uploadUrl } from '@/api' |
| | | export default { |
| | | data() { |
| | | return { |
| | | param: {}, |
| | | isShowArea: false, |
| | | areaOptions: [[{ name: '111', id: 11 }, { name: '111', id: 11 }]] |
| | | }; |
| | | }, |
| | | methods: { |
| | | seletedArea(e) { |
| | | const item = e.value[0]; |
| | | console.log(item); |
| | | this.isShowArea = false; |
| | | }, |
| | | selMember() { |
| | | uni.navigateTo({ |
| | | url: '/pages/staff/memberSel' |
| | | }); |
| | | }, |
| | | upload() { |
| | | uni.chooseImage({ |
| | | success: (chooseImageRes) => { |
| | | uni.showLoading({ title: 'ä¸ä¼ ä¸', mask: true }); |
| | | for (let i = 0; i < chooseImageRes.tempFilePaths.length; i++) { |
| | | uni.uploadFile({ |
| | | url: `${uploadUrl}visitsAdmin/cloudService/web/public/uploadFtp.do`, |
| | | filePath: chooseImageRes.tempFilePaths[i], |
| | | name: 'file', |
| | | formData: { |
| | | folderCode: 'MEMBER_IMG' |
| | | }, |
| | | success: (uploadFileRes) => { |
| | | console.log('uploadFileRes', uploadFileRes); |
| | | let res = JSON.parse(uploadFileRes.data) |
| | | if (type === 'faceImg') { |
| | | this.param.faceImg = res.data.halfPath |
| | | this.param.faceImgUrl = res.data.prefixPath + res.data.folder + res.data.halfPath |
| | | } else { |
| | | this.param.imgurl = res.data.halfPath |
| | | this.param.imgurlUrl = res.data.prefixPath + res.data.folder + res.data.halfPath |
| | | } |
| | | }, |
| | | complete() { |
| | | if (i === chooseImageRes.tempFilePaths.length - 1) { |
| | | uni.hideLoading(); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | getUser() {} |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .main_wrap { |
| | | .line { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | border-bottom: 1rpx solid #e5e5e5; |
| | | padding: 30rpx 0; |
| | | .label { |
| | | font-size: 30rpx; |
| | | font-weight: 400; |
| | | text { |
| | | &:nth-child(1) { |
| | | color: #e42d2d; |
| | | margin-right: 4rpx; |
| | | } |
| | | } |
| | | } |
| | | .value { |
| | | flex: 1; |
| | | height: 100%; |
| | | margin-left: 30rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-end; |
| | | input { |
| | | width: 100%; |
| | | height: 100%; |
| | | text-align: right; |
| | | font-size: 28rpx; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | } |
| | | } |
| | | } |
| | | .upload_line { |
| | | padding: 30rpx 0; |
| | | .adduser_list_item_ipt1_upload { |
| | | margin-top: 24rpx; |
| | | width: 120rpx; |
| | | height: 120rpx; |
| | | border: 2rpx solid #E5E5E5; |
| | | background: #f7f7f7; |
| | | color: #666666; |
| | | font-size: 22rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | overflow: hidden; |
| | | image { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .main_app { |
| | | // padding-top: 10rpx; |
| | | } |
| | | |
| | | .empty { |
| | | width: 750rpx; |
| | | height: 20rpx; |
| | | background-color: #f7f7f7; |
| | | margin: 0 -30rpx; |
| | | } |
| | | </style> |
| | |
| | | } |
| | | uni.chooseImage({ |
| | | success: (chooseImageRes) => { |
| | | // if (type === 'faceImg') { |
| | | // this.photoSrc = chooseImageRes.tempFilePaths[0]; |
| | | // this.$refs.tlyPictureCut.showPop(); |
| | | // return |
| | | // } |
| | | uni.showLoading({ title: 'ä¸ä¼ ä¸', mask: true }); |
| | | for (let i = 0; i < chooseImageRes.tempFilePaths.length; i++) { |
| | | uni.uploadFile({ |