chore: 首次纳入版本控制(审查前基线,v1.2.0)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
Page({
|
||||
data: { url: "" },
|
||||
|
||||
onLoad(query) {
|
||||
this.setData({ url: decodeURIComponent(query.url || "") });
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"navigationBarTitleText": "周日那张纸"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<web-view src="{{url}}" wx:if="{{url}}" />
|
||||
<view class="wrap" wx:else>
|
||||
<view class="empty">这一页需要先用小程序打开一次周报</view>
|
||||
<view class="note">web-view 只能加载在小程序后台配置过的业务域名;开发阶段请用「设置 → 项目设置 → 不校验合法域名」。</view>
|
||||
</view>
|
||||
@@ -0,0 +1 @@
|
||||
.note { margin-top: 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 11px; color: #9a938c; line-height: 1.7; }
|
||||
Reference in New Issue
Block a user