Commit 12174976 authored by sujie@126.com's avatar sujie@126.com

dd

parent b047a668
{
"pages": [
"ucenter/index",
"business/pages/webview/index",
"src/pages/tabindex/index"
"business/pages/webview/index"
],
"subpackages": [
{
......
{
"component": true,
"usingComponents": {}
"usingComponents": {
"empty-content": "../emptycontent"
}
}
\ No newline at end of file
// src/pages/tabindex/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {
"tab": "../../../components/tab"
},
"navigationBarTitleText": ""
}
\ No newline at end of file
<!--src/pages/tabindex/index.wxml-->
<view class="container">
<tab>
<view slot="tab-left">简介</view>
<view slot="tab-right">目录</view>
<view slot="tcontent-left">
<view>1dsaaaaaaaaaaaaaaaaaaadddddddddddddddddas</view>
<view>1dsaaaaaaaaaaaaaaaaaaadddddddddddddddddas</view>
<view>1dsaaaaaaaaaaaaaaaaaaadddddddddddddddddas</view>
<view>1dsaaaaaaaaaaaaaaaaaaadddddddddddddddddas</view>
</view>
<view slot="tcontent-right">
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
<view>阿三大苏打阿德飒飒的大师傅发射点</view>
</view>
</tab>
</view>
/* src/pages/tabindex/index.wxss */
\ No newline at end of file
......@@ -317,7 +317,6 @@ Page({
},
tabChange(e){
const index = e.detail.value;
console.log(e,' e.target.dataset')
let sortDailogShow = this.data.sortDailogShow;
if(index == undefined){
return
......
......@@ -104,7 +104,10 @@
</view>
</view>
<view class="empty-box" wx:if="{{onlinesubcourses.length == 0}}">
<empty-content text="{{catlogName ? '没有这个课程哦~' : '专栏还没设置课程哦~'}}" emptyimg="common/empty/empty_c_sraech.png" width="263" height="219"></empty-content>
<view class="image-box">
<image class="" src="{{imageRoot}}common/empty/empty_c_sraech.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
</view>
<view class="text">{{catlogName ? '没有这个课程哦~' : '专栏还没设置课程哦~'}}</view>
</view>
</view>
</view>
......
......@@ -814,4 +814,20 @@
font-weight:bold;
color:rgba(0,0,0,1);
margin: 0 auto;
}
.empty-box{
padding-top: 100rpx;
}
.empty-box .image-box {
text-align: center;
}
.empty-box .text {
font-size: 28rpx;
color: rgba(0,0,0,0.5);
padding-top: 30rpx;
text-align: center;
}
.empty-box .image-box image{
width: 255rpx;
height: 198rpx;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment