Commit bfae5901 authored by lvtz's avatar lvtz

fix

parent 2b4ab23e
......@@ -523,8 +523,7 @@ Page({
if (res.code == 200) { // 成功的操作
if (this.data.sid == 0) { // 新增的操作
wx.redirectTo({
url: `/business/pages/deskcenter/themetemplate?sid=${res.data.id}`
// url: `/business/pages/organizationalmgt/qxknow?sid=${res.data.id}`
url: `/business/pages/organizationalmgt/qxknow?sid=${res.data.id}`
});
} else {
wx.showToast({
......
......@@ -4,14 +4,9 @@ import {
var app = getApp();
Page({
data: {
imgList: [
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/gif1.gif",
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/code.png",
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/idea.png",
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/gif2.gif",
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/gif3.gif",
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/pic_03.png"
],
imageRoot: app.globalData.imageRoot,
localImageRoot: "../../../images/",
imageVersion: app.globalData.imageVersion,
sid: 0
},
......
<view class="container">
<view class="btn-jump" bindtap="bindJumpEvent">跳过</view>
<view class="desc-box">
<image class="desc-img" wx:for="{{imgList}}" wx:key="index" src="{{item}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_01.png?{{imageVersion}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_02.png?{{imageVersion}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_03.png?{{imageVersion}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_04.png?{{imageVersion}}" mode="widthFix"></image>
</view>
<view class="submitbtn-box">
<view class="submitbtn" bindtap="toCreate">创建作业打卡</view>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -42,7 +42,8 @@ import {
wxChooseLocation,
wxOpenSetting,
wxGetImageInfo,
wxLogin
wxLogin,
wxOpenLocation,
} from '../../../utilities/wxApi.js';
var app = getApp();
Page({
......@@ -1544,5 +1545,14 @@ Page({
default:
break;
}
},
makenavigate(){
let addressInfo = this.data.schoolInfo? this.data.schoolInfo: this.data.schoolDetail;
wxOpenLocation({
latitude: Number(addressInfo.latitude),
longitude: Number(addressInfo.longitude),
address: addressInfo.location_address,
name: addressInfo.address
})
}
})
\ No newline at end of file
......@@ -88,7 +88,7 @@
<view class="icon-box">
<image class="icon" src="{{imageRoot}}2c/websiteindex/website_address.png?{{imageVersion}}"></image>
</view>
<view class="address" wx:if="{{schoolInfo.longitude}}">
<view class="address" wx:if="{{schoolInfo.longitude}}" bindtap="makenavigate">
<view class="main">{{schoolInfo.location_address}}</view>
<view class="other" wx:if="{{schoolInfo.address}}">{{schoolInfo.address}}</view>
</view>
......@@ -387,7 +387,7 @@
<image class="info-logo" src="{{filter.imagify(schoolDetail.logo, 'image/resize,w_160/format,jpg')}}" wx:if="{{schoolDetail.logo}}"></image>
<image class="info-logo" src="{{imageRoot}}2c/common/logologo.png?{{imageVersion}}" wx:else></image>
<view class="info-r">
<view class="info-title">{{schoolInfo.title?schoolInfo.title: schoolDetail.title}}</view>
<view class="info-title">{{schoolDetail.title? schoolDetail.title: '此处显示学校名称'}}</view>
<view class="info-num-box">
<view class="num-item" wx:for="{{egTag}}" wx:key="index">{{item}}</view>
</view>
......@@ -425,9 +425,6 @@
<view class="section-wrap business-instro">
<view class="box-title">
<view class="title">学校介绍</view>
<view class="right">
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="desc-box">
......@@ -455,9 +452,6 @@
<view class="section-wrap section-teacher">
<view class="box-title">
<view class="title">名师风采<view class="text">(12)</view></view>
<view class="right">
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="teacher-list">
<view class="item" wx:for="{{12}}" wx:key="index">
......@@ -472,10 +466,7 @@
<!-- 学生动态 -->
<view class="section-wrap student-clock-box">
<view class="box-title">
<view class="title">学生动态<view class="text"></view></view>
<view class="right">
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
<view class="title">学生动态</view>
</view>
<view class="clock-list clock-list-disabled" style="padding-bottom: 0;">
<view class="clock-item" wx:for="{{egClockList}}" wx:key="index" >
......@@ -496,9 +487,6 @@
<view class="section-wrap section-brick">
<view class="box-title">
<view class="title">课堂瞬间</view>
<view class="right">
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="brick-list">
<brick-layout
......@@ -511,9 +499,6 @@
<view class="section-wrap online-classroom">
<view class="box-title">
<view class="title">在线课堂</view>
<view class="right">
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="content-box">
<view class="online-item" wx:for="{{4}}" wx:key="index">
......@@ -533,9 +518,6 @@
<view class="section-wrap section-subject">
<view class="box-title">
<view class="title">一起打卡</view>
<view class="right" >
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="subject-list">
<view class="list-item" wx:for="{{3}}" wx:key="index">
......
......@@ -91,7 +91,7 @@
<view class="coursecounttext">已更新{{coursesDetail.type==1?'1': coursesDetail.sub_courses_count}}期</view>
</view>
</view>
<image class="shareicon" bindtap="ShowShareDailog" src="{{imageRoot}}2c/onlineclass/shareicon.png?{{imageVersion}}"></image>
<image class="shareicon" bindtap="ShowShareDailog" src="{{imageRoot}}2c/onlineclass/shareicon.png?{{imageVersion}}" wx:if="{{coursesDetail.share_switch==1}}"></image>
</view>
</view>
<view class="divideline"></view>
......
......@@ -18,6 +18,7 @@
}
.list-box .list-item .avatar {
width: 88rpx;
min-width: 88rpx;
height: 88rpx;
margin-right: 14rpx;
border-radius: 50%;
......@@ -48,7 +49,10 @@
padding: 0 10rpx;
margin-left: 14rpx;
border-radius: 6rpx;
max-width: 150rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.list-box .list-item .main .line .bg {
font-size: 22rpx;
......
......@@ -23,6 +23,7 @@ page {
}
.list-box .list-item .avatar {
width: 88rpx;
min-width: 88rpx;
height: 88rpx;
margin-right: 14rpx;
border-radius: 50%;
......@@ -40,7 +41,7 @@ page {
font-size: 32rpx;
color: #222;
line-height: 1;
max-width: 300rpx;
max-width: 200rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
......@@ -53,7 +54,10 @@ page {
padding: 0 10rpx;
margin-left: 14rpx;
border-radius: 6rpx;
max-width: 150rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.list-box .list-item .main .line .bg {
font-size: 22rpx;
......
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