feat: 小程序统一走 Go 后台,咨询与登录切到 /api/v1
去掉协会 WebView 和魔方账密页,微信登录与咨询接口共用同一 token 和拦截器。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<view class="yxg-wrap">
|
||||
<yxg-nav :title="title" :show-back="showBack" />
|
||||
<view class="yxg-body">
|
||||
<slot />
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import YxgNav from './yxg-nav.vue'
|
||||
|
||||
defineProps({
|
||||
title: { type: String, default: '' },
|
||||
showBack: { type: Boolean, default: true },
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.yxg-wrap {
|
||||
min-height: 100vh;
|
||||
background: linear-gradient(180deg, #ffd1c7 0%, #ffe4d8 28%, #fff4ef 52%, #fff9f7 100%);
|
||||
padding-bottom: 32px;
|
||||
}
|
||||
.yxg-body {
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user