diff --git a/components/yz-audio/audioBg.js b/components/yz-audio/audioBg.js deleted file mode 100644 index 2ba42a4..0000000 --- a/components/yz-audio/audioBg.js +++ /dev/null @@ -1,80 +0,0 @@ -import { - mapState, - mapActions, - mapMutations -} from 'vuex' -export const audios = { - data() { - return {} - }, - - computed: { - ...mapState(['bgAudioMannager', 'isBgPlay']), - }, - - methods: { - setAudio(obj) { - this.bgAudioMannager.title = '录音音频'; - this.bgAudioMannager.src = obj.src - this.bgAudioMannager.startTime = obj.currentTime - }, - - setAudioFunc() { - this.bgAudioMannager.onCanplay(() => { - console.log('可以播放'); - }); - this.bgAudioMannager.onStop(() => { - console.log('停止播放'); - }); - this.bgAudioMannager.onPause(() => { - console.log('暂停播放'); - // 设置当前暂停的视频播放位置 - // this.seek(this.bgAudioMannager.currentTime) - // this.play() - }); - this.bgAudioMannager.onEnded(() => { - console.log('自然播放结束事件'); - }); - - this.bgAudioMannager.onError((res) => { - console.log(res.errMsg); - console.log(res.errCode); - }); - - this.bgAudioMannager.onTimeUpdate(() => { - this.duration = this.bgAudioMannager.duration; - this.currentTime = this.bgAudioMannager.currentTime; - this.$emit('timeUpdate', { - duration: this.bgAudioMannager.duration, - currentTime: this.bgAudioMannager.currentTime - }) - }); - }, - - // 背景音频暂停 - audioPause() { - this.bgAudioMannager.pause() - }, - - // 背景音频播放 - audioPlay() { - this.pause() - this.bgAudioMannager.play() - }, - - //背景音频指定秒数播放 - audioSeek(t) { - this.bgAudioMannager.seek(t) - }, - - // 停止背景音频播放 - stopAduio() { - if (this.bgAudioMannager != null) { - this.bgAudioMannager.pause() - if (this.bgAudioMannager.src != '') { - this.bgAudioMannager.src = '' - } - } - } - } -} diff --git a/components/yz-audio/index.scss b/components/yz-audio/index.scss deleted file mode 100644 index 53c375b..0000000 --- a/components/yz-audio/index.scss +++ /dev/null @@ -1,119 +0,0 @@ -@mixin textoverflow() { - display: -webkit-box; - overflow: hidden; - text-overflow: ellipsis; - -webkit-box-orient: vertical; - -webkit-line-clamp: 1; -} -@keyframes rowup { - 0% { - -webkit-transform: translate(-50%, -50%) rotate(0deg); - transform-origin: center center; - } - - 100% { - -webkit-transform: translate(-50%, -50%) rotate(360deg); - transform-origin: center center; - } -} -.imt-audio{ - position:relative; - width: 100%; - display: flex; - box-sizing: border-box; - background: #fff; - overflow: hidden; - - .top { - width: 140rpx; - position: relative; - } - - .audio-wrapper { - display: flex; - flex-direction: column; - flex: 1; - color: #fff; - margin-left: 20rpx; - } - .slidebox { - display: flex; - justify-content: space-between; - width: 96%; - } - /deep/ .uni-slider-tap-area { - padding: 0; - } - /deep/ .uni-slider-wrapper { - min-height: 0; - } - /deep/ .uni-slider-handle-wrapper { - height: 6px; - } - .audio-slider { - padding-top: 10rpx; - margin-left: 150rpx; - position: absolute; - bottom: 40rpx; - width: 75vw; - left: 0; - padding: 0; - } - - - // .cover { - // width: 120rpx; - // height: 120rpx; - // box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); - // position: absolute; - // top: 50%; - // left: 50%; - // transform: translate(-50%, -50%); - // animation-fill-mode: forwards; - // -webkit-animation-fill-mode: forwards; - // } - - .play { - width: 48rpx; - height: 48rpx; - z-index: 99; - background: rgba(0, 0, 0, 0.4); - border-radius: 50%; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - &.loading{ - width: 48rpx; - height: 48rpx; - animation: rotating_theme3 2s linear infinite; - } - } -} - -@keyframes rotating { - 0% { - transform: rotateZ(0deg) - } - 100% { - transform: rotateZ(360deg) - } -} -@keyframes rotating_theme3 { - 0% { - transform: translate(-50%, -50%) rotateZ(0deg) - } - 100% { - transform: translate(-50%, -50%) rotateZ(360deg) - } -} - -.hItem -{ - margin-left: 16rpx; -} - -.extrButton -{ - font-size: 36rpx; -} \ No newline at end of file diff --git a/components/yz-audio/static/backimg.png b/components/yz-audio/static/backimg.png deleted file mode 100644 index fef382f..0000000 Binary files a/components/yz-audio/static/backimg.png and /dev/null differ diff --git a/components/yz-audio/static/bg.png b/components/yz-audio/static/bg.png deleted file mode 100644 index b49474e..0000000 Binary files a/components/yz-audio/static/bg.png and /dev/null differ diff --git a/components/yz-audio/static/bg_act.png b/components/yz-audio/static/bg_act.png deleted file mode 100644 index 01b1d6c..0000000 Binary files a/components/yz-audio/static/bg_act.png and /dev/null differ diff --git a/components/yz-audio/static/loading.png b/components/yz-audio/static/loading.png deleted file mode 100644 index edd7142..0000000 Binary files a/components/yz-audio/static/loading.png and /dev/null differ diff --git a/components/yz-audio/static/loading2.png b/components/yz-audio/static/loading2.png deleted file mode 100644 index 3483c9d..0000000 Binary files a/components/yz-audio/static/loading2.png and /dev/null differ diff --git a/components/yz-audio/static/pausebtn.png b/components/yz-audio/static/pausebtn.png deleted file mode 100644 index f2bc86c..0000000 Binary files a/components/yz-audio/static/pausebtn.png and /dev/null differ diff --git a/components/yz-audio/static/playbtn.png b/components/yz-audio/static/playbtn.png deleted file mode 100644 index 3f51b61..0000000 Binary files a/components/yz-audio/static/playbtn.png and /dev/null differ diff --git a/components/yz-audio/yz-audio.vue b/components/yz-audio/yz-audio.vue deleted file mode 100644 index 9285a58..0000000 --- a/components/yz-audio/yz-audio.vue +++ /dev/null @@ -1,430 +0,0 @@ - - - - - diff --git a/pages.json b/pages.json index dfd6376..fd6c2e7 100644 --- a/pages.json +++ b/pages.json @@ -1,594 +1,589 @@ -{ - "easycom": { - "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" - }, - //这个pages里只放这五个页面,新增页面时请对应的放到下面的分包里 - "pages": [{ - "path": "pages/index/guide", - "style": { - "navigationBarBackgroundColor": "#008EF2", - "navigationBarTextStyle": "white", - "navigationStyle": "custom" - } - }, - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "AI销讲助手", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white", - "enablePullDownRefresh": true - } - }, - { - "path": "pages/index/consumer/index", - "style": { - "navigationBarTitleText": "客户管理", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh": true - } - }, - { - "path": "pages/index/customer", - "style": { - "navigationBarTitleText": "接待", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white", - "enablePullDownRefresh":true - } - }, { - "path": "pages/index/learning", - "style": { - "navigationBarTitleText": "学习", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white", - "enablePullDownRefresh": true - } - }, { - "path": "pages/index/personal", - "style": { - "navigationBarTitleText": "我的", - "navigationBarBackgroundColor": "#F8F8F8", - "navigationBarTextStyle": "black" - } - } - ], - //这下面是分包 - "subPackages": [{ - "root": "pages/login", //登录相关 - "name": "login", - "pages": [{ - "path": "index", - "style": { - "navigationBarTitleText": "登录", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" - } - }, - { - "path": "Verification", - "style": { - "navigationBarTitleText": "登录", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" - // "navigationStyle": "custom" - } - }, - { - "path": "yinzhongmalogin", - "style": { - "navigationBarTitleText": "验证码登录", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Setthepassword", - "style": { - "navigationBarTitleText": "设置密码", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Verifythelogin", - "style": { - "navigationBarTitleText": "验证码登录", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - } - - - - ] - }, - { - "root": "pages/mine", //个人中心 - "name": "mine", - "pages": [{ - "path": "details", - "style": { - "navigationBarTitleText": "详情", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "details2", - "style": { - "navigationBarTitleText": "详情", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "calibration", - "style": { - "navigationBarTitleText": "校验", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "ScoringPlaylist", - "style": { - "navigationBarTitleText": "匹配标签", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - - { - "path": "Myprofile", - "style": { - "navigationBarTitleText": "编辑资料", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "nickname", - "style": { - "navigationBarTitleText": "编辑昵称", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "signature", - "style": { - "navigationBarTitleText": "编辑签名", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Changehepassword", - "style": { - "navigationBarTitleText": "修改密码", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "reception/addreception", - "style": { - "navigationBarTitleText": "新增接待", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "reception/consultant", - "style": { - "navigationBarTitleText": "选择顾问", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consultanonduty/index", - "style": { - "navigationBarTitleText": "值班顾问", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh":true - } - }, - { - "path": "equipment/index", - "style": { - "navigationBarTitleText": "设备管理", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh": true - } - } - ,{ - "path" : "messageList", - "style" : - { - "navigationBarTitleText": "消息", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" - } - - } - ,{ - "path" : "daily/dailyList", - "style" : - { - "navigationBarTitleText": "日报", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - - } - ,{ - "path" : "daily/dailyDetail", - "style" : - { - "navigationBarTitleText": "日报详情", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" - } - - } - ,{ - "path" : "selectBuilding", - "style" : - { - "navigationBarTitleText": "切换项目", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - - } - ,{ - "path" : "registerCode", - "style" : - { - "navigationBarTitleText": "访客登记码", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" - } - - } - ,{ - "path" : "registerForm", - "style" : - { - "navigationBarTitleText": "访客登记表", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" - } - - }, - { - "path" : "registerResult", - "style" : - { - "navigationBarTitleText": "访客登记表", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" - } - - } - ,{ - "path" : "messageDetail", - "style" : - { - "navigationBarTitleText": "升级公告", - "navigationBarBackgroundColor": "#2671E2", - "navigationBarTextStyle": "white" - } - - } - ] - }, - { - "root": "pages/learning", //学习 - "name": "learning", - "pages": [{ - "path": "Thefulltext/index", - "style": { - "navigationBarTitleText": "全文学习", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Thefulltext/index2", - "style": { - "navigationBarTitleText": "全文学习", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Thefulltext/search", - "style": { - "navigationBarTitleText": "搜索", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Keywordsearch", - "style": { - "navigationBarTitleText": "搜索", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Equinoctiallearning", - "style": { - "navigationBarTitleText": "分点学习", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Equinoctial/index", - "style": { - "navigationBarTitleText": "分点学习", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Equinoctial/index2", - "style": { - "navigationBarTitleText": "分点学习", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - } - - - ] - }, - { - "root": "pages/center", //中心逻辑的模块都放到这里 - "name": "center", - "pages": [{ - "path": "Piabodata/index", - "style": { - "navigationBarTitleText": "销讲数据", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh":true - } - }, - { - "path": "Piabodata/Groupcontrast", - "style": { - "navigationBarTitleText": "集团对比", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh":true - } - }, - { - "path": "Piabodata/Theteamcompared", - "style": { - "navigationBarTitleText": "团队对比", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh":true - } - }, - { - "path": "Piabodata/selectTeam", - "style": { - "navigationBarTitleText": "选择团队", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/selectGroup", - "style": { - "navigationBarTitleText": "选择项目", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/Userinsightinto", - "style": { - "navigationBarTitleText": "客户画像", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh":true - } - }, - { - "path": "Piabodata/TrendAnalysis", - "style": { - "navigationBarTitleText": "趋势分析", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh":true - } - }, - { - "path": "Piabodata/StaffAnalysis", - "style": { - "navigationBarTitleText": "员工分析", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh":true - } - }, - - { - "path": "Piabodata/Customerportrait/Detailsofthesearch", - "style": { - "navigationBarTitleText": "搜索", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/Customerportrait/Receivedetailabout", - "style": { - "navigationBarTitleText": "详情", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/Customerportrait/Receivingrecords", - "style": { - "navigationBarTitleText": "列表", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "Piabodata/Employeesstatistics", - "style": { - "navigationBarTitleText": "顾问排名", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh":true - } - }, - - { - "path": "records/index", - "style": { - "navigationBarTitleText": "接待记录", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh": true - } - }, - { - "path": "records/recordSearch", - "style": { - "navigationBarTitleText": "搜索", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "prohibited/index", - "style": { - "navigationBarTitleText": "违禁记录", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black", - "enablePullDownRefresh": true - } - }, - { - "path": "consumer/index", - "style": { - "navigationBarTitleText": "客户管理", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/consumerSearch", - "style": { - "navigationBarTitleText": "搜索", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/consumerDetail", - "style": { - "navigationBarTitleText": "客户详情", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/remind", - "style": { - "navigationBarTitleText": "添加提醒", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/edit", - "style": { - "navigationBarTitleText": "编辑客户", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - }, - { - "path": "consumer/newFollowup/newFollowup", - "style": { - "navigationBarTitleText": "写跟进", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTextStyle": "black" - } - } - ] - } - ], - - "permission": { - "scope.userLocation": { - "desc": "你的位置信息将用于小程序位置接口的效果展示" - } - }, - "networkTimeout": { - "request": 10000, - "downloadFile": 10000 - }, - "debug": false, - "tabBar": { - "color": "#8E8E8E", - "selectedColor": "#1296db", - "borderStyle": "white", - "list": [{ - "pagePath": "pages/index/customer", - "iconPath": "/static/images/tabBar/customer.png", - "selectedIconPath": "/static/images/tabBar/customerActive.png", - "text": "接待" - }, - { - "pagePath": "pages/index/consumer/index", - "iconPath": "/static/images/tabBar/kehu.png", - "selectedIconPath": "/static/images/tabBar/kehu_act.png", - "text": "客户" - }, - { - "pagePath": "pages/index/index", - "iconPath": "/static/images/tabBar/works.png", - "selectedIconPath": "/static/images/tabBar/worksActive.png", - "text": "工作台" - }, - { - "pagePath": "pages/index/learning", - "iconPath": "/static/images/tabBar/voice.png", - "selectedIconPath": "/static/images/tabBar/voiceActive.png", - "text": "学习" - }, - { - "pagePath": "pages/index/personal", - "iconPath": "/static/images/tabBar/user.png", - "selectedIconPath": "/static/images/tabBar/userActive.png", - "text": "我的" - } - ] - }, - "sitemapLocation": "sitemap.json", - "globalStyle": { - "backgroundColor": "#F6F6F6", - "backgroundTextStyle": "dark", - "navigationBarBackgroundColor": "#fff", - "navigationBarTitleText": "AI销讲助手", - "navigationBarTextStyle": "black" - } +{ + "easycom": { + "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" + }, + //这个pages里只放这五个页面,新增页面时请对应的放到下面的分包里 + "pages": [{ + "path": "pages/index/guide", + "style": { + "navigationBarBackgroundColor": "#008EF2", + "navigationBarTextStyle": "white", + "navigationStyle": "custom" + } + }, + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "AI销讲助手", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/index/consumer/index", + "style": { + "navigationBarTitleText": "客户管理", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/index/customer", + "style": { + "navigationBarTitleText": "接待", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": true + } + }, { + "path": "pages/index/learning", + "style": { + "navigationBarTitleText": "学习", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": true + } + }, { + "path": "pages/index/personal", + "style": { + "navigationBarTitleText": "我的", + "navigationBarBackgroundColor": "#F8F8F8", + "navigationBarTextStyle": "black" + } + } + ], + //这下面是分包 + "subPackages": [{ + "root": "pages/login", //登录相关 + "name": "login", + "pages": [{ + "path": "index", + "style": { + "navigationBarTitleText": "登录", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + } + }, + { + "path": "Verification", + "style": { + "navigationBarTitleText": "登录", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + // "navigationStyle": "custom" + } + }, + { + "path": "yinzhongmalogin", + "style": { + "navigationBarTitleText": "验证码登录", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Setthepassword", + "style": { + "navigationBarTitleText": "设置密码", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Verifythelogin", + "style": { + "navigationBarTitleText": "验证码登录", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + } + + + + ] + }, + { + "root": "pages/mine", //个人中心 + "name": "mine", + "pages": [{ + "path": "details", + "style": { + "navigationBarTitleText": "详情", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "details2", + "style": { + "navigationBarTitleText": "详情", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "calibration", + "style": { + "navigationBarTitleText": "校验", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "ScoringPlaylist", + "style": { + "navigationBarTitleText": "匹配标签", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + + { + "path": "Myprofile", + "style": { + "navigationBarTitleText": "编辑资料", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "nickname", + "style": { + "navigationBarTitleText": "编辑昵称", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "signature", + "style": { + "navigationBarTitleText": "编辑签名", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Changehepassword", + "style": { + "navigationBarTitleText": "修改密码", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "reception/addreception", + "style": { + "navigationBarTitleText": "新增接待", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "reception/consultant", + "style": { + "navigationBarTitleText": "选择顾问", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "consultanonduty/index", + "style": { + "navigationBarTitleText": "值班顾问", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + { + "path": "equipment/index", + "style": { + "navigationBarTitleText": "设备管理", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, { + "path": "messageList", + "style": { + "navigationBarTitleText": "消息", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + } + + }, { + "path": "daily/dailyList", + "style": { + "navigationBarTitleText": "日报", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + + }, { + "path": "daily/dailyDetail", + "style": { + "navigationBarTitleText": "日报详情", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + } + + }, { + "path": "selectBuilding", + "style": { + "navigationBarTitleText": "切换项目", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + + }, { + "path": "registerCode", + "style": { + "navigationBarTitleText": "访客登记码", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + } + + }, { + "path": "registerForm", + "style": { + "navigationBarTitleText": "访客登记表", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + } + + }, + { + "path": "registerResult", + "style": { + "navigationBarTitleText": "访客登记表", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + } + + }, { + "path": "messageDetail", + "style": { + "navigationBarTitleText": "升级公告", + "navigationBarBackgroundColor": "#2671E2", + "navigationBarTextStyle": "white" + } + + } + ] + }, + { + "root": "pages/learning", //学习 + "name": "learning", + "pages": [{ + "path": "Thefulltext/index", + "style": { + "navigationBarTitleText": "全文学习", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Thefulltext/index2", + "style": { + "navigationBarTitleText": "全文学习", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Thefulltext/search", + "style": { + "navigationBarTitleText": "搜索", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Keywordsearch", + "style": { + "navigationBarTitleText": "搜索", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Equinoctiallearning", + "style": { + "navigationBarTitleText": "分点学习", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Equinoctial/index", + "style": { + "navigationBarTitleText": "分点学习", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Equinoctial/index2", + "style": { + "navigationBarTitleText": "分点学习", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + } + + + ] + }, + { + "root": "pages/center", //中心逻辑的模块都放到这里 + "name": "center", + "pages": [{ + "path": "Piabodata/index", + "style": { + "navigationBarTitleText": "销讲数据", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + { + "path": "Piabodata/Groupcontrast", + "style": { + "navigationBarTitleText": "集团对比", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + { + "path": "Piabodata/Theteamcompared", + "style": { + "navigationBarTitleText": "团队对比", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + { + "path": "Piabodata/selectTeam", + "style": { + "navigationBarTitleText": "选择团队", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Piabodata/selectGroup", + "style": { + "navigationBarTitleText": "选择项目", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Piabodata/Userinsightinto", + "style": { + "navigationBarTitleText": "客户画像", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + { + "path": "Piabodata/TrendAnalysis", + "style": { + "navigationBarTitleText": "趋势分析", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + { + "path": "Piabodata/StaffAnalysis", + "style": { + "navigationBarTitleText": "员工分析", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + + { + "path": "Piabodata/Customerportrait/Detailsofthesearch", + "style": { + "navigationBarTitleText": "搜索", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Piabodata/Customerportrait/Receivedetailabout", + "style": { + "navigationBarTitleText": "详情", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Piabodata/Customerportrait/Receivingrecords", + "style": { + "navigationBarTitleText": "列表", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "Piabodata/Employeesstatistics", + "style": { + "navigationBarTitleText": "顾问排名", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + + { + "path": "records/index", + "style": { + "navigationBarTitleText": "接待记录", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + { + "path": "records/recordSearch", + "style": { + "navigationBarTitleText": "搜索", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "prohibited/index", + "style": { + "navigationBarTitleText": "违禁记录", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black", + "enablePullDownRefresh": true + } + }, + { + "path": "consumer/index", + "style": { + "navigationBarTitleText": "客户管理", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "consumer/consumerSearch", + "style": { + "navigationBarTitleText": "搜索", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "consumer/consumerDetail", + "style": { + "navigationBarTitleText": "客户详情", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "consumer/remind", + "style": { + "navigationBarTitleText": "添加提醒", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "consumer/edit", + "style": { + "navigationBarTitleText": "编辑客户", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + }, + { + "path": "consumer/newFollowup/newFollowup", + "style": { + "navigationBarTitleText": "写跟进", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" + } + } + ] + } + ], + + "permission": { + "scope.userLocation": { + "desc": "你的位置信息将用于小程序位置接口的效果展示" + } + }, + "networkTimeout": { + "request": 10000, + "downloadFile": 10000 + }, + "debug": false, + "tabBar": { + "color": "#8E8E8E", + "selectedColor": "#1296db", + "borderStyle": "white", + "list": [{ + "pagePath": "pages/index/customer", + "iconPath": "/static/images/tabBar/customer.png", + "selectedIconPath": "/static/images/tabBar/customerActive.png", + "text": "接待" + }, + { + "pagePath": "pages/index/consumer/index", + "iconPath": "/static/images/tabBar/kehu.png", + "selectedIconPath": "/static/images/tabBar/kehu_act.png", + "text": "客户" + }, + { + "pagePath": "pages/index/index", + "iconPath": "/static/images/tabBar/works.png", + "selectedIconPath": "/static/images/tabBar/worksActive.png", + "text": "工作台" + }, + { + "pagePath": "pages/index/learning", + "iconPath": "/static/images/tabBar/voice.png", + "selectedIconPath": "/static/images/tabBar/voiceActive.png", + "text": "学习" + }, + { + "pagePath": "pages/index/personal", + "iconPath": "/static/images/tabBar/user.png", + "selectedIconPath": "/static/images/tabBar/userActive.png", + "text": "我的" + } + ] + }, + "sitemapLocation": "sitemap.json", + "globalStyle": { + "backgroundColor": "#F6F6F6", + "backgroundTextStyle": "dark", + "navigationBarBackgroundColor": "#fff", + "navigationBarTitleText": "AI销讲助手", + "navigationBarTextStyle": "black" + }, + "condition" : { //模式配置,仅开发期间生效 + "current": 0, //当前激活的模式(list 的索引项) + "list": [ + { + "name": "访客登记表", //模式名称 + "path": "pages/mine/registerForm", //启动页面,必选 + "query": "" //启动参数,在页面的onLoad函数里面得到 + } + ] + } } diff --git a/pages/center/Piabodata/index.vue b/pages/center/Piabodata/index.vue index 5bcf54f..240ee69 100644 --- a/pages/center/Piabodata/index.vue +++ b/pages/center/Piabodata/index.vue @@ -84,8 +84,14 @@ --> {{danwei}} - + + @@ -104,8 +110,8 @@ 单位(%) - + @@ -130,7 +136,7 @@ --> 单位(%) - @@ -327,6 +333,15 @@ commonly6: false, }, + lineOpts: { + yAxis: { + data: [{ + max: 100, + min: 0, + }] + } + }, + opts: { yAxis: { data: [{ @@ -362,21 +377,21 @@ // 获取维度 this.getindexZxl() }, - onPullDownRefresh(){ + onPullDownRefresh() { // 获取员工 this.getStaffList() // 获取团队 this.getSectionList() // 获取团队是否显示权限 - + // 获取简报 this.getReport() // 获取接待趋势 this.getRtrent() // 获取维度 this.getindexZxl() - setTimeout(function () { - uni.stopPullDownRefresh(); + setTimeout(function() { + uni.stopPullDownRefresh(); }, 1000); }, methods: { diff --git a/pages/mine/equipment/index.vue b/pages/mine/equipment/index.vue index b665037..a208f40 100644 --- a/pages/mine/equipment/index.vue +++ b/pages/mine/equipment/index.vue @@ -63,7 +63,7 @@ 待上传