久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线

123下一頁
返回列表 發帖
查看: 2018|回復: 20

[求助] 懸賞主題帖子內容頁文件是哪個

TaC

110

主題

684

回帖

841

積分

自成一派

貢獻
5 點
金幣
2 個
樓主
發表于 2024-3-9 11:41:18 | 只看樓主 |只看大圖 |倒序瀏覽 |閱讀模式
修改懸賞帖子內容頁,可不知道文件是哪個,高手指教下,謝謝
我知道答案 回答被采納將會獲得1 貢獻 + 1 金幣 已有20人回答
回復

使用道具 舉報

TaC

110

主題

684

回帖

841

積分

自成一派

貢獻
5 點
金幣
2 個
沙發
 樓主| 發表于 2024-3-9 11:43:17 | 只看Ta
另外,想修改跟官方采取答案后,選取樓層自動有最佳答案圖片,這個怎么實現的
回復

使用道具 舉報

TaC

110

主題

684

回帖

841

積分

自成一派

貢獻
5 點
金幣
2 個
板凳
 樓主| 發表于 2024-3-10 00:09:14 | 只看Ta
找了一天,總算是找出點眉目,不懂代碼的人找起來好難。圖片就自己扒了,下面整理出來官方四段代碼。美中不足的是沒找出來回復層怎么展示那個最佳回復的圖標,另外多少人回答這個代碼好似錯的。請高手指點一二。

