修改热点论坛方案

This commit is contained in:
zhangsir
2024-07-26 17:55:38 +08:00
parent 22cd82b1a4
commit ab2ee0d9a9
29 changed files with 43 additions and 38 deletions

View File

@@ -74,14 +74,14 @@
"https" : false,
"proxy" : {
"/systemapi" : {
"target" : "https://u-pre.boe.com",
"target" : "https://u.boe.com",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {}
},
// "^/systemapi" : ""
"/userbasic" : {
"target" : "https://u-pre.boe.com",
"target" : "https://u.boe.com",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
@@ -89,7 +89,7 @@
}
},
"/manageApi" : {
"target" : "https://u-pre.boe.com",
"target" : "https://u.boe.com",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
@@ -97,7 +97,7 @@
}
},
"/uboeApi" : {
"target" : "https://u-pre.boe.com",
"target" : "https://u.boe.com",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
@@ -106,7 +106,7 @@
},
"/statApi" : {
// 目标代理服务器地址
"target" : "https://u-pre.boe.com",
"target" : "https://u.boe.com",
"changeOrigin" : true,
"logLevel" : "debug",
"secure" : false,
@@ -115,7 +115,7 @@
// "^/statApi" : ""
"/socialApi" : {
// 目标代理服务器地址
"target" : "https://u-pre.boe.com",
"target" : "https://u.boe.com",
"changeOrigin" : true,
"logLevel" : "debug",
"secure" : false,

7
package-lock.json generated
View File

@@ -1,6 +1,5 @@
{
"name": "trunk",
"lockfileVersion": 2,
"requires": true,
"packages": {}
"name": "mobile",
"version": "1.0.0",
"lockfileVersion": 1
}

View File

@@ -22,9 +22,7 @@
"UNI_PLATFORM": "h5",
"ENV_TYPE": "testing"
},
"define": {
}
"define": {}
},
"h5:preview": {
"BROWSER": "Chrome",
@@ -33,9 +31,7 @@
"UNI_PLATFORM": "h5",
"ENV_TYPE": "preview"
},
"define": {
}
"define": {}
}
}
}

View File

