| xqd
@@ -24,7 +24,8 @@
|
|
|
<p style="font-size: 17px; padding: 0 10px">{{$dream->name}}</p>
|
|
|
<div style="border-bottom: 1px solid #DEDEDE">
|
|
|
<p id="about" style="font-size: 13px; padding: 0 10px; color: #919191;white-space: nowrap">
|
|
|
- {!! $dream->about !!}
|
|
|
+ {{--{!! $dream->about !!}--}}
|
|
|
+ {{str_replace('<br/>','/n',$dream->about)}}
|
|
|
{{--{{mb_substr($dream->about,0,8)}} ...--}}
|
|
|
</p>
|
|
|
<p style="text-align: center">
|
| xqd
@@ -63,6 +64,9 @@
|
|
|
<script>
|
|
|
$(function () {
|
|
|
$('#up').hide();
|
|
|
+ var str = $('#about').html();
|
|
|
+ new_str = str.replace(/\n/g,"<br/>");
|
|
|
+ $('#about').html(new_str);
|
|
|
$('#up').click(function () {
|
|
|
$(this).hide();
|
|
|
$('#down').show();
|