├── .editorconfig
├── .gitignore
├── LICENSE
├── README.md
├── app.js
├── app.json
├── app.wxss
├── assets
├── images
│ ├── apple.png
│ ├── icon-verified.png
│ ├── interaction
│ │ ├── block-active.png
│ │ ├── block.png
│ │ ├── content-comment.png
│ │ ├── content-dislike-active.png
│ │ ├── content-dislike.png
│ │ ├── content-like-active.png
│ │ ├── content-like.png
│ │ ├── content-more.png
│ │ ├── content-share.png
│ │ ├── dislike-active.png
│ │ ├── dislike.png
│ │ ├── follow-active.png
│ │ ├── follow.png
│ │ ├── like-active.png
│ │ └── like.png
│ ├── share.png
│ ├── tabbar
│ │ ├── comments-active.png
│ │ ├── comments.png
│ │ ├── conversations-active.png
│ │ ├── conversations.png
│ │ ├── geotags-active.png
│ │ ├── geotags.png
│ │ ├── groups-active.png
│ │ ├── groups.png
│ │ ├── hashtags-active.png
│ │ ├── hashtags.png
│ │ ├── home-active.png
│ │ ├── home.png
│ │ ├── me-active.png
│ │ ├── me.png
│ │ ├── nearby-active.png
│ │ ├── nearby.png
│ │ ├── notifications-active.png
│ │ ├── notifications.png
│ │ ├── posts-active.png
│ │ ├── posts.png
│ │ ├── timelines-active.png
│ │ ├── timelines.png
│ │ ├── users-active.png
│ │ └── users.png
│ └── wechat.png
└── styles
│ ├── profile.wxss
│ ├── variable.wxss
│ └── weui.wxss
├── components
├── comment-box
│ ├── comment-box.js
│ ├── comment-box.json
│ ├── comment-box.wxml
│ └── comment-box.wxss
├── comments
│ ├── comment.js
│ ├── comment.json
│ ├── comment.wxml
│ ├── comment.wxss
│ └── sections
│ │ ├── interaction.js
│ │ ├── interaction.json
│ │ ├── interaction.wxml
│ │ ├── interaction.wxss
│ │ ├── preview-comments.js
│ │ ├── preview-comments.json
│ │ ├── preview-comments.wxml
│ │ ├── preview-comments.wxss
│ │ ├── reply-to-comment.js
│ │ ├── reply-to-comment.json
│ │ ├── reply-to-comment.wxml
│ │ └── reply-to-comment.wxss
├── commons
│ ├── navigation-bar
│ │ ├── navigation-bar.js
│ │ ├── navigation-bar.json
│ │ ├── navigation-bar.wxml
│ │ └── navigation-bar.wxss
│ └── tabbar
│ │ ├── tabbar.js
│ │ ├── tabbar.json
│ │ ├── tabbar.wxml
│ │ └── tabbar.wxss
├── geotags
│ ├── geotag.js
│ ├── geotag.json
│ ├── geotag.wxml
│ ├── geotag.wxss
│ └── sections
│ │ ├── interaction.js
│ │ ├── interaction.json
│ │ ├── interaction.wxml
│ │ └── interaction.wxss
├── groups
│ ├── group.js
│ ├── group.json
│ ├── group.wxml
│ ├── group.wxss
│ └── sections
│ │ ├── interaction.js
│ │ ├── interaction.json
│ │ ├── interaction.wxml
│ │ └── interaction.wxss
├── hashtags
│ ├── hashtag.js
│ ├── hashtag.json
│ ├── hashtag.wxml
│ ├── hashtag.wxss
│ └── sections
│ │ ├── interaction.js
│ │ ├── interaction.json
│ │ ├── interaction.wxml
│ │ └── interaction.wxss
├── notification
│ ├── notification.js
│ ├── notification.json
│ ├── notification.wxml
│ ├── notification.wxss
│ └── sections
│ │ ├── badge.js
│ │ ├── badge.json
│ │ ├── badge.wxml
│ │ ├── badge.wxss
│ │ ├── content-box.js
│ │ ├── content-box.json
│ │ ├── content-box.wxml
│ │ └── content-box.wxss
├── posts
│ ├── post.js
│ ├── post.json
│ ├── post.wxml
│ ├── post.wxss
│ └── sections
│ │ ├── author.js
│ │ ├── author.json
│ │ ├── author.wxml
│ │ ├── author.wxss
│ │ ├── extend-info.js
│ │ ├── extend-info.json
│ │ ├── extend-info.wxml
│ │ ├── extend-info.wxss
│ │ ├── extend-text.js
│ │ ├── extend-text.json
│ │ ├── extend-text.wxml
│ │ ├── extend-text.wxss
│ │ ├── files.js
│ │ ├── files.json
│ │ ├── files.wxml
│ │ ├── files.wxss
│ │ ├── interaction.js
│ │ ├── interaction.json
│ │ ├── interaction.wxml
│ │ ├── interaction.wxss
│ │ ├── preview-comments.js
│ │ ├── preview-comments.json
│ │ ├── preview-comments.wxml
│ │ ├── preview-comments.wxss
│ │ ├── quoted-post.js
│ │ ├── quoted-post.json
│ │ ├── quoted-post.wxml
│ │ └── quoted-post.wxss
└── users
│ ├── profile.js
│ ├── profile.json
│ ├── profile.wxml
│ ├── profile.wxss
│ ├── sections
│ ├── interaction.js
│ ├── interaction.json
│ ├── interaction.wxml
│ ├── interaction.wxss
│ ├── switch.js
│ ├── switch.json
│ ├── switch.wxml
│ └── switch.wxss
│ ├── user.js
│ ├── user.json
│ ├── user.wxml
│ └── user.wxss
├── libs
└── Mixins.js
├── mixins
├── common.js
├── fresnsCallback.js
└── fresnsInteraction.js
├── pages
├── comments
│ ├── blocking.js
│ ├── blocking.json
│ ├── blocking.wxml
│ ├── blocking.wxss
│ ├── detail.js
│ ├── detail.json
│ ├── detail.wxml
│ ├── detail.wxss
│ ├── dislikes.js
│ ├── dislikes.json
│ ├── dislikes.wxml
│ ├── dislikes.wxss
│ ├── following.js
│ ├── following.json
│ ├── following.wxml
│ ├── following.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── likes.js
│ ├── likes.json
│ ├── likes.wxml
│ ├── likes.wxss
│ ├── list.js
│ ├── list.json
│ ├── list.wxml
│ └── list.wxss
├── conversations
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── messages.js
│ ├── messages.json
│ ├── messages.wxml
│ └── messages.wxss
├── editor
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── geotags
│ ├── blocking.js
│ ├── blocking.json
│ ├── blocking.wxml
│ ├── blocking.wxss
│ ├── detail.js
│ ├── detail.json
│ ├── detail.wxml
│ ├── detail.wxss
│ ├── dislikes.js
│ ├── dislikes.json
│ ├── dislikes.wxml
│ ├── dislikes.wxss
│ ├── following.js
│ ├── following.json
│ ├── following.wxml
│ ├── following.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── likes.js
│ ├── likes.json
│ ├── likes.wxml
│ ├── likes.wxss
│ ├── list.js
│ ├── list.json
│ ├── list.wxml
│ └── list.wxss
├── groups
│ ├── blocking.js
│ ├── blocking.json
│ ├── blocking.wxml
│ ├── blocking.wxss
│ ├── detail.js
│ ├── detail.json
│ ├── detail.wxml
│ ├── detail.wxss
│ ├── dislikes.js
│ ├── dislikes.json
│ ├── dislikes.wxml
│ ├── dislikes.wxss
│ ├── following.js
│ ├── following.json
│ ├── following.wxml
│ ├── following.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── likes.js
│ ├── likes.json
│ ├── likes.wxml
│ ├── likes.wxss
│ ├── list.js
│ ├── list.json
│ ├── list.wxml
│ └── list.wxss
├── hashtags
│ ├── blocking.js
│ ├── blocking.json
│ ├── blocking.wxml
│ ├── blocking.wxss
│ ├── detail.js
│ ├── detail.json
│ ├── detail.wxml
│ ├── detail.wxss
│ ├── dislikes.js
│ ├── dislikes.json
│ ├── dislikes.wxml
│ ├── dislikes.wxss
│ ├── following.js
│ ├── following.json
│ ├── following.wxml
│ ├── following.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── likes.js
│ ├── likes.json
│ ├── likes.wxml
│ ├── likes.wxss
│ ├── list.js
│ ├── list.json
│ ├── list.wxml
│ └── list.wxss
├── me
│ ├── drafts.js
│ ├── drafts.json
│ ├── drafts.wxml
│ ├── drafts.wxss
│ ├── extcredits.js
│ ├── extcredits.json
│ ├── extcredits.wxml
│ ├── extcredits.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── login
│ │ ├── check-sign.js
│ │ ├── check-sign.json
│ │ ├── check-sign.wxml
│ │ ├── check-sign.wxss
│ │ ├── index.js
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ ├── oauth-website.js
│ │ ├── oauth-website.json
│ │ ├── oauth-website.wxml
│ │ └── oauth-website.wxss
│ ├── settings.js
│ ├── settings.json
│ ├── settings.wxml
│ ├── settings.wxss
│ ├── users.js
│ ├── users.json
│ ├── users.wxml
│ ├── users.wxss
│ ├── wallet.js
│ ├── wallet.json
│ ├── wallet.wxml
│ └── wallet.wxss
├── nearby
│ ├── comments.js
│ ├── comments.json
│ ├── comments.wxml
│ ├── comments.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── posts.js
│ ├── posts.json
│ ├── posts.wxml
│ └── posts.wxss
├── notifications
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── portal
│ ├── about.js
│ ├── about.json
│ ├── about.wxml
│ ├── about.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── policies.js
│ ├── policies.json
│ ├── policies.wxml
│ └── policies.wxss
├── posts
│ ├── blocking.js
│ ├── blocking.json
│ ├── blocking.wxml
│ ├── blocking.wxss
│ ├── detail.js
│ ├── detail.json
│ ├── detail.wxml
│ ├── detail.wxss
│ ├── dislikes.js
│ ├── dislikes.json
│ ├── dislikes.wxml
│ ├── dislikes.wxss
│ ├── following.js
│ ├── following.json
│ ├── following.wxml
│ ├── following.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── likes.js
│ ├── likes.json
│ ├── likes.wxml
│ ├── likes.wxss
│ ├── list.js
│ ├── list.json
│ ├── list.wxml
│ └── list.wxss
├── profile
│ ├── blocking
│ │ ├── comments.js
│ │ ├── comments.json
│ │ ├── comments.wxml
│ │ ├── comments.wxss
│ │ ├── geotags.js
│ │ ├── geotags.json
│ │ ├── geotags.wxml
│ │ ├── geotags.wxss
│ │ ├── groups.js
│ │ ├── groups.json
│ │ ├── groups.wxml
│ │ ├── groups.wxss
│ │ ├── hashtags.js
│ │ ├── hashtags.json
│ │ ├── hashtags.wxml
│ │ ├── hashtags.wxss
│ │ ├── posts.js
│ │ ├── posts.json
│ │ ├── posts.wxml
│ │ ├── posts.wxss
│ │ ├── users.js
│ │ ├── users.json
│ │ ├── users.wxml
│ │ └── users.wxss
│ ├── comments.js
│ ├── comments.json
│ ├── comments.wxml
│ ├── comments.wxss
│ ├── dislikes
│ │ ├── comments.js
│ │ ├── comments.json
│ │ ├── comments.wxml
│ │ ├── comments.wxss
│ │ ├── geotags.js
│ │ ├── geotags.json
│ │ ├── geotags.wxml
│ │ ├── geotags.wxss
│ │ ├── groups.js
│ │ ├── groups.json
│ │ ├── groups.wxml
│ │ ├── groups.wxss
│ │ ├── hashtags.js
│ │ ├── hashtags.json
│ │ ├── hashtags.wxml
│ │ ├── hashtags.wxss
│ │ ├── posts.js
│ │ ├── posts.json
│ │ ├── posts.wxml
│ │ ├── posts.wxss
│ │ ├── users.js
│ │ ├── users.json
│ │ ├── users.wxml
│ │ └── users.wxss
│ ├── following
│ │ ├── comments.js
│ │ ├── comments.json
│ │ ├── comments.wxml
│ │ ├── comments.wxss
│ │ ├── geotags.js
│ │ ├── geotags.json
│ │ ├── geotags.wxml
│ │ ├── geotags.wxss
│ │ ├── groups.js
│ │ ├── groups.json
│ │ ├── groups.wxml
│ │ ├── groups.wxss
│ │ ├── hashtags.js
│ │ ├── hashtags.json
│ │ ├── hashtags.wxml
│ │ ├── hashtags.wxss
│ │ ├── posts.js
│ │ ├── posts.json
│ │ ├── posts.wxml
│ │ ├── posts.wxss
│ │ ├── users.js
│ │ ├── users.json
│ │ ├── users.wxml
│ │ └── users.wxss
│ ├── interactions
│ │ ├── blockers.js
│ │ ├── blockers.json
│ │ ├── blockers.wxml
│ │ ├── blockers.wxss
│ │ ├── dislikers.js
│ │ ├── dislikers.json
│ │ ├── dislikers.wxml
│ │ ├── dislikers.wxss
│ │ ├── followers-you-follow.js
│ │ ├── followers-you-follow.json
│ │ ├── followers-you-follow.wxml
│ │ ├── followers-you-follow.wxss
│ │ ├── followers.js
│ │ ├── followers.json
│ │ ├── followers.wxml
│ │ ├── followers.wxss
│ │ ├── likers.js
│ │ ├── likers.json
│ │ ├── likers.wxml
│ │ └── likers.wxss
│ ├── likes
│ │ ├── comments.js
│ │ ├── comments.json
│ │ ├── comments.wxml
│ │ ├── comments.wxss
│ │ ├── geotags.js
│ │ ├── geotags.json
│ │ ├── geotags.wxml
│ │ ├── geotags.wxss
│ │ ├── groups.js
│ │ ├── groups.json
│ │ ├── groups.wxml
│ │ ├── groups.wxss
│ │ ├── hashtags.js
│ │ ├── hashtags.json
│ │ ├── hashtags.wxml
│ │ ├── hashtags.wxss
│ │ ├── posts.js
│ │ ├── posts.json
│ │ ├── posts.wxml
│ │ ├── posts.wxss
│ │ ├── users.js
│ │ ├── users.json
│ │ ├── users.wxml
│ │ └── users.wxss
│ ├── posts.js
│ ├── posts.json
│ ├── posts.wxml
│ └── posts.wxss
├── search
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── timelines
│ ├── comments.js
│ ├── comments.json
│ ├── comments.wxml
│ ├── comments.wxss
│ ├── geotag-comments.js
│ ├── geotag-comments.json
│ ├── geotag-comments.wxml
│ ├── geotag-comments.wxss
│ ├── geotag-posts.js
│ ├── geotag-posts.json
│ ├── geotag-posts.wxml
│ ├── geotag-posts.wxss
│ ├── group-comments.js
│ ├── group-comments.json
│ ├── group-comments.wxml
│ ├── group-comments.wxss
│ ├── group-posts.js
│ ├── group-posts.json
│ ├── group-posts.wxml
│ ├── group-posts.wxss
│ ├── hashtag-comments.js
│ ├── hashtag-comments.json
│ ├── hashtag-comments.wxml
│ ├── hashtag-comments.wxss
│ ├── hashtag-posts.js
│ ├── hashtag-posts.json
│ ├── hashtag-posts.wxml
│ ├── hashtag-posts.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── posts.js
│ ├── posts.json
│ ├── posts.wxml
│ ├── posts.wxss
│ ├── user-comments.js
│ ├── user-comments.json
│ ├── user-comments.wxml
│ ├── user-comments.wxss
│ ├── user-posts.js
│ ├── user-posts.json
│ ├── user-posts.wxml
│ └── user-posts.wxss
└── users
│ ├── blocking.js
│ ├── blocking.json
│ ├── blocking.wxml
│ ├── blocking.wxss
│ ├── dislikes.js
│ ├── dislikes.json
│ ├── dislikes.wxml
│ ├── dislikes.wxss
│ ├── following.js
│ ├── following.json
│ ├── following.wxml
│ ├── following.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── likes.js
│ ├── likes.json
│ ├── likes.wxml
│ ├── likes.wxss
│ ├── list.js
│ ├── list.json
│ ├── list.wxml
│ └── list.wxss
├── project.config.json
├── sdk
├── api
│ ├── definitions
│ │ ├── account.js
│ │ ├── comment.js
│ │ ├── common.js
│ │ ├── conversation.js
│ │ ├── editor.js
│ │ ├── geotag.js
│ │ ├── global.js
│ │ ├── group.js
│ │ ├── hashtag.js
│ │ ├── notification.js
│ │ ├── post.js
│ │ ├── search.js
│ │ └── user.js
│ ├── plugins.js
│ ├── plugins
│ │ ├── share-poster.js
│ │ └── wechat-login.js
│ └── tool
│ │ ├── header.js
│ │ └── request.js
├── components
│ ├── loading
│ │ ├── loading.js
│ │ ├── loading.json
│ │ ├── loading.wxml
│ │ └── loading.wxss
│ └── markdown-viewer
│ │ ├── markdown-viewer.js
│ │ ├── markdown-viewer.json
│ │ ├── markdown-viewer.wxml
│ │ ├── markdown-viewer.wxss
│ │ ├── marked.min.js
│ │ ├── prism.min.js
│ │ └── prism.wxss
├── editor
│ ├── editor.js
│ ├── editor.json
│ ├── editor.wxml
│ ├── editor.wxss
│ ├── expands
│ │ ├── archives
│ │ │ ├── archives.js
│ │ │ ├── archives.json
│ │ │ ├── archives.wxml
│ │ │ └── archives.wxss
│ │ ├── content
│ │ │ ├── info-box.js
│ │ │ ├── info-box.json
│ │ │ ├── info-box.wxml
│ │ │ ├── info-box.wxss
│ │ │ ├── text-box.js
│ │ │ ├── text-box.json
│ │ │ ├── text-box.wxml
│ │ │ └── text-box.wxss
│ │ └── read-config
│ │ │ ├── read-config.js
│ │ │ ├── read-config.json
│ │ │ ├── read-config.wxml
│ │ │ └── read-config.wxss
│ ├── sections
│ │ ├── anonymous
│ │ │ ├── anonymous.js
│ │ │ ├── anonymous.json
│ │ │ ├── anonymous.wxml
│ │ │ └── anonymous.wxss
│ │ ├── content
│ │ │ ├── content.js
│ │ │ ├── content.json
│ │ │ ├── content.wxml
│ │ │ └── content.wxss
│ │ ├── draft-selector
│ │ │ ├── draft-selector.js
│ │ │ ├── draft-selector.json
│ │ │ ├── draft-selector.wxml
│ │ │ └── draft-selector.wxss
│ │ ├── files
│ │ │ ├── files.js
│ │ │ ├── files.json
│ │ │ ├── files.wxml
│ │ │ └── files.wxss
│ │ ├── group
│ │ │ ├── group.js
│ │ │ ├── group.json
│ │ │ ├── group.wxml
│ │ │ └── group.wxss
│ │ ├── hashtag
│ │ │ ├── hashtag.js
│ │ │ ├── hashtag.json
│ │ │ ├── hashtag.wxml
│ │ │ └── hashtag.wxss
│ │ ├── location
│ │ │ ├── location.js
│ │ │ ├── location.json
│ │ │ ├── location.wxml
│ │ │ └── location.wxss
│ │ ├── mention
│ │ │ ├── mention.js
│ │ │ ├── mention.json
│ │ │ ├── mention.wxml
│ │ │ └── mention.wxss
│ │ ├── quoted-post
│ │ │ ├── quoted-post.js
│ │ │ ├── quoted-post.json
│ │ │ ├── quoted-post.wxml
│ │ │ └── quoted-post.wxss
│ │ ├── title
│ │ │ ├── title.js
│ │ │ ├── title.json
│ │ │ ├── title.wxml
│ │ │ └── title.wxss
│ │ └── toolbar
│ │ │ ├── toolbar.js
│ │ │ ├── toolbar.json
│ │ │ ├── toolbar.wxml
│ │ │ └── toolbar.wxss
│ └── tips
│ │ ├── edit-controls
│ │ ├── edit-controls.js
│ │ ├── edit-controls.json
│ │ ├── edit-controls.wxml
│ │ └── edit-controls.wxss
│ │ ├── publish-limit
│ │ ├── publish-limit.js
│ │ ├── publish-limit.json
│ │ ├── publish-limit.wxml
│ │ └── publish-limit.wxss
│ │ └── publish-perm
│ │ ├── publish-perm.js
│ │ ├── publish-perm.json
│ │ ├── publish-perm.wxml
│ │ └── publish-perm.wxss
├── env.example.js
├── extensions
│ ├── functions.js
│ ├── webview.js
│ ├── webview.json
│ ├── webview.wxml
│ └── webview.wxss
├── helpers
│ ├── cache.js
│ ├── client.js
│ ├── configs.js
│ ├── extensions.js
│ ├── login.js
│ └── profiles.js
├── services
│ ├── api.js
│ └── init.js
└── utilities
│ ├── base64.js
│ ├── sha256.js
│ └── toolkit.js
├── sitemap.json
└── theme.json
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | end_of_line = lf
6 | indent_size = 2
7 | indent_style = space
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
11 | [*.md]
12 | trim_trailing_whitespace = false
13 |
14 | [*.{yml,yaml}]
15 | indent_size = 2
16 |
17 | [docker-compose.yml]
18 | indent_size = 2
19 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 | .settings
3 | .idea
4 | .vscode
5 | .DS_Store
6 |
7 | package-lock.json
8 | project.private.config.json
9 |
10 | *.mobileprovision
11 |
12 | env.js
13 | env-dev.js
14 | env-test.js
15 |
--------------------------------------------------------------------------------
/assets/images/apple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/apple.png
--------------------------------------------------------------------------------
/assets/images/icon-verified.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/icon-verified.png
--------------------------------------------------------------------------------
/assets/images/interaction/block-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/block-active.png
--------------------------------------------------------------------------------
/assets/images/interaction/block.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/block.png
--------------------------------------------------------------------------------
/assets/images/interaction/content-comment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/content-comment.png
--------------------------------------------------------------------------------
/assets/images/interaction/content-dislike-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/content-dislike-active.png
--------------------------------------------------------------------------------
/assets/images/interaction/content-dislike.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/content-dislike.png
--------------------------------------------------------------------------------
/assets/images/interaction/content-like-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/content-like-active.png
--------------------------------------------------------------------------------
/assets/images/interaction/content-like.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/content-like.png
--------------------------------------------------------------------------------
/assets/images/interaction/content-more.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/content-more.png
--------------------------------------------------------------------------------
/assets/images/interaction/content-share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/content-share.png
--------------------------------------------------------------------------------
/assets/images/interaction/dislike-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/dislike-active.png
--------------------------------------------------------------------------------
/assets/images/interaction/dislike.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/dislike.png
--------------------------------------------------------------------------------
/assets/images/interaction/follow-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/follow-active.png
--------------------------------------------------------------------------------
/assets/images/interaction/follow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/follow.png
--------------------------------------------------------------------------------
/assets/images/interaction/like-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/like-active.png
--------------------------------------------------------------------------------
/assets/images/interaction/like.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/interaction/like.png
--------------------------------------------------------------------------------
/assets/images/share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/share.png
--------------------------------------------------------------------------------
/assets/images/tabbar/comments-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/comments-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/comments.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/comments.png
--------------------------------------------------------------------------------
/assets/images/tabbar/conversations-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/conversations-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/conversations.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/conversations.png
--------------------------------------------------------------------------------
/assets/images/tabbar/geotags-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/geotags-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/geotags.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/geotags.png
--------------------------------------------------------------------------------
/assets/images/tabbar/groups-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/groups-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/groups.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/groups.png
--------------------------------------------------------------------------------
/assets/images/tabbar/hashtags-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/hashtags-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/hashtags.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/hashtags.png
--------------------------------------------------------------------------------
/assets/images/tabbar/home-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/home-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/home.png
--------------------------------------------------------------------------------
/assets/images/tabbar/me-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/me-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/me.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/me.png
--------------------------------------------------------------------------------
/assets/images/tabbar/nearby-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/nearby-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/nearby.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/nearby.png
--------------------------------------------------------------------------------
/assets/images/tabbar/notifications-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/notifications-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/notifications.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/notifications.png
--------------------------------------------------------------------------------
/assets/images/tabbar/posts-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/posts-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/posts.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/posts.png
--------------------------------------------------------------------------------
/assets/images/tabbar/timelines-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/timelines-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/timelines.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/timelines.png
--------------------------------------------------------------------------------
/assets/images/tabbar/users-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/users-active.png
--------------------------------------------------------------------------------
/assets/images/tabbar/users.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/tabbar/users.png
--------------------------------------------------------------------------------
/assets/images/wechat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fresns/client-demo-wechat/569b78c7ee0fe3d5125e52ad2b19e36e4561ba1b/assets/images/wechat.png
--------------------------------------------------------------------------------
/assets/styles/profile.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .list-title {
7 | text-align: center;
8 | color: var(--weui-FG-2);
9 | margin-top: 20rpx;
10 | font-size: 28rpx;
11 | }
12 |
--------------------------------------------------------------------------------
/components/comment-box/comment-box.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "mention": "/sdk/editor/sections/mention/mention",
6 | "hashtag": "/sdk/editor/sections/hashtag/hashtag"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/components/comments/comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "markdown-viewer": "/sdk/components/markdown-viewer/markdown-viewer",
5 | "author": "/components/posts/sections/author",
6 | "files": "/components/posts/sections/files",
7 | "extend-text": "/components/posts/sections/extend-text",
8 | "extend-info": "/components/posts/sections/extend-info",
9 | "quoted-post": "/components/posts/sections/quoted-post",
10 | "preview-comments": "/components/comments/sections/preview-comments",
11 | "reply-to-comment": "/components/comments/sections/reply-to-comment",
12 | "interaction": "/components/comments/sections/interaction"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/components/comments/sections/interaction.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "comment-box": "/components/comment-box/comment-box"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/components/comments/sections/preview-comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/comments/sections/preview-comments.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
16 |
17 |
--------------------------------------------------------------------------------
/components/comments/sections/reply-to-comment.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | import { fresnsConfig, fresnsLang } from '../../../sdk/helpers/configs';
7 |
8 | Component({
9 | /** 组件的属性列表 **/
10 | properties: {
11 | comment: {
12 | type: Object,
13 | value: null,
14 | },
15 | },
16 |
17 | /** 组件的初始数据 **/
18 | data: {
19 | publishCommentName: null,
20 | userDeactivate: null,
21 | authorAnonymous: null,
22 | },
23 |
24 | /** 组件生命周期声明对象 **/
25 | lifetimes: {
26 | attached: async function () {
27 | this.setData({
28 | publishCommentName: await fresnsConfig('publish_comment_name'),
29 | userDeactivate: await fresnsLang('userDeactivate'),
30 | authorAnonymous: await fresnsLang('contentAuthorAnonymous'),
31 | });
32 | },
33 | },
34 | });
35 |
--------------------------------------------------------------------------------
/components/comments/sections/reply-to-comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/comments/sections/reply-to-comment.wxml:
--------------------------------------------------------------------------------
1 |
6 |
22 |
--------------------------------------------------------------------------------
/components/comments/sections/reply-to-comment.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .fs-reply-to-comment {
7 | border: 1rpx dotted var(--weui-BG-4);
8 | background-color: #fffcf1;
9 | color: var(--weui-FG-1);
10 | }
11 |
12 | .header {
13 | display: flex;
14 | font-size: 26rpx;
15 | padding: 10rpx 20rpx;
16 | }
17 |
18 | .body {
19 | padding: 0 20rpx 10rpx 20rpx;
20 | }
21 |
22 | .content {
23 | font-size: 26rpx;
24 | }
25 |
26 | .content .fresns_sticker {
27 | display: inline-block; /* 保持图片在同一行 */
28 | transform: scale(0.5); /* 将图片缩小为原尺寸的一半 */
29 | transform-origin: 0 0; /* 确保缩放从左上角开始 */
30 | width: auto; /* 确保宽度按比例缩放 */
31 | height: auto; /* 确保高度按比例缩放 */
32 | vertical-align: middle; /* 图片与文本垂直对齐 */
33 | }
34 |
--------------------------------------------------------------------------------
/components/commons/navigation-bar/navigation-bar.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
5 |
--------------------------------------------------------------------------------
/components/commons/tabbar/tabbar.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
5 |
--------------------------------------------------------------------------------
/components/commons/tabbar/tabbar.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 | {{tab.badge}}
12 |
13 |
14 | {{tab.text}}
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/components/geotags/geotag.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | Component({
7 | /** 组件的属性列表 **/
8 | properties: {
9 | geotag: {
10 | type: Object,
11 | value: null,
12 | },
13 | },
14 |
15 | /** 组件的初始数据 **/
16 | data: {},
17 | });
18 |
--------------------------------------------------------------------------------
/components/geotags/geotag.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "interaction": "/components/geotags/sections/interaction"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/components/geotags/geotag.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 | {{geotag.name}}
12 |
13 | {{geotag.description}}
14 |
15 | {{geotag.postCount}}
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/geotags/geotag.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .geotag-box {
7 | position: relative;
8 | background-color: var(--weui-BG-2);
9 | margin-top: 20rpx;
10 | }
11 |
12 | .geotag-name {
13 | display: flex;
14 | align-items: center;
15 | }
16 |
17 | .geotag-name image {
18 | width: 44rpx;
19 | height: 44rpx;
20 | margin-right: 20rpx;
21 | }
22 |
23 | .interactive-btn {
24 | display: flex;
25 | margin-left: 32rpx;
26 | margin-top: -12rpx;
27 | padding-bottom: 32rpx;
28 | }
29 |
--------------------------------------------------------------------------------
/components/geotags/sections/interaction.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/geotags/sections/interaction.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .mark-btn {
7 | display: flex;
8 | flex-wrap: wrap;
9 | }
10 |
11 | .mark-btn .weui-btn {
12 | margin-right: 20rpx;
13 | padding: 8rpx 18rpx !important;
14 | display: flex;
15 | align-items: center;
16 | }
17 |
18 | .mark-btn .weui-btn image {
19 | height: 28rpx;
20 | width: 28rpx;
21 | margin-right: 0;
22 | }
23 |
24 | .mark-btn .weui-btn .count {
25 | margin-left: 8rpx;
26 | font-size: 20rpx;
27 | }
28 |
29 | .mark-btn .weui-btn_default {
30 | font-weight: 400;
31 | color: var(--weui-FG-1);
32 | }
33 |
--------------------------------------------------------------------------------
/components/groups/group.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | Component({
7 | /** 组件的属性列表 **/
8 | properties: {
9 | group: {
10 | type: Object,
11 | value: null,
12 | },
13 | },
14 |
15 | /** 组件的初始数据 **/
16 | data: {},
17 | });
18 |
--------------------------------------------------------------------------------
/components/groups/group.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "interaction": "/components/groups/sections/interaction"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/components/groups/group.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 | {{group.name}}
12 |
13 | {{group.description}}
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/groups/group.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .group-box {
7 | position: relative;
8 | background-color: var(--weui-BG-2);
9 | margin-top: 20rpx;
10 | }
11 |
12 | .group-name {
13 | display: flex;
14 | align-items: center;
15 | }
16 |
17 | .group-name image {
18 | width: 44rpx;
19 | height: 44rpx;
20 | margin-right: 20rpx;
21 | }
22 |
23 | .interactive-btn {
24 | display: flex;
25 | margin-left: 32rpx;
26 | margin-top: -12rpx;
27 | padding-bottom: 32rpx;
28 | }
29 |
--------------------------------------------------------------------------------
/components/groups/sections/interaction.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/groups/sections/interaction.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .mark-btn {
7 | display: flex;
8 | flex-wrap: wrap;
9 | }
10 |
11 | .mark-btn .weui-btn {
12 | margin-right: 20rpx;
13 | padding: 8rpx 18rpx !important;
14 | display: flex;
15 | align-items: center;
16 | }
17 |
18 | .mark-btn .weui-btn image {
19 | height: 28rpx;
20 | width: 28rpx;
21 | margin-right: 0;
22 | }
23 |
24 | .mark-btn .weui-btn .count {
25 | margin-left: 8rpx;
26 | font-size: 20rpx;
27 | }
28 |
29 | .mark-btn .weui-btn_default {
30 | font-weight: 400;
31 | color: var(--weui-FG-1);
32 | }
33 |
--------------------------------------------------------------------------------
/components/hashtags/hashtag.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | Component({
7 | /** 组件的属性列表 **/
8 | properties: {
9 | hashtag: {
10 | type: Object,
11 | value: null,
12 | },
13 | },
14 |
15 | /** 组件的初始数据 **/
16 | data: {},
17 | });
18 |
--------------------------------------------------------------------------------
/components/hashtags/hashtag.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "interaction": "/components/hashtags/sections/interaction"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/components/hashtags/hashtag.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 | {{hashtag.name}}
12 |
13 | {{hashtag.description}}
14 |
15 | {{hashtag.postCount}}
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/hashtags/hashtag.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .hashtag-box {
7 | position: relative;
8 | background-color: var(--weui-BG-2);
9 | margin-top: 20rpx;
10 | }
11 |
12 | .hashtag-name {
13 | display: flex;
14 | align-items: center;
15 | }
16 |
17 | .hashtag-name image {
18 | width: 44rpx;
19 | height: 44rpx;
20 | margin-right: 20rpx;
21 | }
22 |
23 | .interactive-btn {
24 | display: flex;
25 | margin-left: 32rpx;
26 | margin-top: -12rpx;
27 | padding-bottom: 32rpx;
28 | }
29 |
--------------------------------------------------------------------------------
/components/hashtags/sections/interaction.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/hashtags/sections/interaction.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .mark-btn {
7 | display: flex;
8 | flex-wrap: wrap;
9 | }
10 |
11 | .mark-btn .weui-btn {
12 | margin-right: 20rpx;
13 | padding: 8rpx 18rpx !important;
14 | display: flex;
15 | align-items: center;
16 | }
17 |
18 | .mark-btn .weui-btn image {
19 | height: 28rpx;
20 | width: 28rpx;
21 | margin-right: 0;
22 | }
23 |
24 | .mark-btn .weui-btn .count {
25 | margin-left: 8rpx;
26 | font-size: 20rpx;
27 | }
28 |
29 | .mark-btn .weui-btn_default {
30 | font-weight: 400;
31 | color: var(--weui-FG-1);
32 | }
33 |
--------------------------------------------------------------------------------
/components/notification/notification.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "user": "/components/posts/sections/author",
6 | "badge": "/components/notification/sections/badge",
7 | "content-box": "/components/notification/sections/content-box"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/components/notification/sections/badge.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/notification/sections/badge.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 | {{typeName}}
8 |
9 |
10 |
11 | {{typeName}}
12 |
13 |
14 | {{badgeName}}
15 |
--------------------------------------------------------------------------------
/components/notification/sections/badge.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-badge {
7 | font-size: 20rpx !important;
8 | margin-top: 2rpx;
9 | margin-right: 20rpx;
10 | }
11 |
12 | .bg-primary {
13 | background-color: var(--weui-BG-4);
14 | }
15 |
16 | .bg-recommend {
17 | background-color: var(--weui-TEXTGREEN);
18 | }
19 |
--------------------------------------------------------------------------------
/components/notification/sections/content-box.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/notification/sections/content-box.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | {{groupName}}
17 |
18 |
19 |
--------------------------------------------------------------------------------
/components/notification/sections/content-box.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .quoted-box {
7 | font-size: 28rpx;
8 | background-color: var(--weui-BG-0);
9 | border-radius: 12rpx;
10 | }
11 |
12 | .quoted-content {
13 | padding: 20rpx;
14 | }
15 |
16 | .quoted-info-avatar image {
17 | width: 80rpx;
18 | height: 80rpx;
19 | border-radius: 8rpx;
20 | margin-right: 12rpx;
21 | }
22 |
23 | .quoted-info-content {
24 | font-size: 26rpx;
25 | color: var(--weui-FG-0);
26 | overflow: hidden;
27 | text-overflow: ellipsis;
28 | word-break: break-all;
29 | }
30 |
31 | .quoted-info-group {
32 | color: var(--weui-FG-1);
33 | font-size: 26rpx;
34 | text-align: right;
35 | border-top: 1rpx solid var(--weui-FG-4);
36 | margin-top: 8rpx;
37 | padding-top: 8rpx;
38 | }
39 |
40 | .fresns_sticker {
41 | padding: 0;
42 | margin: 0;
43 | zoom: 0.5;
44 | }
45 |
--------------------------------------------------------------------------------
/components/posts/post.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "markdown-viewer": "/sdk/components/markdown-viewer/markdown-viewer",
6 | "author": "/components/posts/sections/author",
7 | "files": "/components/posts/sections/files",
8 | "extend-text": "/components/posts/sections/extend-text",
9 | "extend-info": "/components/posts/sections/extend-info",
10 | "quoted-post": "/components/posts/sections/quoted-post",
11 | "preview-comments": "/components/posts/sections/preview-comments",
12 | "interaction": "/components/posts/sections/interaction"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/components/posts/sections/author.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/posts/sections/extend-info.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/posts/sections/extend-text.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "markdown-viewer": "/sdk/components/markdown-viewer/markdown-viewer"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/components/posts/sections/extend-text.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/components/posts/sections/extend-text.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .box-list {
7 | margin-top: 30rpx;
8 | }
9 |
10 | .frame-box-text {
11 | background-color: var(--weui-BG-1);
12 | padding: 20rpx;
13 | border-left: 8rpx solid var(--weui-BG-4);
14 | }
15 |
--------------------------------------------------------------------------------
/components/posts/sections/files.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/posts/sections/interaction.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "comment-box": "/components/comment-box/comment-box"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/components/posts/sections/preview-comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/posts/sections/quoted-post.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/posts/sections/quoted-post.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | {{post.group.name}}
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/components/posts/sections/quoted-post.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .quoted-box {
7 | margin-top: 30rpx;
8 | }
9 |
10 | .quoted-post {
11 | font-size: 28rpx;
12 | background-color: var(--weui-BG-0);
13 | border-radius: 12rpx;
14 | }
15 |
16 | .quoted-content {
17 | padding: 20rpx;
18 | }
19 |
20 | .quoted-post-avatar image {
21 | width: 80rpx;
22 | height: 80rpx;
23 | border-radius: 8rpx;
24 | margin-right: 12rpx;
25 | }
26 |
27 | .quoted-post-content {
28 | color: var(--weui-FG-0);
29 | overflow: hidden;
30 | text-overflow: ellipsis;
31 | word-break: break-all;
32 | }
33 |
34 | .quoted-post-group {
35 | color: var(--weui-FG-1);
36 | text-align: right;
37 | border-top: 1rpx solid var(--weui-FG-4);
38 | margin-top: 8rpx;
39 | padding-top: 8rpx;
40 | }
41 |
42 | .fresns_sticker {
43 | padding: 0;
44 | margin: 0;
45 | zoom: 0.5;
46 | }
47 |
--------------------------------------------------------------------------------
/components/users/profile.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "interaction": "/components/users/sections/interaction"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/components/users/sections/interaction.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/users/sections/interaction.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .mark-btn {
7 | display: flex;
8 | flex-wrap: wrap;
9 | }
10 |
11 | .mark-btn .weui-btn {
12 | margin-right: 20rpx;
13 | padding: 8rpx 18rpx !important;
14 | display: flex;
15 | align-items: center;
16 | }
17 |
18 | .mark-btn .weui-btn image {
19 | height: 28rpx;
20 | width: 28rpx;
21 | margin-right: 0;
22 | }
23 |
24 | .mark-btn .weui-btn .count {
25 | margin-left: 8rpx;
26 | font-size: 20rpx;
27 | }
28 |
29 | .mark-btn .weui-btn_default {
30 | font-weight: 400;
31 | color: var(--weui-FG-1);
32 | }
33 |
--------------------------------------------------------------------------------
/components/users/sections/switch.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/components/users/sections/switch.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 | {{postName}}
8 | {{commentName}}
9 | {{user.interaction.likeName}}
10 | {{user.interaction.dislikeName}}
11 | {{user.interaction.followName}}
12 | {{user.interaction.blockName}}
13 | {{fresnsLang.more}}
14 |
15 |
--------------------------------------------------------------------------------
/components/users/sections/switch.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-navbar {
7 | padding-top: 0 !important;
8 | }
9 |
10 | .weui-navbar__item {
11 | font-size: 28rpx;
12 | padding-top: 20rpx !important;
13 | padding-bottom: 20rpx !important;
14 | }
15 |
--------------------------------------------------------------------------------
/components/users/user.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | import { fresnsViewProfilePath } from '../../sdk/helpers/profiles';
7 |
8 | Component({
9 | /** 组件的属性列表 **/
10 | properties: {
11 | user: {
12 | type: Object,
13 | value: null,
14 | },
15 | },
16 |
17 | /** 组件的初始数据 **/
18 | data: {
19 | userProfilePath: '',
20 | },
21 |
22 | /** 组件生命周期声明对象 **/
23 | lifetimes: {
24 | attached: async function () {
25 | const user = this.data.user;
26 |
27 | const userProfilePath = await fresnsViewProfilePath(user.fsid);
28 |
29 | this.setData({
30 | userProfilePath: userProfilePath,
31 | });
32 | },
33 | },
34 | });
35 |
--------------------------------------------------------------------------------
/components/users/user.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "interaction": "/components/users/sections/interaction"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/comments/blocking.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我屏蔽的评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/comments/blocking.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/comments/blocking.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/comments/detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评论详情",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/comments/detail.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-media-box {
7 | padding: 1rpx;
8 | }
9 |
10 | .comment-box-btn .weui-tabbar__label {
11 | width: 90%;
12 | margin: 0 auto;
13 | text-align: left;
14 | border-radius: 72rpx;
15 | background-color: var(--weui-TAG-BACKGROUND-BLACK);
16 | color: var(--weui-TAG-TEXT-BLACK);
17 | padding: 16rpx 32rpx;
18 | font-size: 32rpx;
19 | }
20 |
--------------------------------------------------------------------------------
/pages/comments/dislikes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我踩的评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/comments/dislikes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/comments/dislikes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/comments/following.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我关注的评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/comments/following.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/comments/following.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/comments/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评论主页",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "comment": "/components/comments/comment"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/comments/index.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/pages/comments/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/comments/likes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我赞的评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/comments/likes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/comments/likes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/comments/list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评论列表",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "comment": "/components/comments/comment"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/comments/list.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/comments/list.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/conversations/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "消息",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/conversations/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-cells .weui-cell__hd {
7 | position: relative;
8 | margin-right: 20rpx;
9 | }
10 |
11 | .weui-cells .weui-cell__hd image {
12 | width: 100rpx;
13 | height: 100rpx;
14 | display: block;
15 | }
16 |
17 | .weui-cells .weui-cell__hd .weui-badge {
18 | position: absolute;
19 | top: -12.8rpx;
20 | right: -12.8rpx;
21 | }
22 |
23 | .weui-cells .weui-cell__bd .badge_desc {
24 | font-size: 24rpx;
25 | color: #888;
26 | margin-top: 10rpx;
27 | }
28 |
29 | .weui-cells .weui-cell__ft {
30 | font-size: 24rpx;
31 | }
32 |
33 | .user-avatar {
34 | border-radius: 12rpx;
35 | }
36 |
37 | .user-nickname {
38 | font-size: 28rpx;
39 | }
40 |
--------------------------------------------------------------------------------
/pages/conversations/messages.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "对话",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/editor/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "编辑器",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
5 | "editor": "/sdk/editor/editor"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/editor/index.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/pages/editor/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/geotags/blocking.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我屏蔽的地理",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "geotag": "/components/geotags/geotag"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/geotags/blocking.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/geotags/blocking.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/geotags/detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "地理详情",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "interaction": "/components/geotags/sections/interaction",
7 | "post": "/components/posts/post",
8 | "comment": "/components/comments/comment"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/geotags/detail.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-media-box,
7 | .interactive-geotag {
8 | background-color: var(--weui-BG-2);
9 | }
10 |
11 | .interactive-geotag {
12 | overflow: hidden;
13 | padding: 0 40rpx 30rpx 40rpx;
14 | }
15 |
16 | .interactive-geotag .weui-media-box__info {
17 | margin-top: 0;
18 | padding-bottom: 0;
19 | }
20 |
21 | .interactive-btn {
22 | margin-top: 30rpx;
23 | display: flex;
24 | }
25 |
--------------------------------------------------------------------------------
/pages/geotags/dislikes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我赞的地理",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "geotag": "/components/geotags/geotag"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/geotags/dislikes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/geotags/dislikes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/geotags/following.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我关注的地理",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "geotag": "/components/geotags/geotag"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/geotags/following.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/geotags/following.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/geotags/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "地理主页",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "geotag": "/components/geotags/geotag"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/geotags/index.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/pages/geotags/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/geotags/likes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我赞的地理",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "geotag": "/components/geotags/geotag"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/geotags/likes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/geotags/likes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/geotags/list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "地理列表",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "geotag": "/components/geotags/geotag"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/geotags/list.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/geotags/list.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/groups/blocking.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我屏蔽的小组",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "group": "/components/groups/group"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/groups/blocking.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/groups/blocking.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/groups/detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "小组详情",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "interaction": "/components/groups/sections/interaction",
7 | "post": "/components/posts/post",
8 | "comment": "/components/comments/comment"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/groups/dislikes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我踩的小组",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "group": "/components/groups/group"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/groups/dislikes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/groups/dislikes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/groups/following.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我关注的小组",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "group": "/components/groups/group"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/groups/following.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/groups/following.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/groups/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "小组主页",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "group": "/components/groups/group"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/groups/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .tree {
7 | display: flex;
8 | flex: 1;
9 | }
10 |
11 | .left-scroll {
12 | width: 250rpx;
13 | white-space: nowrap;
14 | background-color: var(--weui-BG-1);
15 | }
16 |
17 | .right-scroll {
18 | overflow: hidden;
19 | background-color: var(--weui-BG-2);
20 | }
21 |
22 | .tree-list {
23 | padding: 30rpx;
24 | }
25 |
26 | .action {
27 | background-color: var(--weui-BG-2);
28 | padding-left: 20rpx;
29 | border-left: 10rpx solid var(--weui-BRAND-100);
30 | }
31 |
--------------------------------------------------------------------------------
/pages/groups/likes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我赞的小组",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "group": "/components/groups/group"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/groups/likes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/groups/likes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/groups/list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "小组列表",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "group": "/components/groups/group"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/groups/list.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/groups/list.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/hashtags/blocking.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我屏蔽的话题",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "hashtag": "/components/hashtags/hashtag"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/hashtags/blocking.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/hashtags/blocking.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/hashtags/detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "话题详情",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "interaction": "/components/hashtags/sections/interaction",
7 | "post": "/components/posts/post",
8 | "comment": "/components/comments/comment"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/hashtags/detail.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-media-box,
7 | .interactive-hashtag {
8 | background-color: var(--weui-BG-2);
9 | }
10 |
11 | .interactive-hashtag {
12 | overflow: hidden;
13 | padding: 0 40rpx 30rpx 40rpx;
14 | }
15 |
16 | .interactive-hashtag .weui-media-box__info {
17 | margin-top: 0;
18 | padding-bottom: 0;
19 | }
20 |
21 | .interactive-btn {
22 | margin-top: 30rpx;
23 | display: flex;
24 | }
25 |
--------------------------------------------------------------------------------
/pages/hashtags/dislikes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我赞的话题",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "hashtag": "/components/hashtags/hashtag"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/hashtags/dislikes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/hashtags/dislikes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/hashtags/following.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我关注的话题",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "hashtag": "/components/hashtags/hashtag"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/hashtags/following.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/hashtags/following.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/hashtags/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "话题主页",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "hashtag": "/components/hashtags/hashtag"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/hashtags/index.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/pages/hashtags/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/hashtags/likes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我赞的话题",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "hashtag": "/components/hashtags/hashtag"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/hashtags/likes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/hashtags/likes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/hashtags/list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "话题列表",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "hashtag": "/components/hashtags/hashtag"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/hashtags/list.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/hashtags/list.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/me/drafts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "草稿",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
5 | "loading": "/sdk/components/loading/loading"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/me/drafts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-tab {
7 | height: 100rpx;
8 | }
9 |
10 | .weui-navbar {
11 | padding-top: 0 !important;
12 | }
13 |
14 | .weui-navbar__item {
15 | padding-top: 32rpx;
16 | }
17 |
18 | .weui-bar__item_on {
19 | background-color: var(--weui-BG-COLOR-ACTIVE);
20 | }
21 |
22 | .empty-content {
23 | color: var(--weui-FG-1);
24 | }
25 |
--------------------------------------------------------------------------------
/pages/me/extcredits.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户积分",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
5 | "loading": "/sdk/components/loading/loading"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/me/extcredits.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .desc_info {
7 | color: var(--weui-FG-1);
8 | font-size: small;
9 | margin-top: 12rpx;
10 | }
11 |
--------------------------------------------------------------------------------
/pages/me/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "个人中心",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
5 | "tabbar": "/components/commons/tabbar/tabbar",
6 | "loading": "/sdk/components/loading/loading"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/me/login/check-sign.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "微信登录",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/pages/me/login/check-sign.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 | {{fresnsLang.accountConnectEmpty}}
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/me/login/check-sign.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .tip {
7 | font-size: 34rpx;
8 | font-weight: 400;
9 | color: var(--weui-FG-0);
10 | margin: 60rpx;
11 | text-align: center;
12 | }
13 |
14 | .weui-btn {
15 | width: 500rpx !important;
16 | }
17 |
--------------------------------------------------------------------------------
/pages/me/login/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "登录",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/pages/me/login/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .we-login-agree {
7 | margin-top: 40rpx;
8 | }
9 |
10 | .we-login-agree .weui-btn {
11 | width: 400rpx;
12 | }
13 |
14 | .we-login-agree .apple-btn {
15 | background-color: black;
16 | color: white;
17 | }
18 |
19 | .we-login-agree .btn-flex {
20 | display: flex;
21 | }
22 |
23 | .we-login-agree .btn-flex image {
24 | width: 44rpx;
25 | height: 44rpx;
26 | margin-right: 10rpx;
27 | margin-top: 4rpx;
28 | }
29 |
30 | .pw-login {
31 | margin-bottom: 40rpx;
32 | }
33 |
34 | .register-btn-box {
35 | background-color: var(--weui-BG-0);
36 | padding-top: 30rpx;
37 | padding-bottom: calc(30rpx + constant(safe-area-inset-bottom));
38 | padding-bottom: calc(30rpx + env(safe-area-inset-bottom));
39 | text-align: center;
40 | }
41 |
--------------------------------------------------------------------------------
/pages/me/login/oauth-website.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "微信登录",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/pages/me/login/oauth-website.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | {{fresnsLang.accountConnectEmpty}}
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/pages/me/login/oauth-website.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .tip {
7 | font-size: 34rpx;
8 | font-weight: 400;
9 | color: var(--weui-FG-0);
10 | margin: 60rpx;
11 | text-align: center;
12 | }
13 |
14 | .weui-btn {
15 | width: 500rpx !important;
16 | }
17 |
--------------------------------------------------------------------------------
/pages/me/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "设置",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/pages/me/users.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "选择用户",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/pages/me/users.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | {{user.nickname}}
18 | @{{user.username}}
19 |
20 |
21 | {{user.hasPin ? fresnsLang.userPinLogin : fresnsLang.select}}
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/pages/me/users.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-cells__title {
7 | padding-top: 30rpx;
8 | }
9 |
10 | .weui-cell__hd image {
11 | width: 88rpx;
12 | height: 88rpx;
13 | margin-right: 30rpx;
14 | }
15 |
16 | .username {
17 | font-size: 28rpx;
18 | color: var(--weui-FG-1);
19 | }
20 |
--------------------------------------------------------------------------------
/pages/me/wallet.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "钱包",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
5 | "loading": "/sdk/components/loading/loading"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/me/wallet.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .desc_info {
7 | color: var(--weui-FG-1);
8 | font-size: small;
9 | margin-top: 12rpx;
10 | }
11 |
--------------------------------------------------------------------------------
/pages/nearby/comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "附近的评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/nearby/comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/nearby/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "附近",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "post": "/components/posts/post",
8 | "comment": "/components/comments/comment"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/nearby/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-cells {
7 | margin-top: 0;
8 | }
9 |
10 | .weui-cell__hd image {
11 | width: 44rpx;
12 | height: 44rpx;
13 | margin-right: 10rpx;
14 | }
15 |
--------------------------------------------------------------------------------
/pages/nearby/posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "附近的帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/nearby/posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/notifications/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "通知",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "notification": "/components/notification/notification"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/notifications/index.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/pages/notifications/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/portal/about.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "About",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
5 | "markdown-viewer": "/sdk/components/markdown-viewer/markdown-viewer"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/portal/about.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .page {
7 | padding: 0 40rpx;
8 | }
9 |
10 | .page__hd {
11 | margin-bottom: 40rpx;
12 | padding: 0 20rpx;
13 | }
14 |
15 | .page__logo {
16 | padding: 40rpx 0;
17 | width: 400rpx;
18 | margin: 0 auto;
19 | }
20 |
21 | .page__logo image {
22 | width: 400rpx;
23 | }
24 |
25 | .page__title {
26 | font-size: 40rpx;
27 | font-weight: 500;
28 | margin-bottom: 20rpx;
29 | }
30 |
31 | .page__desc {
32 | margin-bottom: 20rpx;
33 | }
34 |
35 | .weui-loadmore_line .weui-loadmore__tips {
36 | background-color: var(--weui-BG-1) !important;
37 | }
38 |
39 | .weui-footer {
40 | margin: 60rpx 0;
41 | }
42 |
--------------------------------------------------------------------------------
/pages/portal/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | import { fresnsConfig } from '../../sdk/helpers/configs';
7 |
8 | Page({
9 | /** 外部 mixin 引入 **/
10 | mixins: [require('../../mixins/common')],
11 |
12 | /** 页面的初始数据 **/
13 | data: {
14 | title: null,
15 | content: null,
16 | },
17 |
18 | /** 监听页面加载 **/
19 | onLoad: async function () {
20 | this.setData({
21 | title: await fresnsConfig('channel_portal_name', '门户'),
22 | content: await fresnsConfig('portal_7', 'null'),
23 | });
24 | },
25 |
26 | /** 右上角菜单-分享给好友 **/
27 | onShareAppMessage: function () {
28 | return {
29 | title: this.data.title,
30 | };
31 | },
32 |
33 | /** 右上角菜单-分享到朋友圈 **/
34 | onShareTimeline: function () {
35 | return {
36 | title: this.data.title,
37 | };
38 | },
39 |
40 | /** 右上角菜单-收藏 **/
41 | onAddToFavorites: function () {
42 | return {
43 | title: this.data.title,
44 | };
45 | },
46 | });
47 |
--------------------------------------------------------------------------------
/pages/portal/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "门户",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
5 | "tabbar": "/components/commons/tabbar/tabbar"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/portal/index.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 | {{content}}
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/pages/portal/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/portal/policies.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "隐私权和条款",
3 | "usingComponents": {
4 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
5 | "markdown-viewer": "/sdk/components/markdown-viewer/markdown-viewer"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/portal/policies.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/pages/portal/policies.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .tab-header {
7 | display: flex;
8 | flex-direction: row;
9 | padding: 0 20rpx;
10 | padding-top: 20rpx;
11 | border-bottom: 1rpx solid var(--weui-BG-4);
12 | background-color: var(--weui-BG-2);
13 | }
14 |
15 | .tab-item {
16 | font-size: 30rpx;
17 | margin: 0 15rpx;
18 | padding: 15rpx 0;
19 | }
20 |
21 | .tab-item.active {
22 | color: var(--weui-BRAND-100);
23 | border-bottom: 4rpx solid var(--weui-BRAND-100);
24 | }
25 |
26 | .tab-container {
27 | padding: 40rpx;
28 | margin-bottom: 40rpx;
29 | }
30 |
--------------------------------------------------------------------------------
/pages/posts/blocking.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我屏蔽的帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/posts/blocking.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/posts/blocking.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/posts/detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "帖子详情",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post",
7 | "comment": "/components/comments/comment",
8 | "interaction": "/components/posts/sections/interaction"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/posts/detail.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .detail-bar {
7 | width: 100% !important;
8 | position: relative;
9 | z-index: 500;
10 | background-color: var(--weui-BG-1);
11 | border-top: 1rpx solid var(--weui-FG-3);
12 | }
13 |
14 | .comment-bar {
15 | width: 96% !important;
16 | margin: 0 auto;
17 | padding-bottom: env(safe-area-inset-bottom);
18 | box-sizing: border-box;
19 | }
20 |
21 | .weui-cells__title {
22 | display: flex;
23 | }
24 |
--------------------------------------------------------------------------------
/pages/posts/dislikes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我踩的帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/posts/dislikes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/posts/dislikes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/posts/following.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我关注的帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/posts/following.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/posts/following.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/posts/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "帖子主页",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "post": "/components/posts/post"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/posts/index.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/pages/posts/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/posts/likes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我赞的帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/posts/likes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/posts/likes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/posts/list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "帖子列表",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "post": "/components/posts/post"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/posts/list.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/posts/list.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/profile/blocking/comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "comment": "/components/comments/comment"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/blocking/comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/blocking/geotags.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "hashtag": "/components/hashtags/hashtag"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/blocking/geotags.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/blocking/groups.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "group": "/components/groups/group"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/blocking/groups.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | {{listTitle}}
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/pages/profile/blocking/groups.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/blocking/hashtags.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "hashtag": "/components/hashtags/hashtag"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/blocking/hashtags.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/blocking/posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "post": "/components/posts/post"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/blocking/posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/blocking/users.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "user": "/components/users/user"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/blocking/users.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | {{listTitle}}
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/pages/profile/blocking/users.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "comment": "/components/comments/comment"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "comment": "/components/comments/comment"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/geotags.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "hashtag": "/components/hashtags/hashtag"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/geotags.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/groups.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "group": "/components/groups/group"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/groups.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/hashtags.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "hashtag": "/components/hashtags/hashtag"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/hashtags.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "post": "/components/posts/post"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/users.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "user": "/components/users/user"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/users.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | {{listTitle}}
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/pages/profile/dislikes/users.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/following/comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "comment": "/components/comments/comment"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/following/comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/following/geotags.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "hashtag": "/components/hashtags/hashtag"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/following/geotags.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/following/groups.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "group": "/components/groups/group"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/following/groups.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/following/hashtags.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "hashtag": "/components/hashtags/hashtag"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/following/hashtags.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/following/posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "post": "/components/posts/post"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/following/posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/following/users.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "user": "/components/users/user"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/following/users.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | {{listTitle}}
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/pages/profile/following/users.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/interactions/blockers.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "user": "/components/users/user"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/interactions/blockers.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/interactions/dislikers.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "user": "/components/users/user"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/interactions/dislikers.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/interactions/followers-you-follow.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "user": "/components/users/user"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/interactions/followers-you-follow.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/interactions/followers.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "user": "/components/users/user"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/interactions/followers.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/interactions/likers.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "user": "/components/users/user"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/interactions/likers.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/likes/comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "comment": "/components/comments/comment"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/likes/comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/likes/geotags.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "hashtag": "/components/hashtags/hashtag"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/likes/geotags.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/likes/groups.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "group": "/components/groups/group"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/likes/groups.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/likes/hashtags.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "hashtag": "/components/hashtags/hashtag"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/likes/hashtags.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/likes/posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "post": "/components/posts/post"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/likes/posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/likes/users.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "user": "/components/users/user"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/likes/users.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | {{listTitle}}
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/pages/profile/likes/users.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/profile/posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "profile-user": "/components/users/profile",
7 | "profile-switch": "/components/users/sections/switch",
8 | "post": "/components/posts/post"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/profile/posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import '/assets/styles/profile.wxss';
7 |
--------------------------------------------------------------------------------
/pages/search/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "搜索",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "user": "/components/users/user",
7 | "group": "/components/groups/group",
8 | "hashtag": "/components/hashtags/hashtag",
9 | "post": "/components/posts/post",
10 | "comment": "/components/comments/comment"
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/pages/search/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "全部关注的评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/timelines/comments.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/timelines/comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/geotag-comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "关注地理的评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/timelines/geotag-comments.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/timelines/geotag-comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/geotag-posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "关注地理的帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/timelines/geotag-posts.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/timelines/geotag-posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/group-comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "关注小组的评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/timelines/group-comments.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/timelines/group-comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/group-posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "关注小组的帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/timelines/group-posts.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/timelines/group-posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/hashtag-comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "关注话题的评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/timelines/hashtag-comments.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/timelines/hashtag-comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/hashtag-posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "关注话题的帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/timelines/hashtag-posts.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/timelines/hashtag-posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "时间线主页",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "post": "/components/posts/post",
8 | "comment": "/components/comments/comment"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/pages/timelines/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "全部关注的帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/timelines/posts.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/timelines/posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/user-comments.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "关注用户的评论",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "comment": "/components/comments/comment"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/timelines/user-comments.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/timelines/user-comments.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/timelines/user-posts.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "关注用户的帖子",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "post": "/components/posts/post"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/timelines/user-posts.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/timelines/user-posts.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/users/blocking.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我屏蔽的用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "user": "/components/users/user"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/users/blocking.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/users/blocking.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/users/dislikes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我踩的用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "user": "/components/users/user"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/users/dislikes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/users/dislikes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/users/following.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我关注的用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "user": "/components/users/user"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/users/following.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/users/following.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/users/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户主页",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "user": "/components/users/user"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/users/index.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/pages/users/index.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/users/likes.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我赞的用户",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "user": "/components/users/user"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/pages/users/likes.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/users/likes.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/users/list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户列表",
3 | "usingComponents": {
4 | "loading": "/sdk/components/loading/loading",
5 | "navigation-bar": "/components/commons/navigation-bar/navigation-bar",
6 | "tabbar": "/components/commons/tabbar/tabbar",
7 | "user": "/components/users/user"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pages/users/list.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/users/list.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/project.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "compileType": "miniprogram",
3 | "libVersion": "trial",
4 | "packOptions": {
5 | "ignore": [],
6 | "include": []
7 | },
8 | "setting": {
9 | "coverView": true,
10 | "es6": true,
11 | "postcss": true,
12 | "minified": true,
13 | "enhance": true,
14 | "skylineRenderEnable": true,
15 | "compileHotReLoad": true,
16 | "showShadowRootInWxmlPanel": true,
17 | "packNpmRelationList": [],
18 | "babelSetting": {
19 | "ignore": [],
20 | "disablePlugins": [],
21 | "outputPath": ""
22 | },
23 | "ignoreUploadUnusedFiles": true,
24 | "uglifyFileName": true
25 | },
26 | "condition": {},
27 | "editorSetting": {
28 | "tabIndent": "insertSpaces",
29 | "tabSize": 2
30 | },
31 | "appid": "wxcdaa14554bd22f64"
32 | }
--------------------------------------------------------------------------------
/sdk/api/plugins.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | import wechatLogin from './plugins/wechat-login';
7 | import sharePoster from './plugins/share-poster';
8 |
9 | export const plugins = {
10 | wechatLogin, // https://marketplace.fresns.cn/open-source/detail/WeChatLogin
11 | sharePoster, // https://marketplace.fresns.cn/open-source/detail/SharePoster
12 | };
13 |
--------------------------------------------------------------------------------
/sdk/api/plugins/share-poster.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | import { request } from '../tool/request';
7 |
8 | /**
9 | * 生成分享海报
10 | * https://marketplace.fresns.cn/open-source/detail/SharePoster
11 | */
12 |
13 | const sharePoster = {
14 | // 生成分享海报
15 | generate: (options = {}) => {
16 | return request({
17 | path: '/api/share-poster/generate',
18 | method: 'GET',
19 | data: {
20 | ...options,
21 | },
22 | });
23 | },
24 | };
25 |
26 | export default sharePoster;
27 |
--------------------------------------------------------------------------------
/sdk/components/loading/loading.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/components/loading/loading.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | {{loading}}
14 |
15 |
16 |
17 |
18 |
19 |
20 | {{tipText}}
21 |
22 |
23 |
--------------------------------------------------------------------------------
/sdk/components/markdown-viewer/markdown-viewer.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/sdk/components/markdown-viewer/markdown-viewer.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
--------------------------------------------------------------------------------
/sdk/components/markdown-viewer/markdown-viewer.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | @import './prism.wxss';
7 |
--------------------------------------------------------------------------------
/sdk/editor/editor.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .editor-form {
7 | padding-bottom: calc(160rpx + env(safe-area-inset-bottom));
8 | }
9 |
10 | .editor-items {
11 | background-color: var(--weui-BG-2);
12 | padding-bottom: 30rpx;
13 | }
14 |
15 | .editor-label {
16 | padding: 0 32rpx;
17 | display: flex;
18 | margin-top: -50rpx;
19 | }
20 |
21 | .publish-btn {
22 | margin: 60rpx 0;
23 | }
24 |
--------------------------------------------------------------------------------
/sdk/editor/expands/archives/archives.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/expands/archives/archives.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-cell__ft image {
7 | width: 100rpx;
8 | height: 100rpx;
9 | }
10 |
11 | .weui-half-screen-dialog__bd {
12 | padding-bottom: 0 !important;
13 | }
14 |
15 | .element-options {
16 | display: flex;
17 | justify-content: flex-end;
18 | }
19 |
20 | .element-options .weui-badge {
21 | margin-left: 10rpx;
22 | background-color: var(--weui-GLYPH-2);
23 | }
24 |
25 | .color-block {
26 | width: 44rpx;
27 | height: 44rpx;
28 | border-radius: 4rpx;
29 | }
30 |
--------------------------------------------------------------------------------
/sdk/editor/expands/content/info-box.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | Component({
7 | /** 组件的属性列表 **/
8 | properties: {
9 | type: {
10 | type: String,
11 | value: 'post',
12 | },
13 | did: {
14 | type: String,
15 | value: null,
16 | },
17 | infos: {
18 | type: Array,
19 | value: [],
20 | },
21 | },
22 |
23 | /** 组件功能 **/
24 | methods: {
25 | handleExtensionTap: function (e) {
26 | const navigatorData = e.currentTarget.dataset;
27 |
28 | console.log('handleExtensionTap navigatorData', navigatorData);
29 |
30 | const app = getApp();
31 | app.globalData.navigatorData = navigatorData;
32 | },
33 | },
34 | });
35 |
--------------------------------------------------------------------------------
/sdk/editor/expands/content/info-box.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/expands/content/text-box.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | Component({
7 | /** 组件的属性列表 **/
8 | properties: {
9 | type: {
10 | type: String,
11 | value: 'post',
12 | },
13 | did: {
14 | type: String,
15 | value: null,
16 | },
17 | texts: {
18 | type: Array,
19 | value: [],
20 | },
21 | },
22 |
23 | /** 组件功能 **/
24 | methods: {
25 | handleExtensionTap: function (e) {
26 | const navigatorData = e.currentTarget.dataset;
27 |
28 | console.log('handleExtensionTap navigatorData', navigatorData);
29 |
30 | const app = getApp();
31 | app.globalData.navigatorData = navigatorData;
32 | },
33 | },
34 | });
35 |
--------------------------------------------------------------------------------
/sdk/editor/expands/content/text-box.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "markdown-viewer": "/sdk/components/markdown-viewer/markdown-viewer"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/sdk/editor/expands/content/text-box.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/sdk/editor/expands/content/text-box.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .box-list {
7 | margin: 32rpx 32rpx 0 32rpx;
8 | }
9 |
10 | .frame-box-text {
11 | background-color: var(--weui-BG-1);
12 | padding: 20rpx;
13 | border-left: 8rpx solid var(--weui-BG-4);
14 | }
15 |
--------------------------------------------------------------------------------
/sdk/editor/expands/read-config/read-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/expands/read-config/read-config.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-panel:first-child {
7 | margin-top: 20rpx !important;
8 | }
9 |
10 | .weui-panel__hd {
11 | display: flex;
12 | justify-content: space-between;
13 | font-size: 26rpx !important;
14 | padding: 26rpx 32rpx !important;
15 | }
16 |
17 | .panel-title {
18 | padding-top: 6rpx;
19 | }
20 |
21 | .weui-cell {
22 | font-size: 26rpx !important;
23 | padding: 26rpx 32rpx !important;
24 | }
25 |
26 | .whitelist {
27 | display: flex;
28 | justify-content: flex-end;
29 | }
30 |
31 | .whitelist .weui-badge {
32 | margin-left: 10rpx;
33 | background-color: var(--weui-GLYPH-2);
34 | }
35 |
--------------------------------------------------------------------------------
/sdk/editor/sections/anonymous/anonymous.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/sections/anonymous/anonymous.wxml:
--------------------------------------------------------------------------------
1 |
6 |
11 |
--------------------------------------------------------------------------------
/sdk/editor/sections/anonymous/anonymous.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .checkbox {
7 | display: flex;
8 | margin-right: 100rpx;
9 | margin-top: 8rpx;
10 | }
11 |
--------------------------------------------------------------------------------
/sdk/editor/sections/content/content.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/sections/content/content.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
21 | {{currentContentLength}}/{{config.contentLength}}
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/sdk/editor/sections/content/content.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .editor-content {
7 | background-color: var(--weui-BG-2);
8 | }
9 |
10 | .weui-textarea-counter {
11 | margin-top: 20rpx;
12 | }
13 |
14 | .weui-cell {
15 | padding: 32rpx 32rpx 0 32rpx !important;
16 | }
17 |
--------------------------------------------------------------------------------
/sdk/editor/sections/draft-selector/draft-selector.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "loading": "/sdk/components/loading/loading"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/sdk/editor/sections/draft-selector/draft-selector.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .draft-selector {
7 | display: flex;
8 | flex-direction: column;
9 | height: 100vh;
10 | padding-bottom: env(safe-area-inset-bottom);
11 | }
12 |
13 | .button-sp-area {
14 | text-align: center;
15 | }
16 |
17 | .button-sp-area button {
18 | margin: 60rpx auto;
19 | }
20 |
21 | .draft-list {
22 | flex: 1;
23 | }
24 |
25 | .empty-content {
26 | color: var(--weui-FG-1);
27 | }
28 |
29 | .weui-cell__ft {
30 | font-size: 24rpx;
31 | }
32 |
33 | .list-area {
34 | height: calc(300rpx + env(safe-area-inset-bottom));
35 | overflow: hidden;
36 | }
37 |
--------------------------------------------------------------------------------
/sdk/editor/sections/files/files.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/sections/group/group.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {
5 | "loading": "/sdk/components/loading/loading"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/sdk/editor/sections/hashtag/hashtag.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/sections/location/location.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/sections/location/location.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
--------------------------------------------------------------------------------
/sdk/editor/sections/location/location.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/sdk/editor/sections/mention/mention.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/sections/mention/mention.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-half-screen-dialog__bd {
7 | padding-bottom: 0 !important;
8 | }
9 |
10 | .weui-search-bar {
11 | padding: 20rpx 0;
12 | }
13 |
14 | .weui-search-bar__input {
15 | padding: 12rpx 0 0 0 !important;
16 | }
17 |
18 | .result-list {
19 | height: 60vh;
20 | }
21 |
22 | .weui-cell__hd {
23 | margin-right: 20rpx;
24 | }
25 |
26 | .weui-cell__hd image {
27 | width: 80rpx;
28 | height: 80rpx;
29 | }
30 |
31 | .username {
32 | font-size: 28rpx;
33 | color: var(--weui-FG-2);
34 | }
35 |
--------------------------------------------------------------------------------
/sdk/editor/sections/quoted-post/quoted-post.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/sections/quoted-post/quoted-post.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | {{quotedPost.group.name}}
17 |
18 |
19 |
--------------------------------------------------------------------------------
/sdk/editor/sections/quoted-post/quoted-post.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .quote-post-box {
7 | background-color: var(--weui-BG-2);
8 | padding: 40rpx;
9 | }
10 |
11 | .quote-post {
12 | padding: 20rpx 30rpx;
13 | font-size: 28rpx;
14 | background-color: var(--weui-BG-0);
15 | border-radius: 12rpx;
16 | }
17 |
18 | .quote-post-avatar image {
19 | width: 80rpx;
20 | height: 80rpx;
21 | border-radius: 8rpx;
22 | margin-right: 12rpx;
23 | }
24 |
25 | .quote-post-content {
26 | color: var(--weui-FG-0);
27 | overflow: hidden;
28 | text-overflow: ellipsis;
29 | word-break: break-all;
30 | }
31 |
32 | .quote-post-group {
33 | color: var(--weui-FG-1);
34 | text-align: right;
35 | border-top: 1rpx solid var(--weui-FG-4);
36 | margin-top: 8rpx;
37 | padding-top: 8rpx;
38 | }
39 |
40 | .fresns_sticker {
41 | padding: 0;
42 | margin: 0;
43 | zoom: 0.5;
44 | }
45 |
--------------------------------------------------------------------------------
/sdk/editor/sections/title/title.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/sections/title/title.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/sdk/editor/sections/title/title.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .editor-title {
7 | background-color: var(--weui-BG-2);
8 | }
9 |
10 | .weui-cell {
11 | padding: 32rpx 32rpx 0 32rpx !important;
12 | }
13 |
--------------------------------------------------------------------------------
/sdk/editor/sections/toolbar/toolbar.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/tips/edit-controls/edit-controls.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | import { fresnsLang } from '../../../helpers/configs';
7 |
8 | Component({
9 | /** 组件的属性列表 **/
10 | properties: {
11 | controls: {
12 | type: Object,
13 | value: {},
14 | },
15 | },
16 |
17 | /** 组件的初始数据 **/
18 | data: {
19 | fresnsLang: null,
20 | },
21 |
22 | /** 组件生命周期声明对象 **/
23 | lifetimes: {
24 | attached: async function () {
25 | this.setData({
26 | fresnsLang: await fresnsLang(),
27 | });
28 | },
29 | },
30 | });
31 |
--------------------------------------------------------------------------------
/sdk/editor/tips/edit-controls/edit-controls.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/tips/edit-controls/edit-controls.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 | {{fresnsLang.editorEditTimeTitle}}
9 | {{fresnsLang.editorEditTimeDesc}}: {{controls.editableTime}} ({{controls.deadlineTime}})
10 |
11 |
12 | {{fresnsLang.errorTimeout}}
13 | {{fresnsLang.editorEditTimeTitle}}
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sdk/editor/tips/edit-controls/edit-controls.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .editor-edit-tip {
7 | width: 90%;
8 | margin: 20rpx auto;
9 | border-radius: 20rpx;
10 | background-color: var(--weui-LIGHTGREEN);
11 | color: var(--weui-FG-0);
12 | padding: 20rpx;
13 | }
14 |
15 | .editor-edit-tip .tip-desc {
16 | margin-top: 10rpx;
17 | }
18 |
--------------------------------------------------------------------------------
/sdk/editor/tips/publish-limit/publish-limit.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | import { fresnsLang } from '../../../helpers/configs';
7 |
8 | Component({
9 | /** 组件的属性列表 **/
10 | properties: {
11 | publishLimit: {
12 | type: Object,
13 | value: {},
14 | },
15 | },
16 |
17 | /** 组件的初始数据 **/
18 | data: {
19 | fresnsLang: null,
20 | },
21 |
22 | /** 组件生命周期声明对象 **/
23 | lifetimes: {
24 | attached: async function () {
25 | this.setData({
26 | fresnsLang: await fresnsLang(),
27 | });
28 | },
29 | },
30 | });
31 |
--------------------------------------------------------------------------------
/sdk/editor/tips/publish-limit/publish-limit.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/tips/publish-limit/publish-limit.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .tip-title {
7 | color: var(--weui-RED) !important;
8 | }
9 |
10 | .weui-cell {
11 | font-size: 26rpx !important;
12 | padding: 26rpx 32rpx !important;
13 | }
14 |
--------------------------------------------------------------------------------
/sdk/editor/tips/publish-perm/publish-perm.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | Component({
7 | /** 组件的属性列表 **/
8 | properties: {
9 | publishPerm: {
10 | type: Object,
11 | value: {},
12 | },
13 | },
14 | });
15 |
--------------------------------------------------------------------------------
/sdk/editor/tips/publish-perm/publish-perm.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "styleIsolation": "apply-shared",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/editor/tips/publish-perm/publish-perm.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 | {{item}}
11 |
12 |
--------------------------------------------------------------------------------
/sdk/editor/tips/publish-perm/publish-perm.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | .weui-information-bar {
7 | position: static;
8 | margin: 40rpx;
9 | }
10 |
--------------------------------------------------------------------------------
/sdk/env.example.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | module.exports = {
7 | // App ID 和 App Key 创建位置: Fresns 后台 -> 客户端 -> 应用密钥
8 | // 密钥平台选「Mini Program」,类型选「主程 API」
9 |
10 | apiHost: 'https://discuss.fresns.org', // 你自己站点的地址
11 |
12 | spaceId: '', // Fresns Space ID 没有则留空
13 | appId: 'App ID',
14 | appKey: 'App Key',
15 |
16 | // 开启 true 停用 false
17 | enableApiQuic: false, // API 是否启用 Quic
18 | enableWeChatLogin: true, // 是否启用微信登录,需安装插件 https://marketplace.fresns.cn/open-source/detail/WeChatLogin
19 | enableWeChatAutoLogin: false, // 是否启用微信自动登录
20 |
21 | enableSharePoster: false, // 分享支持生成海报图,需安装插件 https://marketplace.fresns.cn/open-source/detail/SharePoster
22 |
23 | mpId: '', // 小程序原始ID,多端应用使用,小程序后台->设置->基本设置->账号信息
24 |
25 | clientPlatformId: 11, // 客户端平台编号 https://docs.fresns.com/zh-hans/clients/reference/dictionary/platforms.html
26 | clientVersion: '1.0.0', // 客户端版本
27 | email: '', // 管理员邮箱,当程序遇到无法使用的时候,可供用户发送反馈邮件
28 | };
29 |
--------------------------------------------------------------------------------
/sdk/extensions/functions.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | module.exports = {
7 | handleExtensionTap: async function (e) {
8 | const navigatorData = e.currentTarget.dataset;
9 |
10 | console.log('handleExtensionTap navigatorData', navigatorData);
11 |
12 | const app = getApp();
13 | app.globalData.navigatorData = navigatorData;
14 | },
15 | };
16 |
--------------------------------------------------------------------------------
/sdk/extensions/webview.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "Fresns Extensions",
3 | "renderer": "webview",
4 | "usingComponents": {}
5 | }
6 |
--------------------------------------------------------------------------------
/sdk/extensions/webview.wxml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
--------------------------------------------------------------------------------
/sdk/extensions/webview.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 |
--------------------------------------------------------------------------------
/sdk/helpers/extensions.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Fresns 微信小程序 (https://fresns.cn)
3 | * Copyright 2021-Present 唐杰
4 | * Licensed under the Apache-2.0 license
5 | */
6 | import { getHeaders } from '../api/tool/header';
7 | import { base64_encode } from '../utilities/base64';
8 |
9 | // 生成访问令牌
10 | export async function makeAccessToken() {
11 | const headers = await getHeaders();
12 |
13 | delete headers['Accept'];
14 |
15 | const headersStr = JSON.stringify(headers).replace(/\n|\r/g, '');
16 | const base64Encoded = base64_encode(headersStr);
17 | const urlEncoded = encodeURIComponent(base64Encoded);
18 |
19 | // https://docs.fresns.com/zh-hans/clients/reference/callback/access-token.html
20 |
21 | return urlEncoded;
22 | }
23 |
24 | // 替换 URL 变量值
25 | export function repAppUrl(url = '', params = {}) {
26 | let updatedUrl = decodeURIComponent(url);
27 |
28 | for (const key in params) {
29 | const value = params[key];
30 | const placeholder = `{${key}}`;
31 |
32 | updatedUrl = updatedUrl.replace(placeholder, value);
33 | }
34 |
35 | return updatedUrl;
36 | }
37 |
--------------------------------------------------------------------------------
/sitemap.json:
--------------------------------------------------------------------------------
1 | {
2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
3 | "rules": [{
4 | "action": "allow",
5 | "page": "*"
6 | }]
7 | }
--------------------------------------------------------------------------------
/theme.json:
--------------------------------------------------------------------------------
1 | {
2 | "light": {
3 | "navBgColor": "#f6f6f6",
4 | "navTxtStyle": "black",
5 | "bgColor": "#ffffff",
6 | "bgTxtStyle": "light",
7 | "bgColorTop": "#eeeeee",
8 | "bgColorBottom": "#efefef",
9 | "tabFontColor": "#000000",
10 | "tabSelectedColor": "#3cc51f",
11 | "tabBgColor": "#ffffff",
12 | "tabBorderStyle": "black"
13 | },
14 | "dark": {
15 | "navBgColor": "#191919",
16 | "navTxtStyle": "white",
17 | "bgColor": "#1f1f1f",
18 | "bgTxtStyle": "dark",
19 | "bgColorTop": "#191919",
20 | "bgColorBottom": "#1f1f1f",
21 | "tabFontColor": "#ffffff",
22 | "tabSelectedColor": "#51a937",
23 | "tabBgColor": "#191919",
24 | "tabBorderStyle": "white"
25 | }
26 | }
--------------------------------------------------------------------------------