63be4379 by 华明祺

no message

1 parent ddd8d60b
......@@ -193,7 +193,7 @@ function h5Login(userName) {
}
function showLogin(callback) {
// uni.clearStorageSync()
uni.removeStorageSync("token")
uni.showModal({
title: '请输入身份证,进行身份验证',
......
......@@ -53,13 +53,6 @@ let request = function(req) {
const token = getToken()
let tempUrl = req.url
if (token) {
if (tempUrl.indexOf('?') > -1) {
tempUrl += '&userNo=' + token
} else {
tempUrl += '?userNo=' + token
}
}
let url, data
if (config.localPort) {
......@@ -77,6 +70,13 @@ let request = function(req) {
params: 'jsonBody=' + JSON.stringify(req.params)
}
} else {
if (token) {
if (tempUrl.indexOf('?') > -1) {
tempUrl += '&userNo=' + token
} else {
tempUrl += '?userNo=' + token
}
}
if (req.params) {
for (const key of Object.keys(req.params)) {
if (tempUrl.indexOf('?') > -1) {
......
......@@ -3,7 +3,7 @@
<view class="uni-margin-wrap">
<swiper class="swiper" circular :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval"
:duration="duration" indicator-color="rgba(255,255,255,0.6)" indicator-active-color="#fff">
<!-- <swiper-item v-for="(p, index) in venue.venuePicArr" :key="index">
<!-- <swiper-item v-for="(p, index) in venue.venuePicArr" :key="index">
<view class="swiper-item">
<image mode="aspectFill" :src="p"></image>
</view>
......@@ -16,15 +16,13 @@
</swiper>
</view>
<view class="infoArea">
<view class="contentbox">
<view class="name">
国电培训中心简介
<!-- <view class="content" v-html="venue.introdution"> -->
<view class="content" style="margin-top: 20rpx;">
国网江苏省电力公司营销技能培训中心办公室地址位于传统的江南文化、鱼米之乡盐城,盐城 盐城市大庆东路66号,于2008年10月30日在盐城市工商行政管理局注册成立,注册资本为400万元人民币,在公司发展壮大的15年里,我们始终为客户提供好的产品和技术支持、健全的售后服务,我公司主要经营住宿服务;电力人才交流、培训、信息服务。,我们有好的产品和专业的销售和技术团队,我公司属于盐城电力供应业黄页行业,如果您对我公司的产品服务有兴趣,期待您在线留言或者来电咨询
国网江苏省电力公司营销技能培训中心办公室地址位于传统的江南文化、鱼米之乡盐城,盐城
盐城市大庆东路66号,于2008年10月30日在盐城市工商行政管理局注册成立,注册资本为400万元人民币,在公司发展壮大的15年里,我们始终为客户提供好的产品和技术支持、健全的售后服务,我公司主要经营住宿服务;电力人才交流、培训、信息服务。,我们有好的产品和专业的销售和技术团队,我公司属于盐城电力供应业黄页行业,如果您对我公司的产品服务有兴趣,期待您在线留言或者来电咨询
</view>
</view>
<view class="n9" @click="makeCall">
......@@ -119,17 +117,17 @@
const list = ref([{
id: 0,
name: '培训助手',
partLogo:'/static/btn01.png',
partLogo: '/static/btn01.png',
path: '/pages_hotel/hotel/index'
}, {
id: 2,
name: '校园风采',
partLogo:'/static/btn03.png',
partLogo: '/static/btn03.png',
path: ''
}, {
id: 3,
name: '我的',
partLogo:'/static/btn04.png',
partLogo: '/static/btn04.png',
path: '/pages_hotel/hotel/mycenter'
}]);
......@@ -146,8 +144,8 @@
if (option.scene) {
proId = decodeURIComponent(option.scene);
}
if(option.relogo){
showLogin(()=>{
if (option.relogo) {
showLogin(() => {
uni.redirectTo({
url: '/pages/index/index'
});
......@@ -296,9 +294,15 @@
}
</script>
<style scope lang="scss">
.grid-item-box{text-align: center;
image{width: 120rpx;height: 120rpx;}
.grid-item-box {
text-align: center;
image {
width: 120rpx;
height: 120rpx;
}
}
.singlePop {
max-height: 60vh;
overflow: auto;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!