0.0.6
3
.gitignore
vendored
@ -17,3 +17,6 @@ bin-release/
|
||||
# should NOT be excluded as they contain compiler settings and other important
|
||||
# information for Eclipse / Flash Builder.
|
||||
|
||||
/.idea
|
||||
niucloud/public/.htaccess
|
||||
admin/.env.development
|
||||
2
admin/.gitignore
vendored
@ -22,3 +22,5 @@ dist-ssr
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
.env.development
|
||||
.env.production
|
||||
3
admin/.vscode/extensions.json
vendored
@ -1,3 +0,0 @@
|
||||
{
|
||||
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
|
||||
}
|
||||
@ -1,5 +0,0 @@
|
||||
{
|
||||
"require": {
|
||||
"mjaschen/phpgeo": "^4.2"
|
||||
}
|
||||
}
|
||||
98
admin/composer.lock
generated
@ -1,98 +0,0 @@
|
||||
{
|
||||
"_readme": [
|
||||
"This file locks the dependencies of your project to a known state",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "59ab9c105da56884a02f809bf612a82c",
|
||||
"packages": [
|
||||
{
|
||||
"name": "mjaschen/phpgeo",
|
||||
"version": "4.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mjaschen/phpgeo.git",
|
||||
"reference": "b2e593cf1e9aceea36510158ddb80c7395a80d5a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/mjaschen/phpgeo/zipball/b2e593cf1e9aceea36510158ddb80c7395a80d5a",
|
||||
"reference": "b2e593cf1e9aceea36510158ddb80c7395a80d5a",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
||||
"preferred": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.3 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"squizlabs/php_codesniffer": "^3.6",
|
||||
"vimeo/psalm": "^4.13"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Location\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Marcus Jaschen",
|
||||
"email": "mjaschen@gmail.com",
|
||||
"homepage": "https://www.marcusjaschen.de/"
|
||||
}
|
||||
],
|
||||
"description": "Simple Yet Powerful Geo Library",
|
||||
"homepage": "https://phpgeo.marcusjaschen.de/",
|
||||
"keywords": [
|
||||
"Polygon",
|
||||
"area",
|
||||
"bearing",
|
||||
"bounds",
|
||||
"calculation",
|
||||
"coordinate",
|
||||
"distance",
|
||||
"earth",
|
||||
"ellipsoid",
|
||||
"geo",
|
||||
"geofence",
|
||||
"gis",
|
||||
"gps",
|
||||
"haversine",
|
||||
"length",
|
||||
"perpendicular",
|
||||
"point",
|
||||
"polyline",
|
||||
"projection",
|
||||
"simplify",
|
||||
"track",
|
||||
"vincenty"
|
||||
],
|
||||
"support": {
|
||||
"docs": "https://phpgeo.marcusjaschen.de/Installation.html",
|
||||
"email": "mjaschen@gmail.com",
|
||||
"issues": "https://github.com/mjaschen/phpgeo/issues",
|
||||
"source": "https://github.com/mjaschen/phpgeo/tree/4.2.0"
|
||||
},
|
||||
"time": "2022-07-25T08:36:36+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": [],
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.3.0"
|
||||
}
|
||||
11
admin/package-lock.json
generated
@ -26,6 +26,7 @@
|
||||
"sortablejs": "^1.15.0",
|
||||
"vue": "^3.2.45",
|
||||
"vue-i18n": "^9.2.2",
|
||||
"vue-jsonp": "^2.0.0",
|
||||
"vue-router": "^4.1.6",
|
||||
"vue-web-terminal": "^3.1.7",
|
||||
"vue3-video-play": "^1.3.1-beta.6"
|
||||
@ -6244,6 +6245,11 @@
|
||||
"vue": "^3.2.2"
|
||||
}
|
||||
},
|
||||
"node_modules/vue-jsonp": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/vue-jsonp/-/vue-jsonp-2.0.0.tgz",
|
||||
"integrity": "sha512-Mzd9GNeuKP5hHFDWZNMWOsCuMILSkA6jo2l4A02wheFz3qqBzH7aSEFTey1BRCZCLizlaf1EqJ5YUtF392KspA=="
|
||||
},
|
||||
"node_modules/vue-router": {
|
||||
"version": "4.1.6",
|
||||
"resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-4.1.6.tgz",
|
||||
@ -11364,6 +11370,11 @@
|
||||
"clipboard": "^2.0.4"
|
||||
}
|
||||
},
|
||||
"vue-jsonp": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/vue-jsonp/-/vue-jsonp-2.0.0.tgz",
|
||||
"integrity": "sha512-Mzd9GNeuKP5hHFDWZNMWOsCuMILSkA6jo2l4A02wheFz3qqBzH7aSEFTey1BRCZCLizlaf1EqJ5YUtF392KspA=="
|
||||
},
|
||||
"vue-router": {
|
||||
"version": "4.1.6",
|
||||
"resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-4.1.6.tgz",
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
"refreshPage": "刷新",
|
||||
"placeholderTemplate": "请选择一个模板",
|
||||
"placeholderMyPage": "请选择一个微页面",
|
||||
"placeholderOtherPage": "请选择一个页面",
|
||||
"developTitle": "开发环境配置",
|
||||
"wapDomain": "wap域名(WAP_DOMAIN)",
|
||||
"wapDomainPlaceholder": "请输入wap域名"
|
||||
|
||||
@ -65,5 +65,6 @@
|
||||
"authInfoTips": "授权码和授权秘钥可在Niucloud官网我的授权 授权详情中查看",
|
||||
"addonUninstall": "插件卸载",
|
||||
"appIdentification":"应用标识",
|
||||
"tipText":"标识指开发应用或插件的文件夹名称"
|
||||
"tipText":"标识指开发应用或插件的文件夹名称",
|
||||
"uninstallTips": "卸载插件将会移除admin web uni-app目录下该插件的内容,是否要继续进行卸载?"
|
||||
}
|
||||
@ -166,7 +166,6 @@ const save = async (formEl: FormInstance | undefined) => {
|
||||
})
|
||||
.catch(() => {
|
||||
saveLoading.value = false
|
||||
authCodeApproveDialog.value = false
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
@ -112,6 +112,7 @@
|
||||
// 添加自定义页面
|
||||
const formData = reactive({
|
||||
type: '',
|
||||
name: '',
|
||||
mode: '',
|
||||
template: '',
|
||||
id: '',
|
||||
@ -123,6 +124,7 @@
|
||||
// 初始化数据
|
||||
const refreshData = () => {
|
||||
formData.type = '';
|
||||
formData.name = '';
|
||||
formData.mode = '';
|
||||
formData.template = '';
|
||||
formData.id = '';
|
||||
@ -246,6 +248,7 @@
|
||||
|
||||
hope.value = data.use_template.hope;
|
||||
formData.type = key;
|
||||
formData.name = data.use_template.name;
|
||||
formData.mode = data.use_template.mode;
|
||||
formData.action = data.use_template.action;
|
||||
|
||||
@ -326,15 +329,20 @@
|
||||
(newValue, oldValue) => {
|
||||
// 选择某个,清空其余
|
||||
if (newValue == 'template') {
|
||||
// 选择模板
|
||||
formData.id = '';
|
||||
formData.page = '';
|
||||
formData.action = 'decorate';
|
||||
formData.name = formData.type;
|
||||
} else if (newValue == 'diy') {
|
||||
// 选择微页面
|
||||
formData.mode = 'diy';
|
||||
formData.template = '';
|
||||
formData.page = '';
|
||||
formData.action = 'decorate';
|
||||
formData.name = formData.type;
|
||||
} else if (newValue == 'other') {
|
||||
// 选择其他页面
|
||||
formData.mode = 'other';
|
||||
formData.template = '';
|
||||
formData.id = '';
|
||||
@ -342,6 +350,7 @@
|
||||
}
|
||||
)
|
||||
|
||||
// 监听模板变化
|
||||
watch(
|
||||
() => formData.template,
|
||||
(newValue, oldValue) => {
|
||||
@ -351,12 +360,14 @@
|
||||
}
|
||||
)
|
||||
|
||||
// 监听其他页面
|
||||
watch(
|
||||
() => formData.page,
|
||||
(newValue, oldValue) => {
|
||||
if (newValue) {
|
||||
for (let i = 0; i < page[formData.type].other_page.length; i++) {
|
||||
if (page[formData.type].other_page[i].page == newValue) {
|
||||
formData.name = page[formData.type].other_page[i].name;
|
||||
formData.title = page[formData.type].other_page[i].title;
|
||||
formData.action = page[formData.type].other_page[i].action;
|
||||
break;
|
||||
@ -384,6 +395,14 @@
|
||||
});
|
||||
return;
|
||||
}
|
||||
} else if (hope.value == 'other') {
|
||||
if (formData.page == '') {
|
||||
ElMessage({
|
||||
type: 'warning',
|
||||
message: `${t('placeholderOtherPage')}`,
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (isRepeat.value) return
|
||||
|
||||
@ -12,18 +12,18 @@
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="flex mt-[24px]">
|
||||
<div :class="{ '!bg-[#000] !border-0 !text-[#fff]': activeName === 'installed' }"
|
||||
class="w-[78px] h-[32rpx] text-[14px] text-[#242424] text-center rounded-[15px] leading-[32px] bg-[#F0F0F0] border-solid border-1 border-[#E0E0E0] cursor-pointer mr-[24px]"
|
||||
<div
|
||||
:class="['flex items-center text-[14px] h-[32px] border-[1px] border-solid my-[3px] border-[#E0E0E0] rounded-full px-[15px] mr-[24px] cursor-pointer bg-[#f8f8f8] hover:bg-[#fff]',{'text-[#fff] !bg-[#000] border-[#000]': activeName === 'installed'}]"
|
||||
@click="activeNameTabFn('installed')">
|
||||
{{ t('installLabel') }}
|
||||
</div>
|
||||
<div :class="{ '!bg-[#000] !border-0 !text-[#fff]': activeName === 'uninstalled' }"
|
||||
class="w-[78px] h-[32rpx] text-[14px] text-[#242424] text-center rounded-[15px] leading-[32px] bg-[#F0F0F0] border-solid border-1 border-[#E0E0E0] cursor-pointer mr-[24px]"
|
||||
<div
|
||||
:class="['flex items-center text-[14px] h-[32px] border-[1px] border-solid my-[3px] border-[#E0E0E0] rounded-full px-[15px] mr-[24px] cursor-pointer bg-[#f8f8f8] hover:bg-[#fff]',{'text-[#fff] !bg-[#000] border-[#000]': activeName === 'uninstalled'}]"
|
||||
@click="activeNameTabFn('uninstalled')">
|
||||
{{ t('uninstalledLabel') }}
|
||||
</div>
|
||||
<div :class="{ '!bg-[#000] !border-0 !text-[#fff]': activeName === 'all' }"
|
||||
class="w-[78px] h-[32rpx] text-[14px] text-[#242424] text-center rounded-[15px] leading-[32px] bg-[#F0F0F0] border-solid border-1 border-[#E0E0E0] cursor-pointer mr-[24px]"
|
||||
<div
|
||||
:class="['flex items-center text-[14px] h-[32px] border-[1px] border-solid my-[3px] border-[#E0E0E0] rounded-full px-[15px] mr-[24px] cursor-pointer bg-[#f8f8f8] hover:bg-[#fff]',{'text-[#fff] !bg-[#000] border-[#000]': activeName === 'all'}]"
|
||||
@click="activeNameTabFn('all')">
|
||||
{{ t('buyLabel') }}
|
||||
</div>
|
||||
@ -98,8 +98,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<el-empty class="mx-auto overview-empty"
|
||||
v-if="!localList.installed.length && !loading && activeName == 'installed'">
|
||||
<el-empty class="mx-auto overview-empty" v-if="!localList.installed.length && !loading && activeName == 'installed'">
|
||||
<template #image>
|
||||
<div class="w-[230px] mx-auto">
|
||||
<img src="@/app/assets/images/index/apply_empty.png" class="max-w-full" alt="">
|
||||
@ -109,8 +108,7 @@
|
||||
<p class="flex items-center">{{ t('installed-empty') }}</p>
|
||||
</template>
|
||||
</el-empty>
|
||||
<el-empty class="mx-auto overview-empty"
|
||||
v-if="!localList.uninstalled.length && !loading && activeName == 'uninstalled'">
|
||||
<el-empty class="mx-auto overview-empty" v-if="!localList.uninstalled.length && !loading && activeName == 'uninstalled'">
|
||||
<template #image>
|
||||
<div class="w-[230px] mx-auto">
|
||||
<img src="@/app/assets/images/index/apply_empty.png" class="max-w-full" alt="">
|
||||
@ -676,6 +674,24 @@ const uninstallCheckResult = ref({})
|
||||
* @param key
|
||||
*/
|
||||
const uninstallAddonFn = (key: string) => {
|
||||
if (import.meta.env.MODE == 'development') {
|
||||
ElMessageBox.confirm(
|
||||
t('uninstallTips'),
|
||||
t('warning'),
|
||||
{
|
||||
confirmButtonText: t('confirm'),
|
||||
cancelButtonText: t('cancel'),
|
||||
type: 'warning'
|
||||
}
|
||||
).then(() => {
|
||||
handleUninstallAddon(key)
|
||||
}).catch(() => { })
|
||||
} else {
|
||||
handleUninstallAddon(key)
|
||||
}
|
||||
}
|
||||
|
||||
const handleUninstallAddon = (key: string) => {
|
||||
preUninstallCheck(key).then(({ data }) => {
|
||||
if (data.is_pass) {
|
||||
uninstallAddon({ addon: key }).then(res => {
|
||||
@ -869,3 +885,8 @@ html.dark .table-head-bg {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.el-empty .el-empty__image{
|
||||
width: auto !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<el-upload v-bind="upload" class="w-full upload-file">
|
||||
<slot>
|
||||
<el-input v-model="value" class="w-full" :readonly="true">
|
||||
<el-input v-model="value" class="w-full" :readonly="true" :title="value">
|
||||
<template #append>{{ t('upload.root') }}</template>
|
||||
</el-input>
|
||||
</slot>
|
||||
@ -47,11 +47,12 @@ const upload: Record<string, any> = {
|
||||
headers: {},
|
||||
accept: prop.accept,
|
||||
onSuccess: (response: any, uploadFile: UploadFile) => {
|
||||
if (response.code != undefined && response.code != 1) {
|
||||
ElMessage({ message: response.msg, type: 'error' })
|
||||
return
|
||||
}
|
||||
value.value = response.data.url
|
||||
ElMessage({
|
||||
message: t('upload.success'),
|
||||
type: 'success'
|
||||
})
|
||||
ElMessage({ message: t('upload.success'), type: 'success' })
|
||||
}
|
||||
}
|
||||
upload.headers[import.meta.env.VITE_REQUEST_HEADER_TOKEN_KEY] = getToken()
|
||||
|
||||
@ -100,7 +100,8 @@
|
||||
"505": "http版本不支持该请求",
|
||||
"timeout": "网络请求超时!",
|
||||
"requestError": "请求错误",
|
||||
"errNetwork": "网络请求错误"
|
||||
"errNetwork": "网络请求错误",
|
||||
"baseUrlError": " 接口请求错误,请检查VITE_APP_BASE_URL参数配置或者伪静态配置"
|
||||
},
|
||||
"linkPlaceholder": "请选择跳转链接",
|
||||
"selectLinkTips": "链接选择",
|
||||
|
||||
@ -13,7 +13,8 @@
|
||||
</template>
|
||||
</el-menu> -->
|
||||
<div class="flex flex-wrap items-center">
|
||||
<div v-for="(item, index) in menus" :key="index" :class="['border-[1px] border-solid my-[5px] border-[#E0E0E0] rounded-full py-[5px] px-[10px] mr-[24px] cursor-pointer',{'text-[#fff] bg-[#000] border-[#000]': item.name == route.name}]" @click="toLink(item)">
|
||||
<div v-for="(item, index) in menus" :key="index"
|
||||
:class="['flex items-center h-[32px] border-[1px] border-solid my-[3px] border-[#E0E0E0] rounded-full px-[10px] mr-[24px] cursor-pointer bg-[#f8f8f8] hover:bg-[#fff]',{'text-[#fff] !bg-[#000] border-[#000]': item.name == route.name}]" @click="toLink(item)">
|
||||
<icon v-if="item.meta.icon" :name="item.meta.icon" class="!w-auto mr-[4px]" size="14px" :title="item.meta.title" />
|
||||
<span class="text-[14px]">{{ item.meta.title }}</span>
|
||||
</div>
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 100;
|
||||
z-index: 4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@ -130,8 +130,8 @@ class Request {
|
||||
errMessage = t('axios.403')
|
||||
break
|
||||
case 404:
|
||||
const baseURL = isUrl(err.response.config.baseURL) ? err.response.config.baseURL : location.origin
|
||||
errMessage = baseURL + t('axios.404')
|
||||
const baseURL = isUrl(err.response.config.baseURL) ? err.response.config.baseURL : `${location.origin}${err.response.config.baseURL}`
|
||||
errMessage = baseURL + t('axios.baseUrlError')
|
||||
break
|
||||
case 405:
|
||||
errMessage = t('axios.405')
|
||||
@ -163,7 +163,10 @@ class Request {
|
||||
}
|
||||
}
|
||||
err.message.includes('timeout') && (errMessage = t('axios.timeout'))
|
||||
err.code == 'ERR_NETWORK' && (errMessage = err.config.baseURL + t('axios.errNetwork'))
|
||||
if (err.code == 'ERR_NETWORK') {
|
||||
const baseURL = isUrl(err.config.baseURL) ? err.config.baseURL : `${location.origin}${err.config.baseURL}`
|
||||
errMessage = baseURL + t('axios.baseUrlError')
|
||||
}
|
||||
errMessage && ElMessage({ message: errMessage, type: 'error' })
|
||||
}
|
||||
|
||||
|
||||
@ -196,6 +196,7 @@ class Diy extends BaseAdminController
|
||||
$data = $this->request->params([
|
||||
[ "id", "" ],
|
||||
[ 'type', '' ], // 页面类型
|
||||
[ 'name', '' ], // 页面名称标识
|
||||
[ 'mode', '' ], // 页面展示模式,diy:自定义,fixed:固定,other:其他页面
|
||||
[ 'template', '' ], // 模板名称
|
||||
[ 'page', '' ], // 页面路由
|
||||
|
||||
@ -170,6 +170,7 @@ return [
|
||||
'WEAPP_NOT_EXIST' => '微信小程序未配置完善',
|
||||
'WEAPP_EMPOWER_NOT_EXIST' => '微信小程序授信信息不存在',
|
||||
'WEAPP_EMPOWER_TEL_NOT_EXIST' => '微信小程序授信手机号不存在',
|
||||
'CURR_SITE_IS_NOT_OPEN_SSL' => '微信小程序请求域名只支持https请先配置ssl',
|
||||
|
||||
//站点相关
|
||||
'SITE_GROUP_IS_EXIST' => '当前套餐存在站点,请调整站点对应套餐后重试',
|
||||
@ -243,6 +244,7 @@ return [
|
||||
'ADMIN_DIR_NOT_EXIST' => '未找到admin源码所在目录',
|
||||
'WEB_DIR_NOT_EXIST' => '未找到web源码所在目录',
|
||||
'UNIAPP_DIR_NOT_EXIST' => '未找到uni-app源码所在目录',
|
||||
'ADDON_INSTALL_FAIL' => '插件安装失败',
|
||||
|
||||
|
||||
// 云服务
|
||||
|
||||
@ -461,45 +461,21 @@ class DiyService extends BaseAdminService
|
||||
'action' => '' // 是否存在操作,decorate 表示支持装修
|
||||
];
|
||||
|
||||
// 查询页面数据
|
||||
$info = $this->getInfoByName($k);
|
||||
|
||||
if (!empty($info)) {
|
||||
$use_template[ 'id' ] = $info[ 'id' ];
|
||||
$use_template[ 'title' ] = $info[ 'title' ];
|
||||
$use_template[ 'template' ] = $info[ 'template' ];
|
||||
$use_template[ 'mode' ] = $info[ 'mode' ];
|
||||
$use_template[ 'hope' ] = $info[ 'mode' ] == 'fixed' ? 'template' : $info[ 'mode' ];
|
||||
$use_template[ 'preview' ] = ''; // 默认图
|
||||
$use_template[ 'desc' ] = '通过自定义装修的页面';
|
||||
|
||||
// 查询模板页面数
|
||||
$page_data = $this->getPageData($k, $use_template[ 'template' ]);
|
||||
if (!empty($page_data)) {
|
||||
if ($info[ 'is_change' ] == 1) {
|
||||
// 修改过模板,预览实际内容
|
||||
$use_template[ 'url' ] = $v[ 'page' ] . '?id=' . $info[ 'id' ];
|
||||
} else {
|
||||
$use_template[ 'cover' ] = $page_data[ 'cover' ]; // 默认图
|
||||
$use_template[ 'desc' ] = $page_data[ 'desc' ];
|
||||
if (empty($page_data[ 'cover' ])) {
|
||||
$use_template[ 'url' ] = $v[ 'page' ] . '?id=' . $info[ 'id' ];
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// 自定义页面,实时预览效果
|
||||
$use_template[ 'url' ] = '/app/pages/index/diy?id=' . $info[ 'id' ];
|
||||
// 清空模板信息
|
||||
$use_template[ 'cover' ] = ''; // 默认图
|
||||
$use_template[ 'template' ] = '';
|
||||
$use_template[ 'mode' ] = 'diy';
|
||||
$use_template[ 'hope' ] = $use_template[ 'mode' ];
|
||||
}
|
||||
}
|
||||
|
||||
// 查询启动页配置
|
||||
$start_up_page = $diy_config_service->getStartUpPageConfig($k);
|
||||
if (!empty($start_up_page)) {
|
||||
$use_template[ 'name' ] = $k;
|
||||
if ($start_up_page[ 'mode' ] == 'other') {
|
||||
if (empty($start_up_page[ 'name' ])) {
|
||||
// 查询页面的名称标识
|
||||
foreach ($other_page as $ck => $cv) {
|
||||
if ($cv[ 'page' ] == $start_up_page[ 'page' ]) {
|
||||
$use_template[ 'name' ] = $cv['name'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$use_template[ 'hope' ] = $start_up_page[ 'mode' ];
|
||||
$use_template[ 'mode' ] = $start_up_page[ 'mode' ];
|
||||
$use_template[ 'page' ] = $start_up_page[ 'page' ];
|
||||
@ -509,10 +485,46 @@ class DiyService extends BaseAdminService
|
||||
$use_template[ 'url' ] = $use_template[ 'page' ];
|
||||
$use_template[ 'cover' ] = ''; // 默认图
|
||||
$use_template[ 'template' ] = '';
|
||||
$use_template[ 'id' ] = '';
|
||||
$use_template[ 'name' ] = '';
|
||||
$use_template[ 'desc' ] = '将 ' . $start_up_page[ 'title' ] . ' 设为首页';
|
||||
}
|
||||
} else {
|
||||
|
||||
// 查询页面数据
|
||||
$info = $this->getInfoByName($k);
|
||||
|
||||
if (!empty($info)) {
|
||||
$use_template[ 'id' ] = $info[ 'id' ];
|
||||
$use_template[ 'name' ] = $info[ 'name' ];
|
||||
$use_template[ 'title' ] = $info[ 'title' ];
|
||||
$use_template[ 'template' ] = $info[ 'template' ];
|
||||
$use_template[ 'mode' ] = $info[ 'mode' ];
|
||||
$use_template[ 'hope' ] = $info[ 'mode' ] == 'fixed' ? 'template' : $info[ 'mode' ];
|
||||
$use_template[ 'preview' ] = ''; // 默认图
|
||||
$use_template[ 'desc' ] = '通过自定义装修的页面';
|
||||
|
||||
// 查询模板页面数
|
||||
$page_data = $this->getPageData($k, $use_template[ 'template' ]);
|
||||
if (!empty($page_data)) {
|
||||
if ($info[ 'is_change' ] == 1) {
|
||||
// 修改过模板,预览实际内容
|
||||
$use_template[ 'url' ] = $v[ 'page' ] . '?id=' . $info[ 'id' ];
|
||||
} else {
|
||||
$use_template[ 'cover' ] = $page_data[ 'cover' ]; // 默认图
|
||||
$use_template[ 'desc' ] = $page_data[ 'desc' ];
|
||||
if (empty($page_data[ 'cover' ])) {
|
||||
$use_template[ 'url' ] = $v[ 'page' ] . '?id=' . $info[ 'id' ];
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// 自定义页面,实时预览效果
|
||||
$use_template[ 'url' ] = '/app/pages/index/diy?id=' . $info[ 'id' ];
|
||||
// 清空模板信息
|
||||
$use_template[ 'cover' ] = ''; // 默认图
|
||||
$use_template[ 'template' ] = '';
|
||||
$use_template[ 'mode' ] = 'diy';
|
||||
$use_template[ 'hope' ] = $use_template[ 'mode' ];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 如果没有预览图,并且没有地址,则赋值
|
||||
@ -627,7 +639,8 @@ class DiyService extends BaseAdminService
|
||||
|
||||
// 设置启动页
|
||||
$start_up_page_data = [
|
||||
'type' => $params[ 'type' ], // 页面
|
||||
'type' => $params[ 'type' ], // 页面类型
|
||||
'name' => $params[ 'name' ], // 页面名称标识
|
||||
'mode' => $params[ 'mode' ], // 模式:diy:自定义页面,fixed:模板,other:其他页面
|
||||
'title' => $info[ 'title' ],
|
||||
'page' => $info[ 'page' ],
|
||||
|
||||
@ -41,7 +41,7 @@ class DiyService extends BaseApiService
|
||||
$diy_config_service = new DiyConfigService();
|
||||
$start_up_page = $diy_config_service->getStartUpPageConfig($params[ 'name' ]);
|
||||
|
||||
if (!empty($start_up_page) && $start_up_page[ 'mode' ] == 'other' && $params[ 'name' ] != $start_up_page[ 'type' ]) {
|
||||
if (!empty($start_up_page) && $start_up_page[ 'mode' ] == 'other' && $params[ 'name' ] != $start_up_page[ 'name' ]) {
|
||||
$info = $start_up_page;
|
||||
return $info;
|
||||
} else {
|
||||
|
||||
@ -112,12 +112,12 @@ class CoreAddonCloudService extends CoreCloudBaseService
|
||||
|
||||
if (isset($build_log['data']) && isset($build_log['data'][0]) && is_array($build_log['data'][0])) {
|
||||
$last = end($build_log['data'][0]);
|
||||
if ($last['code'] == 0) {
|
||||
if ($last['percent'] == 100 && $last['code'] == 0) {
|
||||
(new CoreAddonInstallService($addon))->installExceptionHandle();
|
||||
throw new CommonException($last['msg']);
|
||||
throw new CommonException('ADDON_INSTALL_FAIL');
|
||||
}
|
||||
if ($last['percent'] == 100) {
|
||||
$build_log['data'][0] = $this->buildSuccess($addon, $build_log['data'][0]);
|
||||
$build_log['data'][0] = $this->buildSuccess($addon, $build_log['data'][0], $install_task['timestamp']);
|
||||
}
|
||||
}
|
||||
return $build_log;
|
||||
@ -134,9 +134,10 @@ class CoreAddonCloudService extends CoreCloudBaseService
|
||||
* @param string $addon
|
||||
* @return void
|
||||
*/
|
||||
public function buildSuccess(string $addon, array $log) {
|
||||
public function buildSuccess(string $addon, array $log, $timestamp) {
|
||||
$query = [
|
||||
'authorize_code' => $this->auth_code,
|
||||
'timestamp' => $timestamp
|
||||
];
|
||||
$chunk_size = 1 * 1024 * 1024;
|
||||
|
||||
|
||||
@ -260,8 +260,8 @@ class CoreAddonDevelopService extends CoreAddonBaseService
|
||||
'is_cover' => true
|
||||
],
|
||||
[
|
||||
'name' => 'Manage.php',
|
||||
'vm' => 'system' . DIRECTORY_SEPARATOR . 'manage.vm'
|
||||
'name' => 'Addon.php',
|
||||
'vm' => 'system' . DIRECTORY_SEPARATOR . 'addon.vm'
|
||||
]
|
||||
|
||||
);
|
||||
|
||||
@ -74,7 +74,6 @@ class CoreAddonInstallService extends CoreAddonBaseService
|
||||
];
|
||||
private $addon;
|
||||
private $install_addon_path;
|
||||
private $state;
|
||||
|
||||
private $cache_key = '';
|
||||
|
||||
@ -312,7 +311,6 @@ class CoreAddonInstallService extends CoreAddonBaseService
|
||||
dir_copy($from_resource_dir, $to_resource_dir, $this->files['resource']);
|
||||
}
|
||||
|
||||
$this->state = self::DIR_INSTALLED;
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -345,7 +343,6 @@ class CoreAddonInstallService extends CoreAddonBaseService
|
||||
{
|
||||
$sql = $this->install_addon_path . 'sql' . DIRECTORY_SEPARATOR . 'install.sql';
|
||||
$this->executeSql($sql);
|
||||
$this->state = self::SQL_INSTALLED;
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -651,8 +648,6 @@ class CoreAddonInstallService extends CoreAddonBaseService
|
||||
{
|
||||
(new CoreMenuService)->refreshAddonMenu($this->addon);
|
||||
Cache::tag(MenuService::$cache_tag_name)->clear();
|
||||
$this->state = self::MENU_INSTALLED;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -755,7 +750,6 @@ class CoreAddonInstallService extends CoreAddonBaseService
|
||||
public function installSchedule()
|
||||
{
|
||||
(new CoreScheduleInstallService())->installAddonSchedule($this->addon);
|
||||
$this->state = self::SCHEDULE_INSTALLED;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
36
niucloud/app/service/core/addon/vm/system/addon.vm
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace addon\{key};
|
||||
|
||||
|
||||
/**
|
||||
* 插件安装之后单独的插件方法
|
||||
*/
|
||||
class Addon
|
||||
{
|
||||
/**
|
||||
* 插件安装执行
|
||||
*/
|
||||
public function install()
|
||||
{
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 插件卸载执行
|
||||
*/
|
||||
public function uninstall()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 插件升级执行
|
||||
*/
|
||||
public function upgrade()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
@ -37,7 +37,7 @@ class CoreCaptchaService extends BaseCoreService
|
||||
public function create(?array $data = []){
|
||||
$captcha_data = Captcha::create(null, true);
|
||||
|
||||
$captcha_key = md5(uniqid(null, true));
|
||||
$captcha_key = md5(uniqid('', true));
|
||||
// 验证码10分钟有效
|
||||
Cache::set($captcha_key, $captcha_data['code'], 600);
|
||||
return [
|
||||
|
||||
@ -95,8 +95,10 @@ class CoreDiyConfigService extends BaseCoreService
|
||||
public function getStartUpPageConfig($type)
|
||||
{
|
||||
$info = ( new CoreConfigService() )->getConfig('START_UP_PAGE_' . strtoupper($type))[ 'value' ] ?? [];
|
||||
if (!empty($info)) {
|
||||
$info[ 'name' ] = isset($info[ 'name' ]) ? $info[ 'name' ] : '';
|
||||
}
|
||||
return $info;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -32,6 +32,8 @@ class CoreWeappCloudService extends CoreCloudBaseService
|
||||
* @return void
|
||||
*/
|
||||
public function uploadWeapp(array $data) {
|
||||
if (!request()->isSsl()) throw new CommonException('CURR_SITE_IS_NOT_OPEN_SSL');
|
||||
|
||||
$config = (new CoreWeappConfigService())->getWeappConfig();
|
||||
if (empty($config['app_id'])) throw new CommonException('WEAPP_APPID_EMPTY');
|
||||
if (empty($config['upload_private_key'])) throw new CommonException('UPLOAD_KEY_EMPTY');
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'version' => '0.0.5',
|
||||
'code' => '202311150001'
|
||||
'version' => '0.0.6',
|
||||
'code' => '202311250001'
|
||||
];
|
||||
|
||||
6
niucloud/public/.gitignore
vendored
@ -0,0 +1,6 @@
|
||||
/.htaccess
|
||||
upload
|
||||
nginx.htaccess
|
||||
.htaccess
|
||||
admin
|
||||
wap
|
||||
@ -1,8 +1,8 @@
|
||||
<IfModule mod_rewrite.c>
|
||||
Options +FollowSymlinks -Multiviews
|
||||
RewriteEngine On
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^(.*)$ index.php?s=/$1 [QSA,PT,L]
|
||||
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
|
||||
RewriteEngine on RewriteCond % !^$
|
||||
</IfModule>
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
location /{
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^(.*)$ /index.php/$1 last; break;
|
||||
}
|
||||
}
|
||||
location / {
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^(.*)$ /index.php/$1 last;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 289 KiB |
|
Before Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-a1214daf]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-a1214daf]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-a1214daf] .u-tabs__wrapper__nav__line{bottom:0}
|
||||
@ -1 +0,0 @@
|
||||
import{d as a,i as t,j as e,w as s,F as r,aA as n,aG as d,N as i,a$ as l,e as o,x as u}from"./index-faf5e276.js";const p=a({__name:"app-link",props:{url:String,data:{type:Object,default:()=>({})},mode:{type:String,default:"navigateTo"}},setup(a){const p=a,f=()=>{if(Object.keys(p.data).length){if(!p.data.url)return;if("app/pages/member/index"==n()&&!d())return void i().setLoginBack({url:p.data.url});l(p.data)}else o(p)};return(a,n)=>{const d=u;return t(),e(d,{onClick:f},{default:s((()=>[r(a.$slots,"default")])),_:3})}}});export{p as _};
|
||||
@ -1 +0,0 @@
|
||||
import{d as a,r as e,o as t,z as s,s as n,i as r,j as l,w as o,k as u,m as p,q as i,t as m,x as c}from"./index-faf5e276.js";import{_ as d}from"./u-parse.2d43cacf.js";import"./_plugin-vue_export-helper.1b428a4d.js";const _=a({__name:"agreement",setup(a){const _=e(null);return t((a=>{s(a.key).then((a=>{_.value=a.data,n({title:a.data.title})}))})),(a,e)=>{const t=i(m("u-parse"),d),s=c;return _.value?(r(),l(s,{key:0,class:"p-[30rpx]"},{default:o((()=>[u(t,{content:_.value.content},null,8,["content"])])),_:1})):p("v-if",!0)}}});export{_ as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as e,a as o,r as l,K as r,i as a,j as s,w as t,k as d,G as m,H as p,n as i,X as u,e as n,x as c,q as _,t as b}from"./index-faf5e276.js";import{_ as f}from"./u-input.201a0a1e.js";import{_ as g}from"./u-form-item.a1ccf72c.js";import{_ as h}from"./sms-code.vue_vue_type_script_setup_true_lang.76e44535.js";import{_ as x}from"./u-button.9384f0e3.js";import{_ as w}from"./u-form.ab08229f.js";import"./u-icon.71776381.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.0f7106aa.js";import"./u-line.vue_vue_type_style_index_0_scoped_45e31c7a_lang.501f5819.js";import"./u-modal.0a434476.js";import"./u-loading-icon.a6d83e95.js";import"./u-popup.a69d5115.js";import"./u-transition.bcacef93.js";import"./u-safe-bottom.c1f1e254.js";const y=e({__name:"resetpwd",setup(e){const y=o({mobile:"",mobile_code:"",mobile_key:"",password:"",confirm_password:""}),j=l(!1),V=l(null),P={password:{type:"string",required:!0,message:r("passwordPlaceholder"),trigger:["blur","change"]},confirm_password:[{type:"string",required:!0,message:r("confirmPasswordPlaceholder"),trigger:["blur","change"]},{validator:(e,o)=>o==y.password,message:r("confirmPasswordError"),trigger:["change","blur"]}],mobile:[{type:"string",required:!0,message:r("mobilePlaceholder"),trigger:["blur","change"]},{validator:(e,o)=>uni.$u.test.mobile(o),message:r("mobileError"),trigger:["change","blur"]}],mobile_code:{type:"string",required:!0,message:r("codePlaceholder"),trigger:["blur","change"]}},v=()=>{V.value.validate().then((()=>{j.value||(j.value=!0,u(y).then((e=>{n({url:"/app/pages/auth/login",mode:"redirectTo"})})).catch((()=>{j.value=!1})))}))};return(e,o)=>{const l=c,u=_(b("u-input"),f),n=_(b("u-form-item"),g),k=_(b("sms-code"),h),q=_(b("u-button"),x),U=_(b("u-form"),w);return a(),s(l,{class:"w-screen h-screen flex flex-col"},{default:t((()=>[d(l,{class:"flex-1"},{default:t((()=>[d(l,{class:"h-[100rpx]"}),d(l,{class:"px-[60rpx] pt-[100rpx] mb-[100rpx]"},{default:t((()=>[d(l,{class:"font-bold text-xl"},{default:t((()=>[m(p(i(r)("findPassword")),1)])),_:1})])),_:1}),d(l,{class:"px-[60rpx]"},{default:t((()=>[d(U,{labelPosition:"left",model:y,errorType:"toast",rules:P,ref_key:"formRef",ref:V},{default:t((()=>[d(l,{class:"mt-[30rpx]"},{default:t((()=>[d(n,{label:"",prop:"mobile","border-bottom":!0},{default:t((()=>[d(u,{modelValue:y.mobile,"onUpdate:modelValue":o[0]||(o[0]=e=>y.mobile=e),border:"none",clearable:"",placeholder:i(r)("mobilePlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),d(l,{class:"mt-[30rpx]"},{default:t((()=>[d(n,{label:"",prop:"code","border-bottom":!0},{default:t((()=>[d(u,{modelValue:y.mobile_code,"onUpdate:modelValue":o[2]||(o[2]=e=>y.mobile_code=e),border:"none",type:"password",clearable:"",placeholder:i(r)("codePlaceholder")},{suffix:t((()=>[d(k,{mobile:y.mobile,type:"find_pass",modelValue:y.mobile_key,"onUpdate:modelValue":o[1]||(o[1]=e=>y.mobile_key=e)},null,8,["mobile","modelValue"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1}),d(l,{class:"mt-[30rpx]"},{default:t((()=>[d(n,{label:"",prop:"password","border-bottom":!0},{default:t((()=>[d(u,{modelValue:y.password,"onUpdate:modelValue":o[3]||(o[3]=e=>y.password=e),border:"none",type:"password",clearable:"",placeholder:i(r)("passwordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),d(l,{class:"mt-[30rpx]"},{default:t((()=>[d(n,{label:"",prop:"confirm_password","border-bottom":!0},{default:t((()=>[d(u,{modelValue:y.confirm_password,"onUpdate:modelValue":o[4]||(o[4]=e=>y.confirm_password=e),border:"none",type:"password",clearable:"",placeholder:i(r)("confirmPasswordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),d(l,{class:"mt-[80rpx]"},{default:t((()=>[d(q,{type:"primary",loading:j.value,loadingText:i(r)("confirm"),onClick:v},{default:t((()=>[m(p(i(r)("confirm")),1)])),_:1},8,["loading","loadingText"])])),_:1})])),_:1},8,["model"])])),_:1})])),_:1})])),_:1})}}});export{y as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as e,a,i as s,j as t,w as l,k as r,G as o,H as p,n as i,aD as n,x,I as c,q as d,t as u,K as m}from"./index-faf5e276.js";import{_ as f}from"./u-button.9384f0e3.js";import"./u-loading-icon.a6d83e95.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.71776381.js";const _=e({__name:"develop",setup(e){const _=a({baseUrl:`${location.origin}/api/`,imgUrl:""}),b=()=>{let e=uni.getStorageSync("develop_before_path")||"/app/pages/index/index";"/app/pages/index/develop"==e&&(e="/app/pages/index/index"),e=e.replace("/",""),uni.removeStorageSync("develop_before_path"),location.href=`${location.origin}${n.h5.router.base}${e}`};return(e,a)=>{const n=x,g=c,v=d(u("u-button"),f);return s(),t(n,{class:"mt-[80rpx] px-[60rpx]"},{default:l((()=>[r(n,{class:"font-bold text-xl mb-[80rpx]"},{default:l((()=>[o(p(i(m)("developTitle")),1)])),_:1}),r(n,{class:"mb-[40rpx] flex flex-col"},{default:l((()=>[r(g,{class:"mb-[10rpx]"},{default:l((()=>[o(p(i(m)("baseUrl")),1)])),_:1}),r(g,{class:"text-sm"},{default:l((()=>[o(p(_.baseUrl),1)])),_:1})])),_:1}),r(n,{class:"mb-[40rpx] flex flex-col"},{default:l((()=>[r(g,{class:"mb-[10rpx]"},{default:l((()=>[o(p(i(m)("imgUrl")),1)])),_:1}),r(g,{class:"text-sm"},{default:l((()=>[o(p(_.imgUrl),1)])),_:1})])),_:1}),r(v,{type:"primary",onClick:b,class:"mt-[80rpx]"},{default:l((()=>[o(p(i(m)("confirm")),1)])),_:1})])),_:1})}}});export{_ as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as a,r as e,u as t,a as o,c as l,o as r,b as s,g as p,s as i,e as u,f as d,h as n,i as g,j as m,w as v,k as f,l as j,v as _,m as c,n as b,p as h,q as x,t as y,x as S,y as w}from"./index-faf5e276.js";import{_ as C}from"./u-loading-page.4ec3ad33.js";import{_ as k,a as D}from"./index.e9b4c317.js";import{u as M}from"./useShare.3b5bf680.js";import{_ as B}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.a6d83e95.js";import"./u-transition.bcacef93.js";import"./u-icon.71776381.js";import"./u--image.90dc3990.js";import"./u-image.44e221c2.js";import"./app-link.vue_vue_type_script_setup_true_lang.8d02ecda.js";import"./u-avatar.9784460f.js";import"./u--text.c8005a3e.js";import"./u-line.vue_vue_type_style_index_0_scoped_45e31c7a_lang.501f5819.js";import"./u-form.ab08229f.js";import"./u-button.9384f0e3.js";import"./u-popup.a69d5115.js";import"./u-safe-bottom.c1f1e254.js";import"./tabbar.75ed1765.js";import"./u-badge.d297a0fc.js";import"./u-tabbar.f1e34422.js";import"./article.0849380d.js";import"./vipcard.5c43eb30.js";import"./goods.79477506.js";import"./tourism.7006ebdc.js";import"./wechat.2fa35c62.js";const R=B(a({__name:"diy",setup(a){const{setShare:B,onShareAppMessage:R,onShareTimeline:I}=M(),J=e(!0),q=t(),A=e(0),E=e(0),H=e(""),N=e(""),O=o({pageMode:"diy",title:"",global:{},value:[]}),T=l((()=>"decorate"==q.mode?q:O));return R(),I(),r((a=>{q.mode=a.mode||"","decorate"==q.mode&&(J.value=!1),E.value=a.id||"",N.value=a.template||"",H.value=a.name})),s((()=>{"decorate"==q.mode?q.init():p({id:E.value,name:H.value,template:N.value}).then((a=>{let e=a.data;if(e.value){O.pageMode=e.mode,O.title=e.title;let a=JSON.parse(e.value);O.global=a.global,O.value=a.value,O.value.forEach(((a,e)=>{a.pageStyle="",a.pageBgColor&&(a.pageStyle+="background-color:"+a.pageBgColor+";"),a.margin&&(a.pageStyle+="padding-top:"+2*a.margin.top+"rpx;",a.pageStyle+="padding-bottom:"+2*a.margin.bottom+"rpx;",a.pageStyle+="padding-right:"+2*a.margin.both+"rpx;",a.pageStyle+="padding-left:"+2*a.margin.both+"rpx;")})),i({title:O.title}),J.value=!1;let t=e.share?JSON.parse(e.share):null;B(t)}else"other"==e.mode&&u({url:e.page})}))})),d((()=>{A.value++,n()})),(a,e)=>{const t=x(y("u-loading-page"),C),o=x(y("diy-group"),k),l=S,r=x(y("fixed-group"),D);return g(),m(l,null,{default:v((()=>[f(t,{loading:J.value,loadingText:"","bg-color":"#f7f7f7"},null,8,["loading"]),j(f(l,null,{default:v((()=>[c(" 自定义模板渲染 "),"fixed"!=b(T).pageMode?(g(),m(l,{key:0,class:"diy-template-wrap bg-index",style:h({backgroundColor:b(T).global.pageBgColor,minHeight:"calc(100vh - 50px)",backgroundImage:b(T).global.bgUrl?"url("+b(w)(b(T).global.bgUrl)+")":""})},{default:v((()=>[f(o,{data:b(T),pullDownRefreshCount:A.value},null,8,["data","pullDownRefreshCount"])])),_:1},8,["style"])):c("v-if",!0),c(" 固定模板渲染 "),"fixed"==b(T).pageMode?(g(),m(l,{key:1,class:"fixed-template-wrap"},{default:v((()=>[f(r,{data:b(T),pullDownRefreshCount:A.value},null,8,["data","pullDownRefreshCount"])])),_:1})):c("v-if",!0)])),_:1},512),[[_,!J.value]])])),_:1})}}}),[["__scopeId","data-v-dea6a977"]]);export{R as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as a,r as e,u as t,a as o,c as l,o as r,b as s,g as p,s as i,e as u,f as d,h as g,i as n,j as m,w as f,k as v,l as _,v as j,m as c,n as b,p as x,q as h,t as y,x as S,y as w}from"./index-faf5e276.js";import{_ as C}from"./u-loading-page.4ec3ad33.js";import{_ as k,a as D}from"./index.e9b4c317.js";import{u as I}from"./useShare.3b5bf680.js";import{_ as M}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.a6d83e95.js";import"./u-transition.bcacef93.js";import"./u-icon.71776381.js";import"./u--image.90dc3990.js";import"./u-image.44e221c2.js";import"./app-link.vue_vue_type_script_setup_true_lang.8d02ecda.js";import"./u-avatar.9784460f.js";import"./u--text.c8005a3e.js";import"./u-line.vue_vue_type_style_index_0_scoped_45e31c7a_lang.501f5819.js";import"./u-form.ab08229f.js";import"./u-button.9384f0e3.js";import"./u-popup.a69d5115.js";import"./u-safe-bottom.c1f1e254.js";import"./tabbar.75ed1765.js";import"./u-badge.d297a0fc.js";import"./u-tabbar.f1e34422.js";import"./article.0849380d.js";import"./vipcard.5c43eb30.js";import"./goods.79477506.js";import"./tourism.7006ebdc.js";import"./wechat.2fa35c62.js";const B=M(a({__name:"index",setup(a){const{setShare:M,onShareAppMessage:B,onShareTimeline:R}=I(),E=e(!0),q=t(),A=e(0),H=e(0),J=e("DIY_INDEX"),N=e(""),T=o({pageMode:"diy",title:"",global:{},value:[]}),U=l((()=>"decorate"==q.mode?q:T));return M(),B(),R(),r((a=>{q.mode=a.mode||"","decorate"==q.mode&&(E.value=!1),H.value=a.id||"",N.value=a.template||""})),s((()=>{"decorate"==q.mode?q.init():p({id:H.value,name:J.value,template:N.value}).then((a=>{let e=a.data;if(e.value){T.pageMode=e.mode,T.title=e.title;let a=JSON.parse(e.value);T.global=a.global,T.value=a.value,T.value.forEach(((a,e)=>{a.pageStyle="",a.pageBgColor&&(a.pageStyle+="background-color:"+a.pageBgColor+";"),a.margin&&(a.pageStyle+="padding-top:"+2*a.margin.top+"rpx;",a.pageStyle+="padding-bottom:"+2*a.margin.bottom+"rpx;",a.pageStyle+="padding-right:"+2*a.margin.both+"rpx;",a.pageStyle+="padding-left:"+2*a.margin.both+"rpx;")})),i({title:T.title}),E.value=!1}else"other"==e.mode&&u({url:e.page})}))})),d((()=>{A.value++,g()})),(a,e)=>{const t=h(y("u-loading-page"),C),o=h(y("diy-group"),k),l=S,r=h(y("fixed-group"),D);return n(),m(l,null,{default:f((()=>[v(t,{loading:E.value,loadingText:"","bg-color":"#f7f7f7"},null,8,["loading"]),_(v(l,null,{default:f((()=>[c(" 自定义模板渲染 "),"fixed"!=b(U).pageMode?(n(),m(l,{key:0,class:"diy-template-wrap bg-index",style:x({backgroundColor:b(U).global.pageBgColor,minHeight:"calc(100vh - 50px)",backgroundImage:b(U).global.bgUrl?"url("+b(w)(b(U).global.bgUrl)+")":""})},{default:f((()=>[v(o,{data:b(U),pullDownRefreshCount:A.value},null,8,["data","pullDownRefreshCount"])])),_:1},8,["style"])):c("v-if",!0),c(" 固定模板渲染 "),"fixed"==b(U).pageMode?(n(),m(l,{key:1,class:"fixed-template-wrap"},{default:f((()=>[v(r,{data:b(U),pullDownRefreshCount:A.value},null,8,["data","pullDownRefreshCount"])])),_:1})):c("v-if",!0)])),_:1},512),[[j,!E.value]])])),_:1})}}}),[["__scopeId","data-v-f4f21074"]]);export{B as default};
|
||||
@ -1 +0,0 @@
|
||||
import{_ as e}from"./u-tabs.4874101b.js";import{d as a,r as s,K as t,o as l,ao as r,i as o,j as i,w as d,k as u,m as n,l as c,v as p,P as f,Q as m,R as x,n as b,e as _,q as v,t as y,x as k,a7 as g,G as h,H as C,ap as j,y as w,aq as A,I as S}from"./index-faf5e276.js";import{_ as q,a as I}from"./uni-swipe-action.7d9d29ad.js";import{_ as $}from"./u-empty.721cd298.js";import{_ as B}from"./u-button.9384f0e3.js";import{_ as F}from"./u-tabbar.f1e34422.js";import{_ as G}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-badge.d297a0fc.js";import"./u-icon.71776381.js";import"./u-loading-icon.a6d83e95.js";import"./u-safe-bottom.c1f1e254.js";const z=G(a({__name:"address",setup(a){const G=s(!0),z=s(0),D=s([{name:t("address"),key:"address"},{name:t("locationAddress"),key:"location_address"}]),E=s([]),H=s([]),K=s("");l((e=>{K.value=e.type||"",e.type&&(z.value="address"==e.type?0:1)})),r({}).then((({data:e})=>{const a=[],s=[];e.forEach((e=>{"address"==e.type?a.push(e):s.push(e)})),E.value=a,H.value=s,G.value=!1})).catch((()=>{G.value=!1}));const P=e=>{z.value=e.index},Q=()=>{const e=`/app/pages/member/${D.value[z.value].key}_edit`;_({url:e,param:{type:K.value}})},R=e=>{const a=`/app/pages/member/${D.value[z.value].key}_edit`;_({url:a,param:{id:e,type:K.value}})},J=s([{text:t("delete"),style:{backgroundColor:"#F56C6C"}}]),L=e=>{const a=uni.getStorageSync("selectAddressCallback");a&&(a.address_id=e.id,uni.setStorage({key:"selectAddressCallback",data:a,success(){_({url:a.back})}}))},M=e=>{const a=z.value?H:E,s=a.value[e.index];A(s.id).then((()=>{a.value.splice(e.index,1)})).catch()};return(a,s)=>{const l=v(y("u-tabs"),e),r=k,_=S,A=v(y("uni-swipe-action-item"),q),N=v(y("u-empty"),$),O=v(y("uni-swipe-action"),I),T=v(y("u-button"),B),U=v(y("u-tabbar"),F),V=g;return G.value?n("v-if",!0):(o(),i(V,{key:0,"scroll-y":"true"},{default:d((()=>[K.value?n("v-if",!0):(o(),i(r,{key:0,class:"border-0 !border-b !border-[#eee] border-solid"},{default:d((()=>[u(l,{list:D.value,onClick:P,current:z.value,itemStyle:"width:50%;height:88rpx;box-sizing: border-box;"},null,8,["list","current"])])),_:1})),u(O,null,{default:d((()=>[c(u(r,{class:"p-[30rpx]"},{default:d((()=>[(o(!0),f(x,null,m(E.value,(e=>(o(),i(A,{"right-options":J.value,onClick:M},{default:d((()=>[u(r,{class:"border-0 !border-b !border-[#f5f5f5] border-solid pb-[30rpx] flex items-center"},{default:d((()=>[u(r,{class:"flex-1",onClick:a=>L(e)},{default:d((()=>[u(r,{class:"font-bold my-[10rpx] text-sm"},{default:d((()=>[h(C(e.full_address),1)])),_:2},1024),u(r,{class:"text-sm flex items-center"},{default:d((()=>[h(C(e.name)+" ",1),u(_,{class:"text-[26rpx] text-gray-subtitle"},{default:d((()=>[h(C(b(j)(e.mobile)),1)])),_:2},1024),1==e.is_default?(o(),i(r,{key:0,class:"bg-primary text-white text-xs px-[10rpx] leading-none flex items-center h-[32rpx] ml-[10rpx] rounded"},{default:d((()=>[h(C(b(t)("default")),1)])),_:1})):n("v-if",!0)])),_:2},1024)])),_:2},1032,["onClick"]),u(_,{class:"iconfont iconbianji",onClick:a=>R(e.id)},null,8,["onClick"])])),_:2},1024)])),_:2},1032,["right-options"])))),256)),E.value.length?n("v-if",!0):(o(),i(r,{key:0,class:"pt-[20vh]"},{default:d((()=>[u(N,{mode:"address",icon:b(w)("static/resource/images/empty.png")},null,8,["icon"])])),_:1}))])),_:1},512),[[p,0==z.value]]),c(u(r,{class:"p-[30rpx]"},{default:d((()=>[(o(!0),f(x,null,m(H.value,(e=>(o(),i(A,{"right-options":J.value,onClick:M},{default:d((()=>[u(r,{class:"border-0 !border-b !border-[#f5f5f5] border-solid pb-[30rpx] flex items-center"},{default:d((()=>[u(r,{class:"flex-1",onClick:a=>L(e)},{default:d((()=>[u(r,{class:"font-bold my-[10rpx] text-sm"},{default:d((()=>[h(C(e.full_address),1)])),_:2},1024),u(r,{class:"text-sm flex items-center"},{default:d((()=>[h(C(e.name)+" ",1),u(_,{class:"text-[26rpx] text-gray-subtitle"},{default:d((()=>[h(C(b(j)(e.mobile)),1)])),_:2},1024),1==e.is_default?(o(),i(r,{key:0,class:"bg-primary text-white text-xs px-[10rpx] leading-none flex items-center h-[32rpx] ml-[10rpx] rounded"},{default:d((()=>[h(C(b(t)("default")),1)])),_:1})):n("v-if",!0)])),_:2},1024)])),_:2},1032,["onClick"]),u(_,{class:"iconfont iconbianji",onClick:a=>R(e.id)},null,8,["onClick"])])),_:2},1024)])),_:2},1032,["right-options"])))),256)),H.value.length?n("v-if",!0):(o(),i(r,{key:0,class:"pt-[15vh]"},{default:d((()=>[u(N,{mode:"address",icon:b(w)("static/resource/images/empty.png")},null,8,["icon"])])),_:1}))])),_:1},512),[[p,1==z.value]])])),_:1}),u(U,{fixed:!0,safeAreaInsetBottom:!0,border:!1},{default:d((()=>[u(r,{class:"p-[24rpx] pt-0 w-full"},{default:d((()=>[u(T,{type:"primary",shape:"circle",text:b(t)("createAddress"),onClick:Q},null,8,["text"])])),_:1})])),_:1})])),_:1}))}}}),[["__scopeId","data-v-a1214daf"]]);export{z as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as a,J as e,r as t,a as s,b as o,a8 as n,a1 as r,i as l,P as c,k as u,l as i,v as p,w as m,p as d,n as f,G as _,H as y,m as g,j as b,R as x,e as h,q as v,t as j,x as w,W as k,I as F,y as C,K as E,a2 as S}from"./index-faf5e276.js";import{_ as I}from"./u-loading-page.4ec3ad33.js";import{_ as R}from"./u-button.9384f0e3.js";import{_ as T}from"./pay.29236a27.js";import{_ as q}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.a6d83e95.js";import"./u-transition.bcacef93.js";import"./u-icon.71776381.js";import"./u-image.44e221c2.js";import"./u-popup.a69d5115.js";import"./u-safe-bottom.c1f1e254.js";import"./pay.6aff2817.js";import"./wechat.2fa35c62.js";const A=q(a({__name:"balance",setup(a){const q=e(),A=t(!1),B=t(null),O=s({is_auto_transfer:0,is_auto_verify:0,is_open:0,min:0,rate:0,transfer_type:[]}),P=t(!0);o((()=>{n("checkIsReturnAfterPayment"),r().then((a=>{for(let e in a.data)O[e]=a.data[e];P.value=!1}))}));const D=()=>{uni.setStorageSync("cashOutAccountType","money"),h({url:"/app/pages/member/apply_cash_out"})};return(a,e)=>{const t=v(j("u-loading-page"),I),s=w,o=k,n=F,r=v(j("u-button"),R),G=v(j("pay"),T);return l(),c(x,null,[u(t,{loading:P.value,loadingText:""},null,8,["loading"]),i(u(s,{class:"account-info-wrap"},{default:m((()=>[u(s,{class:"account-info-head",style:d({background:"url("+f(C)("static/resource/images/member/balance_bg.png")+") no-repeat 95% 30% / auto 250rpx, linear-gradient(314deg, #FE7849 0%, #FF1959 100%)"})},{default:m((()=>[u(s,{class:"name"},{default:m((()=>[_(y(f(E)("balanceInfo")),1)])),_:1}),u(s,{class:"content"},{default:m((()=>[u(s,{class:"money"},{default:m((()=>[_(y(f(q).info?f(S)((parseFloat(f(q).info.balance)+parseFloat(f(q).info.money)).toString()):"0.00"),1)])),_:1}),u(s,{class:"text"},{default:m((()=>[_(y(f(E)("accountBalance")),1)])),_:1}),u(s,{class:"money-wrap"},{default:m((()=>[u(s,{class:"money-item",onClick:e[0]||(e[0]=a=>f(h)({url:"/app/pages/member/detailed_account",param:{type:"balance"}}))},{default:m((()=>[u(s,{class:"money"},{default:m((()=>{var a;return[_(y(f(S)(null==(a=f(q).info)?void 0:a.balance)||"0.00"),1)]})),_:1}),u(s,{class:"text leading-none"},{default:m((()=>[_(y(f(E)("balance")),1)])),_:1})])),_:1}),u(s,{class:"money-item",onClick:e[1]||(e[1]=a=>f(h)({url:"/app/pages/member/detailed_account",param:{type:"money"}}))},{default:m((()=>[u(s,{class:"money"},{default:m((()=>{var a;return[_(y(f(S)(null==(a=f(q).info)?void 0:a.money)||"0.00"),1)]})),_:1}),u(s,{class:"text leading-none"},{default:m((()=>[_(y(f(E)("money")),1)])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"]),u(s,{class:"account-info-btn"},{default:m((()=>[g(' <u-button type="primary" shape="circle" class="btn"\r\n\t\t\t\t:customStyle="{backgroundColor: \'#FE4E50\',color: \'#fff\', borderColor: \'#FE4E50\',width: \'calc(100vw - 64rpx)\'}"\r\n\t\t\t\t@click="topUpFn">\r\n\t\t\t\t<image class="max-w-[36rpx] max-h-[36rpx] mr-1" :src="img(\'static/resource/images/member/reset.png\')"/>\r\n\t\t\t\t<text>{{t(\'recharge\')}}</text>\r\n\t\t\t</u-button> '),1==O.is_open?(l(),b(r,{key:0,type:"primary",plain:!0,shape:"circle",class:"btn",customStyle:{backgroundColor:"#fff",color:"#FE4E50",borderColor:"#FE4E50",width:"calc(100vw - 64rpx)"},onClick:D},{default:m((()=>[u(o,{class:"max-w-[36rpx] max-h-[36rpx] mr-1",src:f(C)("static/resource/images/member/withdraw_deposit.png")},null,8,["src"]),u(n,null,{default:m((()=>[_(y(f(E)("cashOut")),1)])),_:1})])),_:1},8,["customStyle"])):g("v-if",!0)])),_:1}),u(G,{ref_key:"payRef",ref:B,onClose:e[2]||(e[2]=a=>A.value=!1)},null,512)])),_:1},512),[[p,!P.value]])],64)}}}),[["__scopeId","data-v-1495d8e2"]]);export{A as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as e,r as a,i as s,j as t,w as l,k as n,P as o,Q as r,n as c,R as u,m as p,a9 as m,aa as _,ae as i,x as d,G as y,H as f,K as v,D as g,e as h}from"./index-faf5e276.js";import{u as k,M as j}from"./useMescroll.f9c6b371.js";import{M as w}from"./mescroll-empty.7f5227d8.js";import{_ as x}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css */const T=x(e({__name:"cash_out",setup(e){const{mescrollInit:x,downCallback:T,getMescroll:b}=k(_,m);let I=a([]),M=a(null),C=a(!1),D=uni.getStorageSync("cashOutAccountType");const R=e=>{switch(e){case 1:return v("toBeReviewed");case 2:return v("toBeTransfer");case 3:return v("transfer");case-2:return v("cancelApply")}},S=e=>{let s=a({});C.value=!1,s.value.page=e.num,s.value.page_size=e.size,s.value.account_type=D,i(s.value).then((a=>{let s=a.data.data;e.endSuccess(s.length),1==e.num&&(I.value=[]),I.value=I.value.concat(s),C.value=!0})).catch((()=>{C.value=!0,e.endErr()}))};return(e,a)=>{const m=d;return s(),t(m,{class:"member-record-list"},{default:l((()=>[n(j,{ref_key:"mescrollRef",ref:M,onInit:c(x),onDown:c(T),onUp:S},{default:l((()=>[(s(!0),o(u,null,r(c(I),((e,a)=>(s(),t(m,{key:e.id,class:"member-record-item",onClick:a=>{h({url:"/app/pages/member/cash_out_detail",param:{id:e.id}})}},{default:l((()=>[n(m,{class:"name"},{default:l((()=>[y(f(e.transfer_type_name),1)])),_:2},1024),n(m,{class:"desc"},{default:l((()=>[y(f(c(v)("applyTime"))+": "+f(e.create_time),1)])),_:2},1024),n(m,{class:"desc"},{default:l((()=>[y(f(-1!=e.status?R(e.status):e.refuse_reason),1)])),_:2},1024),n(m,{class:g(["money",e.apply_money>0?"text-active":""])},{default:l((()=>[y(f(e.apply_money>0?"+"+e.apply_money:e.apply_money),1)])),_:2},1032,["class"]),n(m,{class:"state"},{default:l((()=>[y(f(e.status_name),1)])),_:2},1024)])),_:2},1032,["onClick"])))),128)),!c(I).length&&c(C)?(s(),t(w,{key:0,option:{tip:"commission"==c(D)?c(v)("commissemptyTip"):c(v)("emptyTip")}},null,8,["option"])):p("v-if",!0)])),_:1},8,["onInit","onDown"])])),_:1})}}}),[["__scopeId","data-v-e3956900"]]);export{T as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as a,r as e,o as l,af as s,i as t,j as u,w as _,k as f,G as r,H as c,n as d,m as n,I as i,x as o,K as p}from"./index-faf5e276.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";const m=v(a({__name:"cash_out_detail",setup(a){let v=e({}),m=e(!1);l((a=>{let e=a.id||"";b(e)}));const b=a=>{m.value=!1,s(a).then((a=>{v.value=a.data,m.value=!0})).catch((()=>{m.value=!0}))};return(a,e)=>{const l=i,s=o;return t(),u(s,{class:"member-record-detail"},{default:_((()=>[f(s,{class:"money-wrap"},{default:_((()=>[f(l,null,{default:_((()=>[r("-"+c(d(v).apply_money),1)])),_:1}),f(l,null,{default:_((()=>[r(c(d(v).status_name),1)])),_:1})])),_:1}),n(" 状态0待审核1.待转账2已转账 -1拒绝' "),f(s,{class:"item"},{default:_((()=>[f(s,{class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("cashOutNo")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).cash_out_no),1)])),_:1})])),_:1}),f(s,{class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("serviceMoney")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r("¥"+c(d(v).service_money),1)])),_:1})])),_:1}),f(s,{class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("createTime")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).create_time),1)])),_:1})])),_:1}),d(v).status?(t(),u(s,{key:0,class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("auditTime")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).audit_time),1)])),_:1})])),_:1})):n("v-if",!0),d(v).transfer_bank?(t(),u(s,{key:1,class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("transferBank")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).transfer_bank),1)])),_:1})])),_:1})):n("v-if",!0),f(s,{class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("transferAccount")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).transfer_account),1)])),_:1})])),_:1}),-1==d(v).status&&d(v).refuse_reason?(t(),u(s,{key:2,class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("refuseReason")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).refuse_reason),1)])),_:1})])),_:1})):n("v-if",!0),2==d(v).status?(t(),u(s,{key:3,class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("transferTypeName")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).transfer_type_name),1)])),_:1})])),_:1})):n("v-if",!0),2==d(v).status?(t(),u(s,{key:4,class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("transferTime")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).transfer_time),1)])),_:1})])),_:1})):n("v-if",!0)])),_:1})])),_:1})}}}),[["__scopeId","data-v-ad6681a5"]]);export{m as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as a,J as s,i as e,j as o,w as t,k as n,G as c,H as l,n as i,p as r,e as m,x as u,W as p,I as d,q as _,t as f,y,K as g,a2 as b}from"./index-faf5e276.js";import{_ as x}from"./u-button.9384f0e3.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.a6d83e95.js";import"./u-icon.71776381.js";const w=h(a({__name:"commission",setup(a){const h=s(),w=()=>{uni.setStorageSync("cashOutAccountType","commission"),m({url:"/app/pages/member/apply_cash_out"})};return(a,s)=>{const v=u,j=p,k=d,C=_(f("u-button"),x);return e(),o(v,{class:"account-info-wrap"},{default:t((()=>[n(v,{class:"account-info-head",style:r({background:"url("+i(y)("static/resource/images/member/balance_bg.png")+") no-repeat 95% 30% / auto 250rpx, linear-gradient(314deg, #FE7849 0%, #FF1959 100%)"})},{default:t((()=>[n(v,{class:"name"},{default:t((()=>[c(l(i(g)("commissionInfo")),1)])),_:1}),n(v,{class:"content"},{default:t((()=>[n(v,{class:"money",onClick:s[0]||(s[0]=a=>i(m)({url:"/app/pages/member/detailed_account",param:{type:"commission"}}))},{default:t((()=>[c(l(i(h).info?i(b)(i(h).info.commission):0),1)])),_:1}),n(v,{class:"text",onClick:s[1]||(s[1]=a=>i(m)({url:"/app/pages/member/detailed_account",param:{type:"commission"}}))},{default:t((()=>[c(l(i(g)("accountCommission")),1)])),_:1}),n(v,{class:"money-wrap"},{default:t((()=>[n(v,{class:"money-item"},{default:t((()=>[n(v,{class:"money"},{default:t((()=>{var a;return[c(l(i(b)(null==(a=i(h).info)?void 0:a.commission_get)||"0.00"),1)]})),_:1}),n(v,{class:"text"},{default:t((()=>[c(l(i(g)("commission")),1)])),_:1})])),_:1}),n(v,{class:"money-item"},{default:t((()=>[n(v,{class:"money"},{default:t((()=>{var a;return[c(l(i(b)(null==(a=i(h).info)?void 0:a.commission_cash_outing)||"0.00"),1)]})),_:1}),n(v,{class:"text"},{default:t((()=>[c(l(i(g)("money")),1)])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"]),n(v,{class:"account-info-btn"},{default:t((()=>[n(C,{type:"primary",plain:!0,shape:"circle",class:"btn",customStyle:{backgroundColor:"#fff",color:"#FE4E50",borderColor:"#FE4E50",width:"calc(100vw - 64rpx)"},onClick:w},{default:t((()=>[n(j,{class:"max-w-[36rpx] max-h-[36rpx] mr-1",src:i(y)("static/resource/images/member/withdraw_deposit.png")},null,8,["src"]),n(k,null,{default:t((()=>[c(l(i(g)("cashOut")),1)])),_:1})])),_:1},8,["customStyle"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-7c1366b1"]]);export{w as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as a,r as e,o as s,i as t,j as l,w as o,k as c,P as n,Q as m,R as u,n as r,m as i,a9 as _,aa as d,x as p,G as v,H as f,D as y,K as g,ab as b,ac as j,ad as k}from"./index-faf5e276.js";import{u as x,M as h}from"./useMescroll.f9c6b371.js";import{M as w}from"./mescroll-empty.7f5227d8.js";import{_ as I}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css */const M=I(a({__name:"detailed_account",setup(a){const{mescrollInit:I,downCallback:M,getMescroll:D}=x(d,_),z=e("");s((a=>{z.value=a.type||"balance"}));const R=e([]),T=e(!1),U=e(null),q=a=>{T.value=!1;let e={page:a.num,page_size:a.size},s=a=>{};"balance"==z.value?s=b:"money"==z.value?s=j:"commission"==z.value&&(s=k),s(e).then((e=>{let s=e.data.data;a.endSuccess(s.length),1==a.num&&(R.value=[]),R.value=R.value.concat(s),T.value=!0})).catch((()=>{T.value=!0,a.endErr()}))};return(a,e)=>{const s=p;return t(),l(s,{class:"member-record-list"},{default:o((()=>[c(h,{ref_key:"mescrollRef",ref:U,onInit:r(I),onDown:r(M),onUp:q,top:""},{default:o((()=>[(t(!0),n(u,null,m(R.value,((a,e)=>(t(),l(s,{key:a.id,class:"member-record-item"},{default:o((()=>[c(s,{class:"name"},{default:o((()=>[v(f(a.from_type_name),1)])),_:2},1024),a.memo?(t(),l(s,{key:0,class:"desc"},{default:o((()=>[v(f(a.memo),1)])),_:2},1024)):i("v-if",!0),c(s,{class:"desc"},{default:o((()=>[v(f(a.create_time),1)])),_:2},1024),c(s,{class:y(["money",a.account_data>0?"text-active":""])},{default:o((()=>[v(f(a.account_data>0?"+"+a.account_data:a.account_data),1)])),_:2},1032,["class"])])),_:2},1024)))),128)),!R.value.length&&T.value?(t(),l(w,{key:0,option:{tip:"commission"==z.value?r(g)("commissemptyTip"):r(g)("emptyTip")}},null,8,["option"])):i("v-if",!0)])),_:1},8,["onInit","onDown"])])),_:1})}}}),[["__scopeId","data-v-e922952c"]]);export{M as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as a,r as e,u as t,a as o,c as l,o as r,f as s,h as p,b as i,g as u,s as d,e as g,J as n,i as m,j as f,w as _,k as v,l as b,v as c,m as j,n as x,p as y,q as h,t as C,x as w,y as k}from"./index-faf5e276.js";import{_ as D}from"./u-loading-page.4ec3ad33.js";import{_ as M,a as S}from"./index.e9b4c317.js";import{_ as I}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.a6d83e95.js";import"./u-transition.bcacef93.js";import"./u-icon.71776381.js";import"./u--image.90dc3990.js";import"./u-image.44e221c2.js";import"./app-link.vue_vue_type_script_setup_true_lang.8d02ecda.js";import"./u-avatar.9784460f.js";import"./u--text.c8005a3e.js";import"./u-line.vue_vue_type_style_index_0_scoped_45e31c7a_lang.501f5819.js";import"./u-form.ab08229f.js";import"./u-button.9384f0e3.js";import"./u-popup.a69d5115.js";import"./u-safe-bottom.c1f1e254.js";import"./tabbar.75ed1765.js";import"./u-badge.d297a0fc.js";import"./u-tabbar.f1e34422.js";import"./article.0849380d.js";import"./vipcard.5c43eb30.js";import"./goods.79477506.js";import"./tourism.7006ebdc.js";const B=I(a({__name:"index",setup(a){const I=e(!0),B=t(),E=e(0),R=e("DIY_MEMBER_INDEX"),J=o({pageMode:"diy",title:"",global:{},value:[]}),q=l((()=>"decorate"==B.mode?B:J));return r((a=>{B.mode=a.mode||"","decorate"==B.mode&&(I.value=!1)})),s((()=>{E.value++,p()})),i((()=>{"decorate"==B.mode?B.init():u({name:R.value}).then((a=>{let e=a.data;if(e.value){J.pageMode=e.mode,J.title=e.title;let a=JSON.parse(e.value);J.global=a.global,J.value=a.value,J.value.forEach(((a,e)=>{a.pageStyle="",a.pageBgColor&&(a.pageStyle+="background-color:"+a.pageBgColor+";"),a.margin&&(a.pageStyle+="padding-top:"+2*a.margin.top+"rpx;",a.pageStyle+="padding-bottom:"+2*a.margin.bottom+"rpx;",a.pageStyle+="padding-right:"+2*a.margin.both+"rpx;",a.pageStyle+="padding-left:"+2*a.margin.both+"rpx;")})),d({title:J.title}),I.value=!1}else"other"==e.mode&&g({url:e.page})})),n().getMemberInfo()})),(a,e)=>{const t=h(C("u-loading-page"),D),o=h(C("diy-group"),M),l=w,r=h(C("fixed-group"),S);return m(),f(l,null,{default:_((()=>[v(t,{loading:I.value,loadingText:"","bg-color":"#f7f7f7"},null,8,["loading"]),b(v(l,null,{default:_((()=>[j(" 自定义模板渲染 "),"fixed"!=x(q).pageMode?(m(),f(l,{key:0,class:"diy-template-wrap bg-index",style:y({backgroundColor:x(q).global.pageBgColor,minHeight:"calc(100vh - 50px)",backgroundImage:x(q).global.bgUrl?"url("+x(k)(x(q).global.bgUrl)+")":""})},{default:_((()=>[v(o,{data:x(q),pullDownRefreshCount:E.value},null,8,["data","pullDownRefreshCount"])])),_:1},8,["style"])):j("v-if",!0),j(" 固定模板渲染 "),"fixed"==x(q).pageMode?(m(),f(l,{key:1,class:"fixed-template-wrap"},{default:_((()=>[v(r,{data:x(q),pullDownRefreshCount:E.value},null,8,["data","pullDownRefreshCount"])])),_:1})):j("v-if",!0)])),_:1},512),[[c,!I.value]])])),_:1})}}}),[["__scopeId","data-v-8ec9ffd5"]]);export{B as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as e,r as a,o as l,at as r,c as s,i as t,j as d,w as u,m as o,k as i,n as m,G as n,H as c,_ as p,K as b,au as v,av as _,e as f,aw as g,x as h,q as x,t as y,a7 as j}from"./index-faf5e276.js";import{_ as V}from"./u-input.201a0a1e.js";import{_ as w}from"./u-form-item.a1ccf72c.js";import{_ as P}from"./u-icon.71776381.js";import{_ as k}from"./u-switch.74f29562.js";import{_ as q}from"./u-button.9384f0e3.js";import{_ as A}from"./u-form.ab08229f.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.0f7106aa.js";import"./u-line.vue_vue_type_style_index_0_scoped_45e31c7a_lang.501f5819.js";import"./u-loading-icon.a6d83e95.js";const $=e({__name:"location_address_edit",setup(e){const $=a(""),C=a({id:0,name:"",mobile:"",lat:"",lng:"",address:"",address_name:"学府街",full_address:"",is_default:0,area:"",type:"location_address"});l((e=>{e.id&&r(e.id).then((({data:e})=>{e&&(Object.assign(C.value,e),C.value.area=C.value.full_address.replace(C.value.address,"").replace(C.value.address_name,""))})).catch(),$.value=e.type||""}));const U=a(null),E=s((()=>({address:{type:"string",required:!0,message:b("addressError"),trigger:["blur","change"]},name:{type:"string",required:!0,message:b("namePlaceholder"),trigger:["blur","change"]},mobile:[{type:"string",required:!0,message:b("mobilePlaceholder"),trigger:["blur","change"]},{validator:()=>uni.$u.test.mobile(C.value.mobile),message:b("mobileError")}]}))),z=a(!1),B=()=>{if(uni.$u.test.isEmpty(C.value.area))return void p({title:b("selectAddressPlaceholder"),icon:"none"});const e=C.value.id?v:_;U.value.validate().then((()=>{z.value||(z.value=!0,C.value.full_address=`${C.value.area}${C.value.address_name}${C.value.address}`,e(C.value).then((e=>{z.value=!1,setTimeout((()=>{f({url:"/app/pages/member/address",param:{type:$.value}})}),1e3)})).catch((()=>{z.value=!1})))}))},O=()=>{g({success:e=>{e.latitude&&(C.value.lat=e.latitude),e.longitude&&(C.value.lng=e.longitude),e.address&&(C.value.area=e.address),e.name&&(C.value.address_name=e.name)}})};return(e,a)=>{const l=h,r=x(y("u-input"),V),s=x(y("u-form-item"),w),p=x(y("u-icon"),P),v=x(y("u-switch"),k),_=x(y("u-button"),q),f=x(y("u-form"),A),g=j;return t(),d(g,{"scroll-y":"true",class:"bg-page h-screen"},{default:u((()=>[o(' <view class="h-[88rpx]">\r\n\t\t <u-navbar title="添加地址" @rightClick="rightClick" :autoBack="true"></u-navbar>\r\n\t\t</view> '),i(l,{class:"h-[30rpx]"}),i(l,{class:"m-[30rpx] mt-0 p-[30rpx] pt-[10rpx] rounded-md bg-white"},{default:u((()=>[i(f,{labelPosition:"left",model:C.value,labelWidth:"200rpx",errorType:"toast",rules:m(E),ref_key:"formRef",ref:U},{default:u((()=>[i(l,{class:"mt-[10rpx]"},{default:u((()=>[i(s,{label:m(b)("name"),prop:"name","border-bottom":!0},{default:u((()=>[i(r,{modelValue:C.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>C.value.name=e),border:"none",clearable:"",placeholder:m(b)("namePlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),i(l,{class:"mt-[10rpx]"},{default:u((()=>[i(s,{label:m(b)("mobile"),prop:"mobile","border-bottom":!0},{default:u((()=>[i(r,{modelValue:C.value.mobile,"onUpdate:modelValue":a[1]||(a[1]=e=>C.value.mobile=e),border:"none",clearable:"",placeholder:m(b)("mobilePlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),i(l,{class:"mt-[10rpx]"},{default:u((()=>[i(s,{label:m(b)("deliveryAddress"),prop:"address_name","border-bottom":!0},{default:u((()=>[i(l,{class:"flex justify-between flex-1",onClick:O},{default:u((()=>[i(l,{class:"text-[#c3c4d5] text-[15px]"},{default:u((()=>[n(c(C.value.area?C.value.address_name:m(b)("selectAddressPlaceholder")),1)])),_:1}),i(p,{name:"arrow-right",color:"#c3c4d5"})])),_:1})])),_:1},8,["label"])])),_:1}),i(l,{class:"mt-[10rpx]"},{default:u((()=>[i(s,{label:m(b)("address"),prop:"address","border-bottom":!0},{default:u((()=>[i(r,{modelValue:C.value.address,"onUpdate:modelValue":a[2]||(a[2]=e=>C.value.address=e),border:"none",clearable:"",placeholder:m(b)("addressPlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),i(l,{class:"mt-[10rpx]"},{default:u((()=>[i(s,{label:m(b)("defaultAddress"),prop:"name","border-bottom":!0},{default:u((()=>[i(v,{modelValue:C.value.is_default,"onUpdate:modelValue":a[3]||(a[3]=e=>C.value.is_default=e),size:"20",activeValue:1,inactiveValue:0},null,8,["modelValue"])])),_:1},8,["label"])])),_:1}),i(l,{class:"mt-[40rpx]"},{default:u((()=>[i(_,{type:"primary",shape:"circle",text:m(b)("save"),onClick:B,loading:z.value},null,8,["text","loading"])])),_:1})])),_:1},8,["model","rules"])])),_:1})])),_:1})}}});export{$ as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as e,r as a,i as t,j as s,w as l,k as r,P as o,Q as n,n as u,R as p,m as c,a9 as d,aa as m,aj as _,x as i,D as f,G as x,H as v}from"./index-faf5e276.js";import{u as g,M as y}from"./useMescroll.f9c6b371.js";import{M as b}from"./mescroll-empty.7f5227d8.js";import"./_plugin-vue_export-helper.1b428a4d.js";/* empty css */const h=e({__name:"point",setup(e){const{mescrollInit:h,downCallback:j,getMescroll:k}=g(m,d);let w=a([]),M=a(null),D=a(!1);const I=e=>{let t=a({});D.value=!1,t.value.page=e.num,t.value.page_size=e.size,_(t.value).then((a=>{let t=a.data.data;e.endSuccess(t.length),1==e.num&&(w.value=[]),w.value=w.value.concat(t),D.value=!0})).catch((()=>{D.value=!0,e.endErr()}))};return(e,a)=>{const d=i;return t(),s(d,{class:"bg-gray-100 min-h-[100vh]"},{default:l((()=>[r(y,{ref_key:"mescrollRef",ref:M,onInit:u(h),onDown:u(j),onUp:I},{default:l((()=>[(t(!0),o(p,null,n(u(w),((e,a)=>(t(),s(d,{key:e.id,class:f(["bg-white relative p-[10px]",{"border-solid border-t-0 border-l-0 border-r-0 border-b-[1px] border-gray-200":u(w).length-1!=a}])},{default:l((()=>[r(d,{class:"text-[14px]"},{default:l((()=>[x(v(e.from_type_name),1)])),_:2},1024),r(d,{class:"text-[12px] text-gray-400 mt-[10px]"},{default:l((()=>[x(v(e.create_time),1)])),_:2},1024),r(d,{class:"text-[14px] absolute top-[50%] transform -translate-y-[50%] right-[10px]"},{default:l((()=>[x(v(e.account_data),1)])),_:2},1024)])),_:2},1032,["class"])))),128)),!u(w).length&&u(D)?(t(),s(b,{key:0})):c("v-if",!0)])),_:1},8,["onInit","onDown"])])),_:1})}}});export{h as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as e,o as a,ax as s,i as t,j as r,w as n,k as p,n as i,G as o,W as d,x as c,y as l}from"./index-faf5e276.js";const x=e({__name:"browser",setup:e=>(a((e=>{!s()&&e.alipay&&(uni.setStorageSync("paymenting",{trade_type:e.trade_type,trade_id:e.trade_id}),location.href=decodeURIComponent(e.alipay))})),(e,a)=>{const s=d,x=c;return t(),r(x,{class:"w-screen h-screen bg-[#424040] text-right"},{default:n((()=>[p(s,{src:i(l)("static/resource/images/pay/invite_friends_share.png"),mode:"heightFix",class:"pt-[30rpx] pr-[30rpx] h-[200rpx]"},null,8,["src"]),p(x,{class:"text-white font-bold pt-[30rpx] pr-[30rpx]"},{default:n((()=>[o("点击右上角跳转到浏览器打开")])),_:1})])),_:1})})});export{x as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as e,r as t,o as a,s,K as l,i as r,P as o,j as u,w as p,k as c,n,G as i,H as m,m as d,R as x,e as f,ay as _,W as y,x as v,I as g,q as j,t as w,y as b,a2 as h}from"./index-faf5e276.js";import{_ as T}from"./u-button.9384f0e3.js";import{_ as k}from"./u-loading-icon.a6d83e95.js";import{_ as C}from"./u-modal.0a434476.js";import{g as S}from"./pay.6aff2817.js";import{_ as F}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.71776381.js";import"./u-line.0f7106aa.js";import"./u-line.vue_vue_type_style_index_0_scoped_45e31c7a_lang.501f5819.js";import"./u-popup.a69d5115.js";import"./u-transition.bcacef93.js";import"./u-safe-bottom.c1f1e254.js";const R=F(e({__name:"result",setup(e){const F=t(null),R=t(!1);let I="",P=0,q=0;a((e=>{I=e.trade_type,P=e.trade_id,z()}));const z=()=>{S(I,P).then((e=>{if(!uni.$u.test.isEmpty(e.data)){if(1==e.data.status&&q<5)return R.value=!0,q++,void setTimeout((()=>{z()}),1e3);F.value=e.data,R.value=!1,s({title:2==F.value.status?l("pay.paySuccess"):l("pay.payFail")})}})).catch((()=>{}))},B=()=>{var e;const t=decodeURIComponent(uni.getStorageSync("payReturn"));f(t?{url:t,mode:"redirectTo"}:{url:_(),param:{code:null==(e=F.value)?void 0:e.out_trade_no},mode:"redirectTo"})};return(e,t)=>{const a=y,s=v,f=g,_=j(w("u-button"),T),S=j(w("u-loading-icon"),k),I=j(w("u-modal"),C);return r(),o(x,null,[F.value?(r(),u(s,{key:0,class:"w-screen bg-[#fff] flex flex-col items-center"},{default:p((()=>[c(s,{class:"flex-1 flex flex-col items-center w-full pt-[100rpx]"},{default:p((()=>[2==F.value.status?(r(),u(a,{key:0,class:"max-w-[144rpx] max-h-[88rpx]",src:n(b)("static/resource/images/result/pay_succeed.png")},null,8,["src"])):(r(),u(a,{key:1,class:"max-w-[144rpx] max-h-[88rpx]",src:n(b)("static/resource/images/result/pay_error.png")},null,8,["src"])),c(s,{class:"text-[32rpx] font-bold mt-[22rpx]"},{default:p((()=>[i(m(2==F.value.status?n(l)("pay.paySuccess"):n(l)("pay.payFail")),1)])),_:1}),c(s,{class:"text-[40rpx] font-bold mt-[40rpx] text-[#FF4646]"},{default:p((()=>[c(f,{class:"text-base"},{default:p((()=>[i(m(n(l)("currency")),1)])),_:1}),c(f,null,{default:p((()=>[i(m(n(h)(F.value.money)),1)])),_:1})])),_:1})])),_:1}),c(s,{class:"pb-[80rpx] pt-[40rpx] w-[240rpx]"},{default:p((()=>[c(_,{type:"primary",text:2==F.value.status?n(l)("complete"):n(l)("close"),plain:!0,onClick:B},null,8,["text"])])),_:1})])),_:1})):d("v-if",!0),c(I,{show:R.value,showCancelButton:!0,confirmText:n(l)("pay.completePay"),cancelText:n(l)("pay.incompletePay"),onCancel:B},{default:p((()=>[c(s,{class:"py-[20rpx]"},{default:p((()=>[c(S,{text:n(l)("pay.getting"),textSize:"16",mode:"circle",vertical:!0},null,8,["text"])])),_:1})])),_:1},8,["show","confirmText","cancelText"])],64)}}}),[["__scopeId","data-v-03e1fe0c"]]);export{R as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as e,J as a,r as t,a as l,c as s,i as n,j as o,w as r,k as i,n as u,m as p,az as d,aA as c,x as m,q as v,t as _,K as g,ax as f,aB as x}from"./index-faf5e276.js";import{_ as h,a as j,b as k}from"./u-action-sheet.f3e5b223.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.71776381.js";import"./u-line.0f7106aa.js";import"./u-line.vue_vue_type_style_index_0_scoped_45e31c7a_lang.501f5819.js";import"./u-loading-icon.a6d83e95.js";import"./u-popup.a69d5115.js";import"./u-transition.bcacef93.js";import"./u-safe-bottom.c1f1e254.js";const b=w(e({__name:"index",setup(e){const w=a(),b=t("1.0.1"),y=l({"zh-Hans":{name:"简体中文",fontSize:"14",value:"zh-Hans"},en:{name:"English",fontSize:"14",value:"en"}}),z=t(!1),C=s((()=>{const e=x();return y[e].name})),A=e=>{d.loadLocaleMessages("/"+c(),e.value)};return(e,a)=>{const t=m,l=v(_("u-cell"),h),s=v(_("u-cell-group"),j),d=v(_("u-action-sheet"),k);return n(),o(t,{class:"w-full h-screen bg-page"},{default:r((()=>[i(t,{class:"h-[30rpx]"}),i(t,{class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx] py-[10rpx]"},{default:r((()=>[i(s,{border:!1},{default:r((()=>[i(l,{title:u(g)("personalSettings"),"is-link":!0,url:"/app/pages/member/personal"},null,8,["title"]),i(l,{title:u(g)("switchLang"),"is-link":!0,value:u(C),onClick:a[0]||(a[0]=e=>z.value=!0)},null,8,["title","value"]),i(l,{title:u(g)("version"),value:b.value},null,8,["title","value"])])),_:1})])),_:1}),i(t,{class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx] py-[10rpx]"},{default:r((()=>[i(s,{border:!1},{default:r((()=>[i(l,{title:u(g)("userAgreement"),"is-link":!0,url:"/app/pages/auth/agreement?key=service"},null,8,["title"]),i(l,{title:u(g)("privacyAgreement"),"is-link":!0,url:"/app/pages/auth/agreement?key=privacy"},null,8,["title"])])),_:1})])),_:1}),u(f)()?p("v-if",!0):(n(),o(t,{key:0,class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx]"},{default:r((()=>[i(s,{border:!1},{default:r((()=>[i(l,{title:u(g)("logout"),class:"text-center",onClick:a[1]||(a[1]=e=>u(w).logout(!0))},null,8,["title"])])),_:1})])),_:1})),i(d,{actions:y,show:z.value,closeOnClickOverlay:!0,safeAreaInsetBottom:!0,onClose:a[2]||(a[2]=e=>z.value=!1),onSelect:A},null,8,["actions","show"])])),_:1})}}}),[["__scopeId","data-v-edddd92e"]]);export{b as default};
|
||||
@ -1 +0,0 @@
|
||||
import{d as a,r as s,o as e,i as o,j as t,w as n,k as r,a0 as c,q as l,t as u,aC as i,x as d}from"./index-faf5e276.js";import{_ as p}from"./u-icon.71776381.js";import{_ as f}from"./_plugin-vue_export-helper.1b428a4d.js";const m=f(a({__name:"index",setup(a){const f=s("");e((a=>{f.value=decodeURIComponent(a.src)}));const m=()=>{c({delta:1})};return(a,s)=>{const e=l(u("u-icon"),p),c=i,_=d;return o(),t(_,null,{default:n((()=>[r(e,{name:"arrow-left",class:"navigate-back",onClick:m}),r(c,{src:f.value},null,8,["src"])])),_:1})}}}),[["__scopeId","data-v-04f91ffc"]]);export{m as default};
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-c83954c3]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-c83954c3]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-c83954c3]:root,uni-page-body[data-v-c83954c3]{--primary-color: #ff4500;--primary-color-dark: #F26F3E;--primary-color-disabled: #FFB397;--primary-color-light: #FFEAE2;--page-bg-color: #f7f7f7;--price-text-color: #e1251b}.remove-border[data-v-c83954c3]:after{border:none}[data-v-c83954c3] .u-upload__button{width:70px!important;height:70px!important;border:1px dashed #ddd}[data-v-c83954c3] .u-upload__wrap__preview__image{width:70px!important;height:70px!important}
|
||||
@ -1 +0,0 @@
|
||||
import{b1 as t}from"./index-faf5e276.js";function r(r){return t.get("cms/article",r)}function e(r){return t.get("cms/article/all",r)}function c(r){return t.get(`cms/article/${r}`)}function n(){return t.get("cms/category")}export{n as a,r as b,c,e as g};
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-1495d8e2]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-1495d8e2]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.account-info-wrap[data-v-1495d8e2]{--tw-bg-opacity: 1;background-color:rgba(245,246,250,var(--tw-bg-opacity));min-height:100vh}.account-info-wrap .account-info-head[data-v-1495d8e2]{height:10rem;position:relative}.account-info-wrap .account-info-head .name[data-v-1495d8e2]{font-size:1.125rem;line-height:1.75rem;margin-left:1rem;margin-bottom:.75rem;padding-top:1.75rem;--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.account-info-wrap .account-info-head .content[data-v-1495d8e2]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.5rem;padding:1.25rem;position:absolute;left:.75rem;right:.75rem}.account-info-wrap .account-info-head .content .money[data-v-1495d8e2]{font-weight:700;font-size:1.66rem;line-height:1.75rem}.account-info-wrap .account-info-head .content .text[data-v-1495d8e2]{font-size:.75rem;line-height:1rem;margin-top:.5rem;--tw-text-opacity: 1;color:rgba(100,116,139,var(--tw-text-opacity))}.account-info-wrap .account-info-head .content .money-wrap[data-v-1495d8e2]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:1.25rem}.account-info-wrap .account-info-head .content .money-wrap .money-item[data-v-1495d8e2]{-webkit-box-flex:1;-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%}.account-info-wrap .account-info-head .content .money-wrap .money[data-v-1495d8e2]{font-size:1.125rem;line-height:1.75rem}.account-info-wrap .account-info-head .content .money-wrap .text[data-v-1495d8e2]{margin-top:.25rem}.account-info-wrap .account-info-btn[data-v-1495d8e2]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:6rem;margin-left:.75rem;margin-right:.75rem}.account-info-wrap .account-info-btn .btn[data-v-1495d8e2]:first-of-type{border-radius:.25rem;margin-right:.25rem}.account-info-wrap .account-info-btn .btn[data-v-1495d8e2]:last-of-type{border-radius:.25rem;margin-left:.25rem}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-a639e924]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-a639e924]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-a639e924]:root,uni-page-body[data-v-a639e924]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}.class-select[data-v-a639e924]{position:relative;font-weight:700}.class-select[data-v-a639e924]:after{content:"";position:absolute;bottom:0;height:.1875rem;background-color:var(--primary-color);width:90%;left:50%;transform:translate(-50%)}
|
||||
@ -1 +0,0 @@
|
||||
[data-v-b460f7f4]:root,uni-page-body[data-v-b460f7f4]{--primary-color: #ff4500;--primary-color-dark: #F26F3E;--primary-color-disabled: #FFB397;--primary-color-light: #FFEAE2;--page-bg-color: #f7f7f7;--price-text-color: #e1251b}.remove-border[data-v-b460f7f4][data-v-b460f7f4]:after{border:none}.using-hidden[data-v-b460f7f4]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-b460f7f4]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-b460f7f4] uni-page{background:var(--page-bg-color)}uni-page-body[data-v-b460f7f4]{height:100%}.text-color[data-v-b460f7f4]{color:var(--primary-color)}.bg-color[data-v-b460f7f4]{background-color:var(--primary-color)}[data-v-b460f7f4] .tab-bar-placeholder,[data-v-b460f7f4] .u-tabbar__placeholder{display:none!important}.scroll-height[data-v-b460f7f4]{height:calc(100vh - 5.75rem - 50px - env(safe-area-inset-bottom));height:calc(100vh - 5.75rem - 50px - constant(safe-area-inset-bottom))}
|
||||
@ -1 +0,0 @@
|
||||
import{b1 as t,br as s,aG as i,_ as o,K as e}from"./index-faf5e276.js";function d(s){return t.post("shop/cart",s)}function a(s){return t.put("shop/cart",s)}function c(s){return t.put("shop/cart/delete",s)}function u(s){return t.get("shop/cart/goods",s)}const r=s("cart",{state:()=>({cartList:{},totalNum:0,totalMoney:0,isRepeat:!1}),actions:{getList(){var s;i()&&t.get("shop/cart",s).then((t=>{let s=t.data;for(let i in this.cartList)delete this.cartList[i];s&&s.forEach((t=>{if(1==t.goods.status&&0==t.goods.delete_time){let s={id:t.id,goods_id:t.goods_id,sku_id:t.sku_id,stock:t.goodsSku.stock,num:t.num,sale_price:t.goodsSku.sale_price};this.cartList["goods_"+s.goods_id]||(this.cartList["goods_"+s.goods_id]={}),this.cartList["goods_"+s.goods_id]["sku_"+s.sku_id]=s}})),this.calculateNum()}))},increase(t,s=1,c=null){if(!t||t&&0==Object.keys(t).length||!t.goods_id||!t.sku_id)return;if(!i())return;let u=(t.num||0)+s,r=t.id?a:d;u>parseInt(t.stock)?o({title:e("商品库存不足"),icon:"none"}):this.isRepeat||(this.isRepeat=!0,t.id?this.cartList["goods_"+t.goods_id]["sku_"+t.sku_id].num=u:(this.cartList["goods_"+t.goods_id]||(this.cartList["goods_"+t.goods_id]={}),this.cartList["goods_"+t.goods_id]["sku_"+t.sku_id]={id:t.id,goods_id:t.goods_id,sku_id:t.sku_id,stock:t.stock,num:u,sale_price:t.sale_price}),this.calculateNum(),r({id:t.id,goods_id:t.goods_id,sku_id:t.sku_id,num:u}).then((t=>{"function"==typeof c&&c(),this.getList(),this.isRepeat=!1})).catch((t=>{this.isRepeat=!1})))},reduce(t,s=1){if(!t||t&&0==Object.keys(t).length||!t.goods_id||!t.sku_id)return;if(!i())return;let o=(t.num||0)-1,e=o>0?a:c;this.isRepeat||(this.isRepeat=!0,o>0?this.cartList["goods_"+t.goods_id]["sku_"+t.sku_id].num=o:(delete this.cartList["goods_"+t.goods_id]["sku_"+t.sku_id],0==Object.keys(this.cartList["goods_"+t.goods_id]).length&&delete this.cartList["goods_"+t.goods_id]),this.calculateNum(),e({ids:t.id,id:t.id,goods_id:t.goods_id,sku_id:t.sku_id,num:o}).then((t=>{this.getList(),this.isRepeat=!1})).catch((t=>{this.isRepeat=!1})))},delete(t,s=null){t&&c({ids:t}).then((t=>{this.getList(),this.isRepeat=!1,s&&s()})).catch((t=>{this.isRepeat=!1}))},calculateNum(){if(this.totalNum=0,this.totalMoney=0,Object.keys(this.cartList).length)for(let t in this.cartList){let s=0,i=0;for(let o in this.cartList[t])"object"==typeof this.cartList[t][o]&&(s+=this.cartList[t][o].num,i+=this.cartList[t][o].num*this.cartList[t][o].sale_price);this.cartList[t].totalNum=s,this.cartList[t].totalMoney=i.toFixed(2),this.totalNum+=s,this.totalMoney+=i}this.totalMoney=this.totalMoney.toFixed(2)}}});export{u as g,r as u};
|
||||
@ -1 +0,0 @@
|
||||
const t="文章详情",a="摘要",e="正在加载",d={detail:t,abstract:"摘要",loadingText:e};export{a as abstract,d as default,t as detail,e as loadingText};
|
||||
@ -1 +0,0 @@
|
||||
const a="文章列表",e="~ 暂无数据 ~",l="全部",t="-- 到底了 --",o="请输入搜索关键词",s={list:a,noData:e,all:"全部",end:t,searchPlaceholder:o};export{l as all,s as default,t as end,a as list,e as noData,o as searchPlaceholder};
|
||||
@ -1 +0,0 @@
|
||||
import{d as e,r as a,o as t,s,i as r,j as l,w as o,n as i,P as n,k as p,G as u,H as d,R as m,m as g,x,I as c,q as f,t as b,K as _}from"./index-faf5e276.js";import{_ as h}from"./u-parse.2d43cacf.js";import{_ as j}from"./u-loading-page.4ec3ad33.js";import{c as v}from"./article.0849380d.js";import{u as y}from"./useShare.3b5bf680.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.a6d83e95.js";import"./u-transition.bcacef93.js";import"./wechat.2fa35c62.js";const S=e({__name:"detail",setup(e){const{setShare:S,onShareAppMessage:w,onShareTimeline:T}=y();w(),T();let k=a([]),q=a(!0),H={h2:"margin-bottom: 15px;",p:"margin-bottom: 10px;line-height: 1.5;",img:"margin: 10px 0;"};return t((e=>{q.value=!0,v(e.id).then((e=>{k.value=e.data,q.value=!1;let a={title:k.value.title,desc:k.value.intro,url:k.value.image};s({title:k.value.title}),S({wechat:{...a},weapp:{...a}})}))})),(e,a)=>{const t=x,s=c,v=f(b("u-parse"),h),y=f(b("u-loading-page"),j);return r(),l(t,{class:"bg-white"},{default:o((()=>[i(q)?g("v-if",!0):(r(),n(m,{key:0},[p(t,{class:"border-solid border-t-0 border-l-0 border-r-0 border-b-[1px] border-gray-200 p-[10px]"},{default:o((()=>[p(t,{class:"text-[16px]"},{default:o((()=>[u(d(i(k).title),1)])),_:1}),p(t,{class:"flex align-center justify-between text-[12px] text-gray-400 mt-[15px]"},{default:o((()=>[p(s,null,{default:o((()=>[u(d(i(k).create_time),1)])),_:1})])),_:1})])),_:1}),p(t,{class:"mx-[10px] my-[10px] bg-gray-100 p-[8px] text-[14px] rounded-[5px] leading-[1.3]"},{default:o((()=>[u(d(i(_)("abstract"))+":"+d(i(k).summary),1)])),_:1}),p(t,{class:"px-[10px] pd-[10px]"},{default:o((()=>[p(v,{content:i(k).content,tagStyle:i(H)},null,8,["content","tagStyle"])])),_:1})],64)),p(y,{"bg-color":"rgb(248,248,248)",loading:i(q),fontSize:"16",color:"#333",loadingText:i(_)("loadingText")},null,8,["loading","loadingText"])])),_:1})}}});export{S as default};
|
||||
@ -1 +0,0 @@
|
||||
import{b1 as o}from"./index-faf5e276.js";function n(n){return o.get("shop/coupon",n)}function s(n){return o.get(`shop/coupon/${n}`)}function e(n){return o.post("shop/coupon",n,{showSuccessMessage:!0})}function t(n){return o.get("shop/member/coupon",n)}export{e as a,s as b,t as c,n as g};
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-99a26276]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-99a26276]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-99a26276]:root,uni-page-body[data-v-99a26276]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}.chunk-wrap[data-v-99a26276]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));margin-bottom:.5rem;padding-left:1rem;padding-right:1rem}.chunk-wrap .chunk-head[data-v-99a26276]{height:2.625rem;--tw-border-opacity: 1;border-color:rgba(242,242,242,var(--tw-border-opacity));border-style:solid;border-width:0px;border-bottom-width:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.chunk-wrap .chunk-head uni-text[data-v-99a26276]:first-of-type{font-weight:700}.chunk-wrap .chunk-head uni-text[data-v-99a26276]:nth-child(2){font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgba(153,153,153,var(--tw-text-opacity))}.chunk-wrap .chunk-head uni-text .iconfont[data-v-99a26276]{display:inline-block;margin-left:.0625rem}.member-price[data-v-99a26276]{background:linear-gradient(90deg,#FEF3E7 0%,#FFFFFF 100%)}.text-color[data-v-99a26276]{color:var(--primary-color)}.bg-color[data-v-99a26276]{background-color:var(--primary-color)}.class-select[data-v-99a26276]{position:relative;margin-right:.875rem}.class-select[data-v-99a26276]:after{content:"";position:absolute;background-color:#999;width:.0625rem;height:70%;top:50%;right:-.4375rem;transform:translatey(-50%)}.form-item[data-v-99a26276]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-bottom:1.5rem;font-size:.8125rem}.form-item>uni-text[data-v-99a26276]{width:4.6875rem;color:#797b7c}.form-item>uni-view[data-v-99a26276]{flex:1}.form-item[data-v-99a26276]:last-of-type{margin-bottom:0}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-69e39bcf]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-69e39bcf]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-69e39bcf]:root,uni-page-body[data-v-69e39bcf]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}.chunk-wrap[data-v-69e39bcf]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));margin-bottom:.75rem;padding-left:1rem;padding-right:1rem}.chunk-wrap .chunk-head[data-v-69e39bcf]{height:2.625rem;--tw-border-opacity: 1;border-color:rgba(242,242,242,var(--tw-border-opacity));border-style:solid;border-width:0px;border-bottom-width:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.chunk-wrap .chunk-head uni-text[data-v-69e39bcf]:first-of-type{font-weight:700}.chunk-wrap .chunk-head uni-text[data-v-69e39bcf]:last-of-type{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgba(153,153,153,var(--tw-text-opacity))}.chunk-wrap .chunk-head uni-text .iconfont[data-v-69e39bcf]{display:inline-block;margin-left:.0625rem}.member-price[data-v-69e39bcf]{background:linear-gradient(90deg,#FEF3E7 0%,#FFFFFF 100%)}.text-color[data-v-69e39bcf]{color:var(--primary-color)}.bg-color[data-v-69e39bcf]{background-color:var(--primary-color)}.word-all[data-v-69e39bcf]{word-break:keep-all}.text-scale[data-v-69e39bcf]{transform:scale(.8)}.class-select[data-v-69e39bcf]{position:relative;margin-right:.875rem}.class-select[data-v-69e39bcf]:after{content:"";position:absolute;background-color:#999;width:.0625rem;height:70%;top:50%;right:-.4375rem;transform:translatey(-50%)}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-c8b84446]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-c8b84446]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-c8b84446]:root,uni-page-body[data-v-c8b84446]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}.chunk-wrap[data-v-c8b84446]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));margin-bottom:.5rem;padding-left:1rem;padding-right:1rem}.chunk-wrap .chunk-head[data-v-c8b84446]{height:2.625rem;--tw-border-opacity: 1;border-color:rgba(242,242,242,var(--tw-border-opacity));border-style:solid;border-width:0px;border-bottom-width:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.chunk-wrap .chunk-head uni-text[data-v-c8b84446]:first-of-type{font-weight:700}.chunk-wrap .chunk-head uni-text[data-v-c8b84446]:last-of-type{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgba(153,153,153,var(--tw-text-opacity))}.chunk-wrap .chunk-head uni-text .iconfont[data-v-c8b84446]{display:inline-block;margin-left:.0625rem}.member-price[data-v-c8b84446]{background:linear-gradient(90deg,#FEF3E7 0%,#FFFFFF 100%)}.scheduling[data-v-c8b84446]{overflow:hidden}.scheduling .scheduling-content[data-v-c8b84446]{margin-top:1rem}.scheduling .scheduling-content>uni-view[data-v-c8b84446]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-bottom:1.75rem}.scheduling .scheduling-content>uni-view uni-image[data-v-c8b84446]{width:1.6875rem;height:1.6875rem;margin-right:.75rem}.scheduling .scheduling-content>uni-view uni-image+uni-view[data-v-c8b84446]{margin-top:.1875rem}.scheduling .scheduling-content>uni-view .title[data-v-c8b84446]{font-weight:700;margin-bottom:.75rem}.scheduling .scheduling-content>uni-view .desc[data-v-c8b84446]{width:18.125rem;background-color:#f7f8f9;color:#8f9192;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:.875rem;line-height:1.25rem;padding:.75rem}.border-color[data-v-c8b84446]{border-color:var(--primary-color)}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-12f93ab4]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-12f93ab4]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-12f93ab4]:root,uni-page-body[data-v-12f93ab4]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}.chunk-wrap[data-v-12f93ab4]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));margin-bottom:.75rem;padding-left:1rem;padding-right:1rem}.chunk-wrap .chunk-head[data-v-12f93ab4]{height:2.625rem;--tw-border-opacity: 1;border-color:rgba(242,242,242,var(--tw-border-opacity));border-style:solid;border-width:0px;border-bottom-width:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.chunk-wrap .chunk-head uni-text[data-v-12f93ab4]:first-of-type{font-weight:700}.chunk-wrap .chunk-head uni-text[data-v-12f93ab4]:last-of-type{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgba(153,153,153,var(--tw-text-opacity))}.chunk-wrap .chunk-head uni-text .iconfont[data-v-12f93ab4]{display:inline-block;margin-left:.0625rem}.member-price[data-v-12f93ab4]{background:linear-gradient(90deg,#FEF3E7 0%,#FFFFFF 100%)}.text-color[data-v-12f93ab4]{color:var(--primary-color)}.bg-color[data-v-12f93ab4]{background-color:var(--primary-color)}.word-all[data-v-12f93ab4]{word-break:keep-all}.text-scale[data-v-12f93ab4]{transform:scale(.8)}.class-select[data-v-12f93ab4]{position:relative;margin-right:.875rem}.class-select[data-v-12f93ab4]:after{content:"";position:absolute;background-color:#999;width:.0625rem;height:70%;top:50%;right:-.4375rem;transform:translatey(-50%)}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-79124f60]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-79124f60]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-79124f60]:root,uni-page-body[data-v-79124f60]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-09eb9cdb]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-09eb9cdb]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-09eb9cdb]:root,uni-page-body[data-v-09eb9cdb]{--primary-color: #ff4500;--primary-color-dark: #F26F3E;--primary-color-disabled: #FFB397;--primary-color-light: #FFEAE2;--page-bg-color: #f7f7f7;--price-text-color: #e1251b}.remove-border[data-v-09eb9cdb]:after{border:none}[data-v-9303e7ec]:root,uni-page-body[data-v-9303e7ec]{--primary-color: #ff4500;--primary-color-dark: #F26F3E;--primary-color-disabled: #FFB397;--primary-color-light: #FFEAE2;--page-bg-color: #f7f7f7;--price-text-color: #e1251b}.remove-border[data-v-9303e7ec][data-v-9303e7ec]:after{border:none}.using-hidden[data-v-9303e7ec]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-9303e7ec]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.text-color[data-v-9303e7ec]{color:var(--primary-color)}.border-color[data-v-9303e7ec]{border-color:var(--primary-color)}.background-color[data-v-9303e7ec]{background-color:var(--primary-color-light)}[data-v-9303e7ec] .u-cell-group__wrapper .u-cell__body{padding:.71875rem 1rem}.chatQrcode[data-v-9303e7ec]{background:linear-gradient(#ecf5ff 0%,#fff 70%)}.popup-type[data-v-9303e7ec] .u-popup__content{background:transparent}.label-select[data-v-9303e7ec]{color:var(--primary-color);border-color:var(--primary-color);background-color:var(--primary-color-light)}.tab-bar-placeholder[data-v-9303e7ec]{padding-bottom:calc(constant(safe-area-inset-bottom) + 3.125rem);padding-bottom:calc(env(safe-area-inset-bottom) + 3.125rem)}.tab-bar[data-v-9303e7ec]{padding-bottom:calc(constant(safe-area-inset-bottom) + .28125rem);padding-bottom:calc(env(safe-area-inset-bottom) + .28125rem)}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-87884ef5]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-87884ef5]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-87884ef5]:root,uni-page-body[data-v-87884ef5]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-dc38d3db]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-dc38d3db]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-dc38d3db]:root,uni-page-body[data-v-dc38d3db]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}.text-color[data-v-dc38d3db]{color:var(--primary-color)}.bg-color[data-v-dc38d3db]{background-color:var(--primary-color)}.bg-linear[data-v-dc38d3db]{background:linear-gradient(360deg,#F8F8F8 0%,var(--primary-color) 100%)}.font-scale[data-v-dc38d3db]{transform:scale(.9)}.triangle[data-v-dc38d3db]{position:relative}.triangle[data-v-dc38d3db]:after{content:"";width:0;height:0;position:absolute;bottom:-1.25rem;border:.625rem solid #EEF3FF;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-7e047b04]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-7e047b04]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-7e047b04]:root,uni-page-body[data-v-7e047b04]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}.chunk-wrap[data-v-7e047b04]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));margin-bottom:.5rem;padding-left:1rem;padding-right:1rem}.chunk-wrap .chunk-head[data-v-7e047b04]{height:2.625rem;--tw-border-opacity: 1;border-color:rgba(242,242,242,var(--tw-border-opacity));border-style:solid;border-width:0px;border-bottom-width:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.chunk-wrap .chunk-head uni-text[data-v-7e047b04]:first-of-type{font-weight:700}.chunk-wrap .chunk-head uni-text[data-v-7e047b04]:last-of-type{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgba(153,153,153,var(--tw-text-opacity))}.chunk-wrap .chunk-head uni-text .iconfont[data-v-7e047b04]{display:inline-block;margin-left:.0625rem}.member-price[data-v-7e047b04]{background:linear-gradient(90deg,#FEF3E7 0%,#FFFFFF 100%)}.text-color[data-v-7e047b04]{color:var(--primary-color)}.bg-color[data-v-7e047b04]{background-color:var(--primary-color)}.word-all[data-v-7e047b04]{word-break:keep-all}.text-scale[data-v-7e047b04]{transform:scale(.8)}.class-select[data-v-7e047b04]{position:relative;margin-right:.875rem}.class-select[data-v-7e047b04]:after{content:"";position:absolute;background-color:#999;width:.0625rem;height:70%;top:50%;right:-.4375rem;transform:translatey(-50%)}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-c8fa225d]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-c8fa225d]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-c8fa225d]:root,uni-page-body[data-v-c8fa225d]{--primary-color: #ff4500;--primary-color-dark: #F26F3E;--primary-color-disabled: #FFB397;--primary-color-light: #FFEAE2;--page-bg-color: #f7f7f7;--price-text-color: #e1251b}.remove-border[data-v-c8fa225d]:after{border:none}.border-color[data-v-c8fa225d]{border-color:var(--primary-color)!important}.text-color[data-v-c8fa225d]{color:var(--primary-color)!important}.bg-color[data-v-c8fa225d]{background-color:var(--primary-color)!important}.bg-style[data-v-c8fa225d]{background-size:100% auto!important}.code[data-v-c8fa225d]{box-shadow:0 0 20px -1px}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-c003e505]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-c003e505]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-c003e505]:root,uni-page-body[data-v-c003e505]{--primary-color: #ff4500;--primary-color-dark: #F26F3E;--primary-color-disabled: #FFB397;--primary-color-light: #FFEAE2;--page-bg-color: #f7f7f7;--price-text-color: #e1251b}.remove-border[data-v-c003e505]:after{border:none}.text-item[data-v-c003e505]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.text-color[data-v-c003e505]{color:var(--primary-color)}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-81380520]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-81380520]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-81380520]:root,uni-page-body[data-v-81380520]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}.bg-linear[data-v-81380520]{background:linear-gradient(360deg,#F8F8F8 0%,var(--primary-color) 100%)}
|
||||
@ -1 +0,0 @@
|
||||
[data-v-7e9d2704]:root,uni-page-body[data-v-7e9d2704]{--primary-color: #ff4500;--primary-color-dark: #F26F3E;--primary-color-disabled: #FFB397;--primary-color-light: #FFEAE2;--page-bg-color: #f7f7f7;--price-text-color: #e1251b}.remove-border[data-v-7e9d2704][data-v-7e9d2704]:after{border:none}.using-hidden[data-v-7e9d2704]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-7e9d2704]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.text-item[data-v-7e9d2704]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.order-goods-item[data-v-7e9d2704]:nth-child(1){margin-top:0}.text-color[data-v-7e9d2704]{color:var(--primary-color)}.bg-color[data-v-7e9d2704]{background-color:var(--primary-color)}.bg-linear[data-v-7e9d2704]{background:linear-gradient(360deg,#F8F8F8 0%,var(--primary-color) 100%)}.font-scale[data-v-7e9d2704]{transform:scale(.9)}.triangle[data-v-7e9d2704]{position:relative}.triangle[data-v-7e9d2704]:after{content:"";width:0;height:0;position:absolute;bottom:-1.25rem;border:.625rem solid #EEF3FF;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.tab-bar-placeholder[data-v-7e9d2704]{padding-bottom:calc(constant(safe-area-inset-bottom) + 3.125rem);padding-bottom:calc(env(safe-area-inset-bottom) + 3.125rem)}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-0a9bb8fa]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-0a9bb8fa]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-0a9bb8fa]:root,uni-page-body[data-v-0a9bb8fa]{--primary-color: #ff4500;--primary-color-dark: #F26F3E;--primary-color-disabled: #FFB397;--primary-color-light: #FFEAE2;--page-bg-color: #f7f7f7;--price-text-color: #e1251b}.remove-border[data-v-0a9bb8fa]:after{border:none}[data-v-0a9bb8fa] .u-upload__button{width:70px!important;height:70px!important;border:1px dashed #ddd}[data-v-0a9bb8fa] .u-upload__wrap__preview__image{width:70px!important;height:70px!important}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-495ca2bf]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-495ca2bf]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}uni-view[data-v-495ca2bf],uni-scroll-view[data-v-495ca2bf],uni-swiper-item[data-v-495ca2bf]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-rate[data-v-495ca2bf]{display:flex;flex-direction:row;align-items:center;margin:0;padding:0;touch-action:none}.u-rate__content[data-v-495ca2bf]{display:flex;flex-direction:row}.u-rate__content__item[data-v-495ca2bf]{position:relative}.u-rate__content__item__icon-wrap--half[data-v-495ca2bf]{position:absolute;overflow:hidden;top:0;left:0}.u-icon[data-v-495ca2bf]{box-sizing:border-box}
|
||||
@ -1 +0,0 @@
|
||||
import{_ as t}from"./u-icon.71776381.js";import{A as e,B as a,C as i,q as n,t as o,i as s,j as c,w as r,k as l,E as u,P as d,R as h,Q as m,D as v,p as f,m as p,x as _,b1 as g}from"./index-faf5e276.js";import{_ as I}from"./_plugin-vue_export-helper.1b428a4d.js";const y=I({name:"u-rate",mixins:[a,i,{props:{modelValue:{type:[String,Number],default:e.rate.value},count:{type:[String,Number],default:e.rate.count},disabled:{type:Boolean,default:e.rate.disabled},readonly:{type:Boolean,default:e.rate.readonly},size:{type:[String,Number],default:e.rate.size},inactiveColor:{type:String,default:e.rate.inactiveColor},activeColor:{type:String,default:e.rate.activeColor},gutter:{type:[String,Number],default:e.rate.gutter},minCount:{type:[String,Number],default:e.rate.minCount},allowHalf:{type:Boolean,default:e.rate.allowHalf},activeIcon:{type:String,default:e.rate.activeIcon},inactiveIcon:{type:String,default:e.rate.inactiveIcon},touchable:{type:Boolean,default:e.rate.touchable}}}],data(){return{elId:uni.$u.guid(),elClass:uni.$u.guid(),rateBoxLeft:0,activeIndex:this.modelValue,rateWidth:0,moving:!1}},watch:{modelValue(t){this.activeIndex=t},activeIndex:"emitEvent"},emits:["update:modelValue","change"],methods:{init(){uni.$u.sleep().then((()=>{this.getRateItemRect(),this.getRateIconWrapRect()}))},async getRateItemRect(){await uni.$u.sleep(),this.$uGetRect("#"+this.elId).then((t=>{this.rateBoxLeft=t.left}))},getRateIconWrapRect(){this.$uGetRect("."+this.elClass).then((t=>{this.rateWidth=t.width}))},touchMove(t){if(!this.touchable)return;this.preventEvent(t);const e=t.changedTouches[0].pageX;this.getActiveIndex(e)},touchEnd(t){if(!this.touchable)return;this.preventEvent(t);const e=t.changedTouches[0].pageX;this.getActiveIndex(e)},clickHandler(t,e){if("ios"===uni.$u.os()&&this.moving)return;this.preventEvent(t);let a=0;a=t.changedTouches[0].pageX,this.getActiveIndex(a,!0)},emitEvent(){this.$emit("change",this.activeIndex),this.$emit("update:modelValue",this.activeIndex)},getActiveIndex(t,e=!1){if(this.disabled||this.readonly)return;const a=this.rateWidth*this.count+this.rateBoxLeft,i=t=uni.$u.range(this.rateBoxLeft,a,t)-this.rateBoxLeft;let n;if(this.allowHalf){n=Math.floor(i/this.rateWidth);const t=i%this.rateWidth;t<=this.rateWidth/2&&t>0?n+=.5:t>this.rateWidth/2&&n++}else{n=Math.floor(i/this.rateWidth);const t=i%this.rateWidth;e?t>0&&n++:t>this.rateWidth/2&&n++}this.activeIndex=Math.min(n,this.count),this.activeIndex<this.minCount&&(this.activeIndex=this.minCount),setTimeout((()=>{this.moving=!0}),10),setTimeout((()=>{this.moving=!1}),10)}},mounted(){this.init()}},[["render",function(e,a,i,g,I,y){const x=n(o("u-icon"),t),C=_;return s(),c(C,{class:"u-rate",id:I.elId,ref:"u-rate",style:f([e.$u.addStyle(e.customStyle)])},{default:r((()=>[l(C,{class:"u-rate__content",onTouchmove:u(y.touchMove,["stop"]),onTouchend:u(y.touchEnd,["stop"])},{default:r((()=>[(s(!0),d(h,null,m(Number(e.count),((t,a)=>(s(),c(C,{class:v(["u-rate__content__item",[I.elClass]]),key:a},{default:r((()=>[l(C,{class:"u-rate__content__item__icon-wrap",ref_for:!0,ref:"u-rate__content__item__icon-wrap",onClick:u((t=>y.clickHandler(t,a+1)),["stop"])},{default:r((()=>[l(x,{name:Math.floor(I.activeIndex)>a?e.activeIcon:e.inactiveIcon,color:e.disabled?"#c8c9cc":Math.floor(I.activeIndex)>a?e.activeColor:e.inactiveColor,"custom-style":{padding:`0 ${e.$u.addUnit(e.gutter/2)}`},size:e.size},null,8,["name","color","custom-style","size"])])),_:2},1032,["onClick"]),e.allowHalf?(s(),c(C,{key:0,onClick:u((t=>y.clickHandler(t,a+1)),["stop"]),class:"u-rate__content__item__icon-wrap u-rate__content__item__icon-wrap--half",style:f([{width:e.$u.addUnit(I.rateWidth/2)}]),ref_for:!0,ref:"u-rate__content__item__icon-wrap"},{default:r((()=>[l(x,{name:Math.ceil(I.activeIndex)>a?e.activeIcon:e.inactiveIcon,color:e.disabled?"#c8c9cc":Math.ceil(I.activeIndex)>a?e.activeColor:e.inactiveColor,"custom-style":{padding:`0 ${e.$u.addUnit(e.gutter/2)}`},size:e.size},null,8,["name","color","custom-style","size"])])),_:2},1032,["onClick","style"])):p("v-if",!0)])),_:2},1032,["class"])))),128))])),_:1},8,["onTouchmove","onTouchend"])])),_:1},8,["id","style"])}],["__scopeId","data-v-495ca2bf"]]);function x(t){return g.get("shop/goods/evaluate",t)}function C(t){return g.post("shop/goods/evaluate",t,{showSuccessMessage:!0})}function b(t){return g.get(`shop/order/evaluate/${t}`)}export{y as _,b as a,x as g,C as s};
|
||||
@ -1 +0,0 @@
|
||||
import{b1 as o}from"./index-faf5e276.js";function t(){return o.get("shop/goods/category/config")}function s(){return o.get("shop/goods/category/tree")}function e(t){return o.get("shop/goods/pages",t)}function n(t){return o.get("shop/goods/detail",t)}function r(t){return o.get(`shop/goods/sku/${t}`)}function g(t){return o.post(`shop/goods/collect/${t}`)}function u(t){return o.delete(`shop/goods/collect/${t}`)}function c(t){return o.get("shop/goods/evaluate/list",{goods_id:t})}function a(t){return o.get("shop/goods/components",t)}export{s as a,e as b,n as c,c as d,u as e,g as f,a as g,r as h,t as i};
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-cb131ee1]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-cb131ee1]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[data-v-cb131ee1]:root,uni-page-body[data-v-cb131ee1]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}.text-color[data-v-cb131ee1]{color:var(--primary-color)}.bg-color[data-v-cb131ee1]{background-color:var(--primary-color)}.bg-linear[data-v-cb131ee1]{background:linear-gradient(360deg,#F8F8F8 0%,var(--primary-color) 100%)}.font-scale[data-v-cb131ee1]{transform:scale(.9)}.triangle[data-v-cb131ee1]{position:relative}.triangle[data-v-cb131ee1]:after{content:"";width:0;height:0;position:absolute;bottom:-1.25rem;border:.625rem solid #EEF3FF;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.translate-y[data-v-cb131ee1]{transform:translateY(-50%)}
|
||||
@ -1 +0,0 @@
|
||||
.using-hidden[data-v-a89b6f9c]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-a89b6f9c]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.bg-index[data-v-a89b6f9c]{width:100%;height:100%;box-sizing:border-box;background-size:100%!important;background-repeat:no-repeat!important}[data-v-a89b6f9c]:root,uni-page-body[data-v-a89b6f9c]{--primary-color: #FA6400;--primary-color-dark: #F48032;--primary-color-disabled: #FFC29A;--primary-color-light: #FFF4ED;--page-bg-color: #f7f7f7}
|
||||