提交
This commit is contained in:
@ -0,0 +1,50 @@
|
||||
.imagesize{
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
}
|
||||
.textbox{
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
background-color: #efaab1b7;
|
||||
}
|
||||
.title{
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.titlex{
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.imagebox{
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
}
|
||||
.richtext{
|
||||
width: 98%;
|
||||
}
|
||||
.textrich{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.baomingbox{
|
||||
width: 100%;
|
||||
height: 70px;
|
||||
background-color: #efaab1b7;
|
||||
position: fixed;
|
||||
bottom: 10rpx;
|
||||
}
|
||||
.zuobox{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
<view class="imagebox">
|
||||
<image class="imagesize" mode="aspectFill" src="../image/ameijia3.jpg" />
|
||||
</view>
|
||||
<view class="textbox">
|
||||
<view class="title">
|
||||
<text style="font-size:23px">专业美甲美业培训</text>
|
||||
</view>
|
||||
<view class="titlex">
|
||||
<text style="margin-bottom:10rpx;color:red;font-size:19px">¥122</text>
|
||||
<text>共12周</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="textrich">
|
||||
<view class="richtext">
|
||||
<rich-text nodes="{{nodes}}" onTap="tap"></rich-text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="baomingbox" onTap="baoming">
|
||||
<view class="zuobox">
|
||||
<text style="font-size:25px">立即报名</text>
|
||||
</view>
|
||||
</view>
|
||||
11
甲情_甲意/miniprogram/pages/kechengxiangqing/kechengxiangqing.js
Normal file
11
甲情_甲意/miniprogram/pages/kechengxiangqing/kechengxiangqing.js
Normal file
@ -0,0 +1,11 @@
|
||||
Page({
|
||||
data: {
|
||||
nodes:'富文本部分'
|
||||
},
|
||||
onLoad() {},
|
||||
baoming(){
|
||||
my.navigateTo({
|
||||
url:"/pages/kehcnegbaoming/kehcnegbaoming"
|
||||
})
|
||||
}
|
||||
});
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"defaultTitle": "课程详情",
|
||||
"usingComponents": {},
|
||||
"styleIsolation": "apply-shared"
|
||||
}
|
||||
Reference in New Issue
Block a user