master
taoshihan 1 month ago
parent 2be75e8062
commit f18dcdd165

@ -53,23 +53,19 @@
<template> <template>
<el-card class="deployment-guide"> <el-card class="deployment-guide">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<h2>System Deployment Guide</h2> <h2>Quick Start via Chat Link</h2>
</div> </div>
<el-steps :active="3" align-center>
<el-step title="Server Setup" description="Prepare your hosting environment"></el-step>
<el-step title="System Installation" description="Deploy the application"></el-step>
<el-step title="Configuration" description="Set up system parameters"></el-step>
<el-step title="Go Live" description="Launch your chat system"></el-step>
</el-steps>
<div class="deployment-section"> <div class="deployment-section">
<h3>Quick Start via Chat Link</h3>
<p>To immediately access your customer support chat interface:</p> <p>To immediately access your customer support chat interface:</p>
<p>Your live chat endpoint is available at:</p> <p>Your live chat endpoint is available at:</p>
<el-input v-model="chatEndpoint" readonly style="width: 100%; margin-top: 10px;"> <el-input v-model="chatEndpoint" readonly style="width: 100%; margin-top: 10px;">
<el-button slot="append" icon="el-icon-link"
v-on:click="openChatWindow(chatEndpoint)"
title="Open chat in new window"></el-button>
<el-button slot="append" icon="el-icon-document-copy" <el-button slot="append" icon="el-icon-document-copy"
v-on:click="copyText(chatEndpoint)"></el-button> v-on:click="copyText(chatEndpoint)"
title="Copy link"></el-button>
</el-input> </el-input>
</div> </div>

@ -197,6 +197,10 @@
} }
}); });
}, },
openChatWindow(url) {
// 在新窗口打开聊天页面
window.open(url, '_blank');
}
}, },
mounted:function(){ mounted:function(){

Loading…
Cancel
Save