feat: production branch with deploy config for baota panel
- Add deploy/ directory with production env, supervisor, nginx, migration configs - Include all latest features: admin management, feedback, footer with ICP/beian - Database: foreign_trade (PostgreSQL), user: foreign_trade - Frontend: trade.yuzhiran.com, backend proxy via Nginx
This commit is contained in:
@@ -148,6 +148,10 @@
|
||||
<text class="more-icon">⚙️</text>
|
||||
<text class="more-text">管理</text>
|
||||
</view>
|
||||
<view class="more-item" @click="showWechatModal = true">
|
||||
<text class="more-icon">💁</text>
|
||||
<text class="more-text">联系客服</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -196,6 +200,28 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="modal-overlay" v-if="showWechatModal" @click="showWechatModal = false">
|
||||
<view class="contact-modal" @click.stop>
|
||||
<text class="contact-title">📞 联系我们</text>
|
||||
<view class="contact-body">
|
||||
<view class="contact-item">
|
||||
<text class="contact-label">客服微信</text>
|
||||
<text class="contact-value selectable" selectable>TradeMate_Support</text>
|
||||
</view>
|
||||
<view class="contact-item">
|
||||
<text class="contact-label">用户交流群</text>
|
||||
<text class="contact-value">添加客服微信后拉你入群</text>
|
||||
</view>
|
||||
<view class="contact-qr-placeholder">
|
||||
<text class="qr-icon">📷</text>
|
||||
<text class="qr-hint">客服微信二维码</text>
|
||||
</view>
|
||||
<text class="contact-tip">添加好友时备注"外贸小助手"</text>
|
||||
</view>
|
||||
<button class="announcement-btn" @click="showWechatModal = false">知道了</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="modal-overlay" v-if="showAnnouncement" @click="showAnnouncement = false">
|
||||
<view class="announcement-modal" @click.stop>
|
||||
<text class="announcement-title">📢 系统公告</text>
|
||||
@@ -211,6 +237,19 @@
|
||||
<button class="announcement-btn" @click="showAnnouncement = false; goToLogin()">去登录</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="footer">
|
||||
<view class="footer-links">
|
||||
<text class="footer-link" @click="goToPage('/pages/agreement/privacy')">隐私政策</text>
|
||||
<text class="footer-divider">|</text>
|
||||
<text class="footer-link" @click="goToPage('/pages/agreement/terms')">用户协议</text>
|
||||
</view>
|
||||
<view class="footer-beian">
|
||||
<a class="footer-beian-link" href="https://beian.miit.gov.cn" target="_blank">京ICP备2026007249号-1</a>
|
||||
<a class="footer-beian-link" href="https://beian.mps.gov.cn/#/query/webSearch?code=11011502039545" target="_blank">京公网安备11011502039545号</a>
|
||||
</view>
|
||||
<text class="footer-copyright">© 2026 北京宇之然科技中心. 保留所有权利.</text>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -242,6 +281,7 @@ const stats = ref({
|
||||
const silentCustomers = ref([])
|
||||
const unreadCount = ref(0)
|
||||
const followupStats = ref({ pending: 0, sent: 0, replied: 0 })
|
||||
const showWechatModal = ref(false)
|
||||
const showOnboarding = ref(false)
|
||||
const onboardingStep = ref(1)
|
||||
const productName = ref('')
|
||||
@@ -913,6 +953,46 @@ const playTryResult = () => {
|
||||
z-index: 999; padding: 40rpx;
|
||||
}
|
||||
|
||||
.contact-modal {
|
||||
background: #fff;
|
||||
border-radius: 20rpx;
|
||||
width: 85%;
|
||||
max-width: 560rpx;
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
padding: 40rpx;
|
||||
}
|
||||
.contact-title {
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
display: block;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.contact-body { margin-bottom: 30rpx; }
|
||||
.contact-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 16rpx 0;
|
||||
border-bottom: 1rpx solid #f0f0f0;
|
||||
}
|
||||
.contact-label { font-size: 26rpx; color: #666; }
|
||||
.contact-value { font-size: 28rpx; color: #333; font-weight: 500; }
|
||||
.contact-qr-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 40rpx 0;
|
||||
background: #f9f9f9;
|
||||
border-radius: 12rpx;
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
.qr-icon { font-size: 64rpx; margin-bottom: 16rpx; }
|
||||
.qr-hint { font-size: 24rpx; color: #999; }
|
||||
.qr-path { font-size: 20rpx; color: #ccc; margin-top: 8rpx; }
|
||||
.contact-tip { font-size: 22rpx; color: #999; text-align: center; display: block; }
|
||||
|
||||
.announcement-modal {
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
@@ -961,4 +1041,48 @@ const playTryResult = () => {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 40rpx;
|
||||
padding: 40rpx 20rpx 30rpx;
|
||||
text-align: center;
|
||||
border-top: 2rpx solid #e8e8e8;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 16rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.footer-link {
|
||||
font-size: 24rpx;
|
||||
color: #1890ff;
|
||||
}
|
||||
|
||||
.footer-divider {
|
||||
font-size: 24rpx;
|
||||
color: #d9d9d9;
|
||||
}
|
||||
|
||||
.footer-beian {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 12rpx;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
|
||||
.footer-beian-link {
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.footer-copyright {
|
||||
font-size: 22rpx;
|
||||
color: #bbb;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user