Commit 721416e4 authored by xieyishang's avatar xieyishang

111~

parent ea450c72
......@@ -105,8 +105,8 @@ export default {
},
uploaddata(){
//goods
// model:"eleproduct",
return {user_token:this.$store.state.token,shop_id:this.$store.state.userInfo.shop_id}
//
return {user_token:this.$store.state.token,model:"goods",shop_id:this.$store.state.userInfo.shop_id}
}
},
data() {
......@@ -174,6 +174,7 @@ export default {
let resdata = JSON.parse(uploadFileRes.data);
console.info(resdata,"resdata");
let srcimgs = resdata.data;
srcimgs = srcimgs.replace(new RegExp(/thumb_/g), "")
srcimgs =this.staticUrl+ srcimgs;
// let htaltag = srcimgs;
......
......@@ -334,8 +334,16 @@
//机型列表
"navigationBarTitleText": "选择对应的机型"
}
},
{
"path":"pages/Course/Coursedetaile",
"style" : {
//机型列表
"navigationBarTitleText": "开启操作教程"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
......
<template>
<view class="Coursedetaile">
<image v-for="(item,index) in imgslist[type]" class="imgsss" mode="widthFix" :src="item.img" ></image>
</view>
</template>
<script>
export default {
data(){
return {
imgslist:[
[
{img:"http://luma.jxdsy.cn/static/app/jc/hw/70ef62462a564c151c05de4a32e24ec.jpg"},//华为
{img:"http://luma.jxdsy.cn/static/app/jc/hw/31dfbfee3469b7c19272eec789c2012.jpg"}
],
[
{img:"http://luma.jxdsy.cn/static/app/jc/xm/1xm.jpg"},//小米
{img:"http://luma.jxdsy.cn/static/app/jc/xm/2xm.jpg"},
{img:"http://luma.jxdsy.cn/static/app/jc/xm/3xm.jpg"},
{img:"http://luma.jxdsy.cn/static/app/jc/xm/4xm.jpg"},
{img:"http://luma.jxdsy.cn/static/app/jc/xm/5xm.jpg"}
],
[
{img:"http://luma.jxdsy.cn/static/app/jc/vivo/1vivo.jpg"},//vivo
{img:"http://luma.jxdsy.cn/static/app/jc/vivo/2vivo.jpg"},
{img:"http://luma.jxdsy.cn/static/app/jc/vivo/3vivo.png"},
{img:"http://luma.jxdsy.cn/static/app/jc/vivo/4vivo.jpg"},
{img:"http://luma.jxdsy.cn/static/app/jc/vivo/5vivo.jpg"}
],
[
{img:"http://luma.jxdsy.cn/static/app/jc/oppo/1op.jpg"},//oppo
{img:"http://luma.jxdsy.cn/static/app/jc/oppo/2op.jpg"},
{img:"http://luma.jxdsy.cn/static/app/jc/oppo/3op.jpg"},
{img:"http://luma.jxdsy.cn/static/app/jc/oppo/4op.jpg"},
{img:"http://luma.jxdsy.cn/static/app/jc/oppo/5op.jpg"}
],
[
{img:"http://luma.jxdsy.cn/static/app/jc/iphone/iphone1.jpg"},//苹果
],
[
{img:"http://luma.jxdsy.cn/static/app/jc/all/all1.jpg"},//360
{img:"http://luma.jxdsy.cn/static/app/jc/all/all2.jpg"},
{img:"http://luma.jxdsy.cn/static/app/jc/all/all3.jpg"},
],
],
type:0,
}
},
onLoad(opdata) {
this.type = opdata.type;
}
}
</script>
<style lang="scss">
.imgsss{
width: 100vw;
}
</style>
<template>
<view class="Courselist">
<view class="cell_box_item flex ali-c jus-b">
<navigator url="/pages/Course/Coursedetaile?type=0" class="cell_box_item flex ali-c jus-b">
<view class="leftcell flex ali-c">
<image class="imgs" src="/static/Course/huaweiicon.png" mode=""></image>
<view class="phonename">华为/荣耀</view>
......@@ -8,8 +8,8 @@
<view class="celljt">
<image class="jtcion" src="/static/news/jiantousi.png" mode=""></image>
</view>
</view>
<view class="cell_box_item flex ali-c jus-b">
</navigator>
<navigator url="/pages/Course/Coursedetaile?type=1" class="cell_box_item flex ali-c jus-b">
<view class="leftcell flex ali-c">
<image class="imgs" src="/static/Course/xiaomiicon1.png" mode=""></image>
<view class="phonename">小米/红米</view>
......@@ -17,8 +17,8 @@
<view class="celljt">
<image class="jtcion" src="/static/news/jiantousi.png" mode=""></image>
</view>
</view>
<view class="cell_box_item flex ali-c jus-b">
</navigator>
<navigator url="/pages/Course/Coursedetaile?type=2" class="cell_box_item flex ali-c jus-b">
<view class="leftcell flex ali-c">
<image class="imgs" src="/static/Course/vivoicon.png" mode=""></image>
<view class="phonename">vivo</view>
......@@ -26,8 +26,8 @@
<view class="celljt">
<image class="jtcion" src="/static/news/jiantousi.png" mode=""></image>
</view>
</view>
<view class="cell_box_item flex ali-c jus-b">
</navigator>
<navigator url="/pages/Course/Coursedetaile?type=3" class="cell_box_item flex ali-c jus-b">
<view class="leftcell flex ali-c">
<image class="imgs" src="/static/Course/oppoicon.png" mode=""></image>
<view class="phonename">OPPO</view>
......@@ -35,34 +35,35 @@
<view class="celljt">
<image class="jtcion" src="/static/news/jiantousi.png" mode=""></image>
</view>
</view>
<view class="cell_box_item flex ali-c jus-b">
</navigator>
<navigator url="/pages/Course/Coursedetaile?type=4" class="cell_box_item flex ali-c jus-b">
<view class="leftcell flex ali-c">
<image class="imgs" src="/static/Course/meizuicon.png" mode=""></image>
<view class="phonename">魅族</view>
<image class="imgs" src="/static/Course/iphone.png" mode=""></image>
<view class="phonename">iphone</view>
</view>
<view class="celljt">
<image class="jtcion" src="/static/news/jiantousi.png" mode=""></image>
</view>
</view>
<view class="cell_box_item flex ali-c jus-b">
</navigator>
<navigator url="/pages/Course/Coursedetaile?type=5" class="cell_box_item flex ali-c jus-b">
<view class="leftcell flex ali-c">
<image class="imgs" src="/static/Course/iphone.png" mode=""></image>
<view class="phonename">iphone</view>
<image class="imgs" src="/static/Course/allicons.png" mode=""></image>
<view class="phonename">其它机型</view>
</view>
<view class="celljt">
<image class="jtcion" src="/static/news/jiantousi.png" mode=""></image>
</view>
</view>
<view class="cell_box_item flex ali-c jus-b">
</navigator>
<!-- <view class="cell_box_item flex ali-c jus-b">
<view class="leftcell flex ali-c">
<image class="imgs" src="/static/Course/allicons.png" mode=""></image>
<view class="phonename">其它机型</view>
<view class="phonename">如有疑问,请联系客服</view>
</view>
<view class="celljt">
<image class="jtcion" src="/static/news/jiantousi.png" mode=""></image>
</view>
</view>
</view> -->
</view>
</template>
......
......@@ -118,7 +118,7 @@
<!-- <jinedit ref="jinedit" placeholder="请输入内容" @editOk="editOk" uploadFileUrl="/#" ></jinedit> -->
<view class="addmigs pt0s" >
<jinedit ref="jinedit" placeholder="请输入商品详情内容" @editOk="editOk" fileKeyName="img" :uploadFileUrl="uploadurl1+'/merchant.php/FileUpload/editor'" ></jinedit>
<jinedit ref="jinedit" placeholder="请输入商品详情内容" @editOk="editOk" fileKeyName="img" :uploadFileUrl="uploadurl1+'/merchant.php/FileUpload/uploadify'" ></jinedit>
</view>
<!-- 富文本 -->
......
......@@ -19,7 +19,7 @@
</view>
<navigator url="/pages/Course/Courselist" class="list-cell m-t" >
<text class="cell-tit">收不到语音提示</text>
<text class="cell-tit">收不到语音提示?</text>
<image class="jiantousi" src="/static/news/jiantousi.png" mode=""></image>
</navigator>
......
......@@ -2,8 +2,8 @@
//环境变量 这个是 鹿马商家助手的 商家助手的~~~~
module.exports = {
//是否为开发调试环境 true为本地环境 false 为正式环境
isdebug:true,//测试
// isdebug:false,//正式
// isdebug:true,//测试
isdebug:false,//正式
xqdebug:false,//正式权限
// xqdebug:true,//发布审核权限 也是测试环境的 主要用于ios
......
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