小程序
小游戏
企业微信
微信支付
扫描小程序码分享
开发工具是最新版本
我的微信也是最新版本
线上基础库版本已经是1.6.4
求助,谢谢!
小程序码 ( appid:wx9c2d79dd9db7a2d9 )
14 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
js文件
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
<!-- btn -->
<
view
wx:if
=
"{{item.name == 'btn'}}"
class
"page_btn"
style
"background:{{item.params.mbg}};padding:{{item.params.padding}}px"
>
button
hover-class
"none"
"click_button"
open-type
"{{ item.params.type == 'kefu' ? 'contact' : (item.params.type == 'share' ? 'share':'') }}"
catchtap
"{{ item.params.type == 'tel' ? 'callphone' : (item.params.type == 'map' ? 'location' : (item.params.type == 'other' ? 'otherapp' : (item.params.type == 'url' || !item.params.type ? 'navigateto' : (item.params.type == 'weburl' ? 'toweburl' : '' ) ) ) ) }}"
data-appid
"{{item.params.appid}}"
data-appurl
"{{item.params.appurl}}"
data-tel
"{{item.params.tel}}"
data-lat
"{{item.params.lat}}"
data-lng
"{{item.params.lng}}"
data-url
"{{item.params.url}}"
data-weburl
"{{item.params.weburl}}"
"background:{{item.params.bgcolor}}!important;color:{{item.params.color}}!important;font-size:{{item.params.size}}px!important;height:{{item.params.height}}px!important;line-height:{{item.params.height}}px!important;width:{{item.params.width}}%!important;border-radius:{{item.params.radius}}px!important"
{{item.params.text}}
</
<!-- fix -->
"{{item.name == 'fix'}}"
"page_fix"
"background:{{item.params.mbg}};padding:{{item.params.padding}}px;top:{{item.params.top}}%;right:{{item.params.right}}%"
navigator
"{{item.params.type == 'url'}}"
url
"navigate"
image
"width:{{item.params.width}}px;height:{{item.params.height}}px"
src
"{{item.params.img}}"
></
wx:else
"{{ item.params.type == 'tel' ? 'callphone' : (item.params.type == 'map' ? 'location' : (item.params.type == 'other' ? 'otherapp' : (item.params.type == 'weburl' ? 'toweburl' : '' ) ) ) }}"
"width: {{item.params.width}}px;height: {{item.params.height}}px;"
<!-- article -->
"{{item.name == 'article'}}"
"page_article"
"background:{{item.params.bgcolor}};padding:{{item.params.paddingv}}px {{item.params.paddings}}px;"
"{{item.params.title}}"
"temp_article_head"
"font-size:{{item.params.topsize}}px;color:{{item.params.topcolor}}"
{{item.params.title}}
"temp_article_list"
"article_list_item item_cell_box"
wx:for
"{{item.artlist}}"
wx:for-item
"r"
"{{r.url}}"
"article_list_l"
mode
"widthFix"
"{{r.img}}"
"item_cell_flex article_list_r"
"article_list_title"
"color:{{item.params.titlecolor}}"
>{{r.title}}</
"item_cell_box article_list_time"
"color:{{item.params.timecolor}}"
""
>{{r.time}}</
"item_cell_flex tr icon_r"
"temp_article_bot"
"{{item.params.botfont}}"
"/zofui_sitetemp/pages/artlist/artlist"
"temp_article_more"
"border:1px solid {{item.params.botbord}};color:{{item.params.botcolor}}"
{{item.params.botfont}}
web-view
"{{item.name == 'webview'}}"
include
"/zofui_sitetemp/pages/common/copyright.wxml"
/>
"/zofui_sitetemp/pages/common/footer.wxml"
接楼上。
这样看得出来哪里错吗?
"{{item.name == 'form'}}"
"page_form"
"background:{{item.params.bgcolor}};padding:{{item.params.padding}}px"
form
bindsubmit
"formSubmit"
"{{item.params.data}}"
"page_form_item"
"v"
"app_form_item"
"{{v.type == 'input'}}"
"{{v.name}}"
>{{v.name}}</
"show_form_r"
input
type
"text"
"show_form_input"
placeholder
"{{v.pla}}"
name
"{{v.type == 'text'}}"
textarea
"show_form_text"
"app_form_item item_cell_box"
"{{v.type == 'time'}}"
"show_form_l"
"show_form_r border_bot"
picker
"date"
"font_999"
value
start
"1990-01-01"
end
"2155-01-01"
data-i
"{{item.id}}"
data-n
"{{v.id}}"
bindchange
"bindDateChange"
{{v.time ? v.time : (v.pla ? v.pla : '选择日期')}}
"{{v.type == 'times'}}"
"time"
"bindTimeChange"
{{v.time ? v.time : (v.pla ? v.pla : '选择时间')}}
"{{v.type == 'city'}}"
"region"
"bindRegionChange"
{{v.region ? v.region[0] + ',' + v.region[1] + ',' + v.region[2]: (v.pla ? v.pla : '选择城市')}}
"{{v.type == 'radio'}}"
radio-group
"radio-group item_cell_box form_radio_box"
label
"radio item_cell_box alenter alenter_radio"
"{{v.data}}"
"vv"
radio
"radio_item"
"{{vv.name}}"
/><
"show_form_inname"
>{{vv.name}} </
"{{v.type == 'checkbox'}}"
checkbox-group
"item_cell_box form_radio_box"
"checkbox item_cell_box alenter alenter_radio"
checkbox
"display: none;"
"zofui_sitetemp_fid"
"app_form_submit"
formType
"submit"
data-id
"1"
"background:{{item.params.btnbg}};color:{{item.params.btncolor}}"
>提交</
<!-- news -->
"{{item.name == 'newstitle'}}"
"page_news"
"temp_news_title"
"font-size:{{item.params.size}}px;color:{{item.params.color}}"
{{item.params.content}}
"temp_news_time"
"color:{{item.params.color2}}"
text
"{{item.params.author}}"
"margin-right: 10px;"
>{{item.params.author}}</
>{{item.params.time}}</
<!-- vedio -->
"{{item.name == 'video'}}"
"page_video"
"section tc"
video
"{{item.params.type == 1}}"
poster
"{{item.params.thumb}}"
objectFit
"fill"
autoplay
"{{item.params.isauto == 0 ? true : false}}"
controls></
"{{item.params.type == 0}}"
"display:{{item.params.upurl ? 'block' : 'none'}}"
"{{item.params.upurl}}"
"{{item.params.type == 0 && !item.params.upurl}}"
"page_video_wait"
>视频加载中</
接楼上
"page"
"{{page.data}}"
"item"
<!-- 轮播 -->
"{{item.name == 'slide'}}"
"page_slide"
swiper
indicator-dots
"{{item.params.showpoint == 0}}"
indicator-color
"{{item.params.pointcolor}}"
indicator-active-color
"{{item.params.actcolor}}"
"{{item.params.ischange == 0}}"
interval
"{{item.params.changetime*1000}}"
duration
"{{item.params.changelast}}"
data-no
"height:{{item.params.data[item.params.current].height}}px;"
block
"img"
swiper-item
"{{ img.type == 'kefu' ? 'contact' : (img.type == 'share' ? 'share':'') }}"
"{{ img.type == 'tel' ? 'callphone' : (img.type == 'map' ? 'location' : (img.type == 'other' ? 'otherapp' : (img.type == 'url' || !img.type ? 'navigateto' : (img.type == 'weburl' ? 'toweburl' : '' ) ) ) ) }}"
"{{img.appid}}"
"{{img.appurl}}"
"{{img.tel}}"
"{{img.lat}}"
"{{img.lng}}"
"{{img.url}}"
"{{img.weburl}}"
"{{img.img}}"
"slide-image"
bindload
"imageLoad"
data-inno
"{{img.id}}"
"height:{{img.height}}px;"
<!-- 导航 -->
"{{item.name == 'nav'}}"
"page_nav"
"background:{{item.params.bgcolor}}"
"item_cell_box"
"width: {{100/item.params.num}}%"
"nav"
wx:for-index
"idx"
"{{ !(idx == 4 && item.params.num == 4) }}"
"{{ nav.type == 'kefu' ? 'contact' : (nav.type == 'share' ? 'share':'') }}"
"{{ nav.type == 'tel' ? 'callphone' : (nav.type == 'map' ? 'location' : (nav.type == 'other' ? 'otherapp' : (nav.type == 'url' || !nav.type ? 'navigateto' : (nav.type == 'weburl' ? 'toweburl' : '' ) ) ) ) }}"
"{{nav.appid}}"
"{{nav.appurl}}"
"{{nav.tel}}"
"{{nav.lat}}"
"{{nav.lng}}"
"{{nav.url}}"
"{{nav.weburl}}"
"page_nav_item"
"padding: {{item.params.padding}}px"
"{{nav.img}}"
"page_nav_img"
"{{nav.id}}"
"border-radius: {{item.params.radius}}px"
"page_nav_title"
"color: {{item.params.fontcolor}}"
>{{nav.title}}</
<!-- 图片 -->
"{{item.name == 'image'}}"
"page_image"
"width: {{ (item.params.type == 1 ? 100 : (item.params.type == 2 ? 50 : 33.3)) }}%"
"page_image_item"
"page_image_img"
"page_image_title"
"color: {{item.params.fontcolor}};font-size: {{item.params.fontsize}}px"
<!-- 卡片 -->
"{{item.name == 'card'}}"
"page_card"
"temp_card_top"
"{{item.params.ishead == 1}}"
"font-size:{{item.params.headsize}}px;color:{{item.params.headcolor}};text-align:{{item.params.headalign}}"
{{item.params.headcontent}}
"temp_card_content"
"font-size:{{item.params.fontsize}}px"
"temp_card_bot"
"{{item.params.isbot == 1}}"
"font-size:{{item.params.botsize}}px;color:{{item.params.botcolor}};text-align:{{item.params.botalign}}"
{{item.params.botcontent}}
"{{item.name == 'space'}}"
"page_space"
"height:{{item.params.height}}px;background:{{item.params.bgcolor}}"
"{{item.name == 'text'}}"
"page_text"
"padding:{{item.params.padding}}px;margin:{{item.params.margin}}px;background:{{item.params.bgcolor}}"
import
"/zofui_sitetemp/resource/wxParse/wxParse.wxml"
template
is
"wxParse"
data
"{{wxParseData:item.params.node.nodes}}"
<!-- list -->
"{{item.name == 'list'}}"
"page_list"
"page_list_item"
"in"
"{{ in.type == 'kefu' ? 'contact' : (in.type == 'share' ? 'share':'') }}"
"{{ in.type == 'tel' ? 'callphone' : (in.type == 'map' ? 'location' : (in.type == 'other' ? 'otherapp' : (in.type == 'url' || !in.type ? 'navigateto' : (in.type == 'weburl' ? 'toweburl' : '' ) ) ) ) }}"
"{{in.appid}}"
"{{in.appurl}}"
"{{in.tel}}"
"{{in.lat}}"
"{{in.lng}}"
"{{in.url}}"
"{{in.weburl}}"
"item_cell_box alenter"
"list_img"
"{{in.img}}"
"page_list_img"
"{{in.id}}"
"item_cell_flex list_r"
"list_title"
"color:{{item.params.color}};font-size:{{item.params.titlesize}}px"
{{in.title}}
"list_desc"
"color:{{item.params.color}};font-size:{{item.params.descsize}}px"
{{in.desc}}
<!-- title -->
"{{item.name == 'title'}}"
"page_title"
"background:{{item.params.bgcolor}};padding:{{item.params.paddingv}}px {{item.params.paddingh}}px"
"title_img"
"{{item.params.lefticon == 1}}"
"{{item.params.leftimg}}"
"width:{{item.params.lwidth}}px"
"page_title_img"
"item_cell_flex"
"text-align:{{item.params.pos}};font-size: {{item.params.size}}px;color: {{item.params.color}}"
"{{item.params.righticon == 1}}"
"{{item.params.rightimg}}"
"width:{{item.params.rwidth}}px"
是这个吗? page.wxml
你页面onload里面有个接口调用成功后的回调有问题
应该是你调用接口成功后的问题
报这么多错。
-0-你微信 是x5内核的吗
传了图片能看到吗
微信右上角三个点 打开后 里面有个 调试,然后你查看下 请求
正在加载...
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
js文件
<!-- btn --><viewwx:if="{{item.name == 'btn'}}"class="page_btn"style="background:{{item.params.mbg}};padding:{{item.params.padding}}px"><buttonhover-class="none"class="click_button"open-type="{{ item.params.type == 'kefu' ? 'contact' : (item.params.type == 'share' ? 'share':'') }}"catchtap="{{ item.params.type == 'tel' ? 'callphone' : (item.params.type == 'map' ? 'location' : (item.params.type == 'other' ? 'otherapp' : (item.params.type == 'url' || !item.params.type ? 'navigateto' : (item.params.type == 'weburl' ? 'toweburl' : '' ) ) ) ) }}"data-appid="{{item.params.appid}}"data-appurl="{{item.params.appurl}}"data-tel="{{item.params.tel}}"data-lat="{{item.params.lat}}"data-lng="{{item.params.lng}}"data-url="{{item.params.url}}"data-weburl="{{item.params.weburl}}"style="background:{{item.params.bgcolor}}!important;color:{{item.params.color}}!important;font-size:{{item.params.size}}px!important;height:{{item.params.height}}px!important;line-height:{{item.params.height}}px!important;width:{{item.params.width}}%!important;border-radius:{{item.params.radius}}px!important">{{item.params.text}}</button></view><!-- fix --><viewwx:if="{{item.name == 'fix'}}"class="page_fix"style="background:{{item.params.mbg}};padding:{{item.params.padding}}px;top:{{item.params.top}}%;right:{{item.params.right}}%"><navigatorhover-class="none"wx:if="{{item.params.type == 'url'}}"url="{{item.params.url}}"open-type="navigate"><imagestyle="width:{{item.params.width}}px;height:{{item.params.height}}px"src="{{item.params.img}}"></image></navigator><buttonwx:elseopen-type="{{ item.params.type == 'kefu' ? 'contact' : (item.params.type == 'share' ? 'share':'') }}"catchtap="{{ item.params.type == 'tel' ? 'callphone' : (item.params.type == 'map' ? 'location' : (item.params.type == 'other' ? 'otherapp' : (item.params.type == 'weburl' ? 'toweburl' : '' ) ) ) }}"data-appid="{{item.params.appid}}"data-appurl="{{item.params.appurl}}"data-tel="{{item.params.tel}}"data-lat="{{item.params.lat}}"data-lng="{{item.params.lng}}"data-weburl="{{item.params.weburl}}"><imagestyle="width: {{item.params.width}}px;height: {{item.params.height}}px;"src="{{item.params.img}}"></image></button></view><!-- article --><viewwx:if="{{item.name == 'article'}}"class="page_article"style="background:{{item.params.bgcolor}};padding:{{item.params.paddingv}}px {{item.params.paddings}}px;"><viewwx:if="{{item.params.title}}"class="temp_article_head"style="font-size:{{item.params.topsize}}px;color:{{item.params.topcolor}}">{{item.params.title}}</view><viewclass="temp_article_list"><navigatorhover-class="none"class="article_list_item item_cell_box"wx:for="{{item.artlist}}"wx:for-item="r"url="{{r.url}}"><viewclass="article_list_l"><imagemode="widthFix"src="{{r.img}}"></image></view><viewclass="item_cell_flex article_list_r"><viewclass="article_list_title"style="color:{{item.params.titlecolor}}">{{r.title}}</view><viewclass="item_cell_box article_list_time"style="color:{{item.params.timecolor}}"><viewclass="">{{r.time}}</view><viewclass="item_cell_flex tr icon_r"></view></view></view></navigator></view><viewclass="temp_article_bot"wx:if="{{item.params.botfont}}"><navigatorurl="/zofui_sitetemp/pages/artlist/artlist"hover-class="none"class="temp_article_more"style="border:1px solid {{item.params.botbord}};color:{{item.params.botcolor}}">{{item.params.botfont}}</navigator></view></view><web-viewwx:if="{{item.name == 'webview'}}"src="{{item.params.url}}"></web-view></view><includesrc="/zofui_sitetemp/pages/common/copyright.wxml"/></view><includesrc="/zofui_sitetemp/pages/common/footer.wxml"/>接楼上。
这样看得出来哪里错吗?
<viewwx:if="{{item.name == 'form'}}"class="page_form"style="background:{{item.params.bgcolor}};padding:{{item.params.padding}}px"><formbindsubmit="formSubmit"><viewwx:for="{{item.params.data}}"class="page_form_item"wx:for-item="v"><viewclass="app_form_item"wx:if="{{v.type == 'input'}}"><viewclass=""wx:if="{{v.name}}">{{v.name}}</view><viewclass="show_form_r"><inputtype="text"class="show_form_input"placeholder="{{v.pla}}"name="{{v.name}}"/></view></view><viewclass="app_form_item"wx:if="{{v.type == 'text'}}"><viewclass=""wx:if="{{v.name}}">{{v.name}}</view><viewclass="show_form_r"><textareaclass="show_form_text"placeholder="{{v.pla}}"name="{{v.name}}"></textarea></view></view><viewclass="app_form_item item_cell_box"wx:if="{{v.type == 'time'}}"><viewclass="show_form_l"wx:if="{{v.name}}">{{v.name}}</view><viewclass="show_form_r border_bot"><pickermode="date"class="font_999"value=""name="{{v.name}}"start="1990-01-01"end="2155-01-01"data-i="{{item.id}}"data-n="{{v.id}}"bindchange="bindDateChange">{{v.time ? v.time : (v.pla ? v.pla : '选择日期')}}</picker></view></view><viewclass="app_form_item item_cell_box"wx:if="{{v.type == 'times'}}"><viewclass="show_form_l"wx:if="{{v.name}}">{{v.name}}</view><viewclass="show_form_r border_bot"><pickermode="time"class="font_999"value=""name="{{v.name}}"data-i="{{item.id}}"data-n="{{v.id}}"bindchange="bindTimeChange">{{v.time ? v.time : (v.pla ? v.pla : '选择时间')}}</picker></view></view><viewclass="app_form_item item_cell_box"wx:if="{{v.type == 'city'}}"><viewclass="show_form_l"wx:if="{{v.name}}">{{v.name}}</view><viewclass="show_form_r border_bot"><pickermode="region"class="font_999"name="{{v.name}}"bindchange="bindRegionChange"data-i="{{item.id}}"data-n="{{v.id}}"value="">{{v.region ? v.region[0] + ',' + v.region[1] + ',' + v.region[2]: (v.pla ? v.pla : '选择城市')}}</picker></view></view><viewclass="app_form_item"wx:if="{{v.type == 'radio'}}"><viewclass=""wx:if="{{v.name}}">{{v.name}}</view><viewclass="show_form_r"><radio-groupclass="radio-group item_cell_box form_radio_box"name="{{v.name}}"><labelclass="radio item_cell_box alenter alenter_radio"wx:for="{{v.data}}"wx:for-item="vv"><radioclass="radio_item"value="{{vv.name}}"/><viewclass="show_form_inname">{{vv.name}} </view></label></radio-group></view></view><viewclass="app_form_item"wx:if="{{v.type == 'checkbox'}}"><viewclass=""wx:if="{{v.name}}">{{v.name}}</view><viewclass="show_form_r"><checkbox-groupclass="item_cell_box form_radio_box"name="{{v.name}}"><labelclass="checkbox item_cell_box alenter alenter_radio"wx:for="{{v.data}}"wx:for-item="vv"><checkboxclass="radio_item"value="{{vv.name}}"/><viewclass="show_form_inname">{{vv.name}} </view></label></checkbox-group></view></view></view><inputtype="text"style="display: none;"name="zofui_sitetemp_fid"value="{{item.id}}"/><buttonclass="app_form_submit"formType="submit"data-id="1"style="background:{{item.params.btnbg}};color:{{item.params.btncolor}}">提交</button></form></view><!-- news --><viewwx:if="{{item.name == 'newstitle'}}"class="page_news"style="background:{{item.params.bgcolor}};padding:{{item.params.padding}}px"><viewclass="temp_news_title"style="font-size:{{item.params.size}}px;color:{{item.params.color}}">{{item.params.content}}</view><viewclass="temp_news_time"style="color:{{item.params.color2}}"><textwx:if="{{item.params.author}}"style="margin-right: 10px;">{{item.params.author}}</text><text>{{item.params.time}}</text></view></view><!-- vedio --><viewwx:if="{{item.name == 'video'}}"class="page_video"style="background:{{item.params.bgcolor}};padding:{{item.params.padding}}px"><viewclass="section tc"><videowx:if="{{item.params.type == 1}}"poster="{{item.params.thumb}}"objectFit="fill"autoplay="{{item.params.isauto == 0 ? true : false}}"src="{{item.params.url}}"controls></video><videowx:if="{{item.params.type == 0}}"poster="{{item.params.thumb}}"style="display:{{item.params.upurl ? 'block' : 'none'}}"objectFit="fill"autoplay="{{item.params.isauto == 0 ? true : false}}"src="{{item.params.upurl}}"controls></video><viewwx:if="{{item.params.type == 0 && !item.params.upurl}}"class="page_video_wait">视频加载中</view></view></view>接楼上
<viewclass="page"><viewwx:for="{{page.data}}"wx:for-item="item"><!-- 轮播 --><viewwx:if="{{item.name == 'slide'}}"class="page_slide"><swiperindicator-dots="{{item.params.showpoint == 0}}"indicator-color="{{item.params.pointcolor}}"indicator-active-color="{{item.params.actcolor}}"autoplay="{{item.params.ischange == 0}}"interval="{{item.params.changetime*1000}}"duration="{{item.params.changelast}}"data-no="{{item.id}}"style="height:{{item.params.data[item.params.current].height}}px;"><blockwx:for="{{item.params.data}}"wx:for-item="img"><swiper-item><buttonclass="click_button"open-type="{{ img.type == 'kefu' ? 'contact' : (img.type == 'share' ? 'share':'') }}"catchtap="{{ img.type == 'tel' ? 'callphone' : (img.type == 'map' ? 'location' : (img.type == 'other' ? 'otherapp' : (img.type == 'url' || !img.type ? 'navigateto' : (img.type == 'weburl' ? 'toweburl' : '' ) ) ) ) }}"data-appid="{{img.appid}}"data-appurl="{{img.appurl}}"data-tel="{{img.tel}}"data-lat="{{img.lat}}"data-lng="{{img.lng}}"data-url="{{img.url}}"data-weburl="{{img.weburl}}"><imagesrc="{{img.img}}"class="slide-image"bindload="imageLoad"mode="widthFix"data-no="{{item.id}}"data-inno="{{img.id}}"style="height:{{img.height}}px;"/></button></swiper-item></block></swiper></view><!-- 导航 --><viewwx:if="{{item.name == 'nav'}}"class="page_nav"style="background:{{item.params.bgcolor}}"><viewclass="item_cell_box"><viewwx:for="{{item.params.data}}"style="width: {{100/item.params.num}}%"wx:for-item="nav"wx:for-index="idx"wx:if="{{ !(idx == 4 && item.params.num == 4) }}"><buttonclass="click_button"open-type="{{ nav.type == 'kefu' ? 'contact' : (nav.type == 'share' ? 'share':'') }}"catchtap="{{ nav.type == 'tel' ? 'callphone' : (nav.type == 'map' ? 'location' : (nav.type == 'other' ? 'otherapp' : (nav.type == 'url' || !nav.type ? 'navigateto' : (nav.type == 'weburl' ? 'toweburl' : '' ) ) ) ) }}"data-appid="{{nav.appid}}"data-appurl="{{nav.appurl}}"data-tel="{{nav.tel}}"data-lat="{{nav.lat}}"data-lng="{{nav.lng}}"data-url="{{nav.url}}"data-weburl="{{nav.weburl}}"><viewclass="page_nav_item"style="padding: {{item.params.padding}}px"><imagesrc="{{nav.img}}"class="page_nav_img"data-no="{{item.id}}"data-inno="{{nav.id}}"style="border-radius: {{item.params.radius}}px"/><viewclass="page_nav_title"style="color: {{item.params.fontcolor}}">{{nav.title}}</view></view></button></view></view></view><!-- 图片 --><viewwx:if="{{item.name == 'image'}}"class="page_image"style="background:{{item.params.bgcolor}}"><viewclass="item_cell_box"><viewwx:for="{{item.params.data}}"style="width: {{ (item.params.type == 1 ? 100 : (item.params.type == 2 ? 50 : 33.3)) }}%"wx:for-item="nav"wx:for-index="idx"><buttonclass="click_button"open-type="{{ nav.type == 'kefu' ? 'contact' : (nav.type == 'share' ? 'share':'') }}"catchtap="{{ nav.type == 'tel' ? 'callphone' : (nav.type == 'map' ? 'location' : (nav.type == 'other' ? 'otherapp' : (nav.type == 'url' || !nav.type ? 'navigateto' : (nav.type == 'weburl' ? 'toweburl' : '' ) ) ) ) }}"data-appid="{{nav.appid}}"data-appurl="{{nav.appurl}}"data-tel="{{nav.tel}}"data-lat="{{nav.lat}}"data-lng="{{nav.lng}}"data-url="{{nav.url}}"data-weburl="{{nav.weburl}}"><viewclass="page_image_item"style="padding: {{item.params.padding}}px"><imagesrc="{{nav.img}}"mode="widthFix"class="page_image_img"data-no="{{item.id}}"data-inno="{{nav.id}}"style="border-radius: {{item.params.radius}}px"/><viewclass="page_image_title"style="color: {{item.params.fontcolor}};font-size: {{item.params.fontsize}}px">{{nav.title}}</view></view></button></view></view></view><!-- 卡片 --><viewwx:if="{{item.name == 'card'}}"class="page_card"style="background:{{item.params.bgcolor}}"><viewclass="temp_card_top"wx:if="{{item.params.ishead == 1}}"style="font-size:{{item.params.headsize}}px;color:{{item.params.headcolor}};text-align:{{item.params.headalign}}">{{item.params.headcontent}}</view><viewclass="temp_card_content"style="font-size:{{item.params.fontsize}}px">{{item.params.content}}</view><viewclass="temp_card_bot"wx:if="{{item.params.isbot == 1}}"style="font-size:{{item.params.botsize}}px;color:{{item.params.botcolor}};text-align:{{item.params.botalign}}">{{item.params.botcontent}}</view></view><viewwx:if="{{item.name == 'space'}}"class="page_space"style="height:{{item.params.height}}px;background:{{item.params.bgcolor}}"></view><viewwx:if="{{item.name == 'text'}}"class="page_text"style="padding:{{item.params.padding}}px;margin:{{item.params.margin}}px;background:{{item.params.bgcolor}}"><importsrc="/zofui_sitetemp/resource/wxParse/wxParse.wxml"/><templateis="wxParse"data="{{wxParseData:item.params.node.nodes}}"/></view><!-- list --><viewwx:if="{{item.name == 'list'}}"class="page_list"style="background:{{item.params.bgcolor}};padding:{{item.params.padding}}px"><viewwx:for="{{item.params.data}}"class="page_list_item"wx:for-item="in"><buttonclass="click_button"open-type="{{ in.type == 'kefu' ? 'contact' : (in.type == 'share' ? 'share':'') }}"catchtap="{{ in.type == 'tel' ? 'callphone' : (in.type == 'map' ? 'location' : (in.type == 'other' ? 'otherapp' : (in.type == 'url' || !in.type ? 'navigateto' : (in.type == 'weburl' ? 'toweburl' : '' ) ) ) ) }}"data-appid="{{in.appid}}"data-appurl="{{in.appurl}}"data-tel="{{in.tel}}"data-lat="{{in.lat}}"data-lng="{{in.lng}}"data-url="{{in.url}}"data-weburl="{{in.weburl}}"><viewclass="item_cell_box alenter"><viewclass="list_img"><imagesrc="{{in.img}}"mode="widthFix"class="page_list_img"data-no="{{item.id}}"data-inno="{{in.id}}"/></view><viewclass="item_cell_flex list_r"><viewclass="list_title"style="color:{{item.params.color}};font-size:{{item.params.titlesize}}px">{{in.title}}</view><viewclass="list_desc"style="color:{{item.params.color}};font-size:{{item.params.descsize}}px">{{in.desc}}</view></view></view></button></view></view><!-- title --><viewwx:if="{{item.name == 'title'}}"class="page_title"style="background:{{item.params.bgcolor}};padding:{{item.params.paddingv}}px {{item.params.paddingh}}px"><buttonclass="click_button"open-type="{{ item.params.type == 'kefu' ? 'contact' : (item.params.type == 'share' ? 'share':'') }}"catchtap="{{ item.params.type == 'tel' ? 'callphone' : (item.params.type == 'map' ? 'location' : (item.params.type == 'other' ? 'otherapp' : (item.params.type == 'url' || !item.params.type ? 'navigateto' : (item.params.type == 'weburl' ? 'toweburl' : '' ) ) ) ) }}"data-appid="{{item.params.appid}}"data-appurl="{{item.params.appurl}}"data-tel="{{item.params.tel}}"data-lat="{{item.params.lat}}"data-lng="{{item.params.lng}}"data-url="{{item.params.url}}"data-weburl="{{item.params.weburl}}"><viewclass="item_cell_box alenter"><viewclass="title_img"wx:if="{{item.params.lefticon == 1}}"><imagesrc="{{item.params.leftimg}}"style="width:{{item.params.lwidth}}px"mode="widthFix"class="page_title_img"/></view><viewclass="item_cell_flex"style="text-align:{{item.params.pos}};font-size: {{item.params.size}}px;color: {{item.params.color}}">{{item.params.content}}</view><viewclass="title_img"wx:if="{{item.params.righticon == 1}}"><imagesrc="{{item.params.rightimg}}"style="width:{{item.params.rwidth}}px"mode="widthFix"class="page_title_img"/></view></view></button></view>是这个吗? page.wxml
你页面onload里面有个接口调用成功后的回调有问题
应该是你调用接口成功后的问题
报这么多错。
-0-你微信 是x5内核的吗
传了图片能看到吗
微信右上角三个点 打开后 里面有个 调试,然后你查看下 请求