Commit 78012fb2 by 前端

Merge branch 'hy_dev_v2.0.0' into 'v2.0.0'

Hy dev v2.0.0

See merge request !14
2 parents a7c31d9a c3187952
...@@ -17,8 +17,8 @@ export const fetchConfig = function (isEnv = true) { ...@@ -17,8 +17,8 @@ export const fetchConfig = function (isEnv = true) {
// Object.assign(request, { timeout }) // Object.assign(request, { timeout })
// return Promise.resolve(cfg) // return Promise.resolve(cfg)
// } // }
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config') return new Http().get('https://oss-config.test.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
return new Http().get('http://oss-config.dev.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config') // return new Http().get('http://oss-config.dev.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
} }
export const config = { export const config = {
install(vue, cfg) { install(vue, cfg) {
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<div class="step-title" style="margin-bottom: 16px">在【嘀加企微管家】应用页下方,根据接入方式,找到对应功能(自建应用模式和应用代开发模式为2存1,不会同时出现,企微管理员只需关注“审批设置”在企微后台那里 展示,点进去配置即可)</div> <div class="step-title" style="margin-bottom: 16px">在【嘀加企微管家】应用页下方,根据接入方式,找到对应功能(自建应用模式和应用代开发模式为2存1,不会同时出现,企微管理员只需关注“审批设置”在企微后台那里 展示,点进去配置即可)</div>
<div class="half-step"> <div class="half-step">
<div class="half-title">自建应用模式:</div> <div class="half-title">自建应用模式:</div>
<div class="half-content third-content">在【开发者接口】模块,找到“审批接口”,点击【设置】,进入设置页</div> <div class="half-content third-content" :style="{ height: thirdHeight + 'px' }">在【开发者接口】模块,找到“审批接口”,点击【设置】,进入设置页</div>
<img class="step3-img" src="../../../src/assets/guide/02@3x.png" alt="" /> <img class="step3-img" src="../../../src/assets/guide/02@3x.png" alt="" />
</div> </div>
<div class="half-step m-l-md"> <div class="half-step m-l-md">
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
</div> </div>
<div class="half-step m-l-md"> <div class="half-step m-l-md">
<div class="half-title">应用代开发模式:</div> <div class="half-title">应用代开发模式:</div>
<div class="half-content five-content">需进入模板的配置页,在浏览器链接中,复制如图位置的字符,即可获取审批 模板的ID</div> <div class="half-content five-content" :style="{ height: fiveHeight + 'px' }">需进入模板的配置页,在浏览器链接中,复制如图位置的字符,即可获取审批 模板的ID</div>
<img class="step5-img" src="../../../src/assets/guide/09@3x.png" alt="" /> <img class="step5-img" src="../../../src/assets/guide/09@3x.png" alt="" />
</div> </div>
</div> </div>
...@@ -102,47 +102,19 @@ export default { ...@@ -102,47 +102,19 @@ export default {
return { return {
lineHeight: 2200, lineHeight: 2200,
footerLeft: 0, footerLeft: 0,
footerWidth: 0, // footerWidth: 800,
// 当屏幕太小导致换行,出现对不齐问题 // 当屏幕太小导致换行,出现对不齐问题
fiveHeight: 20, fiveHeight: 40,
thirdHeight: 20 thirdHeight: 40
} }
}, },
mounted() { mounted() {
// setTimeout(() => {
// this.lineHeight = document.querySelector('.guide-content').clientHeight - 92
// this.resize()
window.onresize = () => {
// this.resize()
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.thirdHeight = document.querySelector('.third-content').clientHeight
this.fiveHeight = document.querySelector('.five-content').clientHeight
}
// window.addEventListener('resize', this.resize())
// }, 1000 / 60)
},
beforeDestroy() {
// 事件注销
window.onresize = null
}, },
methods: { methods: {
handleCancel() { handleCancel() {
this.$router.push({ path: '/approvalConfig/index' }) this.$router.push({ path: '/approvalConfig/index' })
},
resize() {
// this.resetData()
this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.thirdHeight = document.querySelector('.third-content').clientHeight
this.fiveHeight = document.querySelector('.five-content').clientHeight
},
resetData() {
this.lineHeight = 2200
this.footerLeft = 0
this.footerWidth = 0
this.fiveHeight = 20
this.thirdHeight = 20
} }
} }
} }
......
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
{{ blocInfo.merchantName }} {{ blocInfo.merchantName }}
<span class="min_text">(商户号:{{ blocInfo.merchantNo }})</span> <span class="min_text">(商户号:{{ blocInfo.merchantNo }})</span>
</div> </div>
<el-button type="primary" :size="size" @click="editInfo">修改企业信息</el-button> <GLButton type="primary" :size="size" @click="editInfo" fn="修改企业信息">修改企业信息</GLButton>
<!-- <el-button type="primary" :size="size" @click="editInfo">修改企业信息</el-button> -->
</div> </div>
<div class="sec_title_text dr_top_1"> <div class="sec_title_text dr_top_1">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!