【尋找最佳答案】 文件:wiewthread_reward.htm 去掉原來reward_answer(我來回復)等內容,約9行開始
<div class="keke_ans_boxs" id="keke_ans_boxs">
<a class="keke_ans_hf" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]{if $_GET[from]}&from=$_GET[from]{/if}">我知道答案</a>
<span class="tiszj"> </span> 回答被采納將會獲得<span class="coin"><i></i></span><span class="coin">$rewardprice</span> 金錢<span style="margin-left:15px; padding-left:15px; border-left:1px dashed #CCC;" id="answernum"> 已有<span class="coin">$actorcount</span>人回答</span>
</div>
<style>
.rwdn .pns button{ display:none}
.keke_ans_boxs{box-shadow: 0 0 20px 0px #E3E3E3;margin: 25px 0;line-height:45px; height:45px; padding:10px 0px 10px 40px;font-family:Microsoft Yahei; font-size:14px; padding-left:180px; background: url(images/icon05.png) no-repeat 15px 15px transparent; border-radius:30px;}
.keke_ans_boxs .coin {color: #df3031;font-size: 14px;margin-left: 3px;}
.keke_ans_boxs .tiszj{ color:#df3031; font-weight:bold; font-size:16px;  margin-right:18px; border-right:1px dashed #CCC; padding:0px 15px;  height:26px; line-height:26px;}
.coin i {font-style: normal;display: inline-block;width: 12px;height: 13px;background: url(images/coin.png) no-repeat;margin-right: 6px;vertical-align: middle;}
.keke_ans_boxs .keke_ans_hf{border-radius:30px; float:right; line-height:25px; text-align:center; padding:0 10px 0 35px; color:#FFF !important;background:url(images/ico1.png) 10px no-repeat #df0303; margin-top:10px; margin-right:10px; text-decoration:none}
</style>




【設為最佳答案】 文件:viewthread_node.htm 原文件432行
<div class="asnbtn"><a href="javascript:" id="keke_answer" class="zjda">設置為最佳答案</a></div>               
                  
<script>
        var divWidth = $("keke_ans_boxs").clientWidth;
        if(divWidth<770){
        $('answernum').style.display = "none";
    }
</script>
<style>
.asnbtn a{color:#FFF;font-size:12px;text-decoration:none;}.zjda{background:#a9e053; float: right; color:#FFF; padding:5px 10px; text-align:center;font-family:Microsoft Yahei;margin-bottom:10px;text-decoration:none}
.kkstampbox{ position:relative;}
.kkstamp{ position:absolute; right:80px; top:0px}
.kkstamp img{ max-width:125px; max-height:125px;}
</style>


【最佳答案】文件:wiewthread_reward.htm 去掉重復的內容,約41-63行
<div class="keke_ans_box" id="keke_ans_box">
    <div class="zjdabox">
       <span class="delans"><span class="coin" style="margin-left:5px;"><i></i></span><span class="coin">$rewardprice</span> 金錢</span><h3>最佳答案</h3>
               
                <style>
.rwdn .pns button{ display:none}
.keke_ans_box {box-shadow: 0 0 20px 0 #E3E3E3;border: 1px solid #e8e8e8;background: transparent;margin: 25px 0; padding: 0 17px 20px 17px; font-family:Microsoft Yahei; border-radius:5px;}
.keke_ans_box a{ text-decoration:none;}
.keke_ans_box .delans{ float:right; margin-top:10px; color:#9eacb6; font-size:12px}
.keke_ans_box .delans a{ color:#F60; display:block}
.zjdabox {width:100%;margin: 0 auto;}
.zjdabox h3 {height: 50px;font-size: 16px;line-height: 50px;font-weight: 800;color: #ff4f53;background: url(images/answer_icon.png) no-repeat 0 0;padding-left: 55px;margin-top: -1px;}
.keke_ans_box .zjda_text {width:100%;overflow: hidden;font-size: 14px;font-family: microsoft yahei; line-height: 28px;margin: 10px 0 0;}
.keke_ans_clear {clear: both;height: 0;overflow: hidden;}
.keke_ans_box .ask_date {clear: both;padding:16px 0px 0; margin:0px;}
.keke_ans_box .ask_date li {float: left;color: #999;line-height:28px; list-style:none; padding:0px; margin:0px 10px 0px 0px}
.keke_ans_box .ask_date li.jb {float: right;margin: 0;color: #333;}
.keke_ans_box .ask_date li.jb a{ color:#999 ;font-size:12px}
.ans_ava img{ width:25px; height:25px; border-radius:50px}
.ans_ava{ float:left; margin-right:5px;}
.zjdabox .coin {color: #d2554b;font-size: 14px;margin-left: 0px;}
.coin i {font-style: normal;display: inline-block;width: 12px;height: 13px;background: url(images/coin.png) no-repeat;margin-right: 6px;vertical-align: middle;}
</style>

12.jpg (34.8 KB, 下載次數: 12)

12.jpg
回復

使用道具 舉報

TaC

110

主題

684

回帖

841

積分

自成一派

貢獻
5 點
金幣
2 個
地板
 樓主| 發表于 2024-3-10 00:11:35 | 只看Ta
【最佳回復圖標】沒找到回復層位置,應該是這個代碼

<div class="kkstampbox"><div class="kkstamp"><img src="images/ico03.png"></div></div>
<script>
        var divWidth = $("keke_ans_boxs").clientWidth;
        if(divWidth<770){
        $('answernum').style.display = "none";
    }
</script>
<style>
.asnbtn a{color:#FFF;font-size:12px;text-decoration:none;}.zjda{background:#a9e053; float: right; color:#FFF; padding:5px 10px; text-align:center;font-family:Microsoft Yahei;margin-bottom:10px;text-decoration:none}
.kkstampbox{ position:relative;}
.kkstamp{ position:absolute; right:80px; top:0px}
.kkstamp img{ max-width:125px; max-height:125px;}
</style>


回復

使用道具 舉報

TaC

110

主題

684

回帖

841

積分

自成一派

貢獻
5 點
金幣
2 個
5#
 樓主| 發表于 2024-3-10 09:18:20 | 只看Ta
大早上的扒在床上,把回復人數的代碼找著了,借簽論壇里某介紹主題列表頁中,標題后面二行改成一行的效果。
$thread[allreplies] 這個是回復數,把樓上:已有<span class="coin">$actorcount</span>人回答,$actorcount換成$thread[allreplies]即回復數正常。
回復

使用道具 舉報

TaC

110

主題

684

回帖

841

積分

自成一派

貢獻
5 點
金幣
2 個
6#
 樓主| 發表于 2024-3-10 09:22:39 | 只看Ta
TaC 發表于 2024-3-10 00:11
【最佳回復圖標】沒找到回復層位置,應該是這個代碼

這段代碼可以放在最佳答案下面,在答案后面可以顯示圖片。
關于采納的樓層怎么實現,還在摸索中。
如果有小白找到方法,還請指教一二。
回復

使用道具 舉報

70

主題

189

回帖

279

積分

爐火純青

貢獻
0 點
金幣
2 個
7#
發表于 2024-3-10 09:28:02 來自手機 | 只看Ta
算是自問自答??
回復

使用道具 舉報

TaC

110

主題

684

回帖

841

積分

自成一派

貢獻
5 點
金幣
2 個
8#
 樓主| 發表于 2024-3-10 21:55:40 | 只看Ta
120665 發表于 2024-3-10 09:28
算是自問自答??

不算,求答案是想直接找到文件所在。
但個人,或尋找這個問題的,自己也得想辦法。這是我看到沒人回復的前題下,只好自己回復自己,給小白站長一些專業外的理解。無奈。
其實懂程序的,直接給個指點,或需讓小白門少花時間和精力。但是,沒人回復或指點。
其實沒關系,分享下自己的體會
回復

使用道具 舉報

14

主題

3415

回帖

5829

積分

應用開發者

貢獻
408 點
金幣
170 個
QQ
9#
發表于 2024-3-11 07:39:56 | 只看Ta
TaC 發表于 2024-3-9 11:43
另外,想修改跟官方采取答案后,選取樓層自動有最佳答案圖片,這個怎么實現的 ...

你的是默認模板嗎? 這個應該是自帶的功能呀
回復

使用道具 舉報

TaC

110

主題

684

回帖

841

積分

自成一派

貢獻
5 點
金幣
2 個
10#
 樓主| 發表于 2024-3-11 10:05:44 | 只看Ta
天外飄仙 發表于 2024-3-11 07:39
你的是默認模板嗎? 這個應該是自帶的功能呀

對,默認模板,是在其中一個樣式中選擇一個小改的,透明底色。

我說的選取樓層就是采納的答案樓層,出來:


另外,這個:


樣式是官方才有的,默認的在回復框下左邊,是文字出現的。我想跟官方一樣出現在回復內容右則,這樣效果會好些??稍诖a中試來試去的,就是沒找到地方,不知道回復框是不是又是另外一個文件
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規則

  • 關注公眾號
  • 有償服務微信
  • 有償服務QQ

手機版|小黑屋|Discuz! 官方交流社區 ( 皖ICP備16010102號 |皖公網安備34010302002376號 )|網站地圖|star

GMT+8, 2025-9-20 06:12 , Processed in 0.081049 second(s), 31 queries .

Powered by Discuz! W1.0 Licensed

Copyright © 2001-2025 Discuz! Team.

關燈 在本版發帖
有償服務QQ
有償服務微信
返回頂部
快速回復 返回頂部 返回列表