...
|
...
|
@@ -3,59 +3,59 @@ |
|
|
<!-- 模板图片区域 -->
|
|
|
<view class="tempImgList">
|
|
|
<view class="tempImgItem" :class="{active:temp == 1}" @click="changeIndex(1)">
|
|
|
<image src="../../static/image/Mask_Group_1@2x.jpg" mode=""></image>
|
|
|
<image src="../../static/image/Mask_Group_1@2x.png" mode=""></image>
|
|
|
<view class="radioCheck">
|
|
|
<image v-if="temp == 1" src="../../static/image/Group_206@2x.jpg" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.jpg" mode=""></image>
|
|
|
<image v-if="temp == 1" src="../../static/image/Group_206@2x.png" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="tempImgItem" :class="{active:temp == 2}" @click="changeIndex(2)">
|
|
|
<image src="../../static/image/Mask_Group_3@2x.jpg" mode=""></image>
|
|
|
<image src="../../static/image/Mask_Group_3@2x.png" mode=""></image>
|
|
|
<view class="radioCheck">
|
|
|
<image v-if="temp == 2" src="../../static/image/Group_206@2x.jpg" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.jpg" mode=""></image>
|
|
|
<image v-if="temp == 2" src="../../static/image/Group_206@2x.png" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="tempImgItem" :class="{active:temp == 3}" @click="changeIndex(3)">
|
|
|
<image src="../../static/image/Mask_Group_5@2x.jpg" mode=""></image>
|
|
|
<image src="../../static/image/Mask_Group_5@2x.png" mode=""></image>
|
|
|
<view class="radioCheck">
|
|
|
<image v-if="temp == 3" src="../../static/image/Group_206@2x.jpg" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.jpg" mode=""></image>
|
|
|
<image v-if="temp == 3" src="../../static/image/Group_206@2x.png" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="tempImgItem" :class="{active:temp == 4}" @click="changeIndex(4)">
|
|
|
<image src="../../static/image/Mask_Group_4@2x.jpg" mode=""></image>
|
|
|
<image src="../../static/image/Mask_Group_4@2x.png" mode=""></image>
|
|
|
<view class="radioCheck">
|
|
|
<image v-if="temp == 4" src="../../static/image/Group_206@2x.jpg" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.jpg" mode=""></image>
|
|
|
<image v-if="temp == 4" src="../../static/image/Group_206@2x.png" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="tempImgItem" :class="{active:temp == 5}" @click="changeIndex(5)">
|
|
|
<image src="../../static/image/Mask_Group@2x.jpg" mode=""></image>
|
|
|
<image src="../../static/image/Mask_Group@2x.png" mode=""></image>
|
|
|
<view class="radioCheck">
|
|
|
<image v-if="temp == 5" src="../../static/image/Group_206@2x.jpg" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.jpg" mode=""></image>
|
|
|
<image v-if="temp == 5" src="../../static/image/Group_206@2x.png" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="tempImgItem" :class="{active:temp == 6}" @click="changeIndex(6)">
|
|
|
<image src="../../static/image/Mask_Group_6@2x.jpg" mode=""></image>
|
|
|
<image src="../../static/image/Mask_Group_6@2x.png" mode=""></image>
|
|
|
<view class="radioCheck">
|
|
|
<image v-if="temp == 6" src="../../static/image/Group_206@2x.jpg" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.jpg" mode=""></image>
|
|
|
<image v-if="temp == 6" src="../../static/image/Group_206@2x.png" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="tempImgItem" :class="{active:temp == 7}" @click="changeIndex(7)">
|
|
|
<image src="../../static/image/Mask_Group_7@2x.jpg" mode=""></image>
|
|
|
<image src="../../static/image/Mask_Group_7@2x.png" mode=""></image>
|
|
|
<view class="radioCheck">
|
|
|
<image v-if="temp == 7" src="../../static/image/Group_206@2x.jpg" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.jpg" mode=""></image>
|
|
|
<image v-if="temp == 7" src="../../static/image/Group_206@2x.png" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="tempImgItem" :class="{active:temp == 8}" @click="changeIndex(8)">
|
|
|
<image src="../../static/image/Mask_Group_2@2x.jpg" mode=""></image>
|
|
|
<image src="../../static/image/Mask_Group_2@2x.png" mode=""></image>
|
|
|
<view class="radioCheck">
|
|
|
<image v-if="temp == 8" src="../../static/image/Group_206@2x.jpg" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.jpg" mode=""></image>
|
|
|
<image v-if="temp == 8" src="../../static/image/Group_206@2x.png" mode=""></image>
|
|
|
<image v-else src="../../static/image/Group_207@2x.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -92,6 +92,7 @@ |
|
|
getData(){
|
|
|
this.$request('/api/Index/ObBack',{ob_id:uni.getStorageSync('ob_id')}).then((res)=>{
|
|
|
this.obi = res.data
|
|
|
this.ob_id = uni.getStorageSync('ob_id')
|
|
|
this.obi.after_images = this.obi.after_images.join(',')
|
|
|
this.obi.url = this.obiUrl
|
|
|
//1=用户生成,2=商家生成
|
...
|
...
|
@@ -115,7 +116,9 @@ |
|
|
createObi(){
|
|
|
this.obi.moban_id = this.temp
|
|
|
this.$request('/api/Index/UserAddOb',this.obi,2).then((res)=>{
|
|
|
this.$href('/pages/member/obiManage')
|
|
|
uni.reLaunch({
|
|
|
url:'/pages/member/obiManage'
|
|
|
})
|
|
|
})
|
|
|
}
|
|
|
}
|
...
|
...
|
|