10.17下班提交
This commit is contained in:
parent
ea320f4e54
commit
4816054b96
5
App.vue
5
App.vue
@ -449,12 +449,13 @@ export default {
|
|||||||
appId: "3364888",
|
appId: "3364888",
|
||||||
appKey: "75D5Vqsg63wok0S0w4SKog0w8",
|
appKey: "75D5Vqsg63wok0S0w4SKog0w8",
|
||||||
certificateName: "Expert_Op_Push",
|
certificateName: "Expert_Op_Push",
|
||||||
secret: "9e93Ce2AbA97E15F3852279b639b014e",
|
secret: "416a4f5eF822ddcB73B627Cc310636D7",
|
||||||
|
|
||||||
},
|
},
|
||||||
vivoPush: {
|
vivoPush: {
|
||||||
appId: "100034326",
|
appId: "100034326",
|
||||||
appKey: "e789634c1f76c8f184b1def1101ce824",
|
appKey: "e789634c1f76c8f184b1def1101ce824",
|
||||||
certificateName: "Expert_vivo_Push",
|
certificateName: "Expert_Vi_Push",
|
||||||
secret: "416a4f5eF822ddcB73B627Cc310636D7",
|
secret: "416a4f5eF822ddcB73B627Cc310636D7",
|
||||||
},
|
},
|
||||||
fcmPush: {
|
fcmPush: {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- 顶部导航栏 -->
|
<!-- 顶部导航栏 -->
|
||||||
<uni-nav-bar
|
<uni-nav-bar
|
||||||
:left-icon="showLeft?left:''"
|
:left-icon="showLeft?'left':''"
|
||||||
:title="title"
|
:title="title"
|
||||||
@clickLeft="goBack"
|
@clickLeft="goBack"
|
||||||
fixed
|
fixed
|
||||||
|
|||||||
@ -16,12 +16,17 @@
|
|||||||
"autoclose" : true,
|
"autoclose" : true,
|
||||||
"delay" : 0
|
"delay" : 0
|
||||||
},
|
},
|
||||||
|
"useragent": {
|
||||||
|
"value": "gdxz",
|
||||||
|
"concatenate": true
|
||||||
|
},
|
||||||
"modules" : {
|
"modules" : {
|
||||||
"OAuth" : {},
|
"OAuth" : {},
|
||||||
"Payment" : {},
|
"Payment" : {},
|
||||||
"Share" : {},
|
"Share" : {},
|
||||||
"Webview-x5" : {},
|
"Webview-x5" : {},
|
||||||
"UIWebview" : {},
|
"UIWebview" : {},
|
||||||
|
"Push" : {},
|
||||||
"VideoPlayer" : {}
|
"VideoPlayer" : {}
|
||||||
},
|
},
|
||||||
/* 模块配置 */
|
/* 模块配置 */
|
||||||
|
|||||||
@ -94,7 +94,7 @@
|
|||||||
class="notice-swiper"
|
class="notice-swiper"
|
||||||
:vertical="true"
|
:vertical="true"
|
||||||
:autoplay="true"
|
:autoplay="true"
|
||||||
:interval="3000"
|
:interval="5000"
|
||||||
:duration="1000"
|
:duration="1000"
|
||||||
:circular="true"
|
:circular="true"
|
||||||
@change="onNoticeChange"
|
@change="onNoticeChange"
|
||||||
@ -488,7 +488,7 @@ const getStartpage = () => {
|
|||||||
if (adData.value.url) {
|
if (adData.value.url) {
|
||||||
// 有跳转链接,跳转到指定页面
|
// 有跳转链接,跳转到指定页面
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/webview/webview?url=' + adData.value.url
|
url: '/pages_app/webview/webview?url=' + encodeURIComponent(adData.value.url)+'&title=肝胆相照'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// 没有跳转链接,直接跳转到首页
|
// 没有跳转链接,直接跳转到首页
|
||||||
|
|||||||
@ -404,12 +404,12 @@ function onReachBottom(){
|
|||||||
.list-scroll {
|
.list-scroll {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 228rpx;
|
top: 268rpx;
|
||||||
bottom: 136rpx;
|
bottom: 136rpx;
|
||||||
padding: 8px 0px 0 0px;
|
padding: 8px 0px 0 0px;
|
||||||
margin: 20rpx 30rpx 0;
|
margin: 20rpx rpx 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width:auto;
|
width:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.consult-card {
|
.consult-card {
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
<up-image :src="logo" width="164rpx" height="167rpx" ></up-image>
|
<up-image :src="logo" width="164rpx" height="167rpx" ></up-image>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<text class="app-name">专家端</text>
|
<text class="app-name">专家版</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 手机号显示 -->
|
<!-- 手机号显示 -->
|
||||||
@ -218,7 +218,7 @@
|
|||||||
uni.setStorageSync('userInfo', res.data);
|
uni.setStorageSync('userInfo', res.data);
|
||||||
}
|
}
|
||||||
const app = getApp()
|
const app = getApp()
|
||||||
app.initNim({ account:result.data.YX_accid, token: result.data.YX_token })
|
app.initNim({appkey: "885dea390870814acf3ba8558c717572", account:result.data.YX_accid, token: result.data.YX_token })
|
||||||
// 跳转到首页
|
// 跳转到首页
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index'
|
||||||
|
|||||||
@ -131,19 +131,21 @@
|
|||||||
<!-- 专长 -->
|
<!-- 专长 -->
|
||||||
<view class="row" @click="onEditSpecialty">
|
<view class="row" @click="onEditSpecialty">
|
||||||
<view class="label"><text>专长</text></view>
|
<view class="label"><text>专长</text></view>
|
||||||
<view class="value with-arrow">
|
<view class="value with-arrow intro">
|
||||||
<text>{{ getSpecialtyText() }}</text>
|
<text>{{ getSpecialtyText() }}</text>
|
||||||
<uni-icons type="right" size="18" color="#bbb" />
|
|
||||||
</view>
|
</view>
|
||||||
|
<uni-icons type="right" size="18" color="#bbb" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 个人简介 -->
|
<!-- 个人简介 -->
|
||||||
<view class="row" @click="onEdit('intro',form.intro)">
|
<view class="row" @click="onEdit('intro',form.intro)">
|
||||||
<view class="label"><text>个人简介</text></view>
|
<view class="label"><text>个人简介</text></view>
|
||||||
<view class="value with-arrow">
|
<view class="value with-arrow intro">
|
||||||
<text>{{ form.intro || '暂无简介' }}</text>
|
<text>{{ form.intro || '暂无简介' }}</text>
|
||||||
<uni-icons type="right" size="18" color="#bbb" />
|
|
||||||
</view>
|
</view>
|
||||||
|
<uni-icons type="right" size="18" color="#bbb" />
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
|
|
||||||
@ -815,8 +817,20 @@ const confirmSpecialties = () => {
|
|||||||
color: #666;
|
color: #666;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
}
|
}
|
||||||
|
.intro{
|
||||||
|
flex: 1;
|
||||||
|
max-width:80%;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
.with-arrow text {
|
.with-arrow text {
|
||||||
|
|
||||||
margin-right: 14rpx;
|
margin-right: 14rpx;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
.value-avatar {
|
.value-avatar {
|
||||||
gap: 14rpx;
|
gap: 14rpx;
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
<up-image :src="logo" width="164rpx" height="167rpx" ></up-image>
|
<up-image :src="logo" width="164rpx" height="167rpx" ></up-image>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<text class="app-name">专家端</text>
|
<text class="app-name">专家版</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 手机号输入 -->
|
<!-- 手机号输入 -->
|
||||||
@ -254,6 +254,8 @@
|
|||||||
title: '登录成功',
|
title: '登录成功',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
});
|
});
|
||||||
|
const app = getApp()
|
||||||
|
app.initNim({appkey: "885dea390870814acf3ba8558c717572", account:result.YX_accid, token: result.YX_token })
|
||||||
console.log(3)
|
console.log(3)
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url:'/pages/index/index'
|
url:'/pages/index/index'
|
||||||
@ -327,9 +329,10 @@
|
|||||||
uni.setStorageSync('DEV_AUTH_YX_TOKEN_App', res.data.YX_token);
|
uni.setStorageSync('DEV_AUTH_YX_TOKEN_App', res.data.YX_token);
|
||||||
uni.setStorageSync('userInfo', res.data);
|
uni.setStorageSync('userInfo', res.data);
|
||||||
}
|
}
|
||||||
|
const app = getApp()
|
||||||
|
app.initNim({ account:result.data.YX_accid, token: result.data.YX_token })
|
||||||
// 跳转到首页
|
// 跳转到首页
|
||||||
navTo({
|
uni.redirectTo({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index'
|
||||||
})
|
})
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
<up-image :src="logo" width="164rpx" height="167rpx" ></up-image>
|
<up-image :src="logo" width="164rpx" height="167rpx" ></up-image>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<text class="app-name">专家端</text>
|
<text class="app-name">专家版</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 手机号输入 -->
|
<!-- 手机号输入 -->
|
||||||
@ -366,7 +366,7 @@
|
|||||||
|
|
||||||
|
|
||||||
const app = getApp()
|
const app = getApp()
|
||||||
app.initNim({ account:result.YX_accid, token: result.YX_token })
|
app.initNim({appkey: "885dea390870814acf3ba8558c717572", account:result.YX_accid, token: result.YX_token })
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '登录成功',
|
title: '登录成功',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<navBar :title="title"></navBar>
|
<navBar :title="title" :showLeft="true"></navBar>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@ -45,3 +45,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user