|
@@ -1,408 +1,267 @@
|
|
<template>
|
|
<template>
|
|
- <div class="editor-wrapper">
|
|
|
|
- <div class="top">
|
|
|
|
- <div class="title">
|
|
|
|
- Enter Link to Embed in Tweet
|
|
|
|
- </div>
|
|
|
|
- <div class="search-wrapper">
|
|
|
|
- <input class="input" type="text" placeholder="Enter link ">
|
|
|
|
- <div class="btn">></div>
|
|
|
|
- </div>
|
|
|
|
- <div class="desc">
|
|
|
|
- desc
|
|
|
|
|
|
+ <div class="editor-wrapper">
|
|
|
|
+ <div class="top">
|
|
|
|
+ <div class="title">
|
|
|
|
+ Enter Link to Embed in Tweet
|
|
|
|
+ </div>
|
|
|
|
+ <div class="search-wrapper">
|
|
|
|
+ <input class="input" type="text" v-model="siteUrl" placeholder="Enter link">
|
|
|
|
+ <div class="btn" @click="searchHandler">
|
|
|
|
+ <img :src="require('@/assets/svg/icon-tool-box-search-arrow.svg')" />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="desc">
|
|
|
|
+ <img :src="linkInputDescImage" alt="">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="bottom">
|
|
|
|
+ <div class="content">
|
|
|
|
+ <div class="cate-item history-wrapper" v-for="(item) in historyList" :key="item.cateId">
|
|
|
|
+ <div class="cate">
|
|
|
|
+ <img :src="item.iconPath">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="app-list">
|
|
|
|
+ <div class="app" v-for="(app, idx) in item.apps" :key="idx">
|
|
|
|
+ <img :src="app.iconPath" alt="">
|
|
|
|
+ {{ app.name }}
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div class="bottom">
|
|
|
|
- <div class="content">
|
|
|
|
- <div class="cate-item history-wrapper" v-for="(item) in historyList" :key="item.cateId">
|
|
|
|
- <div class="cate">
|
|
|
|
- <img :src="item.iconPath">
|
|
|
|
- </div>
|
|
|
|
- <div class="app-list">
|
|
|
|
- <div class="app" v-for="(app, idx) in item.apps" :key="idx">
|
|
|
|
- <img :src="app.iconPath" alt="">
|
|
|
|
- {{app.name}}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="cate-item" v-for="(item) in appList" :key="item.cateId">
|
|
|
|
- <div class="cate">
|
|
|
|
- <img :src="item.iconPath">
|
|
|
|
- </div>
|
|
|
|
- <div class="app-list">
|
|
|
|
- <div class="app" v-for="(app, idx) in item.apps" :key="idx">
|
|
|
|
- <img :src="app.iconPath" alt="">
|
|
|
|
- {{app.name}}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="cate-item" v-for="(item) in appList" :key="item.cateId">
|
|
|
|
+ <div class="cate">
|
|
|
|
+ <img :src="item.iconPath">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="app-list">
|
|
|
|
+ <div class="app" v-for="(app, idx) in item.apps" :key="idx" @click="clickAppHandler(app)">
|
|
|
|
+ <img :src="app.iconPath" alt="">
|
|
|
|
+ {{ app.name }}
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
-import { ref, watch, reactive, defineProps, defineEmits, onMounted, nextTick } from "vue";
|
|
|
|
|
|
+import { ref, reactive, defineProps, defineEmits, onMounted } from "vue";
|
|
|
|
+import axios from 'axios';
|
|
|
|
+import { message } from "ant-design-vue";
|
|
|
|
+import { convertUrl, getAllPostEditorAppData } from "@/http/toolBoxApi";
|
|
|
|
+import { checkURL } from "@/uilts/help"
|
|
|
|
|
|
-let historyList = reactive([
|
|
|
|
- {
|
|
|
|
- "apps": [
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "history 1"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string2"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string1"
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- "cateId": 0,
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "name": "history"
|
|
|
|
|
|
+const props = defineProps({
|
|
|
|
+ linkInputDescImage: {
|
|
|
|
+ type: String,
|
|
|
|
+ default: '',
|
|
},
|
|
},
|
|
|
|
+});
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+let siteUrl = ref('');
|
|
|
|
+
|
|
|
|
+let historyList = reactive([
|
|
|
|
+ // {
|
|
|
|
+ // "apps": [
|
|
|
|
+ // {
|
|
|
|
+ // "appId": '',
|
|
|
|
+ // "cateId": 0,
|
|
|
|
+ // "createType": 0,
|
|
|
|
+ // "defaultUrl": "string",
|
|
|
|
+ // "guideData": "string",
|
|
|
|
+ // "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
+ // "interactType": 0,
|
|
|
|
+ // "linkImagePath": "string",
|
|
|
|
+ // "name": "history 1"
|
|
|
|
+ // }
|
|
|
|
+ // ],
|
|
|
|
+ // "cateId": 0,
|
|
|
|
+ // "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
+ // "name": "history"
|
|
|
|
+ // },
|
|
])
|
|
])
|
|
|
|
|
|
-let appList = reactive([
|
|
|
|
- {
|
|
|
|
- "apps": [
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string1"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string2"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string1"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string2"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string1"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string2"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string1"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string2"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string1"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string2"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string1"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string2"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "cateId": 0,
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "name": "string"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "apps": [
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "s1"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "s2"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "cateId": 0,
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "name": "s0"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "apps": [
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string1"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "appId": 0,
|
|
|
|
- "cateId": 0,
|
|
|
|
- "createType": 0,
|
|
|
|
- "defaultUrl": "string",
|
|
|
|
- "guideData": "string",
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "interactType": 0,
|
|
|
|
- "linkImagePath": "string",
|
|
|
|
- "name": "string2"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "cateId": 0,
|
|
|
|
- "iconPath": "https://www.baidu.com/favicon.ico",
|
|
|
|
- "name": "string"
|
|
|
|
- },
|
|
|
|
-]);
|
|
|
|
|
|
+let appList = ref();
|
|
|
|
+
|
|
|
|
+const emits = defineEmits(["changeShowCom"]);
|
|
|
|
+
|
|
|
|
+const searchHandler = async () => {
|
|
|
|
+ siteUrl.value = siteUrl.value.trim();
|
|
|
|
+ if(!checkURL(siteUrl.value)) {
|
|
|
|
+ //提示
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ const loadingHide = message.loading('loading...', 0);
|
|
|
|
+ let siteRes = await axios.get(siteUrl.value);
|
|
|
|
+
|
|
|
|
+ if(siteRes) {
|
|
|
|
+ if(siteRes.headers['content-type'].indexOf('text/html') < 0 || siteRes.request.status > 399) {
|
|
|
|
+ // 提示
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ let convertRes = await convertUrl({params: {originUrl: siteUrl.value}});
|
|
|
|
+ let params = { convertUrl: siteUrl.value, originUrl: siteUrl.value, appId: '' };
|
|
|
|
+
|
|
|
|
+ loadingHide();
|
|
|
|
+
|
|
|
|
+ if(convertRes && convertRes.code == 0) {
|
|
|
|
+ let {convertUrl} = convertRes.data || {};
|
|
|
|
+ params.convertUrl = convertUrl;
|
|
|
|
+ }
|
|
|
|
+ emits('changeShowCom', params)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+const clickAppHandler = (params) => {
|
|
|
|
+ let { createType, defaultUrl, appId, linkImagePath } = params;
|
|
|
|
+ switch (createType) {
|
|
|
|
+ case 1:
|
|
|
|
+ emits('changeShowCom', { convertUrl: defaultUrl, originUrl: defaultUrl, appId, linkImagePath })
|
|
|
|
+ break;
|
|
|
|
+ case 2:
|
|
|
|
+
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
|
|
|
|
+const getAppList = () => {
|
|
|
|
+ getAllPostEditorAppData({params: {}}).then(res => {
|
|
|
|
+ if(res.code == 0) {
|
|
|
|
+ appList.value = res.data || [];
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+onMounted(() => {
|
|
|
|
+ getAppList();
|
|
|
|
+})
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
- .editor-wrapper {
|
|
|
|
- width: 100%;
|
|
|
|
|
|
+.editor-wrapper {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+
|
|
|
|
+ .top {
|
|
|
|
+ padding: 25px 40px 30px 40px;
|
|
|
|
+ border-bottom: 0.5px solid #D1D9DD;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+
|
|
|
|
+ .title {
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .search-wrapper {
|
|
|
|
+ margin: 20px 0;
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 49px;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+
|
|
|
|
+ .input {
|
|
|
|
+ background: #F1F3F4;
|
|
|
|
+ border: none;
|
|
|
|
+ outline: none;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ color: #636363;
|
|
height: 100%;
|
|
height: 100%;
|
|
- .top {
|
|
|
|
- padding: 25px 40px 30px 40px;
|
|
|
|
- border-bottom: 0.5px solid #D1D9DD;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
-
|
|
|
|
- .title {
|
|
|
|
- font-weight: 500;
|
|
|
|
- font-size: 20px;
|
|
|
|
- }
|
|
|
|
|
|
+ width: calc(100% - 49px);
|
|
|
|
+ padding-left: 20px;
|
|
|
|
+ border-bottom-left-radius: 8px;
|
|
|
|
+ border-top-left-radius: 8px;
|
|
|
|
+ }
|
|
|
|
|
|
- .search-wrapper {
|
|
|
|
- margin: 20px 0;
|
|
|
|
- border-radius: 8px;
|
|
|
|
- width: 100%;
|
|
|
|
- height: 49px;
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
-
|
|
|
|
- .input {
|
|
|
|
- background: #F1F3F4;
|
|
|
|
- border: none;
|
|
|
|
- outline: none;
|
|
|
|
- font-weight: 400;
|
|
|
|
- font-size: 16px;
|
|
|
|
- color: #636363;
|
|
|
|
- height: 100%;
|
|
|
|
- width: calc(100% - 49px);
|
|
|
|
- padding-left: 20px;
|
|
|
|
- border-bottom-left-radius: 8px;
|
|
|
|
- border-top-left-radius: 8px;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .btn {
|
|
|
|
- width: 49px;
|
|
|
|
- height: 49px;
|
|
|
|
- background: #1D9BF0;
|
|
|
|
- border-bottom-right-radius: 8px;
|
|
|
|
- border-top-right-radius: 8px;
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- justify-content: center;
|
|
|
|
- cursor: pointer;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ .btn {
|
|
|
|
+ width: 49px;
|
|
|
|
+ height: 49px;
|
|
|
|
+ background: #1D9BF0;
|
|
|
|
+ border-bottom-right-radius: 8px;
|
|
|
|
+ border-top-right-radius: 8px;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .desc {
|
|
|
|
+ img {
|
|
|
|
+ width: 315px;
|
|
|
|
+ height: 14px;
|
|
|
|
+ object-fit: cover;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .bottom {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: calc(100% - 185px);
|
|
|
|
+ overflow-y: auto;
|
|
|
|
+
|
|
|
|
+ .content {
|
|
|
|
+ width: 100%;
|
|
|
|
+ padding: 36px 30px 20px 50px;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+
|
|
|
|
+ .history-wrapper {
|
|
|
|
+ height: 110px !important;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+
|
|
|
|
+ .app-list {
|
|
|
|
+ flex-wrap: nowrap !important;
|
|
}
|
|
}
|
|
- .bottom {
|
|
|
|
- width: 100%;
|
|
|
|
- height: calc(100% - 185px);
|
|
|
|
- overflow-y: auto;
|
|
|
|
-
|
|
|
|
- .content {
|
|
|
|
- width: 100%;
|
|
|
|
- padding: 36px 30px 20px 50px;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
-
|
|
|
|
- .history-wrapper {
|
|
|
|
- height: 110px !important;
|
|
|
|
- overflow: hidden;
|
|
|
|
-
|
|
|
|
- .app-list {
|
|
|
|
- flex-wrap: nowrap !important;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .cate-item {
|
|
|
|
- min-height: 110px;
|
|
|
|
- display: flex;
|
|
|
|
- margin-bottom: 12px;
|
|
|
|
-
|
|
|
|
- .cate {
|
|
|
|
- width: 20px;
|
|
|
|
- height: 110px;
|
|
|
|
- margin-right: 26px;
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- margin-top: -10px;
|
|
|
|
-
|
|
|
|
- img {
|
|
|
|
- width: 20px;
|
|
|
|
- height: 20px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .app-list {
|
|
|
|
- display: flex;
|
|
|
|
- align-content: center;
|
|
|
|
- flex-wrap: wrap;
|
|
|
|
-
|
|
|
|
- .app {
|
|
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
- justify-content: center;
|
|
|
|
- align-items: center;
|
|
|
|
- width: 100px;
|
|
|
|
- height: 110px;
|
|
|
|
- font-weight: 500;
|
|
|
|
- font-size: 12px;
|
|
|
|
- color: #636363;
|
|
|
|
- cursor: pointer;
|
|
|
|
-
|
|
|
|
- img {
|
|
|
|
- width: 60px;
|
|
|
|
- height: 60px;
|
|
|
|
- border-radius: 10px;
|
|
|
|
- margin-bottom: 10px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .cate-item {
|
|
|
|
+ min-height: 110px;
|
|
|
|
+ display: flex;
|
|
|
|
+ margin-bottom: 12px;
|
|
|
|
+
|
|
|
|
+ .cate {
|
|
|
|
+ width: 20px;
|
|
|
|
+ height: 110px;
|
|
|
|
+ margin-right: 26px;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ margin-top: -10px;
|
|
|
|
+
|
|
|
|
+ img {
|
|
|
|
+ width: 20px;
|
|
|
|
+ height: 20px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .app-list {
|
|
|
|
+ display: flex;
|
|
|
|
+ align-content: center;
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
+
|
|
|
|
+ .app {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ align-items: center;
|
|
|
|
+ width: 100px;
|
|
|
|
+ height: 110px;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ color: #636363;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+
|
|
|
|
+ img {
|
|
|
|
+ width: 60px;
|
|
|
|
+ height: 60px;
|
|
|
|
+ border-radius: 10px;
|
|
|
|
+ margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+ }
|
|
|
|
+}
|
|
</style>
|
|
</style>
|