Commit 3ed7f377 by xinla

color: #aaa var(--font-black-7)

1 parent 1e5421a0
Showing 37 changed files with 121 additions and 125 deletions
......@@ -369,7 +369,7 @@ export default {
// }
.sub-des {
// color: #aaa;
// var(--font-black-7);
color: var(--color);
font-size: 12px;
}
......
......@@ -409,7 +409,7 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
.imgsize {
......
......@@ -201,7 +201,7 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
.imgsize {
......
......@@ -334,7 +334,7 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
.imgsize {
......
......@@ -74,7 +74,7 @@ export default {
<style lang="scss" scoped>
.time {
font-size: 12px;
color: #aaa;
var(--font-black-7);
padding: 10px 0 5px;
text-align: center;
}
......
......@@ -728,7 +728,7 @@ export default {
}
.tip {
margin-top: 10px;
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
.img-item {
......
......@@ -77,7 +77,7 @@ export default {
.login-nav--wrap {
.nav-li {
color: #aaa;
var(--font-black-7);
margin-left: 20px;
}
}
......
......@@ -334,7 +334,7 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
.imgsize {
......
......@@ -260,7 +260,7 @@ export default {
</template>
<style lang="scss" scoped>
.tip {
color: #aaa;
var(--font-black-7);
font-size: 12px;
line-height: 20px;
}
......
......@@ -397,7 +397,7 @@ export default {
}
}
.tip {
color: #aaa;
var(--font-black-7);
font-size: 12px;
line-height: 20px;
}
......
......@@ -139,7 +139,7 @@ export default {
.content {
width: 95%;
overflow: hidden;
color: #aaa;
var(--font-black-7);
font-size: 13px;
.name {
margin-right: 6px;
......
......@@ -262,7 +262,7 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
.imgsize {
......
......@@ -958,7 +958,7 @@ export default {
}
.sub-des {
// color: #aaa;
// var(--font-black-7);
color: var(--color);
font-size: 12px;
}
......
......@@ -195,7 +195,7 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
.imgsize {
......
......@@ -544,7 +544,7 @@ export default {
}
.sub-des {
// color: #aaa;
// var(--font-black-7);
color: var(--color);
font-size: 12px;
}
......
......@@ -435,7 +435,7 @@ export default {
margin: 30px auto;
text-align: center;
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
line-height: 60px;
}
......
......@@ -186,7 +186,7 @@ export default {
.info-wrap {
margin-left: 20px;
.info {
color: #aaa;
var(--font-black-7);
line-height: 32px;
}
}
......
......@@ -205,7 +205,7 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
.imgsize {
......
......@@ -378,7 +378,7 @@ export default {
// }
.sub-des {
// color: #aaa;
// var(--font-black-7);
color: var(--color);
font-size: 12px;
}
......
......@@ -396,7 +396,7 @@ export default {
}
}
.tip {
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
.green-text {
......
......@@ -350,7 +350,7 @@ export default {
font-size: 10px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #aaa;
var(--font-black-7);
}
::v-deep .image-uploader {
.uploader-icon {
......
......@@ -259,7 +259,7 @@ export default {
margin: 30px auto;
text-align: center;
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
line-height: 60px;
}
......
......@@ -116,7 +116,7 @@ export default {
<style lang="scss" scoped>
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
</style>
......@@ -289,7 +289,7 @@ export default {
<style lang="scss" scoped>
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
</style>
......@@ -168,7 +168,7 @@ export default {
.my-title {
}
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
</style>
......@@ -4,29 +4,27 @@
<div class="g-card">
<div class="my-title">自建应用</div>
<el-form-item label="消息应用ID:" prop="agentId">
<el-input style="width: 40%;" v-model="form.agentId" placeholder="请输入消息应用ID"></el-input>
<el-input style="width: 40%" v-model="form.agentId" placeholder="请输入消息应用ID"></el-input>
<div class="tips">用于接收应用消息,在企微后台->应用工具->自建应用中配置并获取</div>
</el-form-item>
<el-form-item label="消息应用Secret:" prop="agentSecret">
<div>
<el-input
style="width: 40%;"
style="width: 40%"
:disabled="!agentSecretEditState"
:type="agentSecretEditState ? 'text' : 'password'"
v-model="form.agentSecret"
placeholder="请输入消息应用Secret"
></el-input>
<el-button style="margin-left: 20px;" plain v-if="agentSecretEditState" @click="cancelEditAgentSecret">
placeholder="请输入消息应用Secret"></el-input>
<el-button style="margin-left: 20px" plain v-if="agentSecretEditState" @click="cancelEditAgentSecret">
取消
</el-button>
<el-button type="primary" plain v-if="agentSecretEditState" @click="submitEditAgentSecret">保存</el-button>
<el-button
type="primary"
style="margin-left: 20px;"
style="margin-left: 20px"
plain
v-if="!agentSecretEditState"
@click="editAgentSecret"
>
@click="editAgentSecret">
修改
</el-button>
</div>
......@@ -38,30 +36,28 @@
<el-form-item label="会话存档Secret:" prop="chatSecret">
<div>
<el-input
style="width: 40%;"
style="width: 40%"
:disabled="!chatSecretEditState"
:type="chatSecretEditState ? 'text' : 'password'"
v-model="form.chatSecret"
placeholder="请输入会话存档Secret"
></el-input>
<el-button style="margin-left: 20px;" plain v-if="chatSecretEditState" @click="cancelEditChatSecret">
placeholder="请输入会话存档Secret"></el-input>
<el-button style="margin-left: 20px" plain v-if="chatSecretEditState" @click="cancelEditChatSecret">
取消
</el-button>
<el-button type="primary" plain v-if="chatSecretEditState" @click="submitEditChatSecret">保存</el-button>
<el-button
type="primary"
style="margin-left: 20px;"
style="margin-left: 20px"
plain
v-if="!chatSecretEditState"
@click="editChatSecret"
>
@click="editChatSecret">
修改
</el-button>
</div>
<div class="tips">用于同步企微会话,在企微后台->管理工具->会话存档中获取</div>
</el-form-item>
<el-form-item label="消息加密私钥:" prop="financePrivateKey">
<el-input style="width: 40%;" v-model="form.financePrivateKey" placeholder="请输入消息加密私钥"></el-input>
<el-input style="width: 40%" v-model="form.financePrivateKey" placeholder="请输入消息加密私钥"></el-input>
<div class="tips">用于同步企微会话,在企微后台->管理工具->会话存档中获取</div>
</el-form-item>
</div>
......@@ -72,88 +68,88 @@
</div>
</template>
<script>
export default {
name: 'enterprise-wechat-part2',
data() {
return {
agentSecretCopy: '',
agentSecretEditState: false,
chatSecretCopy: '',
chatSecretEditState: false,
form: {},
rules: {
agentId: [{ required: true, message: '必填项', trigger: 'blur' }],
agentSecret: [{ required: true, message: '必填项', trigger: 'blur' }],
chatSecret: [{ required: true, message: '必填项', trigger: 'blur' }],
financePrivateKey: [{ required: true, message: '必填项', trigger: 'blur' }]
// seasRedirectUrl: [{ required: true, message: '必填项', trigger: 'blur' }],
// sopTagRedirectUrl: [{ required: true, message: '必填项', trigger: 'blur' }]
}
}
export default {
name: 'enterprise-wechat-part2',
data() {
return {
agentSecretCopy: '',
agentSecretEditState: false,
chatSecretCopy: '',
chatSecretEditState: false,
form: {},
rules: {
agentId: [{ required: true, message: '必填项', trigger: 'blur' }],
agentSecret: [{ required: true, message: '必填项', trigger: 'blur' }],
chatSecret: [{ required: true, message: '必填项', trigger: 'blur' }],
financePrivateKey: [{ required: true, message: '必填项', trigger: 'blur' }],
// seasRedirectUrl: [{ required: true, message: '必填项', trigger: 'blur' }],
// sopTagRedirectUrl: [{ required: true, message: '必填项', trigger: 'blur' }]
},
}
},
watch: {
data: 'setData',
},
props: {
data: {
type: Object,
default: {},
},
watch: {
data: 'setData'
},
methods: {
editAgentSecret() {
this.agentSecretEditState = true
this.agentSecretCopy = JSON.parse(JSON.stringify(this.form.agentSecret))
this.form.agentSecret = ''
},
props: {
data: {
type: Object,
default: {}
}
cancelEditAgentSecret() {
this.agentSecretEditState = false
this.form.agentSecret = JSON.parse(JSON.stringify(this.agentSecretCopy))
},
methods: {
editAgentSecret() {
this.agentSecretEditState = true
this.agentSecretCopy = JSON.parse(JSON.stringify(this.form.agentSecret))
this.form.agentSecret = ''
},
cancelEditAgentSecret() {
submitEditAgentSecret() {
if (this.form.agentSecret) {
this.$emit('submit', this.form)
this.agentSecretEditState = false
this.form.agentSecret = JSON.parse(JSON.stringify(this.agentSecretCopy))
},
submitEditAgentSecret() {
if (this.form.agentSecret) {
this.$emit('submit', this.form)
this.agentSecretEditState = false
}
},
editChatSecret() {
this.chatSecretEditState = true
this.chatSecretCopy = JSON.parse(JSON.stringify(this.form.chatSecret))
this.form.chatSecret = ''
},
cancelEditChatSecret() {
}
},
editChatSecret() {
this.chatSecretEditState = true
this.chatSecretCopy = JSON.parse(JSON.stringify(this.form.chatSecret))
this.form.chatSecret = ''
},
cancelEditChatSecret() {
this.chatSecretEditState = false
this.form.chatSecret = JSON.parse(JSON.stringify(this.chatSecretCopy))
},
submitEditChatSecret() {
if (this.form.chatSecret) {
this.$emit('submit', this.form)
this.chatSecretEditState = false
this.form.chatSecret = JSON.parse(JSON.stringify(this.chatSecretCopy))
},
submitEditChatSecret() {
if (this.form.chatSecret) {
this.$emit('submit', this.form)
this.chatSecretEditState = false
}
},
}
},
submit() {
this.$refs['form'].validate((validate) => {
if (validate) {
this.$emit('submit', this.form)
}
})
},
setData() {
if (Object.keys(this.data).length) {
this.form = this.data
submit() {
this.$refs['form'].validate((validate) => {
if (validate) {
this.$emit('submit', this.form)
}
})
},
setData() {
if (Object.keys(this.data).length) {
this.form = this.data
}
},
mounted() {},
created() {}
}
},
mounted() {},
created() {},
}
</script>
<style lang="scss" scoped>
.my-title {
}
.tips {
color: #aaa;
font-size: 12px;
}
.my-title {
}
.tips {
var(--font-black-7);
font-size: 12px;
}
</style>
......@@ -97,7 +97,7 @@ export default {
.my-title {
}
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
</style>
......@@ -117,7 +117,7 @@ export default {
.my-title {
}
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
</style>
......@@ -106,7 +106,7 @@ export default {
.my-title {
}
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
</style>
......@@ -88,7 +88,7 @@ export default {
.my-title {
}
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
</style>
......@@ -262,7 +262,7 @@ div#driver-highlighted-element-stage {
// visibility: hidden;
// }
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
</style>
......@@ -162,7 +162,7 @@ export default {
<el-button text class="copy-btn" :data-clipboard-text="data.shortUrl">复制链接</el-button>
<el-button text @click="download()">下载二维码</el-button>
<!-- <div style="font-size: 12px; color: #aaa">
<!-- <div style="font-size: 12px; var(--font-black-7)">
此链接适用于短信、邮件、外部网页、微信内等拉起小程序的业务场景,
<a
href="https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-scheme/generateScheme.html">
......
......@@ -254,7 +254,7 @@ export default {
<style lang="scss" scoped>
.tips {
color: #aaa;
var(--font-black-7);
font-size: 12px;
}
::v-deep.qrCode {
......
......@@ -221,7 +221,7 @@ export default {
// }
.desc {
text-align: center;
color: #aaa;
var(--font-black-7);
font-size: 12px;
margin: -22px 0 50px;
}
......
......@@ -501,7 +501,7 @@ export default {
}
.my-label {
font-size: 14px;
color: #aaa;
var(--font-black-7);
}
.my-content {
font-size: 14px;
......
......@@ -549,7 +549,7 @@ export default {
font-weight: 700;
}
.titleColor {
color: #aaa;
var(--font-black-7);
}
.el-tag:nth-of-type(2) {
margin-right: 10px;
......
......@@ -225,7 +225,7 @@ export default {
bottom: 20px;
}
.el-icon-QuestionFilled {
color: #aaa;
var(--font-black-7);
}
.auth-desc-img {
height: 400px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!