@@ -4,7 +4,7 @@
<watermark></watermark>
<u-toast ref="messager"></u-toast>
<!-- <page-title :showBack="true"></page-title> -->
<view class="playbox"><!--内容播放区域-->
<view class="playbox" v-if="isShowPdt"><!--内容播放区域-->
<view style="min-height: 440upx;" >
<view v-if="curContent.contentType==10" style="background-color: #000000;">
<!--视频-->
@@ -117,6 +117,7 @@
<view class="contentbox" v-if="courseInfo.name">
<view v-if="!catalogShow">
<view class="tabrow">
<view class="tabrow-item" @click="goTop">目录</view>
<view class="tabrow-item" @click="changeTab(1)"><text :class="{'tabrow-active':tabIndex==1}">简介</text></view>
<view class="tabrow-item" @click="changeTab(2)"><text :class="{'tabrow-active':tabIndex==2}">评论</text></view>
<view class="player-box-tabrow">
@@ -428,6 +429,7 @@
export default {
data(){
return{
isShowPdt: true,
progressData: 0,
contentTypeV: '',
trueFalse: true,
@@ -777,6 +779,7 @@
});
},
playContent(con,conIndex,catIndex){
this.isShowPdt = true
//对于需要控制学习顺序的
if(conIndex!=undefined && catIndex!=undefined) {
if(this.courseInfo.orderStudy) {
@@ -1028,6 +1031,11 @@
}
},
goTop(){
window.scrollTo(0, 0);
this.showAllCatalog()
this.isShowPdt = false
},
changeTab(idx){
this.tabIndex=idx;
},
@@ -1037,6 +1045,7 @@
},
closeAllCatalog(){
this.catalogShow=false;
this.isShowPdt = true
//定位目录
},
openScore(){

View File

@@ -19,4 +19,4 @@
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7c4a142a.js></script><script src=/mobile/static/js/index.22f98dc9.js></script></body></html>
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7c4a142a.js></script><script src=/mobile/static/js/index.56c7351a.js></script></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-hotforum-index"],{"1de5":function(t,n,e){"use strict";t.exports=function(t,n){return n||(n={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},2189:function(t,n,e){var r=e("24fb"),i=e("1de5"),o=e("4e69"),c=e("ac32");n=r(!1);var a=i(o),u=i(c);n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.hotforum[data-v-c10b6ec8]{width:100%;min-height:100vh;background:url('+a+") no-repeat;background-size:100%}.hotforum .tem[data-v-c10b6ec8]{padding-top:%?248?%;padding-bottom:%?106?%;display:flex;align-items:center;flex-direction:column}.hotforum .tem .item[data-v-c10b6ec8]{background:url("+u+") no-repeat;background-size:100%;width:%?683?%;height:%?422?%;margin-top:%?-28?%}.hotforum .tem .item .img[data-v-c10b6ec8]{width:%?650?%;height:%?318?%;margin-top:%?84?%;margin-left:%?15?%}",""]),t.exports=n},3369:function(t,n,e){t.exports=e.p+"static/img/背景框.8c244002.png"},"4e69":function(t,n,e){t.exports=e.p+"static/img/back.9f9f8042.png"},"58ad":function(t,n,e){t.exports=e.p+"static/img/foot.5690b801.png"},"5a24":function(t,n,e){var r=e("2189");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=e("4f06").default;i("3884a486",r,!0,{sourceMap:!1,shadowMode:!1})},"723d":function(t,n,e){t.exports=e.p+"static/img/two.62f0104d.png"},"7b84":function(t,n,e){t.exports=e.p+"static/img/3.ee136459.png"},9110:function(t,n,e){"use strict";e.r(n);var r=e("e760"),i=e("bc08");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("9d3f");var c=e("f0c5"),a=Object(c["a"])(i["default"],r["b"],r["c"],!1,null,"c10b6ec8",null,!1,r["a"],void 0);n["default"]=a.exports},"9d3f":function(t,n,e){"use strict";var r=e("5a24"),i=e.n(r);i.a},ac32:function(t,n,e){t.exports=e.p+"static/img/border.7feb5155.png"},bc08:function(t,n,e){"use strict";e.r(n);var r=e("c8bc"),i=e.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);n["default"]=i.a},c8bc:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={data:function(){return{imgData:[{img:"1",url:"1265897142383042560"},{img:"2",url:"1265697724606210048"},{img:"3",url:""},{img:"4",url:""}]}},methods:{goLearn:function(t){t&&window.open("https://u.boe.com/mobile/pages/study/courseStudy?id=".concat(t))}}};n.default=r},ca8f:function(t,n,e){t.exports=e.p+"static/img/one.30ba0c97.png"},cad6:function(t,n,e){t.exports=e.p+"static/img/2.6a883ca0.png"},cb1c:function(t,n,e){t.exports=e.p+"static/img/1.54d5e1d6.png"},e3b4:function(t,n,e){var r={"./1.png":"cb1c","./2.png":"cad6","./3.png":"7b84","./4.png":"f4d0","./back.png":"4e69","./border.png":"ac32","./foot.png":"58ad","./one.png":"ca8f","./two.png":"723d","./背景框.png":"3369"};function i(t){var n=o(t);return e(n)}function o(t){if(!e.o(r,t)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id="e3b4"},e760:function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var r=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("v-uni-view",{staticClass:"hotforum"},[r("v-uni-view",{staticClass:"tem"},[t._l(t.imgData,(function(n,i){return r("v-uni-view",{key:i,staticClass:"item"},[r("v-uni-image",{staticClass:"img",attrs:{src:e("e3b4")("./"+n.img+".png"),mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goLearn(n.url)}}})],1)})),r("v-uni-image",{staticStyle:{width:"148rpx",height:"36rpx","margin-top":"100rpx"},attrs:{src:e("58ad"),mode:""}})],2)],1)},i=[]},f4d0:function(t,n,e){t.exports=e.p+"static/img/4.5af6799a.png"}}]);