65 changed files with 534 additions and 381 deletions
@ -1,6 +0,0 @@
@@ -1,6 +0,0 @@
|
||||
{ |
||||
"component": true, |
||||
"usingComponents": { |
||||
"van-popup": "@vant/weapp/popup/index" |
||||
} |
||||
} |
||||
@ -1,60 +0,0 @@
@@ -1,60 +0,0 @@
|
||||
.login1 { |
||||
.logo { |
||||
position: relative; |
||||
z-index: 1; |
||||
display: block; |
||||
margin: 0 auto -82rpx; |
||||
width: 164rpx; |
||||
height: 164rpx; |
||||
} |
||||
.container { |
||||
width: 100%; |
||||
box-sizing: border-box; |
||||
border-radius: 32rpx 0; |
||||
padding: 136rpx 60rpx calc(env(safe-area-inset-bottom) + 64rpx); |
||||
background: linear-gradient(6deg, #ffffff 0%, #ffe6e4 100%); |
||||
.title { |
||||
text-align: center; |
||||
color: rgba(1, 1, 5, 1); |
||||
font-size: 40rpx; |
||||
font-weight: bold; |
||||
} |
||||
.content { |
||||
margin-top: 16rpx; |
||||
font-size: 32rpx; |
||||
color: rgba(1, 1, 5, 1); |
||||
text-align: center; |
||||
} |
||||
.btn { |
||||
margin-top: 64rpx; |
||||
height: 88rpx; |
||||
background: linear-gradient(356deg, #f23a2f 0%, #fc684f 100%); |
||||
border-radius: 84rpx; |
||||
border: none; |
||||
outline: none; |
||||
font-size: 32rpx; |
||||
color: rgba(247, 247, 247, 1); |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
&::after { |
||||
border: none; |
||||
} |
||||
} |
||||
.check { |
||||
margin-top: 40rpx; |
||||
display: flex; |
||||
align-items: center; |
||||
.checkbox { |
||||
transform: scale(0.8); |
||||
} |
||||
.check-content { |
||||
font-size: 32rpx; |
||||
color: rgba(1, 1, 5, 0.3); |
||||
.link { |
||||
color: rgba(242, 58, 47, 1); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
@ -1,28 +0,0 @@
@@ -1,28 +0,0 @@
|
||||
const app = getApp<IAppOption>() |
||||
|
||||
Component({ |
||||
properties: { |
||||
show: { |
||||
type: Boolean, |
||||
value: false, |
||||
}, |
||||
}, |
||||
data: { |
||||
imageUrl: app.globalData.imageUrl, |
||||
Timestamp:app.globalData.Timestamp |
||||
}, |
||||
methods: { |
||||
handleOk() { |
||||
this.setData({ |
||||
show: false, |
||||
}) |
||||
this.triggerEvent('ok') |
||||
}, |
||||
handleCancel() { |
||||
this.setData({ |
||||
show: false, |
||||
}) |
||||
this.triggerEvent('cancel') |
||||
}, |
||||
}, |
||||
}) |
||||
@ -1,25 +0,0 @@
@@ -1,25 +0,0 @@
|
||||
<van-popup |
||||
bind:click-overlay="handleCancel" |
||||
round |
||||
z-index="{{100000}}" |
||||
show="{{ show }}" |
||||
position="bottom" |
||||
safe-area-inset-bottom="{{false}}" |
||||
custom-style="background:transparent;" |
||||
> |
||||
<view class="login1"> |
||||
<image class="logo" src="{{imageUrl}}logo1.png?t={{Timestamp}}"></image> |
||||
<view class="container"> |
||||
<view class="title">立即授权</view> |
||||
<view class="content">解锁更多基因治疗知识</view> |
||||
<button class="btn">手机号快速授权</button> |
||||
<view class="check"> |
||||
<checkbox class="checkbox" color="#ee5a4a"></checkbox> |
||||
<view class="check-content"> |
||||
我已阅读并同意 |
||||
<text class="link">《个人信息及隐私政策》</text> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
</van-popup> |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
{ |
||||
"navigationStyle": "custom", |
||||
"usingComponents": { |
||||
"navbar": "/components/navbar/index", |
||||
"mp-html": "mp-html" |
||||
} |
||||
} |
||||
@ -0,0 +1,58 @@
@@ -0,0 +1,58 @@
|
||||
page { |
||||
background-color: #f8fafa; |
||||
} |
||||
.page-title { |
||||
display: flex; |
||||
align-items: center; |
||||
gap: 22rpx; |
||||
font-size: 36rpx; |
||||
color: #1a2020; |
||||
} |
||||
|
||||
.page { |
||||
padding: 32rpx 40rpx calc(160rpx + env(safe-area-inset-bottom)); |
||||
.banner { |
||||
width: 100%; |
||||
display: block; |
||||
height: 286rpx; |
||||
border-radius: 12rpx; |
||||
} |
||||
.title { |
||||
margin-top: 32rpx; |
||||
font-size: 40rpx; |
||||
color: #342317; |
||||
font-weight: bold; |
||||
} |
||||
.content { |
||||
margin-top: 32rpx; |
||||
font-size: 32rpx; |
||||
color: #afaba9; |
||||
} |
||||
.page-footer { |
||||
position: fixed; |
||||
bottom: 0; |
||||
left: 0; |
||||
padding: 32rpx 32rpx calc(32rpx + env(safe-area-inset-bottom)); |
||||
background-color: #fff; |
||||
width: 100%; |
||||
box-sizing: border-box; |
||||
display: flex; |
||||
align-items: center; |
||||
gap: 48rpx; |
||||
.o-item { |
||||
flex: 1; |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
gap: 12rpx; |
||||
.icon { |
||||
width: 44rpx; |
||||
height: 44rpx; |
||||
} |
||||
.num { |
||||
font-size: 32rpx; |
||||
color: #b7b7b7; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,22 @@
@@ -0,0 +1,22 @@
|
||||
<navbar fixed custom-style="background:#fff"> |
||||
<view slot="left" class="page-title"> |
||||
<van-icon class="back" slot="left" name="arrow-left" bind:tap="handleBack" /> |
||||
教育小助手 |
||||
</view> |
||||
</navbar> |
||||
|
||||
<view class="page" style="padding-top: {{pageTop+20}}px;"> |
||||
<image class="banner" src="/images/cache/bg3.png"></image> |
||||
<view class="title">从强降糖到防事件,那些糖尿病指南走过的路</view> |
||||
<mp-html content="{{doc}}"></mp-html> |
||||
<view class="page-footer"> |
||||
<view class="o-item"> |
||||
<image class="icon" src="/images/icon22.png"></image> |
||||
<text class="num">123</text> |
||||
</view> |
||||
<view class="o-item"> |
||||
<image class="icon" src="/images/icon23.png"></image> |
||||
<text class="num">123</text> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
@ -1,8 +1,13 @@
@@ -1,8 +1,13 @@
|
||||
const _app = getApp<IAppOption>(); |
||||
const _app = getApp<IAppOption>() |
||||
|
||||
Page({ |
||||
data: {}, |
||||
onLoad() {}, |
||||
}); |
||||
handleDetail() { |
||||
wx.navigateTo({ |
||||
url: '/doctor/pages/article/index', |
||||
}) |
||||
}, |
||||
}) |
||||
|
||||
export {} |
||||
|
||||
|
After Width: | Height: | Size: 252 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
@@ -1 +1 @@
|
||||
<image src="/images/start1.png" mode="aspectFill" class="page"></image> |
||||
<image src="{{imageUrl}}start1.png?t={{Timestamp}}" mode="aspectFill" class="page"></image> |
||||
|
||||
Loading…
Reference in new issue