|
@@ -0,0 +1,233 @@
|
|
|
+<ion-header>
|
|
|
+ <ion-toolbar class="custom-toolbar">
|
|
|
+ <!-- <ion-searchbar placeholder="诗词歌赋,作者,姓名" class="custom-searchbar"></ion-searchbar> -->
|
|
|
+ <ion-searchbar placeholder="诗词歌赋,作者,姓名" [debounce]="1000" (ionInput)="search($event)" class="custom-searchbar"></ion-searchbar>
|
|
|
+ <ion-list class="list" *ngIf="results.length > 0">
|
|
|
+ <ion-item *ngFor="let result of results"(click)="goToDetailPage(result)">
|
|
|
+ <ion-label>{{ result?.get("title") }} {{result?.get("author")}}</ion-label>
|
|
|
+ </ion-item>
|
|
|
+ </ion-list>
|
|
|
+
|
|
|
+
|
|
|
+ <ion-segment [(ngModel)]="selectedSegment" (ionChange)="segmentChanged($event)">
|
|
|
+ <ion-segment-button value="discover" checked>
|
|
|
+ <ion-label>发现</ion-label>
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="follow">
|
|
|
+ <ion-label>关注</ion-label>
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="post">
|
|
|
+ <ion-label>libai作诗</ion-label>
|
|
|
+ </ion-segment-button>
|
|
|
+ </ion-segment>
|
|
|
+ </ion-toolbar>
|
|
|
+</ion-header>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <ion-content>
|
|
|
+
|
|
|
+
|
|
|
+ <div [ngSwitch]="selectedSegment">
|
|
|
+ <div *ngSwitchCase="'discover'" class="svg-container">
|
|
|
+ <!-- 循环展示用户发的内容 -->
|
|
|
+ <svg class="svg" width="310.5" height="290.5" viewBox="0 0 310.5 290.5">
|
|
|
+ <!-- 在这里粘贴SVG代码 -->
|
|
|
+ <svg width="310.5" height="290.5" viewBox="0 0 310.5 290.5">
|
|
|
+ <defs>
|
|
|
+ <pattern id="pattern" preserveAspectRatio="xMidYMid slice" width="100%" height="100%" viewBox="0 0 800 1252">
|
|
|
+ <image width="800" height="1252" href="../../assets/icon/Ellipse 7.png"/>
|
|
|
+ </pattern>
|
|
|
+ </defs>
|
|
|
+ <text id="白客居士" transform="translate(43.5 0.5)" fill="#645a58" font-size="13" font-family="MicrosoftYaHei-Bold, Microsoft YaHei" font-weight="700" style="isolation: isolate"><tspan x="0" y="14">白客居士</tspan></text>
|
|
|
+ <g id="chat-quote" transform="translate(97.5 273.5)" style="isolation: isolate">
|
|
|
+ <path id="Vector" d="M2.678,10.894A5.5,5.5,0,0,1,1,7C1,3.808,4,1,8,1s7,2.808,7,6-3,6-7,6a8.059,8.059,0,0,1-2.088-.272A1,1,0,0,0,5.2,12.8a11.78,11.78,0,0,1-2.634.893,10.971,10.971,0,0,0,.4-2A1,1,0,0,0,2.678,10.894Zm-.493,3.9a13.628,13.628,0,0,0,3.468-1.1A9.061,9.061,0,0,0,8,14c4.418,0,8-3.134,8-7S12.418,0,8,0,0,3.134,0,7a6.5,6.5,0,0,0,1.97,4.6,10.437,10.437,0,0,1-.523,2.318l0,.011q-.045.131-.092.257c-.049.132-.1.259-.151.38a.26.26,0,0,0,.273.361q.211-.034.412-.071l.281-.053ZM5.667,5a1.667,1.667,0,1,0,.895,3.073,3.285,3.285,0,0,1-.778,1.221.417.417,0,0,0,.6.579,3.246,3.246,0,0,0,.683-4.112A1.665,1.665,0,0,0,5.667,5Zm4,0a1.667,1.667,0,1,0,.895,3.073,3.285,3.285,0,0,1-.778,1.221.417.417,0,0,0,.6.579,3.246,3.246,0,0,0,.683-4.112A1.665,1.665,0,0,0,9.667,5Z" transform="translate(0 1)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <g id="Rectangle_1201" data-name="Rectangle 1201" transform="translate(8.5 146.5)" fill="none" style="isolation: isolate">
|
|
|
+ <path d="M0,0H302V108H0Z" stroke="none"/>
|
|
|
+ <path d="M 1 1 L 1 107 L 301 107 L 301 1 L 1 1 M 0 0 L 302 0 L 302 108 L 0 108 L 0 0 Z" stroke="none" fill="#dbab56"/>
|
|
|
+ </g>
|
|
|
+ <g id="bookmark-frame" transform="translate(39.5 274.5)" style="isolation: isolate">
|
|
|
+ <path id="bookmark" d="M0,2V15.5a.5.5,0,0,0,.777.416L6,13.1l5.223,2.815A.5.5,0,0,0,12,15.5V2a2,2,0,0,0-2-2H2A2,2,0,0,0,0,2ZM2,1h8a1,1,0,0,1,1,1V14.566L6.277,12.084a.5.5,0,0,0-.555,0L1,14.566V2A1,1,0,0,1,2,1Z" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+
|
|
|
+ <g id="suit-heart" transform="translate(8.5 274.5)" style="isolation: isolate">
|
|
|
+ <path id="Vector_Stroke_" data-name="Vector (Stroke)" d="M8-8.473l-.894-1.789a5.853,5.853,0,0,0-1.151-1.6A2.807,2.807,0,0,0,4-12.709a2.961,2.961,0,0,0-3,2.92c0,1.211.554,2.066,1.868,3.37.337.334.721.695,1.145,1.093A52.531,52.531,0,0,1,8-1.263a52.532,52.532,0,0,1,3.986-4.064c.424-.4.809-.759,1.145-1.093C14.446-7.724,15-8.578,15-9.789a2.961,2.961,0,0,0-3-2.92,2.807,2.807,0,0,0-1.954.852,5.854,5.854,0,0,0-1.151,1.6ZM7.608-.181A48.987,48.987,0,0,0,3.365-4.563C1.3-6.5,0-7.721,0-9.789a3.961,3.961,0,0,1,4-3.92A4.263,4.263,0,0,1,7.4-11.7a7.47,7.47,0,0,1,.6.992,7.47,7.47,0,0,1,.6-.992A4.263,4.263,0,0,1,12-13.709a3.961,3.961,0,0,1,4,3.92c0,2.069-1.3,3.288-3.365,5.227A48.989,48.989,0,0,0,8.392-.181.513.513,0,0,1,7.608-.181Z" transform="translate(0 14.709)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+
|
|
|
+ <g id="escape" transform="translate(82.5 274.5) rotate(180)" style="isolation: isolate">
|
|
|
+ <path id="Union" d="M7.538,0A7,7,0,0,0,14-6.981a7,7,0,0,0-7-7A7,7,0,0,0,.02-7.519a.5.5,0,0,0,.461.536.5.5,0,0,0,.536-.461A6,6,0,0,1,7-12.981a6,6,0,0,1,6,6A6,6,0,0,1,7.462-1,.5.5,0,0,0,7-.462.5.5,0,0,0,7.538,0ZM6.1-6.81,1-1.713V-4.481a.5.5,0,0,0-.5-.5.5.5,0,0,0-.5.5V-.506a.5.5,0,0,0,.5.5H4.475a.5.5,0,0,0,.5-.5.5.5,0,0,0-.5-.5H1.707L6.8-6.1a.5.5,0,0,0,0-.707A.5.5,0,0,0,6.1-6.81Z" transform="translate(1 -1.019)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <text id="辛弃疾" transform="translate(25.5 185.5)" fill="#dbab56" font-size="12" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="13">辛弃疾</tspan></text>
|
|
|
+ <text id="刚刚推荐" transform="translate(43.5 22.5)" fill="rgba(128,100,74,0.5)" font-size="11" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="12">刚刚推荐</tspan></text>
|
|
|
+ <text id="南乡子_节选_" data-name="南乡子(节选)" transform="translate(25.5 158.5)" fill="#dbab56" font-size="15" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="16">南乡子(节选)</tspan></text>
|
|
|
+ <text id="何处望神州_满眼风光北固楼_千古兴亡多少事_悠悠_不尽长江滚滚流_年少万兜鍪_坐断东南战未休_天下英雄谁敌手_曹刘_生子当如孙仲谋_" data-name="何处望神州?满眼风光北固楼。千古兴亡多少事?悠悠。不尽长江滚滚流。年少万兜鍪,坐断东南战未休。天下英雄谁敌手?曹刘。生子当如孙仲谋。" transform="translate(25.5 201.5)" fill="#dbab56" font-size="10" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="11">何处望神州?满眼风光北固楼。千古兴亡多少事?悠悠。不</tspan><tspan x="0" y="25">尽长江滚滚流。年少万兜鍪,坐断东南战未休。天下英雄谁</tspan><tspan x="0" y="39">敌手?曹刘。生子当如孙仲谋。</tspan></text>
|
|
|
+ <text id="_读辛弃疾_南乡子_这支曲子一二两句_对仗工丽_写景如画_点染出一幅清丽无比的秋江图_然而这仅仅是表层_作者还另有深意_" data-name="——读辛弃疾《南乡子》
|
|
|
+ 这支曲子一二两句,对仗工丽,写景如画,点染出一幅清丽无比的秋江图。然而这仅仅是表层,作者还另有深意。" transform="translate(7.5 50.5)" fill="#645a58" font-size="13" font-family="MicrosoftYaHei, Microsoft YaHei" style="isolation: isolate"><tspan x="0" y="14">——读辛弃疾《南乡子》</tspan><tspan x="0" y="31">这支曲子一二两句,对仗工丽,写景如画,点染出一</tspan><tspan x="0" y="48">幅清丽无比的秋江图。然而这仅仅是表层,作者还另</tspan><tspan x="0" y="65">有深意。</tspan></text>
|
|
|
+ <path id="Ellipse_7" data-name="Ellipse 7" d="M0,18A18,18,0,1,1,18,36,18,18,0,0,1,0,18Z" transform="translate(0.5 0.5)" stroke="#645a58" stroke-width="1" fill="url(#pattern)" style="isolation: isolate"/>
|
|
|
+
|
|
|
+ </svg>
|
|
|
+
|
|
|
+
|
|
|
+ </svg>
|
|
|
+
|
|
|
+ <svg class="svg" width="310.5" height="290.5" viewBox="0 0 310.5 290.5">
|
|
|
+ <!-- 在这里粘贴SVG代码 -->
|
|
|
+ <svg width="310.5" height="290.5" viewBox="0 0 310.5 290.5">
|
|
|
+ <defs>
|
|
|
+ <pattern id="pattern" preserveAspectRatio="xMidYMid slice" width="100%" height="100%" viewBox="0 0 800 1252">
|
|
|
+ <image width="800" height="1252" xlink:href=""/>
|
|
|
+ </pattern>
|
|
|
+ </defs>
|
|
|
+ <text id="东晋田园诗人" transform="translate(43.5 0.5)" fill="#645a58" font-size="13" font-family="MicrosoftYaHei-Bold, Microsoft YaHei" font-weight="700" style="isolation: isolate"><tspan x="0" y="14">东晋田园诗人</tspan></text>
|
|
|
+ <g id="chat-quote" transform="translate(97.5 273.5)" style="isolation: isolate">
|
|
|
+ <path id="Vector" d="M2.678,10.894A5.5,5.5,0,0,1,1,7C1,3.808,4,1,8,1s7,2.808,7,6-3,6-7,6a8.059,8.059,0,0,1-2.088-.272A1,1,0,0,0,5.2,12.8a11.78,11.78,0,0,1-2.634.893,10.971,10.971,0,0,0,.4-2A1,1,0,0,0,2.678,10.894Zm-.493,3.9a13.628,13.628,0,0,0,3.468-1.1A9.061,9.061,0,0,0,8,14c4.418,0,8-3.134,8-7S12.418,0,8,0,0,3.134,0,7a6.5,6.5,0,0,0,1.97,4.6,10.437,10.437,0,0,1-.523,2.318l0,.011q-.045.131-.092.257c-.049.132-.1.259-.151.38a.26.26,0,0,0,.273.361q.211-.034.412-.071l.281-.053ZM5.667,5a1.667,1.667,0,1,0,.895,3.073,3.285,3.285,0,0,1-.778,1.221.417.417,0,0,0,.6.579,3.246,3.246,0,0,0,.683-4.112A1.665,1.665,0,0,0,5.667,5Zm4,0a1.667,1.667,0,1,0,.895,3.073,3.285,3.285,0,0,1-.778,1.221.417.417,0,0,0,.6.579,3.246,3.246,0,0,0,.683-4.112A1.665,1.665,0,0,0,9.667,5Z" transform="translate(0 1)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <g id="Rectangle_1201" data-name="Rectangle 1201" transform="translate(8.5 146.5)" fill="none" style="isolation: isolate">
|
|
|
+ <path d="M0,0H302V108H0Z" stroke="none"/>
|
|
|
+ <path d="M 1 1 L 1 107 L 301 107 L 301 1 L 1 1 M 0 0 L 302 0 L 302 108 L 0 108 L 0 0 Z" stroke="none" fill="#dbab56"/>
|
|
|
+ </g>
|
|
|
+ <g id="bookmark-frame" transform="translate(39.5 274.5)" style="isolation: isolate">
|
|
|
+ <path id="bookmark" d="M0,2V15.5a.5.5,0,0,0,.777.416L6,13.1l5.223,2.815A.5.5,0,0,0,12,15.5V2a2,2,0,0,0-2-2H2A2,2,0,0,0,0,2ZM2,1h8a1,1,0,0,1,1,1V14.566L6.277,12.084a.5.5,0,0,0-.555,0L1,14.566V2A1,1,0,0,1,2,1Z" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <g id="suit-heart" transform="translate(8.5 274.5)" style="isolation: isolate">
|
|
|
+ <path id="Vector_Stroke_" data-name="Vector (Stroke)" d="M8-8.473l-.894-1.789a5.853,5.853,0,0,0-1.151-1.6A2.807,2.807,0,0,0,4-12.709a2.961,2.961,0,0,0-3,2.92c0,1.211.554,2.066,1.868,3.37.337.334.721.695,1.145,1.093A52.531,52.531,0,0,1,8-1.263a52.532,52.532,0,0,1,3.986-4.064c.424-.4.809-.759,1.145-1.093C14.446-7.724,15-8.578,15-9.789a2.961,2.961,0,0,0-3-2.92,2.807,2.807,0,0,0-1.954.852,5.854,5.854,0,0,0-1.151,1.6ZM7.608-.181A48.987,48.987,0,0,0,3.365-4.563C1.3-6.5,0-7.721,0-9.789a3.961,3.961,0,0,1,4-3.92A4.263,4.263,0,0,1,7.4-11.7a7.47,7.47,0,0,1,.6.992,7.47,7.47,0,0,1,.6-.992A4.263,4.263,0,0,1,12-13.709a3.961,3.961,0,0,1,4,3.92c0,2.069-1.3,3.288-3.365,5.227A48.989,48.989,0,0,0,8.392-.181.513.513,0,0,1,7.608-.181Z" transform="translate(0 14.709)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <g id="escape" transform="translate(82.5 274.5) rotate(180)" style="isolation: isolate">
|
|
|
+ <path id="Union" d="M7.538,0A7,7,0,0,0,14-6.981a7,7,0,0,0-7-7A7,7,0,0,0,.02-7.519a.5.5,0,0,0,.461.536.5.5,0,0,0,.536-.461A6,6,0,0,1,7-12.981a6,6,0,0,1,6,6A6,6,0,0,1,7.462-1,.5.5,0,0,0,7-.462.5.5,0,0,0,7.538,0ZM6.1-6.81,1-1.713V-4.481a.5.5,0,0,0-.5-.5.5.5,0,0,0-.5.5V-.506a.5.5,0,0,0,.5.5H4.475a.5.5,0,0,0,.5-.5.5.5,0,0,0-.5-.5H1.707L6.8-6.1a.5.5,0,0,0,0-.707A.5.5,0,0,0,6.1-6.81Z" transform="translate(1 -1.019)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <text id="陶渊明" transform="translate(25.5 185.5)" fill="#dbab56" font-size="12" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="13">陶渊明</tspan></text>
|
|
|
+ <text id="刚刚推荐" transform="translate(43.5 22.5)" fill="rgba(128,100,74,0.5)" font-size="11" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="12">刚刚推荐</tspan></text>
|
|
|
+ <text id="南乡子_节选_" data-name="南乡子(节选)" transform="translate(25.5 158.5)" fill="#dbab56" font-size="15" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="16">桃花源记(节选)</tspan></text>
|
|
|
+ <text id="何处望神州_满眼风光北固楼_千古兴亡多少事_悠悠_不尽长江滚滚流_年少万兜鍪_坐断东南战未休_天下英雄谁敌手_曹刘_生子当如孙仲谋_" data-name="何处望神州?满眼风光北固楼。千古兴亡多少事?悠悠。不尽长江滚滚流。年少万兜鍪,坐断东南战未休。天下英雄谁敌手?曹刘。生子当如孙仲谋。" transform="translate(25.5 201.5)" fill="#dbab56" font-size="10" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="11">林尽水源,便得山,山有小口,仿佛若有光。便舍船,从口入。</tspan><tspan x="0" y="25">初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨</tspan><tspan x="0" y="39">然,有良田美池桑竹之属。</tspan></text>
|
|
|
+ <text id="《桃花源记》通过对桃花源的安宁和乐、自由平等生活的描绘,表现了作者追求美好生活的理想和对现实,生活的不满。" data-name="——读陶渊明《桃花源记》
|
|
|
+ 这支曲子一二两句,对仗工丽,写景如画,点染出一幅清丽无比的秋江图。然而这仅仅是表层,作者还另有深意。" transform="translate(7.5 50.5)" fill="#645a58" font-size="13" font-family="MicrosoftYaHei, Microsoft YaHei" style="isolation: isolate"><tspan x="0" y="14">——读陶渊明《桃花源记》</tspan><tspan x="0" y="31">《桃花源记》通过对桃花源的安宁和乐、自由平等生</tspan><tspan x="0" y="48">活的描绘,表现了作者追求美好生活的理想和对现实</tspan><tspan x="0" y="65">生活的不满。</tspan></text>
|
|
|
+ <path id="Ellipse_7" data-name="Ellipse 7" d="M0,18A18,18,0,1,1,18,36,18,18,0,0,1,0,18Z" transform="translate(0.5 0.5)" stroke="#645a58" stroke-width="1" fill="url(#pattern)" style="isolation: isolate"/>
|
|
|
+ </svg>
|
|
|
+
|
|
|
+
|
|
|
+ </svg>
|
|
|
+
|
|
|
+ <svg class="svg" width="310.5" height="290.5" viewBox="0 0 310.5 290.5">
|
|
|
+ <!-- 在这里粘贴SVG代码 -->
|
|
|
+ <svg width="310.5" height="290.5" viewBox="0 0 310.5 290.5">
|
|
|
+ <defs>
|
|
|
+ <pattern id="pattern" preserveAspectRatio="xMidYMid slice" width="100%" height="100%" viewBox="0 0 800 1252">
|
|
|
+ <image width="800" height="1252" xlink:href=""/>
|
|
|
+ </pattern>
|
|
|
+ </defs>
|
|
|
+ <text id="白客居士" transform="translate(43.5 0.5)" fill="#645a58" font-size="13" font-family="MicrosoftYaHei-Bold, Microsoft YaHei" font-weight="700" style="isolation: isolate"><tspan x="0" y="14">白客居士</tspan></text>
|
|
|
+ <g id="chat-quote" transform="translate(97.5 273.5)" style="isolation: isolate">
|
|
|
+ <path id="Vector" d="M2.678,10.894A5.5,5.5,0,0,1,1,7C1,3.808,4,1,8,1s7,2.808,7,6-3,6-7,6a8.059,8.059,0,0,1-2.088-.272A1,1,0,0,0,5.2,12.8a11.78,11.78,0,0,1-2.634.893,10.971,10.971,0,0,0,.4-2A1,1,0,0,0,2.678,10.894Zm-.493,3.9a13.628,13.628,0,0,0,3.468-1.1A9.061,9.061,0,0,0,8,14c4.418,0,8-3.134,8-7S12.418,0,8,0,0,3.134,0,7a6.5,6.5,0,0,0,1.97,4.6,10.437,10.437,0,0,1-.523,2.318l0,.011q-.045.131-.092.257c-.049.132-.1.259-.151.38a.26.26,0,0,0,.273.361q.211-.034.412-.071l.281-.053ZM5.667,5a1.667,1.667,0,1,0,.895,3.073,3.285,3.285,0,0,1-.778,1.221.417.417,0,0,0,.6.579,3.246,3.246,0,0,0,.683-4.112A1.665,1.665,0,0,0,5.667,5Zm4,0a1.667,1.667,0,1,0,.895,3.073,3.285,3.285,0,0,1-.778,1.221.417.417,0,0,0,.6.579,3.246,3.246,0,0,0,.683-4.112A1.665,1.665,0,0,0,9.667,5Z" transform="translate(0 1)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <g id="Rectangle_1201" data-name="Rectangle 1201" transform="translate(8.5 146.5)" fill="none" style="isolation: isolate">
|
|
|
+ <path d="M0,0H302V108H0Z" stroke="none"/>
|
|
|
+ <path d="M 1 1 L 1 107 L 301 107 L 301 1 L 1 1 M 0 0 L 302 0 L 302 108 L 0 108 L 0 0 Z" stroke="none" fill="#dbab56"/>
|
|
|
+ </g>
|
|
|
+ <g id="bookmark-frame" transform="translate(39.5 274.5)" style="isolation: isolate">
|
|
|
+ <path id="bookmark" d="M0,2V15.5a.5.5,0,0,0,.777.416L6,13.1l5.223,2.815A.5.5,0,0,0,12,15.5V2a2,2,0,0,0-2-2H2A2,2,0,0,0,0,2ZM2,1h8a1,1,0,0,1,1,1V14.566L6.277,12.084a.5.5,0,0,0-.555,0L1,14.566V2A1,1,0,0,1,2,1Z" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <g id="suit-heart" transform="translate(8.5 274.5)" style="isolation: isolate">
|
|
|
+ <path id="Vector_Stroke_" data-name="Vector (Stroke)" d="M8-8.473l-.894-1.789a5.853,5.853,0,0,0-1.151-1.6A2.807,2.807,0,0,0,4-12.709a2.961,2.961,0,0,0-3,2.92c0,1.211.554,2.066,1.868,3.37.337.334.721.695,1.145,1.093A52.531,52.531,0,0,1,8-1.263a52.532,52.532,0,0,1,3.986-4.064c.424-.4.809-.759,1.145-1.093C14.446-7.724,15-8.578,15-9.789a2.961,2.961,0,0,0-3-2.92,2.807,2.807,0,0,0-1.954.852,5.854,5.854,0,0,0-1.151,1.6ZM7.608-.181A48.987,48.987,0,0,0,3.365-4.563C1.3-6.5,0-7.721,0-9.789a3.961,3.961,0,0,1,4-3.92A4.263,4.263,0,0,1,7.4-11.7a7.47,7.47,0,0,1,.6.992,7.47,7.47,0,0,1,.6-.992A4.263,4.263,0,0,1,12-13.709a3.961,3.961,0,0,1,4,3.92c0,2.069-1.3,3.288-3.365,5.227A48.989,48.989,0,0,0,8.392-.181.513.513,0,0,1,7.608-.181Z" transform="translate(0 14.709)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <g id="escape" transform="translate(82.5 274.5) rotate(180)" style="isolation: isolate">
|
|
|
+ <path id="Union" d="M7.538,0A7,7,0,0,0,14-6.981a7,7,0,0,0-7-7A7,7,0,0,0,.02-7.519a.5.5,0,0,0,.461.536.5.5,0,0,0,.536-.461A6,6,0,0,1,7-12.981a6,6,0,0,1,6,6A6,6,0,0,1,7.462-1,.5.5,0,0,0,7-.462.5.5,0,0,0,7.538,0ZM6.1-6.81,1-1.713V-4.481a.5.5,0,0,0-.5-.5.5.5,0,0,0-.5.5V-.506a.5.5,0,0,0,.5.5H4.475a.5.5,0,0,0,.5-.5.5.5,0,0,0-.5-.5H1.707L6.8-6.1a.5.5,0,0,0,0-.707A.5.5,0,0,0,6.1-6.81Z" transform="translate(1 -1.019)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <text id="辛弃疾" transform="translate(25.5 185.5)" fill="#dbab56" font-size="12" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="13">辛弃疾</tspan></text>
|
|
|
+ <text id="刚刚推荐" transform="translate(43.5 22.5)" fill="rgba(128,100,74,0.5)" font-size="11" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="12">刚刚推荐</tspan></text>
|
|
|
+ <text id="南乡子_节选_" data-name="南乡子(节选)" transform="translate(25.5 158.5)" fill="#dbab56" font-size="15" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="16">南乡子(节选)</tspan></text>
|
|
|
+ <text id="何处望神州_满眼风光北固楼_千古兴亡多少事_悠悠_不尽长江滚滚流_年少万兜鍪_坐断东南战未休_天下英雄谁敌手_曹刘_生子当如孙仲谋_" data-name="何处望神州?满眼风光北固楼。千古兴亡多少事?悠悠。不尽长江滚滚流。年少万兜鍪,坐断东南战未休。天下英雄谁敌手?曹刘。生子当如孙仲谋。" transform="translate(25.5 201.5)" fill="#dbab56" font-size="10" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="11">何处望神州?满眼风光北固楼。千古兴亡多少事?悠悠。不</tspan><tspan x="0" y="25">尽长江滚滚流。年少万兜鍪,坐断东南战未休。天下英雄谁</tspan><tspan x="0" y="39">敌手?曹刘。生子当如孙仲谋。</tspan></text>
|
|
|
+ <text id="_读辛弃疾_南乡子_这支曲子一二两句_对仗工丽_写景如画_点染出一幅清丽无比的秋江图_然而这仅仅是表层_作者还另有深意_" data-name="——读辛弃疾《南乡子》
|
|
|
+ 这支曲子一二两句,对仗工丽,写景如画,点染出一幅清丽无比的秋江图。然而这仅仅是表层,作者还另有深意。" transform="translate(7.5 50.5)" fill="#645a58" font-size="13" font-family="MicrosoftYaHei, Microsoft YaHei" style="isolation: isolate"><tspan x="0" y="14">——读辛弃疾《南乡子》</tspan><tspan x="0" y="31">这支曲子一二两句,对仗工丽,写景如画,点染出一</tspan><tspan x="0" y="48">幅清丽无比的秋江图。然而这仅仅是表层,作者还另</tspan><tspan x="0" y="65">有深意。</tspan></text>
|
|
|
+ <path id="Ellipse_7" data-name="Ellipse 7" d="M0,18A18,18,0,1,1,18,36,18,18,0,0,1,0,18Z" transform="translate(0.5 0.5)" stroke="#645a58" stroke-width="1" fill="url(#pattern)" style="isolation: isolate"/>
|
|
|
+ </svg>
|
|
|
+
|
|
|
+
|
|
|
+ </svg>
|
|
|
+
|
|
|
+ <svg class="svg" width="310.5" height="290.5" viewBox="0 0 310.5 290.5">
|
|
|
+ <!-- 在这里粘贴SVG代码 -->
|
|
|
+ <svg width="310.5" height="290.5" viewBox="0 0 310.5 290.5">
|
|
|
+ <defs>
|
|
|
+ <pattern id="pattern" preserveAspectRatio="xMidYMid slice" width="100%" height="100%" viewBox="0 0 800 1252">
|
|
|
+ <image width="800" height="1252" xlink:href=""/>
|
|
|
+ </pattern>
|
|
|
+ </defs>
|
|
|
+ <text id="东晋田园诗人" transform="translate(43.5 0.5)" fill="#645a58" font-size="13" font-family="MicrosoftYaHei-Bold, Microsoft YaHei" font-weight="700" style="isolation: isolate"><tspan x="0" y="14">东晋田园诗人</tspan></text>
|
|
|
+ <g id="chat-quote" transform="translate(97.5 273.5)" style="isolation: isolate">
|
|
|
+ <path id="Vector" d="M2.678,10.894A5.5,5.5,0,0,1,1,7C1,3.808,4,1,8,1s7,2.808,7,6-3,6-7,6a8.059,8.059,0,0,1-2.088-.272A1,1,0,0,0,5.2,12.8a11.78,11.78,0,0,1-2.634.893,10.971,10.971,0,0,0,.4-2A1,1,0,0,0,2.678,10.894Zm-.493,3.9a13.628,13.628,0,0,0,3.468-1.1A9.061,9.061,0,0,0,8,14c4.418,0,8-3.134,8-7S12.418,0,8,0,0,3.134,0,7a6.5,6.5,0,0,0,1.97,4.6,10.437,10.437,0,0,1-.523,2.318l0,.011q-.045.131-.092.257c-.049.132-.1.259-.151.38a.26.26,0,0,0,.273.361q.211-.034.412-.071l.281-.053ZM5.667,5a1.667,1.667,0,1,0,.895,3.073,3.285,3.285,0,0,1-.778,1.221.417.417,0,0,0,.6.579,3.246,3.246,0,0,0,.683-4.112A1.665,1.665,0,0,0,5.667,5Zm4,0a1.667,1.667,0,1,0,.895,3.073,3.285,3.285,0,0,1-.778,1.221.417.417,0,0,0,.6.579,3.246,3.246,0,0,0,.683-4.112A1.665,1.665,0,0,0,9.667,5Z" transform="translate(0 1)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <g id="Rectangle_1201" data-name="Rectangle 1201" transform="translate(8.5 146.5)" fill="none" style="isolation: isolate">
|
|
|
+ <path d="M0,0H302V108H0Z" stroke="none"/>
|
|
|
+ <path d="M 1 1 L 1 107 L 301 107 L 301 1 L 1 1 M 0 0 L 302 0 L 302 108 L 0 108 L 0 0 Z" stroke="none" fill="#dbab56"/>
|
|
|
+ </g>
|
|
|
+ <g id="bookmark-frame" transform="translate(39.5 274.5)" style="isolation: isolate">
|
|
|
+ <path id="bookmark" d="M0,2V15.5a.5.5,0,0,0,.777.416L6,13.1l5.223,2.815A.5.5,0,0,0,12,15.5V2a2,2,0,0,0-2-2H2A2,2,0,0,0,0,2ZM2,1h8a1,1,0,0,1,1,1V14.566L6.277,12.084a.5.5,0,0,0-.555,0L1,14.566V2A1,1,0,0,1,2,1Z" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <g id="suit-heart" transform="translate(8.5 274.5)" style="isolation: isolate">
|
|
|
+ <path id="Vector_Stroke_" data-name="Vector (Stroke)" d="M8-8.473l-.894-1.789a5.853,5.853,0,0,0-1.151-1.6A2.807,2.807,0,0,0,4-12.709a2.961,2.961,0,0,0-3,2.92c0,1.211.554,2.066,1.868,3.37.337.334.721.695,1.145,1.093A52.531,52.531,0,0,1,8-1.263a52.532,52.532,0,0,1,3.986-4.064c.424-.4.809-.759,1.145-1.093C14.446-7.724,15-8.578,15-9.789a2.961,2.961,0,0,0-3-2.92,2.807,2.807,0,0,0-1.954.852,5.854,5.854,0,0,0-1.151,1.6ZM7.608-.181A48.987,48.987,0,0,0,3.365-4.563C1.3-6.5,0-7.721,0-9.789a3.961,3.961,0,0,1,4-3.92A4.263,4.263,0,0,1,7.4-11.7a7.47,7.47,0,0,1,.6.992,7.47,7.47,0,0,1,.6-.992A4.263,4.263,0,0,1,12-13.709a3.961,3.961,0,0,1,4,3.92c0,2.069-1.3,3.288-3.365,5.227A48.989,48.989,0,0,0,8.392-.181.513.513,0,0,1,7.608-.181Z" transform="translate(0 14.709)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <g id="escape" transform="translate(82.5 274.5) rotate(180)" style="isolation: isolate">
|
|
|
+ <path id="Union" d="M7.538,0A7,7,0,0,0,14-6.981a7,7,0,0,0-7-7A7,7,0,0,0,.02-7.519a.5.5,0,0,0,.461.536.5.5,0,0,0,.536-.461A6,6,0,0,1,7-12.981a6,6,0,0,1,6,6A6,6,0,0,1,7.462-1,.5.5,0,0,0,7-.462.5.5,0,0,0,7.538,0ZM6.1-6.81,1-1.713V-4.481a.5.5,0,0,0-.5-.5.5.5,0,0,0-.5.5V-.506a.5.5,0,0,0,.5.5H4.475a.5.5,0,0,0,.5-.5.5.5,0,0,0-.5-.5H1.707L6.8-6.1a.5.5,0,0,0,0-.707A.5.5,0,0,0,6.1-6.81Z" transform="translate(1 -1.019)" fill="rgba(128,100,74,0.5)" style="isolation: isolate"/>
|
|
|
+ </g>
|
|
|
+ <text id="陶渊明" transform="translate(25.5 185.5)" fill="#dbab56" font-size="12" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="13">陶渊明</tspan></text>
|
|
|
+ <text id="刚刚推荐" transform="translate(43.5 22.5)" fill="rgba(128,100,74,0.5)" font-size="11" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="12">刚刚推荐</tspan></text>
|
|
|
+ <text id="南乡子_节选_" data-name="南乡子(节选)" transform="translate(25.5 158.5)" fill="#dbab56" font-size="15" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="16">桃花源记(节选)</tspan></text>
|
|
|
+ <text id="何处望神州_满眼风光北固楼_千古兴亡多少事_悠悠_不尽长江滚滚流_年少万兜鍪_坐断东南战未休_天下英雄谁敌手_曹刘_生子当如孙仲谋_" data-name="何处望神州?满眼风光北固楼。千古兴亡多少事?悠悠。不尽长江滚滚流。年少万兜鍪,坐断东南战未休。天下英雄谁敌手?曹刘。生子当如孙仲谋。" transform="translate(25.5 201.5)" fill="#dbab56" font-size="10" font-family="MicrosoftYaHei, Microsoft YaHei" letter-spacing="0.001em" style="isolation: isolate"><tspan x="0" y="11">林尽水源,便得山,山有小口,仿佛若有光。便舍船,从口入。</tspan><tspan x="0" y="25">初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨</tspan><tspan x="0" y="39">然,有良田美池桑竹之属。</tspan></text>
|
|
|
+ <text id="《桃花源记》通过对桃花源的安宁和乐、自由平等生活的描绘,表现了作者追求美好生活的理想和对现实,生活的不满。" data-name="——读陶渊明《桃花源记》
|
|
|
+ 这支曲子一二两句,对仗工丽,写景如画,点染出一幅清丽无比的秋江图。然而这仅仅是表层,作者还另有深意。" transform="translate(7.5 50.5)" fill="#645a58" font-size="13" font-family="MicrosoftYaHei, Microsoft YaHei" style="isolation: isolate"><tspan x="0" y="14">——读陶渊明《桃花源记》</tspan><tspan x="0" y="31">《桃花源记》通过对桃花源的安宁和乐、自由平等生</tspan><tspan x="0" y="48">活的描绘,表现了作者追求美好生活的理想和对现实</tspan><tspan x="0" y="65">生活的不满。</tspan></text>
|
|
|
+ <path id="Ellipse_7" data-name="Ellipse 7" d="M0,18A18,18,0,1,1,18,36,18,18,0,0,1,0,18Z" transform="translate(0.5 0.5)" stroke="#645a58" stroke-width="1" fill="url(#pattern)" style="isolation: isolate"/>
|
|
|
+ </svg>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </svg>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div *ngSwitchCase="'follow'">
|
|
|
+ <!-- 循环展示关注板块内容 -->
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div *ngSwitchCase="'post'">
|
|
|
+ <!-- 发动态板块 -->
|
|
|
+ <!-- 这里可以放置上传图片和诗文创作的表单 -->
|
|
|
+ <ion-item>
|
|
|
+ <ion-input placeholder="关键词" [(ngModel)]="shigeOptions.keywords"></ion-input>
|
|
|
+ </ion-item>
|
|
|
+ <ion-item>
|
|
|
+ <ion-input placeholder="创作灵感" [(ngModel)]="shigeOptions.content"></ion-input>
|
|
|
+ </ion-item>
|
|
|
+ <ion-item>
|
|
|
+ <ion-select label="诗歌格律" placeholder="格律" [(ngModel)]="shigeOptions.type">
|
|
|
+ <ion-select-option value="不限制">不限制</ion-select-option>
|
|
|
+ <ion-select-option value="七言绝句">七言绝句</ion-select-option>
|
|
|
+ <ion-select-option value="五言律诗">五言律诗</ion-select-option>
|
|
|
+ <ion-select-option value="藏头诗">藏头诗</ion-select-option>
|
|
|
+ <ion-select-option value="宋词">藏头诗</ion-select-option>
|
|
|
+ </ion-select>
|
|
|
+ </ion-item>
|
|
|
+ <ion-item>
|
|
|
+ <ion-select label="诗歌主题" placeholder="主题" [(ngModel)]="shigeOptions.theme">
|
|
|
+ <ion-select-option value="不限制">不限制</ion-select-option>
|
|
|
+ <ion-select-option [value]="item" *ngFor="let item of themeList">{{item}}</ion-select-option>
|
|
|
+ </ion-select>
|
|
|
+ </ion-item>
|
|
|
+ <ion-button expand="block" (click)="sendMessage()">发送</ion-button>
|
|
|
+
|
|
|
+ <ion-card *ngFor="let message of messageList">
|
|
|
+ <ion-card-header>
|
|
|
+ {{message?.role}}
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+ {{ message?.content }}
|
|
|
+ </ion-card-content>
|
|
|
+ </ion-card>
|
|
|
+
|
|
|
+ <form>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+
|